/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6; transition: background-color .25s, color .25s; }
img, svg { display: block; }
a { text-decoration: none; }

/* ── Tokens ── */
:root, [data-theme="dark"] {
  --bg:        #0f0f0f;
  --bg-alt:    #141414;
  --bg-card:   #1a1a1a;
  --border:    #252525;
  --border2:   #2e2e2e;
  --text:      #f0f0f0;
  --text-muted:#9a9a9a;
  --text-dim:  #555;
  --accent:    #4f6ef7;
  --accent-h:  #3d5ce5;
  --accent-bg: rgba(79,110,247,.12);
  --accent-bg2:rgba(79,110,247,.20);
  --green:     #22c55e;
  --red:       #ef4444;
  --badge-bg:  rgba(79,110,247,.15);
  --shadow:    0 2px 24px rgba(0,0,0,.4);
}
[data-theme="light"] {
  --bg:        #ffffff;
  --bg-alt:    #f5f5f5;
  --bg-card:   #ffffff;
  --border:    #e5e5e5;
  --border2:   #d0d0d0;
  --text:      #0f0f0f;
  --text-muted:#555;
  --text-dim:  #aaa;
  --accent:    #4f6ef7;
  --accent-h:  #3d5ce5;
  --accent-bg: rgba(79,110,247,.08);
  --accent-bg2:rgba(79,110,247,.15);
  --green:     #16a34a;
  --red:       #dc2626;
  --badge-bg:  rgba(79,110,247,.1);
  --shadow:    0 2px 24px rgba(0,0,0,.08);
}
body { background: var(--bg); color: var(--text); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 20px;
  background: var(--accent-bg); color: var(--accent);
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-2-3 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

/* ── Card ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; font-size: 15px;
  font-weight: 600; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  font-family: inherit; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(79,110,247,.35);
}
.btn-primary:hover { background: var(--accent-h); box-shadow: 0 6px 24px rgba(79,110,247,.45); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ── Feature list ── */
.feature-list { list-style: none; space-y: 8px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; font-size: .95rem; color: var(--text-muted);
}
.feature-list li .ico { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.feature-list li .ico-no { color: var(--text-dim); flex-shrink: 0; margin-top: 2px; }

/* ── Steps ── */
.steps { display: grid; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.step-body h3 { font-weight: 600; margin-bottom: 4px; }
.step-body p { font-size: .9rem; color: var(--text-muted); }

/* ── Quotes/Examples ── */
.examples-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.example-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 12px;
}
.example-card .bot-ico { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.example-card p { font-size: .9rem; color: var(--text-muted); font-style: italic; }

/* ── Inline SVG icon helper ── */
.ico { display: inline-flex; align-items: center; }
.ico svg { width: 20px; height: 20px; }
.ico-lg svg { width: 28px; height: 28px; }
.ico-xl svg { width: 36px; height: 36px; }

/* ── Highlight ── */
.highlight { color: var(--accent); }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center;
  height: 64px; gap: 32px;
}
.logo { font-size: 1.1rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.logo span { color: var(--accent); }
.nav-desktop { display: flex; gap: 4px; align-items: center; flex: 1; }
.nav-desktop a {
  padding: 6px 14px; border-radius: 8px; font-size: .9rem;
  color: var(--text-muted); transition: color .15s, background .15s;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--text); background: var(--bg-alt); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: none; border: 1px solid var(--border2);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: color .15s, border-color .15s;
}
.theme-btn:hover { color: var(--text); border-color: var(--text-dim); }
.theme-btn svg { width: 18px; height: 18px; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }
.menu-btn {
  display: none; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; }

/* ── Mobile nav drawer ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
}
.mobile-nav.open { display: block; }
.mobile-nav-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.6);
}
.mobile-nav-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: 260px;
  background: var(--bg-card); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 0;
}
.mobile-nav-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.mobile-nav-links { display: flex; flex-direction: column; padding: 12px 12px; gap: 4px; flex: 1; }
.mobile-nav-links a {
  padding: 12px 16px; border-radius: 10px;
  font-size: 1rem; color: var(--text-muted); transition: color .15s, background .15s;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active { color: var(--text); background: var(--bg-alt); }
.mobile-nav-footer { padding: 16px 20px; border-top: 1px solid var(--border); }
.close-btn { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; }
.close-btn svg { width: 20px; height: 20px; }

/* ── Hero ── */
.hero { padding: 96px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 20px;
  background: var(--accent-bg); color: var(--accent);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 20px;
}
.hero-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.hero-note { font-size: .8rem; color: var(--text-dim); }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.phone-mockup {
  width: 260px; background: var(--bg-card); border: 1px solid var(--border2);
  border-radius: 28px; padding: 20px 16px; box-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.chat-bubble {
  border-radius: 14px; padding: 10px 14px; margin: 6px 0; font-size: .82rem;
}
.bubble-user { background: var(--accent); color: #fff; margin-left: 24px; border-bottom-right-radius: 4px; }
.bubble-bot { background: var(--bg-alt); color: var(--text); margin-right: 24px; border-bottom-left-radius: 4px; }
.chat-time { font-size: .7rem; opacity: .6; margin-top: 3px; text-align: right; }

/* ── Pricing cards ── */
.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: 20px; padding: 32px 28px; position: relative;
}
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px;
  white-space: nowrap;
}
.pricing-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.pricing-desc { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-price { margin-bottom: 24px; }
.pricing-amount { font-size: 2.4rem; font-weight: 800; }
.pricing-period { font-size: .9rem; color: var(--text-muted); }
.pricing-year { display: block; font-size: .8rem; color: var(--text-dim); margin-top: 2px; }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.pricing-features li .chk { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.pricing-features li .no { color: var(--text-dim); flex-shrink: 0; margin-top: 1px; }
.pricing-features li span { color: var(--text-muted); }
.pricing-features li.yes span { color: var(--text); }
.pricing-btn {
  display: block; width: 100%; padding: 13px;
  border-radius: 10px; font-size: .95rem; font-weight: 600;
  text-align: center; cursor: pointer; transition: .15s;
  border: 1.5px solid var(--border2); background: none;
  color: var(--text); font-family: inherit;
}
.pricing-btn:hover { border-color: var(--accent); color: var(--accent); }
.pricing-btn.featured-btn {
  background: var(--accent); color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(79,110,247,.35);
}
.pricing-btn.featured-btn:hover { background: var(--accent-h); }

/* ── Early bird ── */
.early-bird {
  border: 1px solid var(--accent); border-radius: 20px;
  background: var(--accent-bg); padding: 36px 32px; margin-top: 32px;
}
.early-bird h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.early-bird-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.early-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
}
.early-card .price { font-size: 1.8rem; font-weight: 800; color: var(--accent); }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer;
  font-weight: 600; font-size: .95rem;
  background: none; border: none; width: 100%; text-align: left;
  color: var(--text); font-family: inherit;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-a {
  display: none; padding: 0 22px 18px;
  font-size: .9rem; color: var(--text-muted); line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }
.faq-chevron { color: var(--text-dim); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
/* FAQ answer content */
.faq-a ul, .faq-a ol { padding-left: 20px; margin: 6px 0; }
.faq-a li { margin-bottom: 4px; }
.faq-a p { margin-bottom: 8px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--text); font-weight: 600; }
/* FAQ section headings */
.faq-section-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; margin-top: 40px; }
.faq-section-header:first-child { margin-top: 0; }
.faq-section-header h2 { font-size: .75rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-dim); }
/* FAQ search */
.faq-search-wrap { position: relative; margin-bottom: 40px; }
.faq-search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; display: flex; align-items: center; }
.faq-search-ico svg { width: 18px; height: 18px; }
.faq-search {
  width: 100%; padding: 13px 16px 13px 46px;
  background: var(--bg-card); border: 1.5px solid var(--border2);
  border-radius: 10px; color: var(--text); font-family: inherit;
  font-size: .95rem; outline: none; transition: border-color .15s;
}
.faq-search:focus { border-color: var(--accent); }
.faq-search::placeholder { color: var(--text-dim); }
/* No results */
.faq-empty { text-align: center; color: var(--text-dim); padding: 48px 0; font-size: .9rem; display: none; }
.faq-empty.shown { display: block; }

/* ── Footer ── */
footer {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .logo { font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand p { font-size: .85rem; color: var(--text-dim); line-height: 1.6; }
.footer-col h4 { font-size: .8rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.footer-col a { display: block; font-size: .9rem; color: var(--text-muted); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--text-dim); flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-dim); }
.footer-legal a:hover { color: var(--text-muted); }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 72px 0;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }

/* ── Animations ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .early-bird-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .grid-2, .grid-3, .grid-4, .grid-2-3 { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
