/* 10Native — landing page styles */

:root {
  --bg:        #06070A;
  --bg-2:      #0A0C12;
  --surface:   #0E1118;
  --surface-2: #141821;
  --line:      rgba(255,255,255,0.07);
  --line-2:    rgba(255,255,255,0.12);
  --text:      #E6E8EE;
  --text-dim:  #A5AAB8;
  --text-mute: #6B7080;
  --accent:    #22E3FF;
  --accent-soft: rgba(34, 227, 255, 0.14);
  --accent-glow: rgba(34, 227, 255, 0.35);
  --good:      #3DFF8A;
  --warn:      #FFB547;
  --bad:       #FF5A6B;

  --radius:    10px;
  --radius-lg: 14px;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(34,227,255,0.10), transparent 60%),
    radial-gradient(800px 500px at 100% 110%, rgba(34,227,255,0.05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

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

/* Layout ─────────────────────────────────────────────────────────────────── */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.section { padding: 120px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* Type ───────────────────────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  display: inline-block;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(32px, 4.0vw, 54px); letter-spacing: -0.035em; font-weight: 450; }
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.025em; }
h3 { font-size: 18px; letter-spacing: -0.01em; font-weight: 500; }

p { margin: 0; color: var(--text-dim); font-size: 16px; line-height: 1.55; }
.lede { font-size: 16px; line-height: 1.55; max-width: 56ch; color: var(--text-dim); }

.mono { font-family: var(--font-mono); }

/* Nav ────────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(6,7,10,0.65);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px; color: var(--text-dim);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
}
.brand-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent), transparent 60%),
    linear-gradient(135deg, #161A24, #0B0D14);
  border: 1px solid var(--line-2);
  position: relative;
  display: grid; place-items: center;
}
.brand-mark::after {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Buttons ────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--text);
  font-size: 13px; font-weight: 500;
  cursor: default;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #00141A;
  border-color: transparent;
  box-shadow: 0 0 0 1px var(--accent-glow), 0 12px 40px -10px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent); filter: brightness(1.06); }
.btn-ghost { background: transparent; }

.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Cards ──────────────────────────────────────────────────────────────────── */

.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
}
.card.flush { padding: 0; }

.kbd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255,255,255,0.02);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
}
.chip .led {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px rgba(61,255,138,0.6);
}

/* Density ────────────────────────────────────────────────────────────────── */

[data-density="compact"] .section { padding: 80px 0; }
[data-density="comfy"]   .section { padding: 160px 0; }

/* Misc ───────────────────────────────────────────────────────────────────── */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.fade-in { animation: fadeUp 0.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.metric {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
