/* =========================================================
   FamilySpace Website — style.css
   Design System: Warm Earthy Greens + Copper + Cream
   ========================================================= */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette */
  --forest:        #2D5016;
  --forest-mid:    #3D6B1F;
  --sage:          #5A7A3A;
  --sage-light:    #7FA05A;
  --copper:        #B85C2A;
  --copper-light:  #D4794D;
  --amber:         #C9873A;
  --amber-light:   #E5A85A;
  --cream:         #F9F4EC;
  --cream-dark:    #F0E8D8;
  --warm-white:    #FEFCF8;
  --charcoal:      #1A1A1A;
  --charcoal-mid:  #2E2E2E;
  --charcoal-soft: #4A4A4A;
  --muted:         #7A7A7A;
  --muted-light:   #B0B0B0;
  --border:        rgba(90, 122, 58, 0.12);
  --border-strong: rgba(90, 122, 58, 0.25);

  /* Gradients */
  --grad-forest:   linear-gradient(135deg, #2D5016 0%, #3D6B1F 50%, #5A7A3A 100%);
  --grad-hero:     linear-gradient(160deg, #F9F4EC 0%, #EDF3E2 40%, #F9F4EC 100%);
  --grad-copper:   linear-gradient(135deg, #B85C2A, #C9873A);
  --grad-section:  linear-gradient(180deg, #1E3A0F 0%, #2D5016 100%);

  /* Typography */
  --font-sans:   'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif:  'Fraunces', Georgia, serif;

  /* Spacing */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  96px;

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 8px 32px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12), 0 24px 64px rgba(0,0,0,.08);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.16);
  --shadow-green: 0 8px 40px rgba(45, 80, 22, 0.25);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── UTILITY ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--grad-forest);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(45, 80, 22, 0.38);
}
.btn-ghost {
  background: rgba(45, 80, 22, 0.07);
  color: var(--forest);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(45, 80, 22, 0.12);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ─── SECTION COMMONS ─── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(45, 80, 22, 0.1);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.section-pill-light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}
.section-title em { color: var(--forest); font-style: italic; }
.section-title-light { color: #fff; }
.section-title-light em { color: var(--amber-light); }
.section-subtitle {
  font-size: 18px;
  color: var(--charcoal-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}
.section-subtitle-light { color: rgba(255,255,255,0.72); }

/* ─────────────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--duration-normal) var(--ease-in-out);
}
.nav.scrolled {
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img { height: 36px; width: 36px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin-left: auto;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal-soft);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast);
  text-decoration: none;
}
.nav-link:hover { color: var(--forest); background: rgba(45,80,22,.07); }
.nav-cta { margin-left: var(--space-md); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--duration-normal);
}

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.35;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #A8CC8A, transparent 70%);
  top: -100px; right: -100px;
  animation: float-orb 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #D4B896, transparent 70%);
  bottom: 0; left: -100px;
  animation: float-orb 10s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #C9873A, transparent 70%);
  top: 50%; left: 50%;
  opacity: 0.15;
  animation: float-orb 12s ease-in-out infinite;
}
@keyframes float-orb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  background: rgba(45, 80, 22, 0.1);
  border: 1px solid rgba(45, 80, 22, 0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-lg);
  width: fit-content;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}
.hero-title-italic {
  font-style: italic;
  color: var(--forest);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--charcoal-soft);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-xl);
}
.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border-strong); }

/* PHONE MOCKUP */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 580px;
}
.hero-image-wrap {
  position: absolute;
  bottom: 0; right: -20px;
  width: 220px;
  opacity: 0.85;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.12));
  animation: float-img 6s ease-in-out infinite;
}
.hero-image { border-radius: var(--radius-lg); }
@keyframes float-img {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone-mockup {
  position: relative;
  z-index: 2;
  animation: float-phone 7s ease-in-out infinite;
}
@keyframes float-phone {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(0deg); }
}
.phone-frame {
  width: 240px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
}
.phone-notch {
  width: 80px; height: 18px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #FEFDF8;
  border-radius: 30px;
  overflow: hidden;
  height: 420px;
}
.app-preview { height: 100%; display: flex; flex-direction: column; }
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 8px;
  background: var(--forest);
  color: #fff;
}
.app-header-title { font-size: 14px; font-weight: 700; }
.app-header-icons { display: flex; gap: 6px; }
.app-icon-dot { width: 18px; height: 18px; border-radius: var(--radius-full); background: rgba(255,255,255,0.25); }

