/* ============================================
   RiVo – Design System & Global Styles
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white: #FFFFFF;

  /* Trait Colors */
  --coral:  #FF8F8F;
  --amber:  #FFB84D;
  --green:  #6BCB6B;
  --blue:   #7AB8E2;
  --purple: #C88CFF;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 4px 16px rgba(15,23,42,.08), 0 1px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 48px rgba(15,23,42,.12), 0 8px 16px rgba(15,23,42,.06);
  --shadow-xl: 0 32px 80px rgba(15,23,42,.16);

  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  background: var(--slate-100);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid var(--slate-200);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--slate-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--slate-900);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(15,23,42,.2);
}
.btn-primary:hover {
  background: #1E293B;
  box-shadow: 0 4px 16px rgba(15,23,42,.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
}
.btn-ghost:hover {
  background: var(--slate-50);
  border-color: var(--slate-300, #CBD5E1);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--slate-50);
}
.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(15,23,42,.06); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  flex-shrink: 0;
}
.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-500);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--slate-900); background: var(--slate-100); }

.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 14px; }

.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(--slate-700);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fafbfc 0%, #fff 100%);
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: calc(var(--nav-h) + 64px) 64px 80px;
  position: relative;
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: var(--coral); top: -100px; left: -100px; animation-delay: 0s; opacity: .25; }
.orb-2 { width: 400px; height: 400px; background: var(--purple); top: 20%; right: -80px; animation-delay: 2s; opacity: .2; }
.orb-3 { width: 350px; height: 350px; background: var(--amber); bottom: 0; left: 20%; animation-delay: 4s; opacity: .18; }
.orb-4 { width: 300px; height: 300px; background: var(--blue); bottom: 20%; right: 10%; animation-delay: 1s; opacity: .18; }
.orb-5 { width: 250px; height: 250px; background: var(--green); top: 50%; left: 40%; animation-delay: 3s; opacity: .15; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.05); }
  66% { transform: translate(-15px,20px) scale(0.97); }
}

.hero-content { position: relative; z-index: 2; }
.hero-visual { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600, #475569);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slate-200);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(107,203,107,.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(107,203,107,.3); }
  50% { box-shadow: 0 0 0 6px rgba(107,203,107,.15); }
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--slate-900);
}
.hero-title-gradient {
  background: linear-gradient(135deg, var(--coral), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: var(--radius);
  width: fit-content;
}
.hero-stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 11px;
  color: var(--slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
}

/* ---- Phone Mockup ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--slate-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.1) inset;
  position: relative;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--slate-50);
  border-radius: 30px;
  overflow: hidden;
}

.app-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 16px 16px;
  gap: 16px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-logo-small { width: 28px; height: 28px; border-radius: 8px; }
.app-header-title { font-size: 16px; font-weight: 700; color: var(--slate-900); }

.app-trait-card {
  background: linear-gradient(135deg, rgba(255,143,143,.15), rgba(255,143,143,.05));
  border: 1px solid rgba(255,143,143,.2);
  border-radius: 16px;
  padding: 16px;
}
.trait-card-label { font-size: 10px; color: var(--slate-400); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.trait-card-name { font-size: 18px; font-weight: 800; color: var(--slate-900); margin: 4px 0 2px; }
.trait-card-week { font-size: 11px; color: var(--slate-500); }
.trait-progress-bar {
  margin-top: 10px;
  height: 5px;
  background: rgba(0,0,0,.08);
  border-radius: 3px;
  overflow: hidden;
}
.trait-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .5s ease;
}

.app-tasks { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--slate-700);
  padding: 8px 10px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--slate-200);
}
.task-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--slate-100);
  color: var(--slate-400);
}
.task-check.done { background: var(--green); color: white; }
.task-check.active { background: var(--coral); color: white; }

.app-footer-nav { display: flex; justify-content: center; gap: 8px; padding-top: 4px; }
.nav-item { display: flex; align-items: center; }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-200); }
.nav-item.active .nav-dot { width: 24px; border-radius: 4px; }

/* ---- Floating Cards ---- */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.floating-card.is-active {
  opacity: 1;
}

.card-1 { bottom: 80px; left: -100px; animation: float-card-1 5s ease-in-out infinite; }
.card-2 { top: 40px; right: -100px; animation: float-card-2 6s ease-in-out infinite; }
.card-3 { bottom: 180px; right: -80px; animation: float-card-1 6.5s ease-in-out infinite reverse; }
@keyframes float-card-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float-card-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
.floating-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.floating-label { font-size: 11px; color: var(--slate-400); font-weight: 500; }
.floating-value { font-size: 13px; color: var(--slate-900); font-weight: 700; }

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-large { grid-column: span 2; }

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card.feature-highlight {
  background: var(--slate-900);
  border-color: transparent;
  color: var(--white);
}
.feature-card.feature-highlight .feature-desc { color: rgba(255,255,255,.65); }
.feature-card.feature-highlight .feature-title { color: var(--white); }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-600, #475569);
  background: var(--slate-100);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--slate-200);
}

