* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a1228;
  --bg-elevated: #11203f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.13);
  --line-strongest: rgba(255, 255, 255, 0.22);
  --text: #d8dde6;
  --text-bright: #f8fafc;
  --text-dim: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.42);
  --accent: #6ea8ff;
  --accent-light: #a6c8ff;
  --accent-glow: rgba(110, 168, 255, 0.18);
  --success: #34d399;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: radial-gradient(ellipse 100% 60% at 50% 0%, #1a2d5a 0%, #0a1228 50%, #060c1c 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss03';
  min-height: 100vh;
  position: relative;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(110, 168, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(80, 130, 220, 0.07), transparent 60%);
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.020) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.5) 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.5) 30%, transparent 70%);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 10; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 10; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
a { color: var(--accent-light); }

/* NAV */
nav { position: sticky; top: 16px; z-index: 100; margin: 16px auto 0; max-width: 1180px; padding: 0 16px; }
.nav-inner {
  background: rgba(15, 25, 50, 0.7);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 10px 10px 24px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.30);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: #0a1228 url('/img/logo-mark.webp') center / 22px 22px no-repeat;
  box-shadow: 0 0 16px var(--accent-glow), inset 0 0 0 1px rgba(110, 168, 255, 0.30);
  flex-shrink: 0;
}
.logo-text { display: flex; align-items: baseline; font-weight: 700; letter-spacing: -0.03em; font-size: 1.05rem; color: var(--text-bright); }
.logo-text .ai { font-weight: 800; }
.logo-text .tld { color: var(--text-muted); font-weight: 500; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text-bright); }
.nav-cta {
  background: var(--accent); color: #061533;
  padding: 9px 20px; border-radius: 100px;
  font-weight: 600; text-decoration: none; font-size: 0.85rem;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all 0.15s;
}
.nav-cta:hover { background: var(--accent-light); }
@media (max-width: 768px) { .nav-links { display: none; } }

/* PAGE HERO */
.page-hero { padding: 80px 0 40px; }
.page-hero .breadcrumb { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 18px; }
.page-hero .breadcrumb a { color: var(--text-dim); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--text-bright); }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.05;
  color: var(--text-bright); margin-bottom: 20px; max-width: 800px;
}
.page-hero h1 .serif { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--accent-light); font-weight: 400; }
.page-hero p.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--text-dim); max-width: 720px; line-height: 1.6;
}

/* CONTENT */
.page-content { padding: 40px 0 100px; }
.page-content h2 {
  font-size: 1.6rem; font-weight: 700;
  color: var(--text-bright); letter-spacing: -0.02em;
  margin: 56px 0 16px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.page-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.page-content h3 { font-size: 1.15rem; font-weight: 600; color: var(--text-bright); margin: 28px 0 12px; letter-spacing: -0.01em; }
.page-content p { color: var(--text-dim); margin-bottom: 16px; font-size: 1rem; line-height: 1.7; }
.page-content p strong { color: var(--text-bright); font-weight: 600; }
.page-content ul, .page-content ol { color: var(--text-dim); margin: 16px 0 24px 24px; }
.page-content li { margin-bottom: 8px; font-size: 1rem; line-height: 1.65; }
.page-content a { color: var(--accent-light); text-decoration: none; border-bottom: 1px solid rgba(166, 200, 255, 0.30); transition: all 0.15s; }
.page-content a:hover { border-bottom-color: var(--accent-light); }

.feature-block {
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 32px 0;
}
.feature-block h3 { margin-top: 0; }
.feature-block .badge {
  display: inline-block; padding: 4px 12px;
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 100px;
  color: var(--success);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 14px;
}
.feature-block .badge.soon { background: rgba(110, 168, 255, 0.10); border-color: rgba(110, 168, 255, 0.25); color: var(--accent-light); }
.feature-block ul { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-block li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  color: var(--text); font-size: 0.95rem;
}
.feature-block li::before {
  content: ''; width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  flex-shrink: 0; margin-top: 4px;
}

/* CTA BLOCK */
.cta-block {
  margin: 64px 0 32px;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.10), rgba(167, 139, 250, 0.06));
  border: 1px solid var(--line-strongest);
  border-radius: 20px;
  text-align: center;
}
.cta-block h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-bright); margin-bottom: 10px; letter-spacing: -0.02em; }
.cta-block p { color: var(--text-dim); margin-bottom: 22px; }
.btn-primary {
  background: var(--accent); color: #061533;
  padding: 13px 26px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all 0.15s;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

/* TABLE for comparison */
.compare-table {
  width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line);
}
.compare-table th { background: rgba(255,255,255,0.03); color: var(--text-bright); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td { color: var(--text-dim); }
.compare-table td:first-child { color: var(--text); font-weight: 500; }
.compare-table .col-us { background: rgba(110, 168, 255, 0.04); color: var(--accent-light); font-weight: 500; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare-table .check { color: var(--success); }
.compare-table .cross { color: var(--text-muted); }

/* FOOTER */
footer { padding: 56px 0 32px; border-top: 1px solid var(--line); margin-top: 80px; }
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { footer .container { grid-template-columns: 1fr 1fr; gap: 32px; } }
footer h5 {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-bright); margin-bottom: 14px; font-weight: 600;
}
footer a { color: var(--text-dim); text-decoration: none; display: block; padding: 5px 0; font-size: 0.9rem; transition: color 0.15s; border-bottom: none; }
footer a:hover { color: var(--text-bright); }
footer .col-brand p { color: var(--text-dim); margin-top: 14px; max-width: 320px; line-height: 1.6; font-size: 0.92rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; margin-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--text-muted); font-size: 0.82rem;
  flex-wrap: wrap; gap: 16px; max-width: 1100px; margin-left: auto; margin-right: auto;
  padding-left: 24px; padding-right: 24px;
}
