:root {
  --bg: #0e0e12;
  --bg-light: #14141b;
  --card: #1a1a24;
  --text: #ffffff;
  --muted: #a0a0b0;
  --primary: #a066ff;
  --accent: #ff8fa3;
  --hover: #b779ff;
  --ring: rgba(160, 102, 255, 0.35);
  --gradient: linear-gradient(135deg, #a066ff 0%, #ff8fa3 100%);
  --border: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 80px; /* Space for fixed header */
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  margin: 0;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
p {
  color: var(--muted);
  margin: 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: clamp(60px, 10vw, 100px) 0;
}

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

/* Section headers */
.section-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.section-head p {
  max-width: 500px;
  margin: 12px auto 0;
  font-size: 1.1rem;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(160, 102, 255, 0.15);
  border: 1px solid rgba(160, 102, 255, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
  background: rgba(14, 14, 18, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 12px 24px;
  background: rgba(14, 14, 18, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.logo:hover {
  opacity: 0.8;
}
.logo img {
  width: 40px;
  height: 40px;
}
.logo span {
  font-family: 'Poppins', sans-serif;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--text);
}

.mobile-menu-btn {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-icon {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(160, 102, 255, 0.4);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: clamp(40px, 8vw, 80px) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(160, 102, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 143, 163, 0.1), transparent), var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin: 20px 0 32px;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Art */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-glow {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 20px 80px rgba(160, 102, 255, 0.25),
    0 10px 40px rgba(255, 143, 163, 0.15);
  transition: opacity 0.3s ease;
}
.portrait-glow img {
  display: block;
  width: 100%;
  height: auto;
}
.portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}
.portrait-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.portrait-name {
  font-weight: 600;
  font-size: 1.1rem;
}
.portrait-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  color: #4ade80;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  height: 60%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 0%, rgba(160, 102, 255, 0.2), transparent);
  pointer-events: none;
}

/* Features Section */
.features {
  background: var(--bg);
}

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

.feature-card {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(160, 102, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(160, 102, 255, 0.15);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(160, 102, 255, 0.15);
  border-radius: 14px;
  margin-bottom: 16px;
}
.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How It Works */
.howitworks {
  background: radial-gradient(ellipse 80% 50% at 20% 80%, rgba(160, 102, 255, 0.08), transparent), var(--bg);
}

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

.step-card {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.step-content {
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(160, 102, 255, 0.1);
  border-radius: 16px;
}
.step-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.step-content h3 {
  margin-bottom: 12px;
}
.step-content p {
  font-size: 0.95rem;
}

/* Progression Section */
.progression {
  background: radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255, 143, 163, 0.08), transparent), var(--bg);
}

.progression-visual {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.relationship-flow {
  display: flex;
  align-items: center;
}

/* Main line */
.main-line {
  display: flex;
  align-items: flex-start;
}

/* Fork section */
.fork-section {
  display: flex;
  flex-direction: column;
  gap: 28px; /* Reduced gap to align upper path with fork line */
  margin-left: 50px; /* Space for fork lines to connect */
}

/* Fork point (Budding) */
.fork-point {
  position: relative;
}

.fork-line-up,
.fork-line-down {
  position: absolute;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(160, 102, 255, 0.3), var(--border));
  left: calc(50% + 20px); /* Start after the dot with same gap as other lines */
  top: 8px; /* Center of dot */
}

.fork-line-up {
  transform: rotate(-30deg);
  transform-origin: left center;
}

.fork-line-down {
  transform: rotate(30deg);
  transform-origin: left center;
}

/* Upper path (Friendship) */
.upper-path {
  display: flex;
  align-items: flex-start;
  position: relative;
}

/* Lower path (Romance) */
.lower-path {
  display: flex;
  align-items: flex-start;
  position: relative;
}

/* Level items and styling */
.level-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.level-dot {
  width: 16px;
  height: 16px;
  background: var(--border);
  border-radius: 50%;
  transition: all 0.3s;
}

.level-item.active .level-dot {
  width: 24px;
  height: 24px;
  background: var(--gradient);
  box-shadow: 0 0 20px rgba(160, 102, 255, 0.5);
}

.level-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.level-item.active .level-label {
  color: var(--text);
  font-weight: 500;
}

.level-line {
  height: 2px;
  background: linear-gradient(90deg, var(--border), rgba(160, 102, 255, 0.3));
  margin: 0 12px;
  min-width: 50px;
  align-self: flex-start;
  margin-top: 7px; /* Half of dot height (16px / 2 - 1px) to center with dot */
}

/* Adjust line position for active items */
.level-item.active + .level-line,
.level-line + .level-item.active .level-line {
  margin-top: 11px; /* Half of active dot height (24px / 2 - 1px) */
}

.progression-note {
  text-align: center;
  font-size: 0.95rem;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.progression-note {
  text-align: center;
  font-size: 0.95rem;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Mobile progression - hidden on desktop */
.progression-mobile {
  display: none;
}

/* Character Showcase */
.showcase {
  background: radial-gradient(ellipse 70% 50% at 30% 70%, rgba(160, 102, 255, 0.06), transparent), var(--bg);
}

.slider {
  position: relative;
  padding: 0 60px;
  display: flex;
  justify-content: center;
}

.slides {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
  justify-content: flex-start;
}
.slides::-webkit-scrollbar {
  display: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}
.slider-btn:hover {
  background: var(--bg-light);
  border-color: var(--primary);
}
.slider-btn.prev {
  left: calc(50% - 480px); /* Position relative to center: half of cards width + gap */
}
.slider-btn.next {
  right: calc(50% - 480px);
}

.character {
  flex: 0 0 280px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}
.character:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(160, 102, 255, 0.2);
}

.character-image {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.character-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.character-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

.character-body {
  padding: 20px;
}
.character-body h3 {
  margin-bottom: 8px;
}
.character-age {
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}
.character-body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.character-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trait {
  padding: 4px 10px;
  background: rgba(160, 102, 255, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--primary);
}

.showcase-cta {
  text-align: center;
  margin-top: 40px;
}

/* Testimonials */
.testimonials {
  background: var(--bg);
}

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

.testimonial-card {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin: 0;
}
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

/* CTA Section */
.cta {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(160, 102, 255, 0.12), transparent), var(--bg);
}

.cta-box {
  text-align: center;
  padding: clamp(48px, 8vw, 80px);
  background: linear-gradient(135deg, rgba(160, 102, 255, 0.15), rgba(255, 143, 163, 0.08));
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-content h2 {
  margin-bottom: 16px;
}
.cta-content > p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.fineprint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.fineprint-icon {
  width: 16px;
  height: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  margin-top: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  text-align: center;
}
.footer-brand .logo {
  justify-content: center;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text);
}

.copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Page Content Styles */
.page-section {
  min-height: 60vh;
  padding-top: 40px;
}
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-content h1 {
  margin-bottom: 16px;
}
.page-intro {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.page-content h2 {
  color: var(--text);
  margin: 32px 0 16px;
  font-size: 1.4rem;
}
.page-content h3 {
  color: var(--text);
  margin: 24px 0 12px;
  font-size: 1.2rem;
}
.page-content p {
  margin: 16px 0;
  line-height: 1.7;
}
.page-content ul,
.page-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.page-content li {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.6;
}
.page-content a {
  color: var(--primary);
  text-decoration: none;
}
.page-content a:hover {
  color: var(--hover);
  text-decoration: underline;
}

.last-updated {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.summary {
  margin: 32px 0;
  padding: 20px;
  background: rgba(160, 102, 255, 0.05);
  border: 1px solid rgba(160, 102, 255, 0.2);
  border-radius: 12px;
}
.summary h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.1rem;
}
.summary p {
  margin: 0;
  line-height: 1.6;
}

.faq-item {
  margin: 24px 0;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.faq-item h3 {
  margin: 0 0 12px;
  color: var(--text);
}
.faq-item p {
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.contact-section {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.contact-section h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--text);
}
.contact-section p {
  margin: 8px 0;
}

.office-info {
  margin: 40px 0;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.office-info h2 {
  margin: 0 0 16px;
}
.address p {
  margin: 0;
  line-height: 1.8;
}

.social-links {
  margin: 40px 0;
  text-align: center;
}
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  padding: 12px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.contact-note {
  margin: 40px 0;
  padding: 24px;
  background: rgba(160, 102, 255, 0.05);
  border: 1px solid rgba(160, 102, 255, 0.2);
  border-radius: 16px;
}
.contact-note h2 {
  margin: 0 0 16px;
  color: var(--text);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .container {
    padding: 0 16px;
  }

  /* Header */
  .site-header {
    padding: 12px 16px;
    gap: 8px;
  }
  .logo img {
    width: 32px;
    height: 32px;
  }
  .logo span {
    font-size: 1rem;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .nav.active {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav a:last-child {
    border-bottom: none;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px; /* Increased from 8px for larger touch target */
    margin-left: auto;
    margin-right: -8px; /* Compensate for extra padding to maintain visual alignment */
    min-width: 48px; /* Minimum recommended touch target size */
    min-height: 48px; /* Minimum recommended touch target size */
    justify-content: center;
    align-items: center;
  }
  .mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
  }
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  .btn-lg {
    padding: 14px 24px;
  }

  /* Hero */
  .hero {
    padding: clamp(16px, 4vw, 32px) 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .hero-grid.mobile-layout .hero-art {
    order: -1; /* Move image to top on mobile */
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  .hero-subtitle {
    margin: 12px auto 20px;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .hero-actions {
    justify-content: center;
    gap: 12px;
    flex-direction: column;
  }
  .hero-stats {
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  /* First row: Memory, Private, Evolving */
  .hero-stats .stat:nth-child(1) {
    grid-column: 1 / 3;
  }
  .hero-stats .stat:nth-child(3) {
    grid-column: 3 / 5;
  }
  .hero-stats .stat:nth-child(5) {
    grid-column: 5 / 7;
  }

  /* Second row: Living, Unique (centered) */
  .hero-stats .stat:nth-child(7) {
    grid-column: 2 / 4;
    grid-row: 2;
  }
  .hero-stats .stat:nth-child(9) {
    grid-column: 4 / 6;
    grid-row: 2;
  }
  .stat {
    text-align: center;
  }
  .stat-number {
    font-size: 1.1rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .stat-divider {
    display: none;
  }

  .portrait-glow {
    max-width: 250px;
    margin: 0 auto;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 24px;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-content {
    padding: 24px 20px;
  }

  /* Progression */
  .progression-visual {
    padding: 24px;
  }

  .relationship-flow {
    display: none;
  }

  /* Mobile-friendly layout with dots */
  .progression-mobile {
    display: block;
    text-align: center;
  }

  .progression-mobile .path-section {
    margin-bottom: 24px;
  }

  .progression-mobile .path-title {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
  }

  .progression-mobile .path-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.85rem;
    color: var(--muted);
  }

  .progression-mobile .mobile-arrow {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--border), rgba(160, 102, 255, 0.3));
    margin: 5px 10px 0 10px; /* Increased to 10px gap from each dot edge */
    flex-shrink: 0;
  }

  .progression-mobile .mobile-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 70px; /* Increased for better text spacing */
  }

  .progression-mobile .mobile-dot {
    width: 12px;
    height: 12px;
    background: var(--border);
    border-radius: 50%;
  }

  .progression-mobile .mobile-level.active .mobile-dot {
    width: 16px;
    height: 16px;
    background: var(--gradient);
    box-shadow: 0 0 12px rgba(160, 102, 255, 0.5);
  }

  /* Adjust arrow position for active dots */
  .progression-mobile .mobile-level.active + .mobile-arrow {
    margin-top: 7px; /* Align with center of 16px active dot */
    margin-left: 8px; /* Adjust for larger dot (16px vs 12px = 2px difference on each side) */
  }

  /* Adjust arrow before active dots */
  .progression-mobile .mobile-arrow + .mobile-level.active {
    margin-left: -2px; /* Compensate for larger dot */
  }

  .progression-mobile .mobile-level.active span {
    color: var(--text);
    font-weight: 500;
  }

  /* Slider */
  .slider {
    padding: 0 8px;
  }
  .slider-btn {
    display: none;
  }
  .character {
    flex: 0 0 260px;
  }
  .character-image {
    height: 280px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 24px;
  }

  /* CTA */
  .cta-box {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .fineprint {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  /* Footer */
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .character {
    flex: 0 0 240px;
  }
}
