/* webgenAI — Design System */
/* Space Grotesk + Sora, dark electric, near-black + cyan */

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

/* ─────────────────────────────────────
   TOKENS
───────────────────────────────────── */
:root {
  --bg:         #080808;
  --bg-2:       #0f0f0f;
  --bg-3:       #141414;
  --bg-card:    #111111;
  --cyan:       #00c8ff;
  --cyan-dim:   #0090cc;
  --cyan-glow:  rgba(0, 200, 255, 0.18);
  --cyan-border:rgba(0, 200, 255, 0.20);
  --green:      #00ff88;
  --text:       #f0f0f0;
  --text-muted: #8a8a8a;
  --text-dim:   #5a5a5a;
  --border:     rgba(255,255,255,0.07);
  --shadow:     0 4px 32px rgba(0,0,0,0.6);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:  'Sora', sans-serif;
  --font-body:  'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

/* ─────────────────────────────────────
   GRID & LAYOUT
───────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav__logo span { color: var(--cyan); }

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

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

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

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

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 24px;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--cyan);
  color: #000;
}

.btn--primary:hover {
  background: #22d4ff;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0,200,255,0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--cyan-border);
  color: var(--cyan);
  background: var(--cyan-glow);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: 10px;
}

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

.btn--outline:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 28px rgba(0,200,255,0.4);
}

/* ─────────────────────────────────────
   LABELS & BADGES
───────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge--cyan {
  background: rgba(0,200,255,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,200,255,0.25);
}

.badge--green {
  background: rgba(0,255,136,0.08);
  color: var(--green);
  border: 1px solid rgba(0,255,136,0.2);
}

.badge--dot::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

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

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero__glow-2 {
  position: absolute;
  bottom: -300px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  margin-bottom: 24px;
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero__headline span { color: var(--cyan); }

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero__stat-value {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  margin-bottom: 3px;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────
   CHAT DEMO WIDGET
───────────────────────────────────── */
.chat-demo {
  background: var(--bg-card);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0,200,255,0.08), var(--shadow);
  position: relative;
}

.chat-demo__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0,200,255,0.04);
  border-bottom: 1px solid var(--cyan-border);
}

.chat-demo__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-demo__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
}

.chat-demo__status::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.chat-demo__messages {
  padding: 24px 20px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: msg-in 0.3s ease-out both;
}

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

.chat-msg__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.chat-msg--user .chat-msg__avatar {
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
}

.chat-msg--ai .chat-msg__avatar {
  background: var(--cyan);
  color: #000;
}

.chat-msg__bubble {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 80%;
}

.chat-msg--user .chat-msg__bubble {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 10px 10px 2px 10px;
}

.chat-msg--ai .chat-msg__bubble {
  background: rgba(0,200,255,0.1);
  color: var(--text);
  border: 1px solid rgba(0,200,255,0.15);
  border-radius: 10px 10px 10px 2px;
}

.chat-msg--ai .chat-msg__bubble.building {
  border-color: var(--cyan);
}

.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(0,200,255,0.07);
  border-radius: 10px 10px 10px 2px;
  border: 1px solid rgba(0,200,255,0.1);
}

.chat-typing span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: typing-bounce 1.2s ease-in-out infinite;
}

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

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-demo__progress {
  padding: 0 20px 16px;
}

.chat-demo__progress-bar {
  height: 3px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}

.chat-demo__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #22d4ff);
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(0,200,255,0.6);
}

