:root {
  --bg: #0B0F19;
  --card: #111827;
  --border: #1E293B;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --grad: linear-gradient(135deg, #6366F1 0%, #8B5CF6 45%, #22D3EE 100%);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.header-cta { font-size: 13px; padding: 9px 18px; white-space: nowrap; }
.header-nav { display: flex; gap: 4px; }
.header-nav a {
  color: #CBD5E1; text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 10px; transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.header-nav a:hover { background: rgba(139, 92, 246, 0.14); color: #fff; }
.burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  cursor: pointer;
}
.burger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column;
  padding: 8px 20px 18px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #E2E8F0; text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 13px 4px; border-bottom: 1px solid rgba(30, 41, 59, 0.6);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .cta-btn { margin-top: 14px; width: 100%; justify-content: center; }

/* Buttons */
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 700;
  border: none; border-radius: 12px; padding: 14px 24px;
  font-size: 15px; cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(139, 92, 246, 0.7); }
.cta-btn:active { transform: translateY(0); }

/* Sections */
.section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-title { font-size: clamp(26px, 4.5vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 17px; }

/* Hero */
.hero { padding: 72px 0 64px; text-align: center; }
.badge {
  display: inline-block; padding: 7px 15px; border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.4); background: rgba(99, 102, 241, 0.12);
  color: #C4B5FD; font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 6vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.hero-sub { color: var(--muted); font-size: clamp(16px, 2.5vw, 20px); max-width: 640px; margin: 0 auto 30px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip {
  padding: 9px 15px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--border); color: #E2E8F0; font-size: 14px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.highlight {
  max-width: 720px; margin: 32px auto 0; padding: 20px 26px;
  background: rgba(99, 102, 241, 0.08); border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 14px; text-align: center; font-size: 17px; font-weight: 600; color: #E0E7FF;
}
/* Changes grid */
.changes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.change-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; transition: border-color .15s ease, transform .15s ease;
}
.change-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0.85;
}
.change-card:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-3px); }
.change-num {
  font-size: 13px; font-weight: 800; letter-spacing: .08em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.change-card h3 { font-size: 20px; margin-bottom: 8px; }
.change-card p { color: var(--muted); font-size: 15px; }

/* Can-do list */
.can-do-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.can-do-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; font-size: 16px; font-weight: 500; line-height: 1.5;
  transition: border-color .15s ease;
}
.can-do-item:hover { border-color: rgba(34, 211, 238, 0.45); }
.can-do-check { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: #22D3EE; }

/* AI cards */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.ai-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 24px; transition: border-color .15s ease, transform .15s ease;
}
.ai-card:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-3px); }
.ai-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.ai-name { font-size: 18px; font-weight: 800; color: #fff; }
.ai-name span { display: block; font-size: 12px; color: #64748B; font-weight: 500; margin-top: 2px; }
.ai-tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(139, 92, 246, 0.12); color: #C4B5FD; white-space: nowrap; }
.ai-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #A5B4FC; margin-top: 14px; margin-bottom: 4px; }
.ai-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Footer links */
.footer-links { display: flex; justify-content: center; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.footer-links button {
  background: none; border: none; color: #94A3B8; font-size: 13px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.footer-links button:hover { color: #fff; }

/* Legal modal */
.legal-modal { text-align: left; max-height: 82vh; overflow-y: auto; }
.legal-modal h3 { margin-bottom: 16px; }
.legal-text p { color: var(--muted); font-size: 14px; margin-bottom: 12px; line-height: 1.65; }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.story-name { font-weight: 700; font-size: 17px; }
.story-tag { color: #A5B4FC; font-size: 13px; margin-bottom: 12px; }
.story-text { color: var(--muted); font-size: 14px; margin-bottom: 18px; flex: 1; }
.story-profit { font-weight: 800; font-size: 20px; color: #34D399; margin-bottom: 14px; }
.chart { width: 100%; height: 120px; margin-bottom: 6px; }
.chart-label { font-size: 12px; color: #64748B; }

/* CTA band */
.cta-band { text-align: center; padding: 30px 0 0; }

/* Footer */
.site-footer { padding: 40px 0 56px; text-align: center; color: #64748B; font-size: 13px; border-top: 1px solid var(--border); }
.site-footer .brand { justify-content: center; margin-bottom: 10px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.78);
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  max-width: 460px; width: 100%; padding: 30px; position: relative; text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border-radius: 9px; border: 1px solid var(--border); background: transparent;
  color: var(--muted); font-size: 18px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: #fff; border-color: #475569; }
.modal-icon { font-size: 40px; margin-bottom: 12px; }
.modal h3 { font-size: 22px; margin-bottom: 12px; }
.modal p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.modal-btns { display: flex; flex-direction: column; gap: 12px; }
.msg-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; border-radius: 12px; font-weight: 700; font-size: 16px;
  text-decoration: none; color: #fff; transition: transform .15s ease, filter .15s ease;
}
.msg-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.msg-btn svg { width: 22px; height: 22px; }
.msg-btn.tg { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.msg-btn.wa { background: linear-gradient(135deg, #25D366, #1EBE5D); }
.modal-gift { margin-top: 20px; font-size: 13px; color: #FBBF24; font-weight: 600; }

@media (max-width: 860px) {
  .steps, .changes, .stories { grid-template-columns: 1fr; }
  .can-do-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
}


/* Lead form */
.field { display: block; text-align: left; margin-bottom: 14px; }
.field-label { display: block; font-size: 12px; font-weight: 600; color: #CBD5E1; margin-bottom: 6px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: #0B0F19; border: 1px solid var(--border);
  color: #fff; font-size: 15px; outline: none;
  transition: border-color .15s ease;
}
.field input:focus { border-color: var(--violet); }
.field-error { display: block; font-size: 12px; color: #FB7185; margin-top: 4px; min-height: 16px; }
.messenger-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.msg-opt {
  padding: 10px 6px; border-radius: 12px; border: 1px solid var(--border);
  background: #0B0F19; color: #CBD5E1; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.msg-opt:hover { border-color: #475569; }
.msg-opt.selected { border-color: var(--violet); background: rgba(139,92,246,0.15); color: #fff; }
.consent { display: flex; align-items: flex-start; gap: 8px; text-align: left; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.consent input { margin-top: 3px; accent-color: var(--violet); flex-shrink: 0; }
.consent-text button { background: none; border: none; color: #A5B4FC; cursor: pointer; text-decoration: underline; font-size: 12px; padding: 0; }
.lf-submit { width: 100%; justify-content: center; margin-top: 8px; }