/* ============================================
   SPLINE HERO
   ============================================ */
spline-viewer {
  background: transparent !important;
}
spline-viewer::part(logo) {
  display: none !important;
}

.spline-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.spline-text {
  display: flex;
  flex-direction: column;
}

.sticky-scroll-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  position: relative;
}

@media (max-width: 900px) {
  .spline-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .spline-visual {
    height: 400px !important;
  }
  .sticky-text-col {
    display: contents;
  }
  .sticky-scroll-container {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }
  .hero-step {
    order: 1;
    min-height: auto;
    padding: 100px 0 40px;
    text-align: center;
    align-items: center;
  }
  .hero-actions, .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  .sticky-visual-col {
    order: 2;
    position: sticky;
    top: 80px;
    height: 50vh;
    z-index: 0;
    margin-bottom: 20px;
  }
  .phone-mockup {
    width: 220px;
    height: 440px;
  }
  .sticky-step:not(.hero-step) {
    order: 3;
    min-height: 100vh;
    padding-top: 55vh;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    align-items: center;
    z-index: 1;
    opacity: 0.3;
  }
  .sticky-step:not(.hero-step).is-active {
    opacity: 1;
  }
  .sticky-step:not(.hero-step) .step-number {
    font-size: 60px;
    margin-bottom: 8px;
  }
  .sticky-step:not(.hero-step) .step-title {
    font-size: 24px;
  }
  .floating-card {
    display: none; /* Hide floating USPs on mobile to avoid clutter */
  }
}

.sticky-text-col {
  display: flex;
  flex-direction: column;
}

.hero-step {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px; /* offset for nav */
}

.sticky-step {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.2;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(20px);
}
.sticky-step.is-active {
  opacity: 1;
  transform: translateY(0);
}
.hero-step.is-active {
  opacity: 1;
  transform: none; /* Hero shouldn't move up, it starts active */
}

.step-number {
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--step-color);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.step-desc { font-size: 18px; color: var(--slate-500); line-height: 1.75; }

.sticky-visual-col {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile sticky overrides removed as they are handled in the main mobile query above */

.sticky-mockup-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.sticky-mockup-wrapper .phone-mockup {
  animation: none; /* Disable float animation to prevent blurriness on scaled images */
  transform: translateZ(0);
}

.sticky-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--slate-50);
}

.sticky-img-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--slate-900);
}

.hero {
  /* section removed, styles moved or preserved */
}
.master-container {
  padding-top: 0; /* Let hero-step handle the height */
}

.sticky-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  image-rendering: -webkit-optimize-contrast; /* Fix blurriness on downscaled images */
  image-rendering: crisp-edges;
  transform: translateZ(0);
}
.sticky-img.is-active {
  opacity: 1;
}

/* ============================================
   TRAITS GRID
   ============================================ */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.trait-card-big {
  background: var(--white);
  border: 1.5px solid color-mix(in srgb, var(--trait-color) 20%, transparent);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.trait-card-big::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.6), transparent 60%);
  pointer-events: none;
}
.trait-card-big:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.trait-icon { font-size: 32px; margin-bottom: 12px; }
.trait-letter {
  font-size: 48px;
  font-weight: 900;
  color: var(--trait-color);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}
