/* ============================================================
   Klaude Fuel Gauge — Website Design System
   klaudefuelgauge.com  ·  © 2026 TeleCottageComputers.com
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────────── */
:root {
  --banner-h:        44px;
  --bg:              #060810;
  --surface:         #0b0d17;
  --card:            rgba(255, 255, 255, 0.028);
  --card-hover:      rgba(255, 255, 255, 0.052);
  --border:          rgba(0, 255, 110, 0.26);
  --border-subtle:   rgba(255, 255, 255, 0.08);

  --green:           #00ff6e;
  --green-glow:      rgba(0, 255, 110, 0.16);
  --green-dim:       rgba(0, 255, 110, 0.65);
  --blue:            #00c8ff;
  --blue-glow:       rgba(0, 200, 255, 0.12);

  --text:            #eef2ee;
  --text-muted:      rgba(238, 242, 238, 0.62);
  --text-dim:        rgba(238, 242, 238, 0.35);

  --nav-h:           68px;
  --r:               12px;
  --r-lg:            20px;
  --r-pill:          100px;

  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --t:               0.24s;

  --font:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono:    'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Base ────────────────────────────────────────────────────── */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Background atmosphere ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 70% at  5% 18%, rgba(0,255,110,0.09) 0%, transparent 58%),
    radial-gradient(ellipse 70% 60% at 95% 78%, rgba(0,200,255,0.07)  0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(60,30,120,0.08) 0%, transparent 65%);
}

/* Dot grid */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.048) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, black 0%, transparent 100%);
}

/* ── Layout helpers ──────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONSTRUCTION BANNER
   ============================================================ */
.construction-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--banner-h);
  z-index: 300;
  background: #fbbf24;
  color: #1a0f00;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
  box-shadow: 0 2px 16px rgba(251, 191, 36, 0.4);
}
.construction-banner .cb-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: var(--banner-h); left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  background: rgba(6, 8, 16, 0.8);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t) var(--ease);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity var(--t);
}
.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: block;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.nav-links a.active {
  color: var(--green);
  background: rgba(0,255,110,0.08);
}

.nav-links .nav-cta {
  margin-left: 8px;
  font-weight: 700;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + var(--banner-h));
  padding-bottom: 80px;
  text-align: center;
}

/* -- Eyebrow pill -- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,110,0.07);
  border: 1px solid rgba(0,255,110,0.25);
  border-radius: var(--r-pill);
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 32px;
  animation: fadeDown 0.65s var(--ease) both;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2.2s ease infinite;
}

/* -- Headline -- */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeDown 0.65s 0.10s var(--ease) both;
}
.hero-title .grad {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(0,255,110,0.45));
}

/* -- Pain line (above headline) -- */
.hero-pain {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 600;
  color: var(--green-dim);
  letter-spacing: 0.01em;
  margin: 0 auto 16px;
  max-width: 560px;
}

/* -- Trust line (below CTA buttons) -- */
.hero-trust {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 18px;
  letter-spacing: 0.01em;
}

/* -- Subtitle -- */
.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 52px;
  line-height: 1.62;
  animation: fadeDown 0.65s 0.20s var(--ease) both;
}

/* -- Gauge showcase -- */
.gauge-wrap {
  position: relative;
  margin: 0 auto 44px;
  animation: fadeIn 0.9s 0.30s var(--ease) both;
}
.gauge-wrap canvas {
  border-radius: 8px;
}
.gauge-halo {
  position: absolute;
  inset: -32px -26px;
  background: radial-gradient(ellipse at center, rgba(0,255,110,0.22) 0%, transparent 66%);
  border-radius: 50%;
  pointer-events: none;
  animation: haloPulse 3.5s ease infinite;
}
.gauge-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 2px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.gauge-meta .g-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}

