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

/* ── Theme: Default (bright blue) ─────────────────────────────────────────── */
:root {
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-dark: #1D4ED8;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --bg: #FFFFFF;
  --bg-muted: #F8FAFC;
  --radius: 12px;
}

/* ── Theme: Icon-matched (navy/steel blue) — swap with block above to activate
:root {
  --blue: #4A7FBF;
  --blue-light: #6B9FD4;
  --blue-dark: #2D5F99;
  --text: #0F1E35;
  --text-muted: #5A7A9A;
  --border: #C8D8E8;
  --bg: #FFFFFF;
  --bg-muted: #F0F5FA;
  --radius: 12px;
}
────────────────────────────────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}

.nav-links a { color: var(--text-muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: white; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid transparent;
  text-decoration: none;
}

.btn-sm { padding: 7px 16px; font-size: 0.85rem; }

.btn-primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-secondary {
  background: white;
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.btn-secondary:hover { border-color: #CBD5E1; background: var(--bg-muted); }

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: transparent;
}
.btn-ghost:hover { color: white; }

.release-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.release-note a { color: var(--text-muted); text-underline-offset: 3px; }
.release-note a:hover { color: var(--blue); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: color-mix(in srgb, var(--blue) 10%, white);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid color-mix(in srgb, var(--blue) 25%, white);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero-trial {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 32px;
}

.download-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.download-btn {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
}

.download-btn svg { flex-shrink: 0; }

.download-btn > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.btn-label { font-size: 0.95rem; font-weight: 600; }
.btn-sub { font-size: 0.75rem; opacity: 0.7; }

.version-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.version-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.version-note a:hover { color: var(--blue-dark); }

/* ── App Preview ─────────────────────────────────────────────────────────── */
.preview-section {
  padding: 0 0 80px;
}

.app-window {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  background: white;
  max-width: 860px;
  margin: 0 auto;
}

.window-chrome {
  background: #F1F5F9;
  padding: 12px 16px;
  display: flex;
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.window-content {
  display: flex;
  height: 320px;
}

.mock-sidebar {
  width: 180px;
  flex-shrink: 0;
  background: #F8FAFC;
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-nav-item {
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: default;
}

.mock-nav-item.active {
  background: #EFF6FF;
  color: var(--blue);
  font-weight: 500;
}

.mock-main {
  flex: 1;
  padding: 24px;
  overflow: hidden;
}

.mock-header { margin-bottom: 20px; }
.mock-title { font-size: 1.1rem; font-weight: 600; }
.mock-subtitle { font-size: 0.8rem; color: var(--text-muted); }

.mock-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.mock-card {
  flex: 1;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.mock-card-label { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 4px; }
.mock-card-value { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.mock-card-trend { font-size: 0.7rem; margin-top: 4px; }
.mock-card-trend.up { color: #16A34A; }
.mock-card-trend.neutral { color: var(--text-muted); }

.mock-chart {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.mock-chart-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }

.chart-svg { width: 100%; height: 60px; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  padding: 80px 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: #EFF6FF;
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Privacy ─────────────────────────────────────────────────────────────── */
.privacy {
  padding: 80px 0;
}

.privacy-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.privacy-text { flex: 1; }

.privacy-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.privacy-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.privacy-text code {
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--blue);
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.privacy-list li svg { color: #16A34A; flex-shrink: 0; }

.privacy-graphic { flex-shrink: 0; }

.lock-graphic {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}

.lock-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.lock-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Requirements ────────────────────────────────────────────────────────── */
.requirements {
  padding: 80px 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.req-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.req-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.req-platform svg { color: var(--text-muted); }

.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.req-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.req-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--text-muted);
}

.req-downloads {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.req-link {
  font-size: 0.875rem;
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.req-link:hover { color: var(--blue-dark); }

.req-link-disabled {
  color: var(--text-muted);
  text-decoration: none;
  font-style: italic;
}

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #1E3A8A 0%, #312E81 100%);
  color: white;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

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

.logo-sm { font-size: 0.9rem; }
.logo-sm span { font-weight: 600; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .privacy-inner { flex-direction: column; gap: 36px; }
  .lock-graphic { width: 100%; }

  .window-content { height: auto; flex-direction: column; }
  .mock-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--border); }
  .mock-cards { flex-direction: column; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }

  .nav-links a:not(.btn) { display: none; }
}
