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

:root {
  --bg0: #0b0e15; --bg1: #10141e; --bg2: #151a26; --bg3: #1a202d; --bg4: #202737;
  --border: #252d3d; --border2: #303a4e;
  --accent: #00d4ff; --accent-dim: rgba(0,212,255,.12); --green: #00e676; --red: #ff5252; --orange: #ffab40;
  --t1: #edf0f7; --t2: #8a94aa; --t3: #4e5870;
  --font: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg0); color: var(--t1); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
p { line-height: 1.6; }

/* Faint engineering grid, used behind the hero -- not decorative noise,
   reads as "measurement/plan view" rather than generic SaaS gradient. */
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 85%);
}

header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--border); background: rgba(11,14,21,.85); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .4px; font-size: 16px; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #004a5c, var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 13px; color: #001018; font-weight: 900; box-shadow: 0 0 18px rgba(0,212,255,.35); }
.brand .ver { color: var(--t3); font-size: 10.5px; font-family: var(--mono); font-weight: 400; margin-left: 2px; }

.container { max-width: 1080px; margin: 0 auto; padding: 48px 24px; position: relative; }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.eyebrow::before, .eyebrow::after { content:''; width: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.eyebrow::after { background: linear-gradient(90deg, var(--accent), transparent); }

/* ── HERO ── */
.hero-wrap { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-bg-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .07; filter: saturate(1.3) contrast(1.05);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.hero { position: relative; text-align: center; padding: 96px 20px 80px; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 18px; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .accent-text { background: linear-gradient(135deg, var(--accent), #6be3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--t2); font-size: 16.5px; max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-meta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--t3); }
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: 10px; border: 1px solid var(--border2); background: var(--bg3); color: var(--t1); cursor: pointer; font-size: 14px; font-weight: 600; transition: transform .15s, border-color .15s, background .15s; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, #006b82, var(--accent)); border: none; color: #001018; box-shadow: 0 6px 20px rgba(0,212,255,.25); }
.btn-accent:hover { box-shadow: 0 8px 26px rgba(0,212,255,.4); }
.btn-danger { background: transparent; border-color: rgba(255,82,82,.4); color: var(--red); }

/* ── SECTION SCAFFOLDING ── */
.section-title { text-align: center; font-size: 28px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.3px; }
.section-sub { text-align: center; color: var(--t2); font-size: 14.5px; max-width: 540px; margin: 0 auto 44px; }

/* ── FEATURE SHOWCASE (real screenshots, alternating) ── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > .feature-shot { order: 2; }
.feature-row.reverse > .feature-copy { order: 1; }
.feature-copy .tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(0,212,255,.25); border-radius: 20px; padding: 4px 12px; margin-bottom: 14px; }
.feature-copy h3 { font-size: 23px; margin: 0 0 12px; font-weight: 700; }
.feature-copy p { color: var(--t2); font-size: 14.5px; }
.feature-copy ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.feature-copy li { display: flex; gap: 10px; font-size: 13.5px; color: var(--t2); align-items: flex-start; }
.feature-copy li::before { content: '▸'; color: var(--accent); flex: none; font-weight: 700; }

.shot-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border2); background: var(--bg1); box-shadow: 0 24px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(0,212,255,.04); }
.shot-frame .shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.shot-frame .shot-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border2); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame::after { content:''; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); pointer-events: none; }

/* ── PRICING ── */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.card { background: var(--bg2); border: 1px solid var(--border2); border-radius: 14px; padding: 20px; position: relative; }
.card.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(0,212,255,.12); }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.price { font-size: 26px; font-weight: 800; font-family: var(--mono); }
.price small { color: var(--t3); font-weight: 400; font-size: 12px; font-family: var(--font); }
.card ul { padding-left: 18px; color: var(--t2); font-size: 13px; line-height: 1.7; }

/* ── ACCOUNT/AUTH (account.html) ── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field input { background: var(--bg3); border: 1px solid var(--border2); color: var(--t1); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.field input:focus { outline: none; border-color: var(--accent); }
.panel { background: var(--bg2); border: 1px solid var(--border2); border-radius: 14px; padding: 28px; max-width: 420px; margin: 56px auto; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.error { color: var(--red); font-size: 13px; margin-top: 8px; min-height: 18px; }
.muted { color: var(--t3); font-size: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; }
.device-row { background: var(--bg3); border: 1px solid var(--border2); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; }

/* ── DOWNLOADS ── */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.downloads a.card { display: block; text-align: center; transition: border-color .15s, transform .15s; }
.downloads a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.downloads .platform-icon { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--t2); transition: color .15s; }
.downloads .platform-icon svg { width: 100%; height: 100%; }
.downloads a.card:hover .platform-icon { color: var(--accent); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 28px 24px; text-align: center; color: var(--t3); font-size: 12.5px; }
footer .mono { font-family: var(--mono); }

@media (max-width: 760px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .feature-row.reverse > .feature-shot, .feature-row.reverse > .feature-copy { order: initial; }
  .hero h1 { font-size: 32px; }
  .grid3, .downloads { grid-template-columns: 1fr; }
}
