/* ============================================================
   CANVASSPAD — Master Design System
   Family: WalkReport / TimelineCard / OpenHousePad Suite
   Theme: Dark Obsidian (default) + Light mode toggle
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:           #0b0f17;
  --bg2:          #111827;
  --surface:      #1a2235;
  --card:         #1e293b;
  --border:       #2d3748;
  --border2:      #374151;
  --primary:      #2563eb;
  --primary-glow: rgba(37,99,235,0.22);
  --accent:       #3b82f6;
  --accent2:      #60a5fa;
  --text-h:       #f1f5f9;
  --text-p:       #94a3b8;
  --text-muted:   #64748b;
  --green:        #10b981;
  --yellow:       #f59e0b;
  --red:          #ef4444;
  --radius:       14px;
  --radius-sm:    8px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow:       0 4px 24px rgba(0,0,0,0.45);
  --shadow-card:  0 2px 12px rgba(0,0,0,0.35);
}

[data-theme="light"] {
  --bg:           #f8fafc;
  --bg2:          #f1f5f9;
  --surface:      #ffffff;
  --card:         #ffffff;
  --border:       #e2e8f0;
  --border2:      #cbd5e1;
  --text-h:       #0f172a;
  --text-p:       #475569;
  --text-muted:   #64748b;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-card:  0 2px 12px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-p);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.25s, color 0.25s;
}

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

/* ── Ambient Glow ── */
.ambient-glow {
  position: fixed;
  top: -30vw;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header / Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,15,23,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
[data-theme="light"] header {
  background: rgba(248,250,252,0.92);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.logo span {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.02em;
}
.logo-badge {
  font-size: 0.62rem;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

.nav-desktop {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-desktop a {
  color: var(--text-p);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.nav-desktop a:hover {
  color: var(--text-h);
  background: var(--surface);
  text-decoration: none;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: 9999px;
  padding: 2px;
  gap: 2px;
  user-select: none;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-m, #94a3b8);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-btn:hover {
  color: var(--text-h, #f8fafc);
}
.lang-btn.active {
  background: var(--primary, #2563eb);
  color: #ffffff !important;
  font-weight: 800;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-p);
  transition: border-color 0.18s, color 0.18s;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--text-h); }
.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"]  .sun-icon  { display: none; }
.moon-icon, .sun-icon { display: block; }

.btn-nav {
  background: var(--primary);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9px;
  text-decoration: none !important;
  transition: opacity 0.18s, transform 0.18s;
  white-space: nowrap;
}
.btn-nav:hover { opacity: 0.88; transform: translateY(-1px); }

/* Hamburger */
.hamburger-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 7px 9px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-p);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 12px 20px 20px;
  gap: 4px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  color: var(--text-p);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
  text-decoration: none;
}
.mobile-drawer a:hover { background: var(--surface); color: var(--text-h); }
.mobile-drawer .drawer-cta {
  margin-top: 10px;
  background: var(--primary);
  color: #fff !important;
  justify-content: center;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 88px 20px 64px;
  max-width: 820px;
  margin: 0 auto;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-p);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.pill-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-h);
  margin-bottom: 20px;
}

.hero h1 .highlight-text {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-p);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 11px;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.btn-primary-lg:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.45);
  text-decoration: none;
  color: #fff;
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-h);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 11px;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.btn-secondary-lg:hover {
  border-color: var(--primary);
  background: var(--card);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--text-h);
}

.hero-highlights {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.hero-highlights .bullet { color: var(--border2); }

/* ── Demo Mockup ── */
.mockup-wrapper {
  margin-top: 52px;
  position: relative;
  z-index: 1;
}

.demo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow);
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.demo-topbar-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.demo-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--green);
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.demo-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.demo-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 10px;
}
.demo-kpi-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-h);
  line-height: 1;
}
.demo-kpi-val.green { color: var(--green); }
.demo-kpi-val.yellow { color: var(--yellow); }
.demo-kpi-val.blue { color: var(--accent); }
.demo-kpi-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.demo-map-area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.demo-map-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.demo-map-route {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-map-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  z-index: 1;
}
.demo-pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--bg2);
}
.demo-pin.green  { background: var(--green);  }
.demo-pin.yellow { background: var(--yellow); }
.demo-pin.gray   { background: var(--text-muted); }
.demo-pin.red    { background: var(--red); }

.demo-visit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-visit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.demo-visit-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.demo-visit-addr {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-h);
  flex: 1;
}
.demo-visit-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.03em;
}
.status-green  { background: rgba(16,185,129,0.15); color: var(--green); }
.status-yellow { background: rgba(245,158,11,0.15); color: var(--yellow); }
.status-gray   { background: rgba(148,163,184,0.15); color: var(--text-muted); }
.status-red    { background: rgba(239,68,68,0.12); color: var(--red); }