.app-tree-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  background: linear-gradient(180deg, #f0f7e8 0%, #fefdf8 100%);
}
.tree-node { display: flex; gap: 12px; }
.tree-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.tree-line-v {
  width: 2px; height: 16px;
  background: var(--sage);
  opacity: 0.4;
  align-self: center;
  margin: 0 auto;
}
.app-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.app-nav-item {
  font-size: 20px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.app-nav-active {
  background: rgba(45, 80, 22, 0.1);
}

.phone-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(90, 122, 58, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* FLOATING CARDS */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float-card 4s ease-in-out infinite;
}
.float-icon { font-size: 22px; }
.float-title { font-size: 12px; font-weight: 700; color: var(--charcoal); }
.float-sub { font-size: 11px; color: var(--muted); }
.float-card-1 { top: 30px; left: -30px; animation-delay: 0s; }
.float-card-2 { bottom: 120px; left: -50px; animation-delay: 1.5s; }
.float-card-3 { top: 140px; right: -20px; animation-delay: 0.8s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  animation: fade-bounce 2s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid var(--sage);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 6px;
  background: var(--sage);
  border-radius: 2px;
  animation: scroll-indicator-dot 2s ease-in-out infinite;
}
@keyframes scroll-indicator-dot {
  0%, 100% { top: 6px; opacity: 1; }
  100% { top: 16px; opacity: 0; }
}
@keyframes fade-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.6; transform: translateX(-50%) translateY(6px); }
}

/* ─────────────────────────────────────────────────────────
   TRUST STRIP
───────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--forest);
  padding: 20px 0;
}
.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.trust-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.trust-sep { color: rgba(255,255,255,0.25); font-size: 18px; }

/* ─────────────────────────────────────────────────────────
   FEATURES
───────────────────────────────────────────────────────── */
.features {
  padding: var(--space-3xl) 0;
  background: var(--warm-white);
}
.features-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: var(--space-md);
}

/* FEATURE CARDS */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.feature-card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(45,80,22,0.08), transparent 70%);
  pointer-events: none;
}

/* Big tree card — spans 2 cols + 2 rows */
.feature-card-big {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(145deg, #F0F7E5, #FAFEF5);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr auto;
  gap: var(--space-sm);
}
.feature-card-big .feature-icon-wrap { grid-column: 1; }
.feature-card-big .feature-card-title { grid-column: 1; }
.feature-card-big .feature-card-desc { grid-column: 1; }
.feature-card-big .feature-tags { grid-column: 1; margin-top: auto; }
.feature-card-big .feature-card-art { grid-column: 2; grid-row: 1 / -1; display: flex; align-items: center; }

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(45, 80, 22, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.feature-icon { font-size: 26px; line-height: 1; }
.feature-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.2;
}
.feature-card-big .feature-card-title { font-size: 26px; }
.feature-card-desc { font-size: 14px; color: var(--charcoal-soft); line-height: 1.65; }
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-md);
}
.tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(45, 80, 22, 0.08);
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Mini tree art */
.mini-tree { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; }
.mt-row { display: flex; gap: 8px; }
.mt-node {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--sage);
  background: #fff;
  position: relative;
}
.mt-node-active { background: var(--sage); }
.mt-lines { display: flex; align-items: center; justify-content: center; height: 16px; }
.mt-line { width: 2px; height: 100%; background: var(--sage); opacity: 0.5; }
.mt-line-wide { width: 60px; height: 2px; }

/* Memories art */
.memories-art { display: flex; gap: 8px; margin-top: var(--space-md); }
.mem-photo {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
  transition: transform var(--duration-normal);
}
.mem-photo:nth-child(2) { transform: rotate(2deg); margin-top: 8px; }
.mem-photo:nth-child(3) { transform: rotate(-1deg); }
.feature-card-memories:hover .mem-photo { transform: rotate(0deg) scale(1.05); }
.feature-card-memories:hover .mem-photo:nth-child(2) { transform: rotate(0deg) scale(1.05) translateY(-4px); }

