:root {
  --blue:        #1565C0;
  --blue-mid:    #1976D2;
  --blue-light:  #42A5F5;
  --accent:      #FF6F00;
  --accent-dark: #E65100;
  --dark:        #0D1117;
  --dark-2:      #161B22;
  --dark-3:      #21262D;
  --dark-border: rgba(255,255,255,.1);
  --text:        #1A1A2E;
  --text-light:  #6B7280;
  --bg:          #FFFFFF;
  --bg-alt:      #F8FAFC;
  --border:      #E5E7EB;
  --radius:      10px;
  --radius-lg:   16px;
  --max:         1140px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.12);
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Nav ───────────────────────────────────────────────────────────────────── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .3s, box-shadow .3s;
}

nav.scrolled {
  background: rgba(13,17,23,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--dark-border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.nav-logo span { color: var(--blue-light); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex: 1;
}

.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; text-decoration: none; }

.nav-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }

.lang-switcher { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 6px; padding: 3px; }
.lang-btn {
  background: none; border: none; color: rgba(255,255,255,.55); cursor: pointer;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: 3px 7px;
  border-radius: 4px; transition: background .15s, color .15s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: rgba(255,255,255,.18); color: #fff; }

.nav-signin {
  color: rgba(255,255,255,.8) !important;
  font-size: .9rem;
  padding: 6px 14px;
}
.nav-signin:hover { color: #fff !important; text-decoration: none; }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .2s;
}
.nav-cta:hover { background: var(--accent-dark); text-decoration: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .3s;
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-signin { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 24px;
    gap: 20px;
    overflow-y: auto;
  }
  .nav-links.open li:last-child { margin-top: 8px; }
  .nav-cta { padding: 12px 20px; text-align: center; display: block; }
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  background: var(--dark);
  color: #fff;
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(21,101,192,.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 120%, rgba(255,111,0,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(66,165,245,.15);
  border: 1px solid rgba(66,165,245,.3);
  color: var(--blue-light);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-light), #81D4FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,111,0,.35); color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); color: #fff; }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-mid); transform: translateY(-1px); color: #fff; }

.hero-demo-note {
  margin: 0 auto;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  max-width: 480px;
  line-height: 1.6;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* ── Property types strip ──────────────────────────────────────────────────── */

.types-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 32px 24px;
}

.types-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.types-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  margin-right: 8px;
}

.type-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 7px 16px;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  white-space: nowrap;
}
.type-pill-icon { font-size: 1rem; }

/* ── Sections common ───────────────────────────────────────────────────────── */

section { padding: 88px 24px; }

.section-inner { max-width: var(--max); margin: 0 auto; }

.section-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
  text-align: center;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Feature tabs section ──────────────────────────────────────────────────── */

#features { background: var(--bg-alt); }

.feature-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  border-bottom: 2px solid var(--border);
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.feature-tab {
  padding: 12px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: .2s;
  white-space: nowrap;
}
.feature-tab:hover { color: var(--text); }
.feature-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

.feature-panel { display: none; }
.feature-panel.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.feat-icon {
  width: 44px; height: 44px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* ── Portal callout section ────────────────────────────────────────────────── */

#portal {
  background: var(--dark);
  color: #fff;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 800px) {
  .portal-grid { grid-template-columns: 1fr; gap: 40px; }
}

.portal-text .section-eyebrow { text-align: left; color: var(--blue-light); }
.portal-text .section-title { text-align: left; color: #fff; }
.portal-text .section-sub { text-align: left; margin: 0 0 36px; color: rgba(255,255,255,.6); }

.portal-features { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.portal-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.portal-feature-icon {
  width: 32px; height: 32px;
  background: rgba(66,165,245,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.portal-feature-text strong { display: block; font-size: .95rem; color: #fff; margin-bottom: 2px; }
.portal-feature-text span { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.5; }

.portal-visual {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-screen-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 4px;
}
.portal-screen-dots { display: flex; gap: 6px; }
.portal-screen-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.portal-screen-dots span:first-child { background: #FF5F57; }
.portal-screen-dots span:nth-child(2) { background: #FEBC2E; }
.portal-screen-dots span:nth-child(3) { background: #28C840; }
.portal-screen-title {
  flex: 1; text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.portal-mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 12px 16px;
}
.portal-mock-label { font-size: .85rem; color: rgba(255,255,255,.6); }
.portal-mock-value { font-size: .95rem; font-weight: 700; color: #fff; }
.portal-mock-value.green { color: #4ADE80; }
.portal-mock-value.red { color: #F87171; }

.portal-mock-btn {
  background: var(--accent);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 4px;
}

.portal-lang-note {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  text-align: center;
  margin-top: 8px;
}

/* ── Portal pills + phone strip ────────────────────────────────────────────── */

.portal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 40px;
}
.portal-pill {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}

.phone-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}
.phone-strip::-webkit-scrollbar { height: 4px; }
.phone-strip::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 2px; }
.phone-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

.phone-frame {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.phone-frame img {
  width: 200px;
  border-radius: 28px;
  border: 3px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
  display: block;
}
.phone-frame img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.phone-caption {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-align: center;
}

@media (max-width: 700px) {
  .phone-strip { justify-content: flex-start; padding-left: 16px; }
  .phone-frame { width: 160px; }
  .phone-frame img { width: 160px; }
}

/* ── Screenshots ───────────────────────────────────────────────────────────── */

#screenshots { background: var(--bg); }

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 800px) {
  .screenshots-grid { grid-template-columns: 1fr; }
}

.screenshot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}

.screenshot-bar {
  background: #E8EAED;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.screenshot-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.screenshot-dot:nth-child(1) { background: #FF5F57; }
.screenshot-dot:nth-child(2) { background: #FEBC2E; }
.screenshot-dot:nth-child(3) { background: #28C840; }

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

.screenshot-placeholder-inner {
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: .85rem;
  background: var(--bg-alt);
}
.screenshot-placeholder-icon { font-size: 2rem; opacity: .4; }

.screenshot-caption {
  padding: 14px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* ── Pricing ───────────────────────────────────────────────────────────────── */

#pricing { background: var(--bg-alt); }

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 800px) {
  .pricing-layout { grid-template-columns: 1fr; }
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: var(--blue);
  border-width: 2px;
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

.pricing-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 6px;
}
.pricing-price sup { font-size: 1.4rem; vertical-align: top; margin-top: 10px; }
.pricing-price sub { font-size: 1rem; color: var(--text-light); font-weight: 400; letter-spacing: 0; }

.pricing-tagline { color: var(--text-light); font-size: .9rem; margin-bottom: 28px; }

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
}
.pricing-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta { display: block; text-align: center; width: 100%; padding: 14px; }

/* Cost calculator */

.calc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.calc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.calc-row label { font-size: .9rem; color: var(--text-light); }
.calc-unit-count {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  min-width: 40px;
  text-align: right;
}

input[type=range] {
  width: 100%;
  margin: 12px 0 28px;
  accent-color: var(--blue);
  cursor: pointer;
  height: 4px;
}

.calc-result {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-top: 4px;
}
.calc-result-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -.03em;
  margin-bottom: 4px;
}
.calc-result-label { font-size: .85rem; color: var(--text-light); }

.calc-note {
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ── Comparison ────────────────────────────────────────────────────────────── */

#comparison { background: var(--bg); }

.compare-table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.compare-table th {
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: .85rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.compare-table th:first-child { text-align: left; font-weight: 400; color: var(--text-light); }
.compare-table th.ours { color: var(--blue); }

.compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-alt); }

.compare-table .col-ours { background: rgba(21,101,192,.04); }
.compare-table th.ours { background: rgba(21,101,192,.06); }

.check { color: #16A34A; font-size: 1.1rem; font-weight: 900; }
.cross { color: var(--text-light); font-size: 1rem; opacity: .5; }
.partial { color: #D97706; font-size: .8rem; font-weight: 600; }

/* ── Social proof / trust ──────────────────────────────────────────────────── */

#trust { background: var(--bg-alt); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.trust-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.trust-icon { font-size: 2rem; margin-bottom: 12px; }
.trust-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: .87rem; color: var(--text-light); line-height: 1.6; }

/* ── Who it's for ──────────────────────────────────────────────────────────── */

#who { background: var(--bg-alt); }

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 720px) {
  .who-grid { grid-template-columns: 1fr; }
}

.who-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.who-yes { background: var(--bg); }
.who-no  { background: var(--bg); }

.who-card-head {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 20px;
}
.who-yes .who-card-head { color: #16A34A; }
.who-no  .who-card-head { color: var(--text-light); }

.who-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.who-card li {
  font-size: .93rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
  color: var(--text);
}

.who-yes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16A34A;
  font-weight: 700;
}

.who-no li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-light);
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */

#faq { background: var(--bg); }

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: .97rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background .15s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: .93rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-a.open { display: block; }

/* ── CTA banner ────────────────────────────────────────────────────────────── */

.cta-banner {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 88px 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(21,101,192,.35) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-banner-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────────────────────── */

footer {
  background: #0A0D13;
  color: rgba(255,255,255,.5);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand-name span { color: var(--blue-light); }
.footer-brand p { font-size: .85rem; max-width: 240px; line-height: 1.6; }

.footer-col h4 {
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.5); font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  max-width: var(--max);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Lightbox ──────────────────────────────────────────────────────────────── */

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.85);
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.screenshot-img { cursor: zoom-in; }

/* ── Help layout ───────────────────────────────────────────────────────────── */

.help-page { background: var(--bg); }

.help-hero {
  background: var(--dark);
  color: #fff;
  padding: 100px 24px 52px;
  text-align: center;
}
.help-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.help-hero p { color: rgba(255,255,255,.6); font-size: 1rem; }

.help-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 720px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; }
}

.help-nav {
  position: sticky;
  top: 84px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.help-nav h3 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
  margin-bottom: 12px;
  padding: 0 8px;
}

.help-nav ul { list-style: none; }
.help-nav li { margin-bottom: 2px; }
.help-nav a {
  font-size: .88rem;
  color: var(--text);
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  transition: .15s;
}
.help-nav a:hover { background: var(--border); text-decoration: none; }
.help-nav a.active { background: var(--blue); color: #fff; }

.help-content h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.help-content .lead {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}
.help-content h2 { font-size: 1.15rem; font-weight: 700; margin: 36px 0 12px; }
.help-content h3 { font-size: 1rem; font-weight: 700; margin: 24px 0 8px; color: var(--text-light); }
.help-content p { margin-bottom: 14px; line-height: 1.7; }
.help-content ul, .help-content ol { padding-left: 22px; margin-bottom: 14px; }
.help-content li { margin-bottom: 7px; line-height: 1.6; }

.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.help-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: box-shadow .2s, transform .2s;
  display: block;
}
.help-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.help-card-icon { font-size: 1.5rem; margin-bottom: 10px; }
.help-card h3 { font-size: .95rem; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.help-card p { font-size: .83rem; color: var(--text-light); margin: 0; line-height: 1.5; }

.help-tip {
  background: rgba(21,101,192,.06);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: .9rem;
  line-height: 1.6;
}

/* ── Terminal theme teaser ── */
.terminal-teaser {
  background: #0A0C0A;
  border-top: 1px solid #003318;
  border-bottom: 1px solid #003318;
}
.terminal-crt-box {
  max-width: 580px;
  margin: 0 auto;
  background: #0A0C0A;
  border: 1px solid #228844;
  border-radius: 6px;
  box-shadow: 0 0 32px #33FF6618, inset 0 0 40px #00110622;
  padding: 36px 40px 32px;
  font-family: 'VT323', monospace;
  position: relative;
  overflow: hidden;
}
/* scanlines */
.terminal-crt-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.82) 2px,
    rgba(0,0,0,0.82) 4px
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 6px;
}
/* phosphor vignette glow */
.terminal-crt-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,8,0,0.55) 100%);
  pointer-events: none;
  z-index: 2;
  border-radius: 6px;
}
.terminal-crt-inner {
  position: relative;
  z-index: 3;
}
.terminal-crt-eyebrow {
  font-size: 1rem;
  color: #33CC55;
  margin-bottom: 10px;
  letter-spacing: .05em;
  text-shadow: 0 0 6px #33CC55AA, 0 0 14px #33CC5533;
}
.terminal-crt-title {
  font-size: 2.2rem;
  color: #33FF66;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 6px #33FF66CC, 0 0 16px #33FF6644;
}
.terminal-crt-body {
  font-size: 1.35rem;
  color: #33FF66;
  line-height: 1.6;
  margin-bottom: 16px;
  text-shadow: 0 0 6px #33FF66CC, 0 0 16px #33FF6644;
}
.terminal-crt-note {
  font-size: 1.2rem;
  color: #33CC55;
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 0 6px #33CC55AA, 0 0 14px #33CC5533;
}
.terminal-crt-link a {
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  color: #33FF66;
  text-decoration: none;
  text-shadow: 0 0 6px #33FF66CC, 0 0 16px #33FF6644;
  border-bottom: 1px solid #228844;
  padding-bottom: 1px;
  cursor: pointer;
}
.terminal-crt-link a:hover {
  color: #88FFAA;
  text-shadow: 0 0 10px #33FF66FF, 0 0 24px #33FF6688;
}
@media (max-width: 600px) {
  .terminal-crt-box { padding: 24px 20px; }
  .terminal-crt-title { font-size: 1.7rem; }
  .terminal-crt-body { font-size: 1.1rem; }
}
