:root {
  --bg: #07090e;
  --bg-alt: #0c1017;
  --surface: #121824;
  --surface-hover: #182030;
  --surface-card: rgba(18, 24, 36, 0.75);
  --line: rgba(255, 255, 255, 0.08);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: #f0f4fc;
  --text-muted: #94a3b8;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --cyan: #06b6d4;
  --teal: #10b981;
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-accent: linear-gradient(90deg, #818cf8, #22d3ee);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

/* ==================== HEADER ==================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--text);
}

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

.logo__sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-left: 1px solid var(--line-bright);
  padding-left: 8px;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.nav a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.nav__btn {
  background: var(--surface);
  border: 1px solid var(--line-bright) !important;
  color: var(--text) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.nav__btn:hover {
  background: var(--surface-hover);
  border-color: var(--cyan) !important;
  color: #fff !important;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn--primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(99, 102, 241, 0.5);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-bright);
}

.btn--full {
  width: 100%;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background: 
    radial-gradient(ellipse 65% 50% at 50% -10%, rgba(99, 102, 241, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 60%, rgba(6, 182, 212, 0.12), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse-anim 2s infinite;
}

@keyframes pulse-anim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero__title {
  font-size: clamp(38px, 5.5vw, 64px);
  letter-spacing: -1px;
  max-width: 900px;
  margin-bottom: 20px;
  font-weight: 800;
}

.grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Hero Demo Mockup */
.hero__demo-card {
  width: 100%;
  max-width: 980px;
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.15);
  overflow: hidden;
  text-align: left;
  margin-bottom: 50px;
}

.demo-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #eab308; }
.dots span:nth-child(3) { background: #22c55e; }

.demo-card__url {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.demo-card__badge {
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-card__body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 280px;
}

.demo-chat {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--line);
  background: rgba(10, 14, 22, 0.5);
}

.chat-bubble {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.5;
}

.chat-bubble__author {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.chat-bubble--user {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  align-self: flex-start;
  max-width: 90%;
}

.chat-bubble--user .chat-bubble__author {
  color: #a5b4fc;
}

.chat-bubble--ai {
  background: var(--surface);
  border: 1px solid var(--line);
  align-self: flex-start;
  max-width: 95%;
}

.chat-bubble--ai .chat-bubble__author {
  color: #38bdf8;
}

.chat-bubble__tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.chat-bubble__tags span {
  font-size: 11px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 8px;
  border-radius: 4px;
}

.demo-preview {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06080d;
}

.mini-browser {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge-mini {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.mini-browser__hero h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.mini-browser__hero p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn-mini {
  display: inline-block;
  background: var(--grad-primary);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
}

/* Stats list */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 980px;
  padding: 24px;
  background: rgba(18, 24, 36, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* ==================== SECTIONS COMMON ==================== */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--cyan);
  margin-bottom: 12px;
}

.h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ==================== SEGMENTS ==================== */
.segments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.segment-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.segment-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-4px);
}

.segment-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.segment-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.segment-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.segment-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: #cbd5e1;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
  font-size: 16px;
}

.check-list strong {
  color: var(--text);
}

/* ==================== COMPARISON TABLE ==================== */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.comp-table th, .comp-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.comp-table th {
  background: rgba(0, 0, 0, 0.3);
  font-size: 15px;
  font-weight: 700;
}

.th--bad {
  color: #f87171;
}

.th--good {
  color: #38bdf8;
  background: rgba(99, 102, 241, 0.08) !important;
}

.td--highlight {
  background: rgba(99, 102, 241, 0.05);
  color: #f1f5f9;
}

.comp-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==================== STEPS ==================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-bright);
}

.step-card__num {
  font-size: 14px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.feature-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: border-color 0.2s;
}

.feature-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-item code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #38bdf8;
}

/* ==================== PRICING / FORMATS ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 940px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(18, 24, 36, 0.95) 100%);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.pricing-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.pricing-card__desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

.pricing-card__features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card__features li {
  font-size: 14.5px;
  color: #cbd5e1;
}

/* ==================== CTA SECTION ==================== */
.section--cta {
  padding: 60px 0 100px;
}

.cta-box {
  background: 
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(99, 102, 241, 0.2), transparent),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(6, 182, 212, 0.15), transparent),
    var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.badge-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-box .lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  min-width: 220px;
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.contact-pill__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.contact-pill__val {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

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

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

.footer__brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 12px;
  text-align: center;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-card__body {
    grid-template-columns: 1fr;
  }
  .demo-chat {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav--open {
    transform: translateY(0);
  }

  .burger {
    display: block;
  }

  .segments-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-box {
    padding: 40px 20px;
  }

  .contact-methods {
    flex-direction: column;
  }

  .contact-pill {
    width: 100%;
  }

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