/* ============================================================
   POLAR NET — STYLESHEET
   Font: Space Mono | Palette: #ffffff / #111111 / #1a30cc
   Border-radius: 0 everywhere (by design)
   ============================================================ */

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

/* ── TOKENS ── */
:root {
  --bg:        #f4f6fb;
  --bg-2:      #eceef6;
  --bg-3:      #e3e6f0;
  --border:    #e0e0e0;
  --border-2:  #d0d0d0;
  --text:      #111111;
  --text-dim:  #888888;
  --text-mid:  #555555;
  --accent:    #1a30cc;
  --accent-dim:#1020a0;
  --accent-bg: rgba(26, 48, 204, 0.05);
  --accent-glow: 0 0 20px rgba(26, 48, 204, 0.2);
  --font:      'Space Mono', 'Courier New', monospace;
  --nav-h:     76px;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dim); }

ul { list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

/* ── UTILITY ── */
.accent { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: var(--accent-glow);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border: 2px solid var(--border-2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(244, 246, 251, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
}
.logo-bracket { color: var(--border-2); }
.logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #fff !important;
  background: var(--text);
  border: 1px solid var(--text);
  padding: 8px 16px;
  transition: background 0.15s, color 0.15s !important;
}
.btn-nav:hover {
  background: #333;
  border-color: #333;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  gap: 16px;
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-mid);
}
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
  pointer-events: none;
}

/* fade edges */
.hero-grid-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 80%);
}

.hero > .container,
.hero {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) 24px 80px;
}

.hero-content { position: relative; z-index: 1; min-width: 0; }
.hero-terminal { position: relative; z-index: 1; min-width: 0; }
.hero-dashboard { min-width: 0; }

.hero-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 24px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 9px; letter-spacing: 0.15em; color: var(--text-dim); }
.stat-divider { width: 1px; height: 36px; background: var(--border-2); }

