﻿:root {
  --bg: #0a0d14;
  --bg2: #0f1420;
  --card: #141b2b;
  --card2: #1a2236;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #e8ecf4;
  --text2: #8a95aa;
  --text3: #5a647a;
  --accent: #3b82f6;
  --accent2: #6366f1;
  --green: #22c55e;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  --r: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(10,13,20,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(59,130,246,0.4);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text2); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-ghost {
  padding: 7px 16px; font-size: 13px; font-weight: 500; border-radius: 8px;
  border: 1px solid var(--border2); color: var(--text2); background: none;
  cursor: pointer; transition: all 0.15s; font-family: var(--font);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-primary {
  padding: 8px 18px; font-size: 13px; font-weight: 600; border-radius: 8px;
  border: none; color: #fff; background: var(--accent);
  cursor: pointer; transition: background 0.15s; font-family: var(--font);
}
.btn-primary:hover { background: #2563eb; }

/* ── Beta Banner ── */
.beta-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(90deg, rgba(99,102,241,0.18) 0%, rgba(59,130,246,0.18) 100%);
  border-bottom: 1px solid rgba(99,102,241,0.3);
  backdrop-filter: blur(12px);
  font-size: 13px; color: var(--text2);
}
.beta-banner i { font-size: 14px; color: var(--accent); }
.beta-banner-link {
  color: var(--accent); font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.beta-banner-link:hover { text-decoration: underline; }
.beta-banner-link i { font-size: 13px; }
.beta-banner-close {
  position: absolute; right: 14px;
  background: none; border: none; color: var(--text3);
  cursor: pointer; padding: 6px; font-family: var(--font);
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: color 0.15s, background 0.15s;
}
.beta-banner-close:hover { color: var(--text2); background: rgba(255,255,255,0.06); }
body.beta-banner-open nav { top: 44px; }
body.beta-banner-open .mobile-nav { top: 108px; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 40px 80px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59,130,246,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99,102,241,0.08) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 28px;
  border: 1px solid rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.08); font-size: 12px; font-weight: 600;
  color: #93c5fd; letter-spacing: 0.03em;
}
.hero-badge i { font-size: 14px; }
h1 {
  font-size: clamp(36px, 6vw, 72px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 22px;
  max-width: 900px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--text2);
  max-width: 620px; margin: 0 auto 38px; line-height: 1.65;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 70px; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 15px; font-weight: 600; border-radius: 10px;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  transition: all 0.15s; font-family: var(--font);
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}
.btn-hero-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(59,130,246,0.45); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 15px; font-weight: 500; border-radius: 10px;
  background: transparent; color: var(--text); border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.15s; font-family: var(--font);
}
.btn-hero-ghost:hover { background: var(--card); border-color: rgba(255,255,255,0.2); }

/* App mockup */
.mockup-wrap {
  width: 100%; max-width: 1200px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  background: #161b2a;
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #1a2236; border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-title { font-size: 12px; color: var(--text3); margin-left: 8px; }
.mockup-body {
  display: grid; grid-template-columns: 220px 1fr; min-height: 420px;
}
.mockup-sidebar { background: #141b2b; border-right: 1px solid var(--border); padding: 14px; }
.mockup-sidebar-header { font-size: 9px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.mockup-step {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; padding: 8px; border-radius: 8px;
}
.mockup-step.done { background: rgba(34,197,94,0.07); }
.mockup-step.active { background: rgba(59,130,246,0.1); }
.mockup-step-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; margin-top: 1px; }
.mockup-step.done .mockup-step-icon { background: rgba(34,197,94,0.2); color: #22c55e; }
.mockup-step.active .mockup-step-icon { background: rgba(59,130,246,0.2); color: #60a5fa; }
.mockup-step.pending .mockup-step-icon { background: var(--card2); color: var(--text3); }
.mockup-step-text { font-size: 11px; color: var(--text2); line-height: 1.4; }
.mockup-step.active .mockup-step-text { color: var(--text); }
.mockup-layer { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 6px; margin-bottom: 4px; }
.mockup-layer:hover { background: var(--card2); }
.mockup-layer-dot { width: 8px; height: 8px; border-radius: 2px; }
.mockup-layer-name { font-size: 11px; color: var(--text2); flex: 1; }
.mockup-canvas {
  background: #e8eef8; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Floor plan outline */
.fp-room {
  position: absolute; border: 2px solid rgba(71,85,105,0.5);
  background: rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: rgba(71,85,105,0.8); font-weight: 600; letter-spacing: 0.03em;
}
/* Ducts */
.fp-duct {
  position: absolute; border-radius: 2px; opacity: 0.85;
}
.fp-unit {
  position: absolute; border-radius: 4px; border: 2px solid #64748b;
  background: rgba(148,163,184,0.3); display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: #64748b; font-weight: 700;
}
.fp-dot { position: absolute; border-radius: 50%; }
.compliance-chip {
  position: absolute; bottom: 12px; right: 12px; display: flex; gap: 5px;
}
.chip {
  padding: 3px 8px; border-radius: 99px; font-size: 9px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}
.chip.pass { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.25); }
.chip.warn { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.25); }

/* ── Beta Status Callout ── */
#betaCallout {
  margin-top: 64px; /* push below fixed nav */
  background: linear-gradient(90deg, rgba(99,102,241,0.1) 0%, rgba(59,130,246,0.08) 100%);
  border-bottom: 1px solid rgba(99,102,241,0.25);
  padding: 20px 40px;
}
body.beta-banner-open #betaCallout {
  margin-top: 108px; /* nav (64) + beta banner (44) */
}
.beta-callout-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.beta-callout-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #a78bfa;
}
.beta-callout-body { flex: 1; min-width: 200px; }
.beta-callout-title {
  font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px;
}
.beta-callout-sub {
  font-size: 13px; color: var(--text2); line-height: 1.55;
}
.beta-callout-cta {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.35);
  color: #a78bfa; transition: background 0.15s, border-color 0.15s;
}
.beta-callout-cta:hover {
  background: rgba(99,102,241,0.25); border-color: rgba(99,102,241,0.55);
}
@media (max-width: 768px) {
  #betaCallout { padding: 16px 20px; }
  .beta-callout-cta { width: 100%; justify-content: center; }
}

