@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700&family=Poetsen+One&display=swap');

:root {
  --blue-deep: #0071FF;
  --blue-mid: #77B3FE;
  --blue-light: #82BAFF;
  --blue-sky: #88BDFF;
  --blue-tab: #BFDCFF;
  --blue-soft: #F5F9FF;
  --yellow-cta: #FFEC04;
  --text-primary: #1A1F33;
  --text-secondary: #737A8C;
  --text-muted: #9D9D9D;
  --white: #FFFFFF;
  --border: #B8D8FF;
  --shadow: 0 8px 32px rgba(0, 113, 255, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--blue-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-deep);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-mid) 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: 'Poetsen One', cursive;
  font-size: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.nav-links a.active,
.nav-links a:hover {
  background: var(--yellow-cta);
  border: 1px solid var(--text-primary);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--blue-mid) 0%, var(--blue-soft) 60%);
  padding: 64px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow-cta);
  border: 1px solid var(--text-primary);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Poetsen One', cursive;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #000 0%, var(--blue-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-cta);
  border: 2px solid var(--text-primary);
  border-radius: 30px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  box-shadow: 0 4px 0 var(--text-primary);
  transition: transform 0.15s, box-shadow 0.15s;
}

.hero-cta:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--text-primary);
  opacity: 1;
}

/* Sections */
section {
  padding: 64px 0;
}

.section-title {
  font-family: 'Poetsen One', cursive;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--blue-deep);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Poetsen One', cursive;
  font-size: 2rem;
  color: var(--blue-deep);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Content Page (Support, Privacy, Terms) */
.page-hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-mid) 100%);
  padding: 48px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Poetsen One', cursive;
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: -32px auto 48px;
  max-width: 800px;
  box-shadow: var(--shadow);
  position: relative;
}

.content-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 28px 0 12px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.content-card ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-card li {
  margin-bottom: 6px;
}

.content-card .updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Support specific */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.support-item {
  background: var(--blue-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.support-item .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.support-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.support-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--blue-tab) 0%, var(--blue-light) 100%);
  padding: 40px 0 24px;
  margin-top: 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* App Store badge area */
.store-section {
  text-align: center;
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-primary);
  color: var(--white);
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 0.95rem;
}

.store-badge span {
  text-align: left;
  line-height: 1.3;
}

.store-badge small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
  }

  .content-card {
    padding: 24px;
    margin: -24px 16px 32px;
  }

  .hero {
    padding: 48px 0 64px;
  }
}