.chat-demo__input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.chat-demo__input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.chat-demo__send {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--cyan);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.8rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.chat-demo__send:hover { background: #22d4ff; transform: scale(1.05); }

/* ─────────────────────────────────────
   TICKER / MARQUEE
───────────────────────────────────── */
.ticker {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.ticker__track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 32s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker__item span { color: var(--cyan); font-size: 1rem; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-header--left {
  text-align: left;
  margin: 0 0 64px;
}

.section-eyebrow {
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.section-title span { color: var(--cyan); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.how-step {
  background: var(--bg-card);
  padding: 48px 36px;
  position: relative;
}

.how-step__num {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(0,200,255,0.12);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.how-step__icon {
  width: 48px; height: 48px;
  background: var(--cyan-glow);
  border: 1px solid var(--cyan-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.how-step__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.how-step__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.how-step__time {
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────
   BENTO FEATURES GRID
───────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.bento-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}

.bento-card--span-7 { grid-column: span 7; }
.bento-card--span-5 { grid-column: span 5; }
.bento-card--span-4 { grid-column: span 4; }
.bento-card--span-8 { grid-column: span 8; }
.bento-card--span-6 { grid-column: span 6; }

.bento-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.bento-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bento-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-card__big-number {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.bento-card--accent {
  background: linear-gradient(135deg, rgba(0,200,255,0.12), rgba(0,200,255,0.04));
  border-color: rgba(0,200,255,0.3);
}

.bento-card--dark {
  background: var(--bg-2);
}

.bento-glow {
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ─────────────────────────────────────
   PRICING
───────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.pricing-card--featured {
  border-color: var(--cyan);
  background: linear-gradient(160deg, rgba(0,200,255,0.08), var(--bg-card));
  box-shadow: 0 0 60px rgba(0,200,255,0.1);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 80px rgba(0,200,255,0.2);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price sup {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-feature::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature.unavailable {
  opacity: 0.35;
}

.pricing-feature.unavailable::before {
  content: '–';
  color: var(--text-dim);
}

/* ─────────────────────────────────────
   COMPARISON TABLE
───────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.compare-table th {
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.compare-table th:first-child { border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }

.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.compare-table tr:last-child td:last-child { border-radius: 0 0 10px 0; }

.compare-table tbody tr { transition: background var(--transition); }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.compare-table td.yes { color: var(--cyan); font-weight: 700; }
.compare-table td.no  { color: var(--text-dim); }

.compare-table tr.highlight-row td { background: rgba(0,200,255,0.04); }

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: var(--cyan);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-dim), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ─────────────────────────────────────
   CTA SECTION
───────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,200,255,0.07) 0%, transparent 70%);
}

.cta-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(0,200,255,0.3);
  border-radius: 24px;
  padding: 80px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(0,200,255,0.06);
}

.cta-box__glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,200,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-title span { color: var(--cyan); }

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.cta-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ─────────────────────────────────────
   FAQ
───────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: var(--cyan-border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  user-select: none;
}

.faq-question:hover { color: var(--cyan); }

.faq-toggle {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.footer__logo span { color: var(--cyan); }

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ─────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Fallback for already-in-viewport */
.no-js .reveal { opacity: 1; transform: none; }

/* ─────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent);
}

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}

.page-hero__title span { color: var(--cyan); }

.page-hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
  position: relative;
}

/* ─────────────────────────────────────
   EXAMPLES / GALLERY
───────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}

.gallery-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.gallery-card__body {
  padding: 20px 24px;
}

.gallery-card__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gallery-card__tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  background: rgba(0,200,255,0.08);
  color: var(--cyan);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ─────────────────────────────────────
   CONTACT / ABOUT SECTIONS
───────────────────────────────────── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-card__icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
}

.contact-card__title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.contact-card__sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-card__email {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
}

/* ─────────────────────────────────────
   UTILITIES
───────────────────────────────────── */
.text-cyan  { color: var(--cyan); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 80px 0;
}

/* ─────────────────────────────────────
   RESPONSIVE — TABLET (≤ 1024px)
───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__headline { font-size: clamp(2.2rem, 6vw, 3.2rem); }
  .chat-demo { max-width: 540px; }

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

  .bento-card--span-7 { grid-column: span 12; }
  .bento-card--span-5 { grid-column: span 12; }
  .bento-card--span-4 { grid-column: span 6; }
  .bento-card--span-8 { grid-column: span 12; }
  .bento-card--span-6 { grid-column: span 12; }

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

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

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 56px 40px; }
}

/* ─────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 768px)
───────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 100px 0 64px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn--large { width: 100%; justify-content: center; }

  .how-step { padding: 36px 24px; }

  .bento-card--span-4 { grid-column: span 12; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

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

  .cta-box { padding: 48px 28px; border-radius: 16px; }

  .contact-card { padding: 40px 28px; }

  .section-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .page-hero__title { font-size: clamp(2rem, 8vw, 2.8rem); }

  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 12px 16px; }
}