/* ── TERMINAL (kept dark for contrast) ── */
.hero-terminal {
  background: #111111;
  border: 1px solid #2e2e2e;
  box-shadow: 0 0 40px rgba(26, 48, 204, 0.07), 0 24px 64px rgba(0,0,0,0.12);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #161616;
  border-bottom: 1px solid #222222;
}
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.t-dot.red    { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green  { background: #28c840; }
.t-title {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #666666;
  margin-left: 8px;
}

.terminal-body {
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-line {
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.t-key { color: #666666; min-width: 140px; display: inline-block; }
.t-sep { color: #333333; }
.t-val { color: #e8e8e8; }
.t-ok { color: #28c840; font-weight: 700; }
.t-dim { color: #333333; }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.t-blink { animation: blink 1s step-end infinite; color: var(--accent); }


/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; }
.section--dark { background: var(--bg-2); }

.section-header {
  max-width: 680px;
  margin-bottom: 64px;
}

.section-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 540px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.feature-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.feature-card:hover { background: var(--accent-bg); }

.feature-card--accent {
  background: var(--accent-bg);
  border-color: var(--accent-dim);
}

.feature-icon {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-list li {
  font-size: 15px;
  color: var(--text-dim);
  padding: 4px 0;
  border-top: 1px solid var(--border);
  letter-spacing: 0.04em;
}
.feature-list li:first-child { border-top: none; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.service-item:hover { background: var(--accent-bg); margin: 0 -24px; padding-left: 24px; padding-right: 24px; }

.service-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.service-body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.service-body p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 520px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 4px;
}

.service-tags span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  border: 1px solid var(--border-2);
  padding: 4px 8px;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.step {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.step-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 20px;
  line-height: 1;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
}

.step-connector {
  position: absolute;
  top: 56px; right: -13px;
  width: 24px; height: 1px;
  background: var(--accent);
  opacity: 0.3;
  z-index: 1;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.toggle-opt {
  cursor: pointer;
  color: var(--text-dim);
  transition: color 0.15s;
}
.toggle-opt:hover { color: var(--text); }
.toggle-active { color: var(--accent); }
.toggle-sep { color: var(--border-2); }

.badge-save {
  font-size: 9px;
  background: var(--accent);
  color: #fff;
  padding: 2px 6px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: 6px;
  vertical-align: middle;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.pricing-card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card--featured {
  background: var(--accent-bg);
  border-color: var(--accent-dim);
  border-width: 2px;
  margin: -1px;
  z-index: 1;
}

.plan-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  white-space: nowrap;
}

.plan-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 12px;
  line-height: 1;
}

.price-dollar {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dim);
  padding-top: 8px;
}

.price-num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: all 0.3s;
}

.price-period {
  font-size: 13px;
  color: var(--text-dim);
  align-self: flex-end;
  padding-bottom: 10px;
}

.plan-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 28px;
  min-height: 40px;
}

.plan-features {
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li:last-child { border-bottom: none; }

.check { color: var(--accent); font-weight: 700; }
.muted { color: var(--border-2); }

.plan-features .muted ~ span,
.plan-features li:has(.muted) { color: var(--text-dim); }

.btn-plan {
  display: block;
  text-align: center;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 14px;
  border: 2px solid var(--border-2);
  color: var(--text);
  transition: all 0.15s;
  cursor: pointer;
}

.btn-plan:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-plan--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-plan--featured:hover {
  background: transparent;
  color: var(--accent);
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: 32px;
}

.pricing-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 72px 24px;
  border: 1px solid var(--border-2);
  background: var(--bg);
}

.pcs-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0.8;
}

.pcs-text {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 480px;
}

/* ============================================================
   ACCESS PORTAL
   ============================================================ */
.portal-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.portal-left h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.portal-left > p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

.portal-features { display: flex; flex-direction: column; gap: 12px; }
.pf-item {
  font-size: 15px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.04em;
}
.pf-item .check { flex-shrink: 0; }

/* ── PORTAL CARD ── */
.portal-card {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  box-shadow: 0 0 40px rgba(26, 48, 204, 0.06), 0 16px 40px rgba(0,0,0,0.08);
}

.portal-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.portal-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.portal-card-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

/* ── TABS ── */
.tab-group {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding: 14px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text); }

.tab-active {
  color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
}

/* ── FORM ── */
.portal-form { padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.form-group input {
  background: var(--bg);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.form-group input::placeholder { color: var(--text-dim); }

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(26, 48, 204, 0.12);
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-row-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.form-check {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-link {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
}
.form-link:hover { color: var(--accent); }

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 14px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  width: 100%;
}
.btn-submit:hover {
  background: var(--accent-dim);
  box-shadow: var(--accent-glow);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--text-dim);
}
.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-sso {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-2);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  width: 100%;
}
.btn-sso:hover { border-color: var(--accent-dim); color: var(--text); }

.form-fine {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.03em;
}
.form-fine a { color: var(--text-dim); text-decoration: underline; }
.form-fine a:hover { color: var(--accent); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--accent-bg);
  border-top: 1px solid var(--accent-dim);
  border-bottom: 1px solid var(--accent-dim);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-brand {
  margin-bottom: 36px;
}

.footer-brand .logo {
  display: block;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
}

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 6px 10px;
  transition: all 0.15s;
}
.footer-socials a:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 15px;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  transition: color 0.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);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-size: 13px;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}

.footer-build { color: var(--accent-dim) !important; }

/* ============================================================
   HERO DASHBOARD
   ============================================================ */
.hero-dashboard {
  position: relative;
  z-index: 1;
}

.db-chrome {
  position: relative;
  background: #f8f9fa;
  border: 1px solid #dde1ea;
  border-radius: 0;
  overflow: hidden;
  max-height: 540px;
  box-shadow:
    0 4px 6px -1px rgba(0,0,0,0.06),
    0 20px 50px rgba(26, 48, 204, 0.1),
    0 0 0 1px rgba(0,0,0,0.03);
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-size: 13px;
}

.db-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: #e8e8e8;
  border-bottom: 1px solid #ddd;
}
.db-dots { display: flex; gap: 5px; }
.db-dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.db-dot--red    { background: #ff5f57; }
.db-dot--yellow { background: #febc2e; }
.db-dot--green  { background: #28c840; }
.db-url-bar {
  flex: 1;
  background: #d8d8d8;
  border-radius: 0;
  padding: 3px 12px;
  font-size: 10px;
  color: #777;
  text-align: center;
  letter-spacing: 0.02em;
}

.db-inner {
  background: #f8f9fa;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── header ── */
.db-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4e4e4;
}
.db-title { font-size: 15px; font-weight: 700; color: #111; line-height: 1.2; }
.db-subtitle { font-size: 11px; color: #999; margin-top: 3px; }
.db-btn-green {
  flex-shrink: 0;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  font-family: 'Geist Mono', 'Courier New', monospace;
  padding: 6px 11px;
  cursor: default;
  white-space: nowrap;
}

/* ── stat cards + actions ── */
.db-cards-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
}
.db-stats-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.db-stat-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 0;
  padding: 11px 13px;
}
.db-stat-chip {
  width: 24px; height: 24px;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  margin-bottom: 7px;
}
.db-chip-blue   { background: #dbeafe; }
.db-chip-purple { background: #ede9fe; }
.db-chip-green  { background: #dcfce7; }
.db-chip-orange { background: #ffedd5; }
.db-stat-lbl {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #bbb;
  margin-bottom: 3px;
}
.db-stat-day {
  font-size: 9.5px;
  font-weight: 700;
  color: #1a30cc;
  letter-spacing: 0.06em;
  margin-bottom: 1px;
}
.db-stat-big { font-size: 26px; font-weight: 800; color: #111; line-height: 1.1; }
.db-unit { font-size: 13px; font-weight: 400; color: #777; }
.db-stat-sub { font-size: 10px; color: #aaa; margin-top: 2px; }

.db-actions {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 0;
  padding: 11px 13px;
}
.db-actions-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
}
.db-badge-red {
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 10px;
  padding: 2px 6px;
  line-height: 1.3;
}
.db-action-row { display: flex; align-items: center; gap: 8px; }
.db-action-chip {
  width: 26px; height: 26px;
  background: #dbeafe;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.db-action-title { font-size: 9.5px; font-weight: 700; color: #111; letter-spacing: 0.03em; }
.db-action-meta  { font-size: 9px; color: #999; margin-top: 1px; }
.db-action-qty   { margin-left: auto; font-size: 10px; color: #bbb; flex-shrink: 0; }

/* ── schedule ── */
.db-sched {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 0;
  overflow: hidden;
}
.db-sched-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 13px;
  border-bottom: 1px solid #e8eaf0;
  gap: 8px;
  flex-wrap: wrap;
}
.db-sched-title { font-size: 12px; font-weight: 700; color: #111; flex-shrink: 0; }
.db-sched-nav   { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.db-view-btns {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  overflow: hidden;
  font-size: 9.5px;
  font-weight: 600;
}
.db-view-btns span { padding: 3px 7px; color: #777; }
.db-view-on { background: #111 !important; color: #fff !important; }
.db-nav-arrow {
  font-size: 13px;
  color: #777;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 1px 5px;
  line-height: 1.4;
  cursor: default;
}
.db-nav-month { font-size: 9.5px; font-weight: 600; color: #333; white-space: nowrap; }
.db-nav-today, .db-nav-change {
  font-size: 9.5px;
  font-weight: 600;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 2px 7px;
  white-space: nowrap;
}

/* calendar */
.db-cal-hdr {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid #f0f0f0;
}
.db-cal-hdr span {
  font-size: 8.5px;
  font-weight: 600;
  color: #ccc;
  text-align: center;
  padding: 5px 0;
  letter-spacing: 0.06em;
}
.db-cal-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid #f0f0f0;
}
.db-cal-row:last-child { border-bottom: none; }
.db-cal-cell {
  border-right: 1px solid #f0f0f0;
  padding: 4px 3px 5px;
  min-height: 52px;
}
.db-cal-cell:last-child { border-right: none; }
.db-dn {
  font-size: 10px;
  font-weight: 600;
  color: #333;
  text-align: right;
  padding-right: 2px;
  margin-bottom: 3px;
}
.db-dn-muted { color: #d0d0d0; }

.db-ev {
  font-size: 8px;
  padding: 2px 3px;
  border-radius: 0;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1.3;
}
.db-ev-teal   { background: #ccfbf1; color: #0f766e; }
.db-ev-gray   { background: #f3f4f6; color: #666; }
.db-ev-pink   { background: #fce7f3; color: #9d174d; }
.db-ev-orange { background: #ffedd5; color: #c2410c; min-height: 8px; padding: 0 3px; }

/* initials chips inside event bars */
.db-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 6.5px;
  font-weight: 700;
  border-radius: 0;
  padding: 1px 2px;
  flex-shrink: 0;
  line-height: 1;
}
.db-av-teal { background: #0d9488; color: #fff; }
.db-av-pink { background: #db2777; color: #fff; }

/* bottom fade-out */
.db-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, #f8f9fa);
  pointer-events: none;
}

/* ============================================================
   FEATURE SCROLL EXPLORER
   ============================================================ */

/* Outer scroll track — 11 panels × 70vh each */
.feat-scroll-outer {
  height: calc(11 * 70vh);
  position: relative;
}

/* Sticky UI shell */
.feat-sticky {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid var(--border-2);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(26,48,204,0.07);
}

/* ── SIDEBAR ── */
.feat-sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-size: 13px;
  overflow-y: auto;
  flex-shrink: 0;
}

.feat-sidebar-hd {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.feat-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.feat-brand-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.feat-nav {
  flex: 1;
  padding: 8px 0;
}

.feat-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  letter-spacing: 0.01em;
}

.feat-nav-item:hover:not(.feat-nav-ghost) {
  background: var(--bg-3);
  color: var(--text);
}

.feat-nav-item--active {
  background: var(--text) !important;
  color: #fff !important;
}

.feat-nav-ghost {
  color: var(--text-dim);
  cursor: default;
}

.feat-nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.feat-sidebar-bottom {
  border-top: 1px solid var(--border);
  padding: 12px 0 8px;
}

.feat-sidebar-user {
  padding: 8px 20px 12px;
}

.feat-user-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.feat-user-role {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.feat-nav-item--portal {
  color: var(--accent) !important;
}
.feat-nav-item--portal:hover {
  background: var(--accent-bg) !important;
  color: var(--accent-dim) !important;
}
.feat-nav-item--portal.feat-nav-item--active {
  background: var(--text) !important;
  color: #fff !important;
}

/* ── PANELS ── */
.feat-panels {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.feat-panel {
  position: absolute;
  inset: 0;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  overflow-y: auto;
}

.feat-panel--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.feat-panel-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 16px;
}

.feat-panel-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text);
}

.feat-panel-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 20px;
}

.feat-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  max-width: 420px;
}

.feat-panel-list li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 6px 0;
  border-top: 1px solid var(--border);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-panel-list li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 12px;
}

.feat-panel-list li:first-child { border-top: none; }

/* ── MOCK UI ── */
.feat-panel-mock {
  background: #fff;
  border: 1px solid var(--border-2);
  padding: 16px 18px;
  max-width: 480px;
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-size: 12px;
}

.fpm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.fpm-row--hd {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.fpm-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  background: var(--bg-3);
  color: var(--text-dim);
}

.fpm-badge--green  { background: #dcfce7; color: #15803d; }
.fpm-badge--yellow { background: #fef9c3; color: #a16207; }
.fpm-badge--orange { background: #ffedd5; color: #c2410c; }
.fpm-badge--red    { background: #fee2e2; color: #dc2626; }
.fpm-badge--blue   { background: #dbeafe; color: #1d4ed8; }
.fpm-badge--purple { background: #ede9fe; color: #6d28d9; }

.fpm-customer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.fpm-customer:last-child { border-bottom: none; }

.fpm-av {
  width: 28px; height: 28px;
  background: var(--bg-3);
  color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.fpm-av--purple { background: #ede9fe; color: #6d28d9; }
.fpm-av--orange { background: #ffedd5; color: #c2410c; }
.fpm-av--teal   { background: #ccfbf1; color: #0f766e; }

.fpm-name { font-size: 12px; font-weight: 700; color: var(--text); }
.fpm-meta { font-size: 10px; color: var(--text-dim); margin-top: 2px; }

.fpm-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
}
.fpm-tag--green  { background: #dcfce7; color: #15803d; }
.fpm-tag--blue   { background: #dbeafe; color: #1d4ed8; }
.fpm-tag--yellow { background: #fef9c3; color: #a16207; }

.fpm-line-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.fpm-line-item:last-of-type { border-bottom: none; }
.fpm-total {
  font-weight: 700;
  color: var(--text) !important;
  font-size: 12px;
}

.fpm-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.fpm-invoice-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--text);
}
.fpm-invoice-row--total {
  font-weight: 700;
  font-size: 13px;
}
.fpm-inv-label { color: var(--text-mid); }

.fpm-pay-btn {
  margin-top: 12px;
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: 'Geist Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 9px;
  cursor: default;
}

.fpm-project {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.fpm-project:last-child { border-bottom: none; }

.fpm-proj-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fpm-dot--green  { background: #22c55e; }
.fpm-dot--yellow { background: #eab308; }
.fpm-dot--blue   { background: var(--accent); }

.fpm-inv-stock { color: var(--text-dim); flex-shrink: 0; }
.fpm-inv-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.fpm-inv-item:last-child { border-bottom: none; }
.fpm-inv-name { color: var(--text); flex: 1; }

.fpm-red    { color: #dc2626 !important; }
.fpm-yellow { color: #a16207 !important; }
.fpm-green  { color: #15803d !important; }

.fpm-ts-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.fpm-ts-row:last-child { border-bottom: none; }
.fpm-ts-hrs {
  margin-left: auto;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.fpm-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text);
}
.fpm-check-row:last-child { border-bottom: none; }
.fpm-chk {
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.fpm-chk--ok   { color: #15803d; }
.fpm-chk--warn { color: #a16207; }

.fpm-payment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.fpm-payment:last-child { border-bottom: none; }
.fpm-pay-icon { font-size: 14px; flex-shrink: 0; }
.fpm-pay-amt {
  margin-left: auto;
  font-weight: 700;
  flex-shrink: 0;
}

.fpm-mgr-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.fpm-mgr-stat:last-child { border-bottom: none; }
.fpm-mgr-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.fpm-mgr-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* ── SCHEDULE CALENDAR MOCK ── */
.fpm-cal-wrap { padding-bottom: 4px; }

.fpm-gcal-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1558d6;
  background: #e8f0fe;
  padding: 2px 7px;
}

.fpm-cal-hdr {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 8px 0 2px;
}
.fpm-cal-hdr span {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-align: center;
  padding: 3px 0;
}

.fpm-cal-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 2px;
}

.fpm-cd {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  padding: 4px 0;
  color: var(--text);
  position: relative;
}
.fpm-cd--dim { color: var(--border-2); }
.fpm-cd--today {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.fpm-cd--ev::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin: 1px auto 0;
}
.fpm-cd--teal::after  { background: #0d9488; }
.fpm-cd--pink::after  { background: #db2777; }
.fpm-cd--orange::after { background: #ea580c; }

.fpm-agenda-hd {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin: 10px 0 5px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.fpm-agenda-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  margin-bottom: 3px;
  font-size: 10px;
}
.fpm-agenda--blue   { background: #eff6ff; border-left: 2px solid #1d4ed8; }
.fpm-agenda--green  { background: #f0fdf4; border-left: 2px solid #16a34a; }
.fpm-agenda--yellow { background: #fefce8; border-left: 2px solid #ca8a04; }

.fpm-agenda-time {
  font-weight: 700;
  color: var(--text-mid);
  flex-shrink: 0;
  min-width: 30px;
}
.fpm-agenda-label { color: var(--text); }

/* ── MOBILE TAB NAV (hidden on desktop) ── */
.feat-mobile-tabs {
  display: none;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .feat-scroll-outer {
    height: auto;
  }

  .feat-sticky {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .feat-sidebar {
    display: none;
  }

  .feat-mobile-tabs {
    display: flex;
    overflow-x: auto;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: #fff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 0;
  }
  .feat-mobile-tabs::-webkit-scrollbar { display: none; }

  .fmt-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    padding: 12px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
    margin-bottom: -1px;
  }
  .fmt-btn:hover { color: var(--text); }
  .fmt-btn--active {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }

  .feat-panels {
    position: relative;
    height: calc(100svh - var(--nav-h) - 46px);
    min-height: 520px;
  }

  .feat-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    padding: 28px 24px 40px;
    overflow-y: auto;
    background: var(--bg);
    justify-content: flex-start;
  }

  .feat-panel--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .feat-panel-mock { max-width: 100%; }
  .feat-panel-list { max-width: 100%; }
  .feat-panel-desc { max-width: 100%; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 60px;
  }

  .hero-terminal, .hero-dashboard { max-width: 560px; width: 100%; }

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

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

}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 48px) 20px 60px;
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }

  .hero-dashboard {
    width: 100%;
    overflow: visible;
  }

  .db-chrome {
    min-width: 560px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 48px);
    overflow-wrap: break-word;
  }

  .hero-sub {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; width: 100%; }

  .features-grid { grid-template-columns: 1fr; }

  .service-item {
    grid-template-columns: 40px 1fr;
  }
  .service-tags { display: none; }

  .steps-grid { grid-template-columns: 1fr; }
  .step-connector { display: none; }

  .pricing-grid { grid-template-columns: 1fr; }

  .portal-wrap { grid-template-columns: 1fr; gap: 48px; }

  .cta-inner { flex-direction: column; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: flex-start; }
  .stat-divider { width: 40px; height: 1px; }

  .form-row-2 { grid-template-columns: 1fr; }
}

/* ── GRAVITY SECTION ── */
.gravity-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gravity-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.gravity-copy h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 16px 0 20px;
}

.gravity-list {
  margin-top: 28px;
}

.gravity-powered {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 14px 18px;
  border: 1px solid var(--border-2);
  background: var(--bg);
}

.gravity-model-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 4px 8px;
  border: 1px solid var(--accent);
}

.gravity-model-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* Widget */
.gravity-widget {
  border: 1px solid var(--border-2);
  background: var(--bg);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.gw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--accent);
}

.gw-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.gw-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: #fff;
  padding: 3px 8px;
}

.gw-body {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gw-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gw-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.gw-value {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}

.gw-green { color: #1a7a4a; }

.gw-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.gw-result {
  padding: 16px;
  background: var(--accent-bg);
  border: 1px solid var(--accent);
}

.gw-result-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 6px;
}

.gw-result-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.gw-unit {
  font-size: 22px;
  font-weight: 400;
  margin-left: 2px;
}

.gw-confidence {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.gw-conf-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  white-space: nowrap;
}

.gw-conf-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
}

.gw-conf-fill {
  height: 100%;
  background: var(--accent);
}

.gw-conf-pct {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
}

.gw-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, box-shadow 0.15s;
}

.gw-cta:hover {
  background: var(--accent-dim);
  box-shadow: var(--accent-glow);
}

@media (max-width: 900px) {
  .gravity-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