/* ── Sections ── */
section { padding: 96px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 16px;
}
.section-tag i { font-size: 14px; }
h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text2); max-width: 560px; line-height: 1.65; }

/* ── Features grid ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 56px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px; transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature-icon.blue  { background: rgba(59,130,246,0.12); color: #60a5fa; }
.feature-icon.green { background: rgba(34,197,94,0.12);  color: #4ade80; }
.feature-icon.violet{ background: rgba(139,92,246,0.12); color: #a78bfa; }
.feature-icon.cyan  { background: rgba(6,182,212,0.12);  color: #22d3ee; }
.feature-icon.amber { background: rgba(245,158,11,0.12); color: #fbbf24; }
.feature-icon.rose  { background: rgba(244,63,94,0.12);  color: #fb7185; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* ── How it works ── */
.how-bg { background: var(--bg2); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin-top: 56px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), var(--border2), transparent);
}
.step { text-align: center; padding: 0 24px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; border: 2px solid var(--border2);
  background: var(--bg2); position: relative; z-index: 1;
  color: var(--text2);
}
.step.active .step-num {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── Standards ── */
.standards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 48px; }
.standard-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 22px;
}
.standard-badge {
  display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 10px;
  font-weight: 700; letter-spacing: 0.06em; margin-bottom: 12px;
  background: rgba(59,130,246,0.1); color: #93c5fd; border: 1px solid rgba(59,130,246,0.2);
}
.standard-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.standard-card p { font-size: 12.5px; color: var(--text2); line-height: 1.55; }
.standard-status {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  font-size: 11px; font-weight: 600; color: var(--green);
}

/* ── AI section ── */
.ai-section { background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(99,102,241,0.06) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ai-feature { display: flex; gap: 14px; margin-bottom: 24px; }
.ai-feature-icon { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; background: rgba(59,130,246,0.12); color: #60a5fa; }
.ai-feature h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.ai-feature p { font-size: 13px; color: var(--text2); line-height: 1.55; }
.chat-demo {
  background: var(--card); border: 1px solid var(--border2); border-radius: 14px;
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.chat-demo-header { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.chat-demo-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble-ai {
  background: var(--card2); border: 1px solid var(--border); border-radius: 10px 10px 10px 2px;
  padding: 10px 13px; font-size: 12.5px; color: var(--text2); line-height: 1.5; max-width: 90%;
}
.chat-bubble-user {
  align-self: flex-end; background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.25);
  border-radius: 10px 10px 2px 10px; padding: 10px 13px; font-size: 12.5px; color: var(--text); max-width: 80%;
}
.chat-input-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--border); }
.chat-input-mock { flex: 1; background: var(--bg); border: 1px solid var(--border2); border-radius: 8px; padding: 7px 10px; font-size: 12px; color: var(--text3); }

/* ── CTA ── */
.cta-section { text-align: center; padding: 100px 40px; }
.cta-card {
  max-width: 680px; margin: 0 auto; padding: 60px 48px;
  background: var(--card); border: 1px solid var(--border2); border-radius: 20px;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.1), transparent 70%);
}
.cta-card h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-card p { font-size: 16px; color: var(--text2); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border); padding: 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text3); transition: color 0.15s; }
.footer-links a:hover { color: var(--text2); }
.footer-copy { font-size: 12px; color: var(--text3); }

/* ── Hamburger button (hidden on desktop) ── */
.nav-hamburger {
  display: none;
  background: none; border: none; color: var(--text); cursor: pointer;
  font-size: 22px; padding: 4px; align-items: center; line-height: 1;
}