.trait-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}
.trait-desc {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.65;
  margin-bottom: 16px;
}
.trait-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.trait-keywords span {
  font-size: 11px;
  font-weight: 500;
  color: var(--trait-color);
  background: color-mix(in srgb, var(--trait-color) 12%, white);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-featured {
  background: var(--slate-900);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.testimonial-featured .testimonial-text { color: rgba(255,255,255,.8); }
.testimonial-featured .testimonial-stars { color: var(--amber); }
.testimonial-featured .author-name { color: var(--white); }

.testimonial-stars { color: var(--amber); font-size: 16px; margin-bottom: 16px; }
.testimonial-text {
  font-size: 15px;
  color: var(--slate-600, #475569);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-author strong { font-size: 14px; color: var(--slate-900); display: block; }
.testimonial-featured .testimonial-author strong { color: var(--white); }
.testimonial-author small { font-size: 12px; color: var(--slate-400); }

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.download-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.orb-dl-1 { width: 600px; height: 600px; background: var(--coral); top: -200px; left: -150px; }
.orb-dl-2 { width: 500px; height: 500px; background: var(--purple); bottom: -200px; right: -100px; }

.download-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-logo {
  width: 80px; height: 80px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}
.download-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.download-subtitle {
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 14px;
  transition: all .2s cubic-bezier(.16,1,.3,1);
}
.store-apple {
  background: var(--slate-900);
  color: var(--white);
  box-shadow: var(--shadow);
}
.store-apple:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-google {
  background: var(--white);
  color: var(--slate-900);
  border: 1.5px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.store-google:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-btn small { display: block; font-size: 11px; opacity: 0.7; }
.store-btn strong { display: block; font-size: 16px; font-weight: 700; }
.download-note { font-size: 13px; color: var(--slate-400); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer-logo-img { width: 36px; height: 36px; border-radius: 10px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 12px; max-width: 280px; }
.footer-company { font-size: 12px; color: rgba(255,255,255,.3); }

.footer-links h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ============================================
   SUPPORT PAGE SPECIFIC
   ============================================ */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}
.page-hero-badge { margin: 0 auto 16px; }
.page-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.page-hero-subtitle {
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: all .3s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
}
.contact-card:hover {
  border-color: var(--slate-900);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.contact-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: var(--slate-100);
}
.contact-title { font-size: 17px; font-weight: 700; color: var(--slate-900); }
.contact-desc { font-size: 14px; color: var(--slate-500); line-height: 1.6; }
.contact-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.contact-link::after { content: '→'; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--slate-200);
}
.faq-item:first-child { border-top: 1px solid var(--slate-200); }
.faq-question {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  transition: color .2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--slate-700); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--slate-400);
  transition: transform .3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(.16,1,.3,1);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.75;
}

/* Legal Pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.legal-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.legal-meta {
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 48px;
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 40px 0 14px;
  letter-spacing: -0.02em;
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-700);
  margin: 24px 0 10px;
}
.legal-content p {
  font-size: 15px;
  color: var(--slate-600, #475569);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: 15px;
  color: var(--slate-600, #475569);
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-content a { color: var(--slate-900); text-decoration: underline; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: calc(var(--nav-h) + 48px) 32px 64px; min-height: auto; }
  .hero-visual { justify-content: center; }
  .hero-title { font-size: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-large { grid-column: span 2; }
  .traits-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { padding: calc(var(--nav-h) + 32px) 24px 48px; text-align: center; min-height: auto; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .hero-stat-divider { display: none; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }
  .step { grid-template-columns: 1fr; gap: 24px; }
  .step-reverse { direction: ltr; }
  .step-number { font-size: 48px; width: auto; }
  .step-visual { width: 100%; height: auto; }
  .traits-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .traits-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .download-buttons { flex-direction: column; align-items: center; }
}

/* ============================================
   UTILS / ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   PROBLEMS GRID
   ============================================ */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
  position: relative;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.problem-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.problem-desc {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.75;
}

/* ============================================
   SOLUTION GRID
   ============================================ */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.solution-card.solution-primary {
  grid-column: span 2;
  background: var(--slate-900);
  border-color: transparent;
  color: var(--white);
}
.solution-primary .solution-title { color: var(--white); }
.solution-primary .solution-desc { color: rgba(255,255,255,.65); }
.solution-primary .solution-number { color: var(--coral); opacity: 0.5; }
.solution-primary .tag {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
}

.solution-number {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--slate-200);
  line-height: 1;
  margin-bottom: 16px;
}

.solution-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.solution-desc {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.75;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .problems-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card.solution-primary { grid-column: span 1; }
}
