/* ============================================
   SomeBling Landing Page — Warm Coral Theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --primary: #FF8066;
  --primary-dark: #E8654D;
  --primary-light: #FFA08E;
  --primary-ultra-light: #FFE8E3;
  --secondary: #FFD666;
  --secondary-dark: #E8BF4D;
  --bg: #FFFBF7;
  --bg-warm: #FFF8F2;
  --surface: #FFFFFF;
  --surface-alt: #FFF5EE;
  --accent: #FFF0E0;
  --accent-strong: #FFE0C8;
  --text: #3D2C2C;
  --text-secondary: #7A6565;
  --text-muted: #B0A09A;
  --text-light: #D4C4BC;
  --border: #F0E0D8;
  --success: #34C77B;
  --error: #E53935;
  --disabled: #D4C4BC;
  --overlay: rgba(61, 44, 44, 0.5);

  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #FF8066, #FFB347);
  --gradient-premium: linear-gradient(135deg, #FF8066 0%, #FF6B9D 50%, #FFB347 100%);
  --gradient-soft: linear-gradient(135deg, #FFA08E, #FFD09E);
  --gradient-card: linear-gradient(180deg, rgba(255,128,102,0.08) 0%, rgba(255,179,71,0.04) 100%);
  --gradient-hero: linear-gradient(180deg, #FFFBF7 0%, #FFF5EE 50%, #FFE8E3 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(61, 44, 44, 0.06);
  --shadow-md: 0 4px 16px rgba(61, 44, 44, 0.08);
  --shadow-lg: 0 8px 24px rgba(61, 44, 44, 0.12);
  --shadow-xl: 0 16px 48px rgba(61, 44, 44, 0.16);
  --shadow-primary: 0 8px 24px rgba(255, 128, 102, 0.28);
  --shadow-primary-lg: 0 12px 36px rgba(255, 128, 102, 0.35);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-3xl: 36px;
  --r-full: 9999px;

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--primary-ultra-light);
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

button {
  font-family: var(--font);
  border: none;
  cursor: pointer;
  outline: none;
  background: none;
}

/* --- Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-premium {
  background: var(--gradient-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section Label --- */
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* =====================
   NAVIGATION
   ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(255, 251, 247, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(240, 224, 216, 0.5);
  box-shadow: 0 1px 12px rgba(61, 44, 44, 0.04);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo svg {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-warm);
  border-radius: var(--r-full);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-warm);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-primary);
  transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: all 0.3s;
}

.nav-mobile-cta {
  display: none;
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,128,102,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,214,102,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

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

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
  opacity: 0;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--surface);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-title .highlight {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-warm);
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-primary);
  transition: all 0.3s var(--ease-out);
  letter-spacing: -0.3px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary-lg);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
  letter-spacing: -0.3px;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Phone Mockup */
.hero-phone-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phone {
  width: 300px;
  height: 620px;
  background: var(--surface);
  border-radius: 44px;
  box-shadow:
    0 30px 80px rgba(61, 44, 44, 0.15),
    0 0 0 1px rgba(61, 44, 44, 0.06),
    inset 0 0 0 2px rgba(255, 255, 255, 0.8);
  overflow: hidden;
  position: relative;
}

.hero-phone .phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 32px;
  background: #1a1a1a;
  border-radius: 18px;
  z-index: 5;
}

.hero-phone .phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  flex-direction: column;
  gap: 16px;
  padding: 60px 30px 30px;
}

.phone-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-placeholder-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

