/* Hyper Sense Official Landing Page — Vesper Obsidian Glass Design System (v1.0.0) */
:root {
  --bg: #06070c;
  --bg-elev: #0b0e18;
  --surface: rgba(15, 21, 38, 0.72);
  --surface-strong: rgba(17, 24, 44, 0.90);
  --border: rgba(148, 163, 184, 0.14);
  --border-bright: rgba(56, 189, 248, 0.34);
  --text: #f8fafc;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --cyan: #00f0ff;
  --sky: #38bdf8;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --radius: 16px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', Consolas, monospace; }
a { color: inherit; text-decoration: none; }

/* Custom sleek dark scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #070910; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.25); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(56, 189, 248, 0.5); }

/* Ambient Canvas: Masked 56px Technical Grid + Dual Orbs */
.ambient-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, #000 35%, transparent 100%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.22; }
.glow-cyan { width: 620px; height: 620px; background: #06b6d4; top: -240px; left: 10%; }
.glow-violet { width: 640px; height: 640px; background: #7c3aed; top: 140px; right: 4%; }
.glow-pink { width: 480px; height: 480px; background: #db2777; bottom: -200px; left: 32%; opacity: 0.14; }

.container { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Animated Electric Hexagon Logo */
.hs-logo-svg { display: block; flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35)); }
.hs-electric-ring { animation: hsElectricRun 3.4s linear infinite; }
@keyframes hsElectricRun { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }

/* ==================== STICKY NAVBAR ==================== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 7, 12, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}
.navbar.scrolled { background: rgba(6, 7, 12, 0.92); border-bottom-color: rgba(56, 189, 248, 0.20); }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; letter-spacing: -0.3px; }
.brand-tag {
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px;
  background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(56, 189, 248, 0.30); color: var(--sky);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color 0.16s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-btn {
  height: 36px; padding: 0 11px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(15, 23, 42, 0.65); color: var(--text-2);
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: border-color 0.16s, color 0.16s;
}
.lang-btn:hover { border-color: var(--border-bright); color: var(--text); }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 11px;
  border: 1px solid var(--border); background: rgba(15, 23, 42, 0.72); color: var(--text);
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s, background 0.16s, box-shadow 0.16s;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.02); border-color: var(--border-bright); background: rgba(24, 35, 62, 0.88); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 14.5px; border-radius: 12px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-primary {
  border: 0; color: #fff;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 52%, #8b5cf6 100%);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.34);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.30), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover { box-shadow: 0 14px 38px rgba(56, 189, 248, 0.44); }

.mobile-menu-btn {
  display: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(15, 23, 42, 0.7); color: var(--text);
  font-size: 18px; cursor: pointer;
}
.mobile-nav {
  display: none; flex-direction: column; gap: 10px;
  padding: 16px 24px 22px; border-top: 1px solid var(--border); background: rgba(6, 7, 12, 0.96);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 8px 0; font-weight: 600; color: var(--text-2); }

/* ==================== HERO ==================== */
.hero { padding: 76px 0 64px; }
.hero-header { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.announcement-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 99px;
  background: rgba(15, 23, 42, 0.78); border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  margin-bottom: 22px; transition: border-color 0.2s, transform 0.2s;
}
.announcement-pill:hover { border-color: var(--sky); transform: translateY(-1px); }
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

.hero-title {
  margin: 0 0 18px; font-size: clamp(36px, 5.4vw, 60px); font-weight: 800;
  line-height: 1.12; letter-spacing: -1.4px;
}
.text-gradient {
  background: linear-gradient(95deg, #22d3ee 0%, #60a5fa 45%, #c084fc 80%, #f472b6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle {
  margin: 0 auto 30px; max-width: 650px; font-size: 16.5px; color: var(--text-2); line-height: 1.7;
}
.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

/* ==================== INTERACTIVE WORKBENCH (VESPER STYLE) ==================== */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.workbench { overflow: hidden; }
.workbench-topbar {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: rgba(9, 13, 25, 0.72);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.window-dots { display: flex; gap: 7px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, 0.25); }
.window-dots span:nth-child(1) { background: #fb7185; }
.window-dots span:nth-child(2) { background: #fbbf24; }
.window-dots span:nth-child(3) { background: #34d399; }

.wb-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: rgba(6, 9, 18, 0.75); border: 1px solid var(--border); }
.wb-tab {
  padding: 7px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted);
  font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all 0.16s;
}
.wb-tab:hover { color: var(--text); }
.wb-tab.active { background: rgba(56, 189, 248, 0.16); color: var(--sky); }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px;
  background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.30);
  font-size: 12px; font-weight: 700; color: #34d399;
}
.wb-panel { display: none; padding: 24px; }
.wb-panel.active { display: block; }

/* Auto Clicker 4-Engine Simulator Grid */
.sim-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: 14px; background: rgba(7, 11, 22, 0.78); border: 1px solid var(--border);
  margin-bottom: 18px;
}
.cps-slider-wrap { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 220px; }
.cps-slider-wrap input[type="range"] { flex: 1; accent-color: var(--sky); cursor: pointer; }
.engines-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.engine-card {
  padding: 16px; border-radius: 14px; background: rgba(9, 14, 28, 0.85);
  border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.engine-card.running {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.16);
}
.engine-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.engine-title { font-size: 13.5px; font-weight: 700; }
.hk-pill {
  padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700;
  background: rgba(56, 189, 248, 0.12); color: var(--sky); border: 1px solid rgba(56, 189, 248, 0.25);
}
.engine-stat { font-size: 26px; font-weight: 800; line-height: 1.1; margin: 4px 0; }
.engine-sub { font-size: 12px; color: var(--muted); }
.pulse-bar { height: 5px; border-radius: 99px; background: #16223d; margin-top: 12px; overflow: hidden; }
.pulse-fill { height: 100%; width: 0%; border-radius: 99px; background: linear-gradient(90deg, #00f0ff, #3b82f6, #a855f7); transition: width 0.14s linear; }

/* Macro Studio Timeline Demo */
.macro-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.macro-step {
  flex: 1; min-width: 155px; padding: 14px 16px; border-radius: 13px;
  background: rgba(9, 14, 28, 0.88); border: 1px solid var(--border);
  transition: all 0.22s ease;
}
.macro-step.active-step {
  border-color: var(--cyan); background: rgba(34, 211, 238, 0.12);
  transform: translateY(-3px); box-shadow: 0 10px 26px rgba(34, 211, 238, 0.20);
}
.step-idx { font-size: 10.5px; font-weight: 800; color: var(--sky); letter-spacing: 0.6px; }
.step-name { font-size: 14px; font-weight: 700; margin: 4px 0 2px; }
.step-meta { font-size: 12px; color: var(--muted); }
.macro-arrow { color: var(--muted); font-weight: 700; }

/* Cloud & Discord Panel */
.cloud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cloud-tile { padding: 18px; border-radius: 14px; background: rgba(9, 14, 28, 0.85); border: 1px solid var(--border); }
.pfx {
  display: inline-flex; padding: 2px 7px; border-radius: 5px; font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px; margin-right: 6px;
}
.pfx.key { background: rgba(56, 189, 248, 0.16); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.30); }
.pfx.pc { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.32); }

/* ==================== METRICS STRIP ==================== */
.metrics-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  padding: 28px 0 42px;
}
.metric-item {
  text-align: center; padding: 20px 16px; border-radius: 16px;
  background: rgba(13, 19, 36, 0.55); border: 1px solid var(--border);
}
.metric-num { font-size: 32px; font-weight: 800; letter-spacing: -0.8px; color: var(--text); }
.metric-lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ==================== SECTIONS ==================== */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--sky); margin-bottom: 10px;
}
.section-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.8px; line-height: 1.18; }
.section-head p { margin: 0; font-size: 15.5px; color: var(--text-2); }