/* -- CTA buttons -- */
.hero-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.65s 0.45s var(--ease) both;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-green {
  background: var(--green);
  color: #021005;
  box-shadow: 0 0 32px rgba(0,255,110,0.38), 0 4px 18px rgba(0,0,0,0.45);
}
.btn-green:hover {
  background: #1aff7a;
  box-shadow: 0 0 60px rgba(0,255,110,0.58), 0 8px 28px rgba(0,0,0,0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.btn-outline-green {
  background: rgba(0,255,110,0.08);
  color: var(--green);
  border: 1px solid rgba(0,255,110,0.28);
}
.btn-outline-green:hover {
  background: rgba(0,255,110,0.16);
  box-shadow: 0 0 20px rgba(0,255,110,0.18);
}

/* ============================================================
   SHARED SECTION CHROME
   ============================================================ */
.section { padding: 100px 0; position: relative; z-index: 1; }

.section-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(46px, 7.5vw, 76px);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.98;
  margin-bottom: 18px;
}
.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 60px;
  line-height: 1.65;
}

/* ============================================================
   STATUS STRIP
   ============================================================ */
.status-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
  position: relative;
  z-index: 1;
  background: rgba(0, 255, 110, 0.015);
}
.status-items {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.s-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.s-dot.green  { background: var(--green);  box-shadow: 0 0 10px var(--green); }
.s-dot.yellow { background: #fbbf24;       box-shadow: 0 0 10px #fbbf24; }
.s-dot.orange { background: #f97316;       box-shadow: 0 0 10px #f97316; }
.s-dot.red    { background: #ef4444;       box-shadow: 0 0 10px #ef4444; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  counter-reset: feat-counter;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px 28px 30px;
  position: relative;
  overflow: hidden;
  counter-increment: feat-counter;
  transition: border-color var(--t) var(--ease),
              background   var(--t) var(--ease),
              transform    var(--t) var(--ease),
              box-shadow   var(--t) var(--ease);
}
/* Card index — precision readout feel */
.feat-card::before {
  content: counter(feat-counter, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  z-index: 2;
}
/* Top accent line on hover */
.feat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.feat-card:hover {
  border-color: var(--border);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 40px rgba(0,255,110,0.07);
}
.feat-card:hover::after { opacity: 1; }

.feat-icon {
  width: 48px; height: 48px;
  background: rgba(0,255,110,0.08);
  border: 1px solid rgba(0,255,110,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.feat-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.feat-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
  position: relative; z-index: 1;
}

/* ============================================================
   TESTIMONIALS WALL
   ============================================================ */
.testimonials-section { padding-bottom: 0; }

.testimonials-wall {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 24px;
}

/* Top & bottom fade masks */
.testimonials-wall::before,
.testimonials-wall::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 130px;
  z-index: 2;
  pointer-events: none;
}
.testimonials-wall::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}
.testimonials-wall::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

/* Each column */
.wall-col {
  overflow: hidden;
}
.wall-col:hover .wall-col-inner { animation-play-state: paused; }

/* Scrolling inner (contains cards ×2 for seamless loop) */
.wall-col-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: wallScrollUp linear infinite;
}
.wall-col-inner.reverse {
  animation-name: wallScrollDown;
  transform: translateY(-50%);
}

@keyframes wallScrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes wallScrollDown {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

/* Testimonial card */
.t-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 20px 20px 18px;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
  flex-shrink: 0;
}
.t-card:hover {
  border-color: rgba(0,255,110,0.2);
  background: var(--card-hover);
}

.t-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.t-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}
.t-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}
.t-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.t-handle {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-body {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .wall-col:last-child { display: none; }
}
@media (max-width: 680px) {
  .testimonials-wall {
    grid-template-columns: repeat(2, 1fr);
    height: 480px;
    padding: 0 16px;
  }
  .wall-col:nth-child(3) { display: none; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 80px 0 120px;
  position: relative;
  z-index: 1;
}
.cta-card {
  background: linear-gradient(135deg,
    rgba(0,255,110,0.055) 0%,
    rgba(0,196,255,0.038) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -80%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,255,110,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.98;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  position: relative; z-index: 1;
  letter-spacing: 0.02em;
}

/* ── CTA border beam ─────────────────────────────────────────── */
/* Technique: conic-gradient masked to ONLY the 1.5px border strip.
   The CSS mask (XOR of content-box vs border-box) ensures zero
   interior bleed — gradient is invisible except on the border line. */
@property --beam-a {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.cta-beam-wrap {
  position: relative;
  border-radius: var(--r-lg);
}
.cta-beam-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 1.5px; /* visible border strip thickness */
  background: conic-gradient(from var(--beam-a),
    transparent          0%,
    transparent          83%,
    rgba(0,255,110,0.08) 86%,
    rgba(0,255,110,0.55) 89%,
    rgba(0,255,110,0.9)  90.5%,
    rgba(0,255,110,0.55) 92%,
    rgba(0,255,110,0.08) 95%,
    transparent          98%,
    transparent          100%);
  /* Mask clips gradient to border strip only — no interior bleed */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beam-spin 5s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.cta-beam-wrap .cta-card {
  position: relative;
  z-index: 1;
}
@keyframes beam-spin {
  to { --beam-a: 360deg; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.footer-copy {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  line-height: 1.7;
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--green); }

/* ============================================================
   PAGE HEADER  (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--banner-h) + 72px);
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(58px, 10vw, 100px);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.94;
  margin-bottom: 18px;
}
.page-title .accent { color: var(--green); }
.page-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 100px;
  position: relative; z-index: 1;
}
.about-body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: var(--text);
}
.about-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
}
.faq-item:hover { border-color: rgba(0,255,110,0.2); }

.faq-q {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  cursor: default;
  line-height: 1.4;
}

.faq-a {
  padding: 0 20px 18px;
  border-top: 1px solid var(--border-subtle);
}
.faq-a p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a em {
  color: var(--green);
  font-style: normal;
  font-weight: 600;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 28px 0 36px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  padding: 22px 16px;
  text-align: center;
  transition: border-color var(--t), transform var(--t);
}
.stat-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}
.stat-val {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--green);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 36px;
  font-size: 14px;
}
.plan-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}
.plan-table td {
  padding: 13px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan-table tr:hover td { background: rgba(255,255,255,0.025); }
.plan-table td:first-child { font-weight: 600; color: var(--text); }
.plan-table td .tag-green {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 44px 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding-bottom: 100px;
  position: relative; z-index: 1;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  margin-bottom: 28px;
}
.contact-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 11px 15px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  resize: vertical;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(0,255,110,0.45);
  box-shadow: 0 0 0 3px rgba(0,255,110,0.1);
}
.form-field textarea { min-height: 132px; }

.contact-info-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.info-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  transition: border-color var(--t), color var(--t);
}
.info-pill:hover { border-color: rgba(0,255,110,0.28); color: var(--text); }
.info-pill span { font-size: 15px; }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding-bottom: 100px;
  text-align: center;
  position: relative; z-index: 1;
}

.badge-coming {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,191,36,0.09);
  border: 1px solid rgba(251,191,36,0.28);
  border-radius: var(--r-pill);
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 28px;
}

.dl-gauge-wrap {
  display: flex;
  justify-content: center;
  margin: 40px auto 48px;
  position: relative;
}
.dl-gauge-wrap .gauge-halo {
  inset: -20px -16px;
}

/* ── Mac App Store Badge ──────────────────────────────────────
   Apple guidelines: https://developer.apple.com/app-store/marketing/guidelines/
   · Use the dark (black) badge on dark backgrounds for contrast
   · Required clear space: 1/6 of badge width on every side
     At 248px wide that is ~41px — enforced via padding below
   · Do not crop, recolour, distort, or add marks to the badge
   · Link directly to the app's Mac App Store product page
   ──────────────────────────────────────────────────────────── */
.mas-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px 0 16px;
}

.mas-link {
  display: inline-block;
  line-height: 0;
  /* Apple-required clear space: 1/6 of badge width (~41px at default size).
     We implement this as padding so the clickable area is generous too.    */
  padding: 18px 42px;
  border-radius: 18px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mas-link:hover  { opacity: 0.88; transform: translateY(-2px); }
.mas-link:active { opacity: 0.75; transform: translateY(0); }
.mas-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 18px;
}

/* Badge — works for both <img> and inline <svg> */
.mas-badge {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
}

/* Small caption below badge */
.mas-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* Responsive: scale down the badge on narrow screens */
@media (max-width: 480px) {
  .mas-badge { height: 44px; }
  .mas-link  { padding: 14px 32px; }
}

.req-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: left;
  margin: 32px 0;
}
.req-card h3 {
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.req-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.req-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.notify-form {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.notify-form input {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 11px 15px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--t);
}
.notify-form input::placeholder { color: var(--text-dim); }
.notify-form input:focus { border-color: rgba(0,255,110,0.4); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1.0; transform: scale(1.07); }
}

/* ============================================================
   APP PREVIEW — Photorealistic 3D CSS MacBook Pro with on‑screen UI
   ============================================================ */
.app-preview-section { padding-bottom: 40px; }

/* ——— Stage with CSS 3D perspective ——— */
.pv-stage {
  display: flex;
  justify-content: center;
  padding: 56px 24px 110px;
  perspective: 1800px;
  perspective-origin: 50% 32%;
  position: relative;
  overflow: hidden;
}
/* Ambient screen glow in the "room" */
.pv-stage::before {
  content: '';
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 460px;
  background: radial-gradient(ellipse at 68% 28%,
    rgba(0,255,110,0.07) 0%,
    rgba(0,160,255,0.04) 40%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}
/* Cast shadow on "desk surface" */
.pv-stage::after {
  content: '';
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 80px;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0.55) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* ——— MacBook body — 3D tilted ——— */
.pv-mbp {
  position: relative;
  z-index: 1;
  /* Slight perspective rotation — looks like a product photograph */
  transform: rotateX(5deg) rotateY(-3deg) rotateZ(0.3deg);
  transform-origin: center 65%;
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 56px 80px rgba(0,0,0,0.78))
    drop-shadow(0 18px 28px rgba(0,0,0,0.55))
    drop-shadow(0 3px 6px rgba(0,0,0,0.38));
}

/* ——— Lid — space gray aluminum with highlight + shadow pass ——— */
.pv-lid {
  width: 820px;
  padding: 13px 13px 0;
  border-radius: 18px 18px 2px 2px;
  background:
    /* Specular highlight */
    linear-gradient(152deg,
      rgba(255,255,255,0.16) 0%,
      rgba(255,255,255,0.04) 30%,
      transparent 55%,
      rgba(0,0,0,0.06) 100%
    ),
    /* Diffuse aluminum — space gray */
    linear-gradient(190deg,
      #b4b4b6 0%,
      #989899 7%,
      #848486 18%,
      #767678 34%,
      #6e6e70 52%,
      #646466 68%,
      #5c5c5e 83%,
      #545456 100%
    );
  box-shadow:
    inset 0 0.5px 0 rgba(255,255,255,0.32),
    inset 0 0 0 0.5px rgba(255,255,255,0.07),
    0 -0.5px 0 rgba(0,0,0,0.25);
}

/* ——— Screen bezel ——— */
.pv-bezel {
  background: #0b0b11;
  border-radius: 9px 9px 0 0;
  padding: 15px 8px 0;
  position: relative;
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,0.04),
    inset 0 2px 4px rgba(0,0,0,0.55);
}
.pv-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 108px; height: 11px;
  background: #090910;
  border-radius: 0 0 12px 12px;
  z-index: 20;
}

/* ——— Screen ——— */
.pv-screen {
  width: 100%;
  height: 522px;
  background: #0f0f18;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  position: relative;
}

/* Glass reflection — the most important element for realism */
.pv-glass {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      146deg,
      rgba(255,255,255,0.06)  0%,
      rgba(255,255,255,0.022) 22%,
      rgba(255,255,255,0.005) 38%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 200;
  border-radius: 4px 4px 0 0;
}

.pv-chin {
  height: 14px;
  background: linear-gradient(180deg, #4a4a4c 0%, #404042 100%);
  border-radius: 0 0 2px 2px;
}

/* ——— macOS menu bar ——— */
.pv-mbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 24px;
  background: rgba(9,9,17,0.97);
  padding: 0 10px;
  position: relative;
  z-index: 30;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.pv-mbar-l, .pv-mbar-r { display: flex; align-items: center; gap: 10px; }
.pv-apple  { font-size: 13px; color: rgba(255,255,255,0.84); line-height: 1; }
.pv-mbold  { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.9); font-family: var(--font); }
.pv-mt     { font-size: 11px; color: rgba(255,255,255,0.76); font-family: var(--font); white-space: nowrap; }
.pv-mtime  { font-size: 11px; color: rgba(255,255,255,0.78); font-family: var(--font); }
.pv-kpill {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.24);
  border-radius: 4px; padding: 1px 7px;
}
.pv-kck    { font-size: 10px; color: #30d158; font-weight: 700; }
.pv-kbat   { width: 16px; height: 8px; border: 1px solid rgba(255,255,255,0.42); border-radius: 2px; display: inline-flex; align-items: center; padding: 1px; }
.pv-kbat-f { height: 100%; background: #30d158; border-radius: 1px; width: 0; }
.pv-kbat-n { width: 2px; height: 4px; background: rgba(255,255,255,0.28); border-radius: 0 1px 1px 0; margin-left: 1px; }
.pv-kpt    { font-size: 10.5px; color: rgba(255,255,255,0.9); white-space: nowrap; font-family: var(--font); }

/* ——— Desktop — brand wallpaper ——— */
.pv-desktop {
  position: relative;
  height: 498px; /* 522 - 24 menu bar */
  overflow: hidden;
  background:
    radial-gradient(ellipse at 16% 20%, rgba(0,255,110,0.18) 0%, transparent 42%),
    radial-gradient(ellipse at 80% 78%, rgba(0,150,255,0.11) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 50%, rgba(0,60,180,0.06) 0%, transparent 58%),
    linear-gradient(145deg, #07081a 0%, #050612 45%, #030408 100%);
}

/* ——— Dropdown — on‑screen, scaled to fit ——— */
.pv-dd {
  position: absolute;
  top: 0; right: 0;
  width: 330px;
  background: rgba(26,26,28,0.97);
  border-left: 0.5px solid rgba(255,255,255,0.09);
  z-index: 50;
  /* Scale to fit the screen height while keeping pixel-perfect text */
  transform: scale(0.92);
  transform-origin: top right;
}
.pv-di {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 14px;
  font-size: 11.5px;
  font-family: var(--font);
  color: rgba(255,255,255,0.88);
  min-height: 16px;
  line-height: 1.3;
}
.pv-di-top { padding-top: 7px; }
.pv-di-sm {
  display: flex; align-items: center;
  padding: 1px 14px;
  font-size: 11px;
  font-family: var(--font);
  color: rgba(255,255,255,0.5);
  min-height: 14px;
  line-height: 1.3;
}
.pv-di-grn { color: #30d158; }
.pv-di-red { color: #ff453a; display: flex; align-items: center; justify-content: space-between; padding: 2px 14px; font-size: 11.5px; font-family: var(--font); min-height: 16px; line-height: 1.3; }
.pv-di-ylw { color: #ffd60a; display: flex; align-items: center; justify-content: space-between; padding: 2px 14px; font-size: 11.5px; font-family: var(--font); min-height: 16px; line-height: 1.3; }
.pv-bat-red  { background: #ff453a; border-color: #ff453a; }
.pv-bat-ylw  { background: #ffd60a; border-color: #ffd60a; }
.pv-bat-n-red { background: rgba(255,69,58,0.5); }
.pv-bat-n-ylw { background: rgba(255,214,10,0.5); }
.pv-sec {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 14px 2px;
  font-size: 12px; font-weight: 600;
  font-family: var(--font);
  color: rgba(255,255,255,0.97);
  line-height: 1.3;
}
.pv-ds  { height: 0.5px; background: rgba(255,255,255,0.11); margin: 2.5px 0; }
.pv-arr { color: rgba(255,255,255,0.28); font-size: 12px; flex-shrink: 0; }
.pv-sc  { color: rgba(255,255,255,0.32); font-size: 11px; flex-shrink: 0; }

/* Battery icon used inside dropdown rows */
.pv-bat-wrap { display: inline-flex; align-items: center; margin-right: 6px; flex-shrink: 0; }
.pv-bat-o    { width: 22px; height: 11px; border: 1px solid #30d158; border-radius: 2px; display: inline-flex; align-items: center; padding: 1px; }
.pv-bat-f    { height: 100%; background: #30d158; border-radius: 1px; }
.pv-bat-n    { width: 2px; height: 6px; background: rgba(48,209,88,0.5); border-radius: 0 1px 1px 0; margin-left: 1px; }
.pv-dot-grn  { width: 8px; height: 8px; border-radius: 50%; background: #30d158; display: inline-block; margin-right: 6px; flex-shrink: 0; }

/* ——— Hinge ——— */
.pv-hinge {
  width: 756px;
  height: 5px;
  background: linear-gradient(180deg, #1e1e20 0%, #161618 50%, #101012 100%);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.65);
  margin: 0 auto;
}

/* ——— Base — keyboard body ——— */
.pv-base {
  width: 852px;
  background:
    linear-gradient(168deg,
      rgba(255,255,255,0.07) 0%,
      rgba(255,255,255,0.0) 28%
    ),
    linear-gradient(188deg,
      #585858 0%,
      #4a4a4c 18%,
      #3e3e40 46%,
      #343436 76%,
      #2e2e30 100%
    );
  border-radius: 0 0 16px 16px;
  padding: 8px 18px 24px;
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,0.07),
    inset 0 0.5px 0 rgba(255,255,255,0.13);
}
/* Touch Bar / function strip */
.pv-tbr {
  height: 10px;
  background: #202024;
  border-radius: 3px;
  margin: 0 6px 6px;
  border: 0.5px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.45);
}
/* Keys */
.pv-keys { padding: 2px 2px 8px; }
.pv-kr   { display: flex; gap: 2.5px; margin-bottom: 2.5px; }
.pv-k {
  flex: 1;
  height: 16px;
  background: linear-gradient(162deg, #2e2e30 0%, #282829 55%, #222224 100%);
  border-radius: 3.5px;
  box-shadow:
    inset 0 0.5px 0 rgba(255,255,255,0.1),
    0 1.5px 2px rgba(0,0,0,0.5),
    0 0 0 0.5px rgba(0,0,0,0.32);
}
.pv-k-fn  { height: 12px; }
.pv-kr-fn { margin-bottom: 4px; }
.pv-k-w2  { flex: 2; }
.pv-k-w15 { flex: 1.5; }
.pv-k-w3  { flex: 3; }
.pv-k-sp  { flex: 7; }
/* Trackpad */
.pv-tp {
  width: 175px; height: 34px;
  background: linear-gradient(148deg, #313133 0%, #292929 50%, #242426 100%);
  border-radius: 8px;
  margin: 2px auto 0;
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,0.06),
    0 1px 3px rgba(0,0,0,0.5);
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .pv-lid   { width: 680px; }
  .pv-hinge { width: 626px; }
  .pv-base  { width: 710px; }
  .pv-screen  { height: 432px; }
  .pv-desktop { height: 408px; }
  .pv-dd { transform: scale(0.76); }
}
@media (max-width: 760px) {
  .pv-lid   { width: 560px; }
  .pv-hinge { width: 516px; }
  .pv-base  { width: 590px; }
  .pv-screen  { height: 358px; }
  .pv-desktop { height: 334px; }
  .pv-dd { transform: scale(0.60); }
}
@media (max-width: 640px) {
  .app-preview-section { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .hero-btns, .cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .btn { width: 100%; justify-content: center; }

  .status-items { gap: 18px; }

  .footer-inner { flex-direction: column; align-items: center; }

  .nav-links .nav-cta { display: none; }

  .contact-card { padding: 24px 20px; }
  .notify-form { flex-direction: column; }
  .notify-form input { min-width: unset; }
}

@media (max-width: 480px) {
  #hero-gauge { width: 320px !important; height: 64px !important; }
}
