/* ============================================
   CREATEAWAY AI — Premium Design System v2
   Dark luxury aesthetic. Built to impress.
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Surfaces */
  --bg-primary: #050507;
  --bg-secondary: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-border: rgba(255, 255, 255, 0.08);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: rgba(240, 240, 245, 0.6);
  --text-tertiary: rgba(240, 240, 245, 0.35);
  --text-accent: #c8a2ff;

  /* Accent Gradient — electric violet to warm amber */
  --accent-1: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-3: #c084fc;
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #c084fc 50%, #f59e0b 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(192, 132, 252, 0.2) 100%);
  --gradient-text: linear-gradient(135deg, #c084fc 0%, #f59e0b 100%);
  --gradient-border: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(245, 158, 11, 0.3));

  /* CTA */
  --cta-bg: linear-gradient(135deg, #8b5cf6, #7c3aed);
  --cta-hover: linear-gradient(135deg, #9b6ff7, #8b5cf6);
  --cta-glow: rgba(139, 92, 246, 0.4);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(139, 92, 246, 0.3);

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Typography Scale */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --text-hero: clamp(3rem, 7vw, 5.5rem);
  --text-h1: clamp(2.25rem, 5vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2vw, 1.5rem);
  --text-body: 1.0625rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Section Spacing --- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-2);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Background Effects --- */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--purple {
  background: rgba(139, 92, 246, 0.12);
}

.bg-glow--amber {
  background: rgba(245, 158, 11, 0.08);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.nav__cta {
  padding: 10px 24px;
  background: var(--cta-bg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--duration-fast) ease;
  box-shadow: 0 0 20px var(--cta-glow);
}

.nav__cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--cta-glow);
}

/* Mobile menu */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--duration-fast) ease;
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    transition: right var(--duration-normal) var(--ease-out);
    border-left: 1px solid var(--border-subtle);
  }
  .nav__links.open { right: 0; }
  .nav__link { font-size: 1.2rem; }

  .nav__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
  }
}

@media (min-width: 769px) {
  .nav__close { display: none; }
}

.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.nav__overlay.active { display: block; }

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.hero__glow-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -150px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero__tag-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.btn--primary {
  padding: 16px 36px;
  background: var(--cta-bg);
  color: white;
  font-size: 1rem;
  box-shadow: 0 0 30px var(--cta-glow);
}

.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 40px var(--cta-glow);
}

.btn--ghost {
  padding: 16px 36px;
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 1rem;
}

.btn--ghost:hover {
  background: var(--bg-card);
  border-color: var(--border-accent);
}

.btn--small {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
}

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

/* ============================================
   STATS / SOCIAL PROOF BAR
   ============================================ */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats__label {
  font-size: var(--text-small);
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
  background: var(--bg-secondary);
}

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

.problem__card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.problem__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.problem__card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.problem__card:hover::before { opacity: 1; }

.problem__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.problem__card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 12px;
}

.problem__card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .problem__grid { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES / SOLUTIONS
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  padding: 40px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-subtle);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card__tag {
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROCESS / HOW IT WORKS
   ============================================ */
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-accent), transparent);
}

.process__step {
  text-align: center;
  position: relative;
}

.process__step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-2);
  position: relative;
  z-index: 1;
}

.process__step h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 12px;
}

.process__step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .process__steps { grid-template-columns: 1fr; gap: 40px; }
  .process__steps::before { display: none; }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__inner {
  padding: 80px 40px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-section__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.08), transparent 70%);
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-section__text {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  flex-wrap: wrap;
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0 60px;
}

.pricing-toggle__label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-toggle__label.active { color: var(--text-primary); }

.pricing-toggle__switch {
  width: 52px;
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.pricing-toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--accent-2);
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.pricing-toggle__switch.annual::after {
  transform: translateX(24px);
}

.pricing-toggle__badge {
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #22c55e;
}

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