/* Bento Features Grid */
.bento-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card {
  padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-bright); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(139, 92, 246, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.28); color: var(--sky); margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.feature-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Pricing / Plans */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan-card {
  padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform 0.22s, border-color 0.22s;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.plan-card.featured {
  background: linear-gradient(180deg, rgba(16, 28, 56, 0.92), rgba(14, 18, 36, 0.92));
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 24px 64px rgba(56, 189, 248, 0.14);
}
.plan-badge {
  display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  background: rgba(56, 189, 248, 0.16); color: var(--sky); margin-bottom: 14px;
}
.plan-card.featured .plan-badge { background: linear-gradient(90deg, #06b6d4, #8b5cf6); color: #fff; }
.plan-name { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.plan-desc { font-size: 13.5px; color: var(--muted); margin: 0 0 20px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-2); }
.plan-list li::before { content: "✓"; color: var(--success); font-weight: 800; flex-shrink: 0; }

/* FAQ Accordion */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.faq-q {
  width: 100%; padding: 18px 20px; border: 0; background: transparent; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
}
.faq-q span.plus { color: var(--sky); font-size: 20px; transition: transform 0.2s; }
.faq-item.open .faq-q span.plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.26s ease; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p { margin: 0; padding: 0 20px 18px; font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* Final CTA Banner */
.cta-banner {
  padding: 52px 36px; border-radius: 24px; text-align: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(59, 130, 246, 0.14), rgba(139, 92, 246, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.cta-banner h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.6px; }
.cta-banner p { margin: 0 auto 26px; max-width: 560px; color: var(--text-2); font-size: 15.5px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 40px; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--sky); }

/* ==================== CUSTOMER ACCOUNT PORTAL (UNICORE STYLE) ==================== */
.portal-section { padding: 48px 0 64px; }
.portal-shell {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(11, 16, 30, 0.88);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.portal-auth-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; }
.portal-auth-aside {
  padding: 36px; border-right: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(8, 14, 30, 0.92), rgba(22, 14, 46, 0.88));
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.portal-auth-main { padding: 36px; }

.seg-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 4px;
  border-radius: 12px; background: rgba(6, 9, 18, 0.82); border: 1px solid var(--border); margin-bottom: 22px;
}
.seg-tab {
  height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted);
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all 0.16s;
}
.seg-tab.active { background: rgba(56, 189, 248, 0.16); color: var(--sky); }

.p-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.p-field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.p-input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 11px;
  border: 1.2px solid rgba(148, 163, 184, 0.22); background: rgba(7, 11, 22, 0.88); color: var(--text);
  font: inherit; font-size: 14px; transition: border-color 0.16s, box-shadow 0.16s;
}
textarea.p-input { height: auto; min-height: 84px; padding: 11px 14px; resize: vertical; }
.p-input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18); }