.phone-placeholder-text {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.phone-placeholder-dim {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

/* Phone floating decorations */
.hero-phone-wrapper .float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 3;
}

.float-card.card-1 {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.float-card.card-2 {
  bottom: 20%;
  right: -50px;
  animation-delay: 1.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.float-card-content {
  display: flex;
  flex-direction: column;
}

.float-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.float-card-desc {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 32px;
  background: var(--gradient-warm);
  border-radius: var(--r-full);
  position: relative;
  overflow: hidden;
}

.hero-scroll-indicator .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =====================
   PHILOSOPHY
   ===================== */
.philosophy {
  padding: var(--section-padding) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy-bg-shape {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,128,102,0.05) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.philosophy-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-icon svg {
  width: 32px;
  height: 32px;
}

.philosophy-title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.25;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

/* =====================
   FEATURES
   ===================== */
.features {
  padding: var(--section-padding) 0;
  background: var(--surface);
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.features-header .section-desc {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--r-2xl);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-warm);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
}

.feature-icon.soul {
  background: linear-gradient(135deg, rgba(255,128,102,0.15), rgba(255,128,102,0.05));
}

.feature-icon.ai {
  background: linear-gradient(135deg, rgba(255,214,102,0.2), rgba(255,214,102,0.05));
}

.feature-icon.connect {
  background: linear-gradient(135deg, rgba(255,107,157,0.15), rgba(255,107,157,0.05));
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =====================
   SOUL TEST
   ===================== */
.soul-test {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.soul-test-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.soul-test-visual {
  position: relative;
}

.ocean-chart {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 0 auto;
  position: relative;
}

.ocean-chart svg {
  width: 100%;
  height: 100%;
}

.ocean-labels {
  position: absolute;
  inset: 0;
}

.ocean-label {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ocean-label .score {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.ocean-label.top { top: 2%; left: 50%; transform: translateX(-50%); }
.ocean-label.right { top: 38%; right: 0; }
.ocean-label.bottom-right { bottom: 8%; right: 10%; }
.ocean-label.bottom-left { bottom: 8%; left: 10%; }
.ocean-label.left { top: 38%; left: 0; }

.soul-test-content {
  max-width: 480px;
}

.soul-test-content .section-desc {
  margin-bottom: 32px;
}

.soul-test-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.soul-test-tag {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
}

.soul-test-tag.ocean {
  background: rgba(255, 128, 102, 0.1);
  color: var(--primary);
}

.soul-test-tag.values {
  background: rgba(255, 214, 102, 0.15);
  color: var(--secondary-dark);
}

.soul-test-tag.attachment {
  background: rgba(255, 107, 157, 0.1);
  color: #E8548A;
}

.soul-test-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soul-test-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.soul-test-list li .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.soul-test-list li .check svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2.5;
}

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--surface);
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 72px;
}

.how-it-works-header .section-desc {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-ultra-light), var(--primary-light), var(--primary-ultra-light));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  background: var(--surface);
  border: 2px solid var(--primary-light);
  color: var(--primary);
  position: relative;
}

.step.active .step-number {
  background: var(--gradient-warm);
  color: white;
  border: none;
  box-shadow: var(--shadow-primary);
}

.step-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* =====================
   APP PREVIEW
   ===================== */
.app-preview {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.app-preview-header {
  text-align: center;
  margin-bottom: 72px;
}

.app-preview-header .section-desc {
  margin: 0 auto;
}

.phones-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.preview-phone-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preview-phone {
  width: 260px;
  height: 540px;
  background: var(--surface);
  border-radius: 36px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(61, 44, 44, 0.06);
}

.preview-phone .phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 16px;
  z-index: 5;
}

.preview-phone .phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  padding: 50px 24px 24px;
  gap: 12px;
}

.preview-phone .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.preview-phone-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.preview-phone-sublabel {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =====================
   SUBSCRIPTION PLANS
   ===================== */
.plans {
  padding: var(--section-padding) 0;
  background: var(--surface);
}

.plans-header {
  text-align: center;
  margin-bottom: 72px;
}

.plans-header .section-desc {
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg);
  border-radius: var(--r-2xl);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-card.popular {
  background: var(--surface);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-primary);
  transform: scale(1.04);
}

.plan-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: var(--shadow-primary-lg);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-warm);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--r-full);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.plan-price .currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

.plan-price .period {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-features li .plan-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-features li .plan-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2.5;
}

.plan-features li.disabled {
  color: var(--text-light);
}

.plan-features li.disabled .plan-check {
  background: rgba(212, 196, 188, 0.2);
}