/* Calendar art */
.event-art { margin-top: var(--space-md); }
.event-cal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 11px;
  box-shadow: var(--shadow-sm);
}
.cal-header { font-weight: 700; color: var(--forest); margin-bottom: 6px; font-size: 12px; }
.cal-days, .cal-dates { display: flex; gap: 4px; }
.cal-day { width: 22px; text-align: center; color: var(--muted); font-weight: 500; font-size: 10px; margin-bottom: 2px; }
.cal-date { width: 22px; text-align: center; padding: 2px; border-radius: 4px; font-weight: 500; }
.cal-event { background: var(--forest); color: #fff; border-radius: 4px; font-size: 9px; width: auto; padding: 2px 4px; }

/* Tasks art */
.tasks-art { margin-top: var(--space-md); display: flex; flex-direction: column; gap: 6px; }
.task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.task-done { text-decoration: line-through; color: var(--muted); background: rgba(45,80,22,0.07); }
.task-done span { color: var(--sage); }
.task-pending { color: var(--charcoal-soft); }
.task-pending span { color: var(--muted-light); }

/* Poll art */
.poll-art { margin-top: var(--space-md); display: flex; flex-direction: column; gap: 6px; }
.poll-option { display: flex; flex-direction: column; gap: 2px; }
.poll-option > span { font-size: 11px; color: var(--charcoal-soft); font-weight: 500; }
.poll-bar {
  height: 18px;
  background: var(--grad-forest);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px;
  transition: width 1.2s var(--ease-out);
}
.poll-bar span { font-size: 10px; color: #fff; font-weight: 700; }

/* Small feature cards */
.feature-card-sm {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card-sm .feature-icon { font-size: 28px; margin-bottom: 4px; }
.feature-card-sm .feature-card-title { font-size: 16px; margin-bottom: 0; }
.feature-card-sm .feature-card-desc { font-size: 13px; }

/* Grid spans */
.feature-card-memories      { grid-column: span 1; }
.feature-card-events        { grid-column: span 1; }
.feature-card-announcements { grid-column: span 2; }
.feature-card-tasks         { grid-column: span 1; }
.feature-card-polls         { grid-column: span 1; }

/* Announcements art */
.announce-art {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.announce-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 12px;
}
.announce-pinned {
  background: rgba(45, 80, 22, 0.07);
  border-color: rgba(45, 80, 22, 0.2);
}
.ann-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.ann-reacts {
  font-size: 11px;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────────────────── */
.how-it-works {
  padding: var(--space-3xl) 0;
  background: var(--grad-section);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}
.step {
  text-align: center;
  position: relative;
  padding: var(--space-xl);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all var(--duration-normal) var(--ease-out);
}
.step:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.step-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 40px; margin-bottom: var(--space-md); display: block; }
.step-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.65; }
.step-connector {
  display: none;
}

/* ─────────────────────────────────────────────────────────
   SECURITY
───────────────────────────────────────────────────────── */
.security {
  padding: var(--space-3xl) 0;
  background: var(--cream);
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.security-desc {
  font-size: 17px;
  color: var(--charcoal-soft);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}
.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.security-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.security-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(45, 80, 22, 0.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.security-item strong { font-size: 15px; font-weight: 700; color: var(--charcoal); display: block; margin-bottom: 4px; }
.security-item p { font-size: 14px; color: var(--charcoal-soft); line-height: 1.6; }

.security-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}
.security-card {
  background: linear-gradient(145deg, var(--forest), var(--forest-mid));
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  box-shadow: var(--shadow-green);
  position: relative;
  overflow: hidden;
}
.security-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  border-radius: var(--radius-full);
}
.security-shield {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.shield-icon { font-size: 36px; }
.shield-glow {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.2);
  animation: shield-pulse 2s ease-in-out infinite;
}
@keyframes shield-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.5; }
}
.security-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.sec-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.sec-badge span { font-size: 16px; }
.security-img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  max-height: 200px;
  box-shadow: var(--shadow-lg);
}

/* ─────────────────────────────────────────────────────────
   PRIVACY POLICY & TERMS
───────────────────────────────────────────────────────── */
.privacy-policy {
  padding: var(--space-3xl) 0;
  background: var(--warm-white);
}
.terms-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.privacy-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.privacy-nav {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
}
.priv-nav-link {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal-soft);
  transition: all var(--duration-fast);
  text-decoration: none;
  display: block;
}
.priv-nav-link:hover, .priv-nav-link.active {
  background: rgba(45, 80, 22, 0.08);
  color: var(--forest);
  font-weight: 600;
}
.privacy-content { display: flex; flex-direction: column; gap: var(--space-2xl); }
.privacy-section {
  scroll-margin-top: 90px;
}
.privacy-section h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border);
}
.privacy-section p { font-size: 15px; color: var(--charcoal-soft); line-height: 1.75; margin-bottom: var(--space-md); }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-highlight {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: rgba(45, 80, 22, 0.06);
  border: 1px solid rgba(45, 80, 22, 0.15);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.65;
}
.privacy-highlight > span:first-child { font-size: 20px; flex-shrink: 0; }
.privacy-highlight-warn {
  background: rgba(184, 92, 42, 0.06);
  border-color: var(--copper);
  border-left-color: var(--copper);
}
.privacy-list {
  padding-left: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: var(--space-sm) 0 var(--space-md);
}
.privacy-list li { font-size: 15px; color: var(--charcoal-soft); line-height: 1.65; }
.privacy-list li::marker { color: var(--sage); }
.privacy-section a { color: var(--forest); text-decoration: underline; text-decoration-color: rgba(45,80,22,.4); }