.p-otp-row {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 16px 0; width: 100%;
}
.p-otp-digit {
  width: 100%; min-width: 0; height: 54px; padding: 0; text-align: center;
  font-family: 'JetBrains Mono', Consolas, monospace; font-size: 22px; font-weight: 800;
  border-radius: 11px; border: 1.5px solid rgba(148, 163, 184, 0.25);
  background: rgba(7, 11, 22, 0.9); color: var(--text);
}
.p-otp-digit:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.20); }

.p-msg {
  margin-bottom: 14px; padding: 11px 14px; border-radius: 10px; font-size: 13px; display: none;
}
.p-msg.err { display: block; background: rgba(244, 63, 94, 0.14); border: 1px solid rgba(244, 63, 94, 0.36); color: #fda4af; }
.p-msg.ok { display: block; background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.36); color: #6ee7b7; }

/* Logged-in Customer Dashboard */
.portal-dash-head {
  padding: 20px 26px; border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(12, 20, 40, 0.92), rgba(18, 14, 40, 0.86));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.portal-user-badge { display: flex; align-items: center; gap: 13px; }
.p-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #06b6d4, #7c3aed); color: #fff; font-weight: 800; font-size: 15px;
  border: 2px solid rgba(56, 189, 248, 0.45);
}
.p-avatar.lg { width: 76px; height: 76px; font-size: 24px; }
.portal-nav {
  display: flex; gap: 6px; padding: 14px 26px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
  background: rgba(8, 12, 24, 0.65);
}
.portal-tab-btn {
  padding: 8px 15px; border-radius: 10px; border: 1px solid transparent; background: transparent;
  color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all 0.15s;
}
.portal-tab-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.portal-tab-btn.active { background: rgba(56, 189, 248, 0.15); border-color: rgba(56, 189, 248, 0.34); color: var(--sky); }
.portal-body { padding: 26px; }
.portal-grid-2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
.p-card {
  padding: 22px; border-radius: 16px; background: rgba(8, 13, 26, 0.78); border: 1px solid var(--border);
}
.p-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.p-card p.sub { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.p-progress { height: 7px; border-radius: 99px; background: #16223d; overflow: hidden; margin: 12px 0; }
.p-progress > div { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #00f0ff, #3b82f6, #8b5cf6); }
.p-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px;
  font-size: 12px; font-weight: 700;
}
.p-pill.ok { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.p-pill.warn { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.p-pill.info { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.p-pill.muted { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.p-list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; background: rgba(15, 22, 42, 0.6); border: 1px solid var(--border);
  margin-bottom: 8px; font-size: 13px;
}

/* Contact Modal */
.hs-modal-bg {
  position: fixed; inset: 0; z-index: 120; background: rgba(3, 6, 15, 0.76); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.hs-modal-bg.open { display: flex; }
.hs-modal {
  width: 100%; max-width: 460px; padding: 26px; border-radius: 18px;
  background: #0d1426; border: 1px solid var(--border-bright); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.52s cubic-bezier(.22, 1, .36, 1), transform 0.52s cubic-bezier(.22, 1, .36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .engines-grid, .bento-grid, .pricing-grid, .cloud-grid, .portal-auth-grid, .portal-grid-2 { grid-template-columns: 1fr; }
  .portal-auth-aside { border-right: 0; border-bottom: 1px solid var(--border); }
  .metrics-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links, .hide-mobile { display: none; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 640px) {
  .engines-grid, .bento-grid, .pricing-grid, .cloud-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .cta-banner { padding: 36px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-electric-ring, .pill-dot { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