.pricing-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--accent-1);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 40%);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-card__tier {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card__desc {
  color: var(--text-secondary);
  font-size: var(--text-small);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-card__price {
  margin-bottom: 32px;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
}

.pricing-card__period {
  color: var(--text-tertiary);
  font-size: var(--text-small);
  margin-left: 4px;
}

.pricing-card__setup {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: -24px;
  margin-bottom: 32px;
  font-weight: 500;
}

.pricing-card__features {
  flex: 1;
  margin-bottom: 32px;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-card__check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

/* 5-tier responsive grid */
.pricing__grid--five {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .pricing__grid--five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing__grid--five,
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* FAQ */
.faq { margin-top: 100px; }

.faq__item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0;
  color: var(--text-primary);
}

.faq__icon {
  font-size: 1.5rem;
  color: var(--text-tertiary);
  transition: transform var(--duration-fast) ease;
  line-height: 1;
}

.faq__item.open .faq__icon { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out), padding var(--duration-normal) var(--ease-out);
}

.faq__item.open .faq__answer {
  max-height: 300px;
  padding-top: 16px;
}

.faq__answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   ABOUT / OUR STORY PAGE
   ============================================ */
.story__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.story__text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.story__text p:first-child {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.story__visual {
  position: relative;
}

.story__photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--gradient-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-tertiary);
  font-size: var(--text-small);
}

.story__photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.founders {
  background: var(--bg-secondary);
}

.founders__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.founder-card {
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}

.founder-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-subtle);
  border: 2px solid var(--border-accent);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-2);
}

.founder-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 4px;
}

.founder-card__role {
  color: var(--accent-2);
  font-size: var(--text-small);
  font-weight: 500;
  margin-bottom: 16px;
}

.founder-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.value-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .story__content { grid-template-columns: 1fr; gap: 40px; }
  .founders__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT / GET STARTED PAGE
   ============================================ */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.contact__info-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.contact__info-item {
  display: flex;
  gap: 16px;
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact__info-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 4px;
}

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

.contact__form {
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast) ease;
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent-1);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .contact__layout { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 32px 24px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer__tagline {
  color: var(--text-tertiary);
  font-size: var(--text-small);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  color: var(--text-secondary);
  font-size: var(--text-small);
  transition: color var(--duration-fast) ease;
}

.footer__link:hover { color: var(--text-primary); }

.footer__copy {
  width: 100%;
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  padding-top: 30px;
  margin-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

[data-animate="fade-left"] { transform: translateX(-30px); }
[data-animate="fade-right"] { transform: translateX(30px); }
[data-animate="scale"] { transform: scale(0.95); }

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

[data-stagger].visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].visible > *:nth-child(2) { transition-delay: 80ms; }
[data-stagger].visible > *:nth-child(3) { transition-delay: 160ms; }
[data-stagger].visible > *:nth-child(4) { transition-delay: 240ms; }
[data-stagger].visible > *:nth-child(5) { transition-delay: 320ms; }

[data-stagger].visible > * {
  opacity: 1;
  transform: none;
}

/* ============================================
   CHATBOT WIDGET
   ============================================ */
.chatbot-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cta-bg);
  box-shadow: 0 4px 30px var(--cta-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  transition: all var(--duration-fast) ease;
  font-size: 1.5rem;
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 40px var(--cta-glow);
}

.chatbot {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 380px;
  max-height: 520px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  z-index: 901;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.chatbot.open { display: flex; }

.chatbot__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}

.chatbot__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.chatbot__header-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.chatbot__header-text span {
  font-size: var(--text-xs);
  color: #22c55e;
}

.chatbot__close {
  color: var(--text-tertiary);
  font-size: 1.2rem;
}

.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chatbot__msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.6;
  animation: msgIn 0.3s var(--ease-out);
}

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

.chatbot__msg--bot {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  align-self: flex-start;
  color: var(--text-secondary);
}

.chatbot__msg--user {
  background: var(--accent-1);
  align-self: flex-end;
  color: white;
}

.chatbot__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: flex-start;
}

.chatbot__option {
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.chatbot__option:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-1);
}

.chatbot__typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-self: flex-start;
}

.chatbot__typing span {
  width: 6px;
  height: 6px;
  background: var(--text-tertiary);
  border-radius: 50%;
  animation: typingDot 1.2s ease infinite;
}

.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
  30% { transform: translateY(-6px); opacity: 1; }
}

@media (max-width: 480px) {
  .chatbot {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 80px;
  }
}

/* ============================================
   PAGE-SPECIFIC HERO VARIANTS
   ============================================ */
.page-hero {
  padding: calc(var(--section-pad) + 80px) 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}

.page-hero__content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

/* ============================================
   FEATURE COMPARISON TABLE (Pricing)
   ============================================ */
.comparison {
  margin-top: 100px;
  overflow-x: auto;
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comparison th,
.comparison td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.comparison th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
  position: sticky;
  top: 0;
}

.comparison th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.comparison th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.comparison td {
  color: var(--text-secondary);
}

.comparison td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

.comparison .check {
  color: #22c55e;
  font-weight: bold;
}

.comparison .dash {
  color: var(--text-tertiary);
}