/* Data table */
.data-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--space-md) 0;
}
.data-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr;
  gap: 1px;
  border-bottom: 1px solid var(--border);
}
.data-row:last-child { border-bottom: none; }
.data-row > span {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--charcoal-soft);
  line-height: 1.5;
  background: #fff;
}
.data-row-header > span {
  background: rgba(45,80,22,0.06);
  color: var(--forest);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Contact grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin: var(--space-md) 0; }
.contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.contact-icon { font-size: 28px; }
.contact-card strong { display: block; font-size: 14px; color: var(--charcoal); margin-bottom: 2px; }
.contact-card span { font-size: 13px; color: var(--forest); font-weight: 500; }

/* ─────────────────────────────────────────────────────────
   DOWNLOAD
───────────────────────────────────────────────────────── */
.download {
  padding: var(--space-3xl) 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.download-bg { position: absolute; inset: 0; pointer-events: none; }
.download-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
}
.download-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200, 220, 170, 0.5), transparent);
  top: -100px; right: -100px;
}
.download-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(210, 180, 140, 0.4), transparent);
  bottom: -100px; left: -100px;
}
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.download-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}
.download-title em { color: var(--forest); font-style: italic; }
.download-desc { font-size: 17px; color: var(--charcoal-soft); line-height: 1.7; margin-bottom: var(--space-xl); }
.download-buttons { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-md); }
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
}
.store-btn:hover { background: var(--charcoal-mid); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-btn-outline {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}
.store-btn-outline:hover { background: var(--charcoal); color: #fff; }
.store-icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-sub { font-size: 11px; opacity: 0.7; line-height: 1; }
.store-name { font-size: 18px; font-weight: 700; line-height: 1.2; }
.download-note { font-size: 13px; color: var(--muted); }
.download-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.download-image { width: 100%; object-fit: cover; display: block; }
.download-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(249,244,236,0.4), transparent 50%);
}

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  padding: var(--space-2xl) 0 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-2xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-2xl);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}
.footer-logo-img { height: 36px; width: 36px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.footer-tagline {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 360px; }
.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--duration-fast);
  text-decoration: none;
}
.footer-col li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ─────────────────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
───────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }
[data-reveal-delay="400"] { transition-delay: 400ms; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-visual { justify-content: flex-start; height: 480px; }
  .hero-image-wrap { right: 0; width: 180px; }
  .features-hero-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-big { grid-column: span 2; }
  .feature-card-announcements { grid-column: span 2; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .download-grid { grid-template-columns: 1fr; }
  .download-image-wrap { max-height: 300px; overflow: hidden; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(254,252,248,0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    gap: 4px;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open .nav-link { display: block; padding: var(--space-md); font-size: 17px; }
  .hero { padding: 100px 0 60px; }
  .hero-container { padding: 0 var(--space-md); }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 16px; }
  .hero-visual { height: 360px; }
  .phone-frame { width: 190px; }
  .phone-screen { height: 340px; }
  .float-card-2 { display: none; }
  .hero-image-wrap { display: none; }
  .section-container { padding: 0 var(--space-md); }
  .features-hero-grid { grid-template-columns: 1fr; }
  .feature-card-big, .feature-card-announcements { grid-column: span 1; }
  .feature-card-big { grid-row: span 1; grid-template-columns: 1fr; }
  .feature-card-big .feature-card-art { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: 1fr 1fr; }
  .data-row { grid-template-columns: 1fr; }
  .data-row-header > span:not(:first-child) { display: none; }
  .data-row > span:not(:first-child) { padding-top: 0; padding-left: 28px; font-size: 12px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: var(--space-md); }
  .stat-number { font-size: 22px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .trust-items { gap: var(--space-sm); }
  .trust-sep { display: none; }
  .footer-links-group { grid-template-columns: 1fr; }
}
