:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-light: #f8fafc;
  --text: #0f172a;
  --text-inverse: #f8fafc;
  --muted: #64748b;
  --border: #e2e8f0;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.logo-text {
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.footer-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.35rem;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
}

.site-header nav a {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:hover { color: white; }

.site-header nav a.active {
  color: white;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 40%, #4f46e5 100%);
  color: var(--text-inverse);
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--primary-light);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.accent { color: #c7d2fe; }

.lead {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin: 0 0 1.75rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; margin-bottom: 0.5rem; }

.btn-primary {
  background: white;
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: #f1f5f9;
  text-decoration: none;
}

.btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

.btn-secondary {
  background: #e2e8f0;
  color: var(--text);
}

.btn-secondary:hover { background: #cbd5e1; text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: #f8fafc; text-decoration: none; }

.btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Hero app screenshot */
.hero-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-screenshot {
  margin: 0;
  width: 100%;
  max-width: 520px;
}

.app-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  background: #f8fafc;
}

/* Features */
.features {
  padding: 4rem 0;
  background: var(--surface-light);
}

.features h2 {
  text-align: center;
  margin: 0 0 2.5rem;
  font-size: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Download */
.download {
  padding: 4rem 0;
}

.download h2 {
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 0 2rem;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(15,23,42,0.06);
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.download-card h3 { margin: 0 0 0.25rem; }

.muted { color: var(--muted); font-size: 0.9rem; }

.release-notes {
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text);
}

.requirements {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.install-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 1rem 0 0;
  text-align: center;
}

.steps {
  max-width: 600px;
  margin: 0 auto;
  background: #eef2ff;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
}

.steps h3 { margin: 0 0 0.75rem; }
.steps ol { margin: 0; padding-left: 1.25rem; }
.steps li { margin-bottom: 0.35rem; }

/* Products */
.products-info {
  padding: 4rem 0;
  background: white;
}

.products-info h2 {
  text-align: center;
  margin: 0 0 0.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 1.5rem;
}

.product-card {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card-current {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.15);
  background: #eef2ff;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  flex: 1;
}

.product-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
}

.product-badge-live {
  background: #dcfce7;
  color: #166534;
}

.product-badge-soon {
  background: #fef3c7;
  color: #92400e;
}

.product-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.product-link:hover { text-decoration: underline; }

.products-cta {
  text-align: center;
  margin: 0;
}

/* Licensing */
.licensing-info {
  padding: 3rem 0;
  background: var(--surface-light);
}

.licensing-info h2 { text-align: center; margin: 0 0 1.5rem; }

.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.license-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}

.license-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.license-card p { margin: 0; color: var(--muted); font-size: 0.85rem; }

.legal-links {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--bg);
  color: #94a3b8;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer p { margin: 0.25rem 0; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: white; text-decoration: underline; }
.site-footer strong { color: white; }
.footer-brand { display: inline-block; margin-bottom: 0.15rem; }
.copyright { margin-top: 0.75rem !important; font-size: 0.8rem; }

@media (max-width: 800px) {
  .hero-grid,
  .download-card { grid-template-columns: 1fr; }
  .site-header nav { display: none; }
  .hero-card { order: -1; }
  .logo-text { font-size: 0.9rem; max-width: 10rem; }
}