/* ── Mobile nav drawer ── */
.mobile-nav {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(10,13,20,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 8px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 14px 0; font-size: 15px; color: var(--text2);
  border-bottom: 1px solid var(--border); display: block;
  transition: color 0.15s;
}
.mobile-nav-link:last-of-type { border-bottom: none; }
.mobile-nav-link:hover { color: var(--text); }
.mobile-nav-actions {
  display: flex; flex-direction: column; gap: 8px; padding-top: 16px;
}

/* ── Calculator Widget ── */
.calc-section { padding: 80px 40px; }
.cw-container { margin-top: 48px; }

.cw-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border2);
}
.cw-panel {
  background: var(--card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cw-panel + .cw-panel { border-left: 1px solid var(--border2); }
.cw-result-panel { background: var(--card2); }

.cw-panel-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--text2);
  text-transform: uppercase; letter-spacing: 0.07em;
}
.cw-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Zone selector */
.cw-zone-sel {
  width: 100%; padding: 9px 12px; border-radius: 8px;
  background: var(--bg2); border: 1px solid var(--border2);
  color: var(--text); font-size: 13px; font-family: var(--font);
  cursor: pointer; outline: none;
}
.cw-zone-sel:focus { border-color: var(--accent); }
.cw-zone-note { font-size: 11px; color: var(--text3); line-height: 1.5; }

/* Room list */
.cw-rooms-list { display: flex; flex-direction: column; gap: 8px; }
.cw-room-row {
  display: grid;
  grid-template-columns: 1fr 56px auto 28px;
  gap: 6px; align-items: center;
}
.cw-room-name, .cw-room-sqm {
  padding: 7px 10px; border-radius: 7px;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-size: 13px; font-family: var(--font);
  outline: none; transition: border-color 0.15s;
}
.cw-room-name:focus, .cw-room-sqm:focus { border-color: var(--accent); }
.cw-room-sqm { text-align: right; }
.cw-sqm-unit { font-size: 12px; color: var(--text3); }
.cw-room-del {
  background: none; border: none; color: var(--text3);
  font-size: 18px; cursor: pointer; padding: 2px 4px;
  border-radius: 5px; line-height: 1; font-family: var(--font);
  transition: color 0.15s, background 0.15s;
}
.cw-room-del:hover { color: #f87171; background: rgba(248,113,113,0.1); }

/* Preset buttons */
.cw-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cw-preset {
  padding: 4px 11px; font-size: 12px; font-weight: 500;
  border-radius: 20px; border: 1px solid var(--border2);
  color: var(--text2); background: none; cursor: pointer;
  font-family: var(--font); transition: all 0.15s;
}
.cw-preset:hover { color: var(--text); border-color: var(--accent); background: rgba(59,130,246,0.08); }

/* Results */
.cw-results { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cw-empty { font-size: 13px; color: var(--text3); line-height: 1.6; }

.cw-result-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.cw-result-label { color: var(--text2); }
.cw-result-val { font-weight: 600; color: var(--text); }
.cw-result-accent { color: var(--accent); font-size: 18px; font-weight: 700; }

.cw-result-divider { height: 1px; background: var(--border2); margin: 4px 0; }

.cw-unit-rec { background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.15); border-radius: 10px; padding: 14px 16px; }
.cw-unit-rec-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 6px; }
.cw-unit-name { font-size: 15px; font-weight: 700; color: var(--text); }
.cw-unit-model { font-size: 13px; color: var(--text2); margin: 2px 0 6px; }
.cw-unit-spec { font-size: 11px; color: var(--text3); }

/* CTA group */
.cw-cta-group { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.cw-btn-primary {
  display: block; text-align: center; padding: 10px 16px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: background 0.15s;
  text-decoration: none;
}
.cw-btn-primary:hover { background: #2563eb; }
.cw-btn-ghost {
  display: block; text-align: center; padding: 9px 16px;
  background: none; color: var(--text2); border: 1px solid var(--border2);
  border-radius: 8px; font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: var(--font); transition: all 0.15s;
}
.cw-btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

.cw-email-row {
  display: flex; gap: 6px; align-items: center;
}
.cw-email-input {
  flex: 1; padding: 8px 10px; border-radius: 7px;
  background: var(--bg2); border: 1px solid var(--border2);
  color: var(--text); font-size: 12px; font-family: var(--font); outline: none;
}
.cw-email-input:focus { border-color: var(--accent); }
.cw-email-row .cw-btn-primary { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
.cw-email-ok { font-size: 12px; color: var(--green); font-weight: 500; }

/* Standalone page extras */
.calc-footer-note { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text3); }
.calc-footer-link { color: var(--accent); font-weight: 500; }
.calc-footer-link:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links   { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 64px 20px; }
  .hero { padding: 100px 20px 60px; }
  .ai-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .cta-card { padding: 36px 24px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; max-width: 320px; justify-content: center; }
  /* Calculator responsive */
  .calc-section { padding: 64px 20px; }
  .cw-grid { grid-template-columns: 1fr; }
  .cw-panel + .cw-panel { border-left: none; border-top: 1px solid var(--border2); }
  /* New sections (inline grids need !important to override) */
  .region-strip { grid-template-columns: 1fr 1fr !important; }
  .testimonial-grid { grid-template-columns: 1fr !important; }
  #pricing > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}