/* ── Real Simulator App Screenshots & Device Mockups ── */
.hero-mockup-wrapper {
  margin-top: 56px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device-wrapper {
  position: relative;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.iphone-frame {
  position: relative;
  width: 100%;
  border-radius: 52px;
  background: #0f172a;
  padding: 11px;
  box-shadow: 
    0 30px 80px -15px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 50px rgba(59, 130, 246, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.iphone-frame:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 40px 90px -15px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(59, 130, 246, 0.4),
    0 0 60px rgba(59, 130, 246, 0.3);
}

.iphone-screen {
  border-radius: 42px;
  overflow: hidden;
  background: #0b0f17;
  line-height: 0;
  position: relative;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
}

.iphone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating callout badges in Hero */
.hero-callout {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.32);
  z-index: 3;
  transition: transform 0.2s ease;
  pointer-events: none;
}
.hero-callout:hover {
  transform: scale(1.02);
}
.hero-callout-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.hero-callout-text {
  text-align: left;
}
.hero-callout-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.hero-callout-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.callout-top-left {
  top: 12%;
  left: -150px;
}
.callout-top-right {
  top: 30%;
  right: -160px;
}
.callout-bottom-left {
  bottom: 14%;
  left: -140px;
}

@media (max-width: 980px) {
  .hero-callout {
    display: none;
  }
  .hero-device-wrapper {
    max-width: 320px;
  }
  .iphone-frame {
    border-radius: 46px;
    padding: 9px;
  }
  .iphone-screen {
    border-radius: 38px;
  }
}

/* ── App Showcase Gallery ── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.showcase-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.showcase-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.14);
}

.showcase-device {
  width: 100%;
  max-width: 250px;
  border-radius: 40px;
  background: #0f172a;
  padding: 8px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
  transition: transform 0.2s ease;
}
.showcase-card:hover .showcase-device {
  transform: scale(1.02);
}

.showcase-device-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #0b0f17;
  line-height: 0;
}

.showcase-device-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.showcase-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-h);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.showcase-card p {
  font-size: 0.88rem;
  color: var(--text-p);
  line-height: 1.6;
  max-width: 280px;
}

/* ── Section Wrappers ── */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}
.section-alt {
  background: var(--bg2);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-p);
  line-height: 1.7;
}

/* ── Feature Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,99,235,0.12);
}

.feature-icon-wrapper {
  width: 42px; height: 42px;
  background: var(--primary-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon-wrapper svg {
  width: 20px; height: 20px;
  stroke: var(--accent);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-p);
  line-height: 1.65;
}

/* ── Use Case Cards ── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.use-case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s;
}
.use-case-card:hover { border-color: var(--accent); }
.use-case-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.use-case-icon {
  width: 36px; height: 36px;
  background: var(--primary-glow);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.use-case-icon svg { width: 18px; height: 18px; stroke: var(--accent); }
.use-case-pill {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.use-case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 10px;
}
.use-case-card p {
  font-size: 0.875rem;
  color: var(--text-p);
  line-height: 1.65;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-h);
  margin-bottom: 6px;
}
.pricing-card .pricing-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 6px;
}
.pricing-currency { font-size: 1.3rem; font-weight: 700; color: var(--text-h); }
.pricing-amount   { font-size: 2.6rem; font-weight: 900; color: var(--text-h); line-height: 1; }
.pricing-period   { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.pricing-subtext  { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 22px; }

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
}
.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--text-p);
}
.pricing-features-list li svg {
  width: 14px; height: 14px;
  stroke: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-cta-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s;
}
.pricing-cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.pricing-cta-btn.secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-h);
}
.pricing-cta-btn.secondary:hover {
  border-color: var(--primary);
  color: var(--text-h);
}

.trial-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto 32px;
}
.trial-banner-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--green);
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.trial-banner-text {
  font-size: 0.85rem;
  color: var(--text-p);
  line-height: 1.55;
}

/* ── Ecosystem Section ── */
.ecosystem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.ecosystem-card:hover { border-color: var(--accent); }
.eco-info { display: flex; gap: 16px; align-items: flex-start; flex: 1; }
.eco-icon { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; background: var(--surface); }
.eco-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  display: block;
}
.eco-text h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-h); margin-bottom: 6px; }
.eco-text p { font-size: 0.82rem; color: var(--text-p); line-height: 1.6; margin-bottom: 10px; }
.eco-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.eco-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 100px;
}
.eco-cta-wrapper { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.btn-eco {
  display: block;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-h);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 9px;
  text-decoration: none;
  transition: border-color 0.15s;
  white-space: nowrap;
}
.btn-eco:hover { border-color: var(--primary); text-decoration: none; color: var(--text-h); }

/* ── FAQ ── */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-h);
  font-family: var(--font);
}
.faq-question svg {
  width: 18px; height: 18px;
  stroke: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-p);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  padding: 64px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.cta-banner .btn-primary-lg {
  background: #fff;
  color: var(--primary);
}
.cta-banner .btn-primary-lg:hover { opacity: 0.92; }
.cta-banner .btn-secondary-lg {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.cta-banner .btn-secondary-lg:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ── Footer ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 20px 32px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--text-h); }

.footer-disclaimer-box {
  max-width: 1100px;
  margin: 0 auto 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ── Legal Pages (TOS / Privacy) ── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  position: relative;
  z-index: 1;
}
.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-h);
  margin-bottom: 8px;
}
.legal-page .legal-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-h);
  margin: 36px 0 12px;
}
.legal-page h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-h);
  margin: 24px 0 8px;
}
.legal-page p {
  font-size: 0.9rem;
  color: var(--text-p);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-page ul, .legal-page ol {
  margin: 0 0 14px 20px;
}
.legal-page li {
  font-size: 0.9rem;
  color: var(--text-p);
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal-highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
}
.legal-highlight p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-h);
}

/* ── Support Page ── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.support-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 8px;
}
.support-card p {
  font-size: 0.85rem;
  color: var(--text-p);
  line-height: 1.6;
}
.support-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 14px;
  transition: opacity 0.18s;
}
.support-email-btn:hover { opacity: 0.88; text-decoration: none; color: #fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger-btn { display: flex; }
  .nav-actions .btn-nav { display: none; }

  .demo-kpis { grid-template-columns: repeat(2, 1fr); }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .ecosystem-card {
    flex-direction: column;
  }
  .eco-cta-wrapper {
    flex-direction: row;
    width: 100%;
  }
  .btn-eco { flex: 1; }
}

@media (max-width: 480px) {
  .hero { padding: 64px 16px 48px; }
  .section { padding: 56px 16px; }
  .demo-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