.plan-features li.disabled .plan-check svg {
  stroke: var(--text-light);
}

.plan-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.plan-btn.primary {
  background: var(--gradient-warm);
  color: white;
  box-shadow: var(--shadow-primary);
}

.plan-btn.primary:hover {
  box-shadow: var(--shadow-primary-lg);
  transform: translateY(-2px);
}

.plan-btn.outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.plan-btn.outline:hover {
  border-color: var(--primary-light);
  background: var(--primary-ultra-light);
}

/* =====================
   TRUST & SAFETY
   ===================== */
.trust {
  padding: var(--section-padding) 0;
}

.trust-header {
  text-align: center;
  margin-bottom: 60px;
}

.trust-header .section-desc {
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}

.trust-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.trust-icon.shield { background: rgba(52, 199, 123, 0.12); }
.trust-icon.lock { background: rgba(255, 128, 102, 0.12); }
.trust-icon.heart { background: rgba(255, 107, 157, 0.12); }

.trust-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =====================
   CTA (COMING SOON)
   ===================== */
.cta {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 48px;
  border-radius: var(--r-3xl);
  background: var(--gradient-warm);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-primary-lg);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: var(--r-full);
  font-size: 15px;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: box-shadow 0.3s;
}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.cta-submit {
  padding: 14px 28px;
  background: var(--text);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
}

.cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 44, 44, 0.3);
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 16px;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand svg {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-phone-wrapper {
    order: -1;
  }

  .float-card.card-1 { left: 0; }
  .float-card.card-2 { right: 0; }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .soul-test-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .soul-test-content {
    max-width: 100%;
  }

  .soul-test-content .section-desc {
    margin: 0 auto 32px;
  }

  .soul-test-tags {
    justify-content: center;
  }

  .soul-test-list {
    max-width: 480px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps::before { display: none; }

  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plan-card.popular {
    transform: none;
  }

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

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column;
    padding: 8px;
    gap: 4px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(240, 224, 216, 0.6);
    box-shadow: 0 12px 40px rgba(61, 44, 44, 0.12), 0 0 0 1px rgba(255, 128, 102, 0.06);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }

  .nav-links.mobile-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: menuSlideIn 0.25s ease forwards;
  }

  @keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--r-md);
    transition: all 0.2s ease;
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: var(--primary-ultra-light);
    color: var(--primary-dark);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-links.mobile-open ~ .nav-cta,
  .nav-links + .nav-cta {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 4px;
    padding: 0 8px 8px;
  }

  .nav-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px !important;
    background: var(--gradient-warm);
    color: white !important;
    font-size: 14px !important;
    font-weight: 700;
    border-radius: var(--r-full);
    box-shadow: var(--shadow-primary);
  }

  .nav-mobile-cta a:hover,
  .nav-mobile-cta a:active {
    background: var(--gradient-warm) !important;
    color: white !important;
    transform: scale(0.98);
  }

  .nav-mobile-toggle {
    display: flex;
    cursor: pointer;
    border-radius: var(--r-sm);
    transition: background 0.2s;
  }

  .nav-mobile-toggle:active {
    background: var(--primary-ultra-light);
  }

  .nav-mobile-toggle.active span {
    background: var(--primary);
  }

  .nav-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
    letter-spacing: -1.5px;
  }

  .hero-phone {
    width: 240px;
    height: 500px;
    border-radius: 36px;
  }

  .hero-phone .phone-notch {
    width: 96px;
    height: 26px;
  }

  .float-card { display: none; }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-value {
    font-size: 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .phones-row {
    flex-wrap: wrap;
    gap: 28px;
  }

  .preview-phone {
    width: 220px;
    height: 460px;
    border-radius: 30px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .plan-card.popular {
    order: -1;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 28px;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links-group {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-phone {
    width: 200px;
    height: 420px;
    border-radius: 30px;
  }

  .hero-phone .phone-notch {
    width: 80px;
    height: 22px;
    border-radius: 12px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .preview-phone {
    width: 200px;
    height: 420px;
  }

  .cta-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 28px;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: var(--r-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
