:root {
  --background: oklch(0.18 0.04 255);
  --foreground: oklch(0.97 0.01 250);
  --surface: oklch(0.22 0.05 258);
  --muted-foreground: oklch(0.75 0.03 255);
  --primary: oklch(0.65 0.19 258);
  --primary-glow: oklch(0.78 0.16 240);
  --primary-foreground: oklch(0.99 0 0);
  --border: oklch(1 1 1 / 0.10);
  --radius: 0.75rem;
  --gradient-hero: radial-gradient(ellipse at top, oklch(0.32 0.12 258 / 0.55), transparent 60%),
                   linear-gradient(180deg, oklch(0.18 0.04 255) 0%, oklch(0.14 0.04 255) 100%);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
  --shadow-glow: 0 0 80px color-mix(in oklab, var(--primary-glow) 35%, transparent);
  --shadow-elegant: 0 30px 60px -30px color-mix(in oklab, var(--primary) 45%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
* { border-color: var(--border); }
html { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--gradient-hero);
  color: var(--foreground);
  min-height: 100vh;
  line-height: 1.5;
}
h1, h2, h3 { font-family: "Instrument Serif", ui-serif, Georgia, serif; font-weight: 400; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--muted-foreground); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.italic { font-style: italic; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: color-mix(in oklab, var(--background) 60%, transparent);
}
.nav-inner { display: flex; height: 4rem; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: none; gap: 2rem; font-size: 0.875rem; color: var(--muted-foreground); }
.nav-links a:hover { color: var(--foreground); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta .signin { display: none; font-size: 0.875rem; color: var(--muted-foreground); }
.nav-cta .signin:hover { color: var(--foreground); }
@media (min-width: 640px) { .nav-cta .signin { display: inline; } }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500; transition: all .2s ease; cursor: pointer; }
.btn-sm { padding: 0.5rem 1rem; }
.btn-primary { background: var(--gradient-primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow); border: 0; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 100px color-mix(in oklab, var(--primary-glow) 55%, transparent); }
.btn-ghost { border: 1px solid var(--border); color: var(--foreground); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-dark { background: var(--foreground); color: var(--background); }
.btn-dark:hover { opacity: 0.9; }
.btn-full { width: 100%; justify-content: center; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 5rem 0 7rem; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 0%, oklch(0.32 0.12 258 / 0.45), transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; border: 1px solid var(--border); background: color-mix(in oklab, var(--surface) 50%, transparent); padding: 0.25rem 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); }
.hero h1 { margin-top: 1.5rem; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; }
.gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 1.5rem auto 0; max-width: 42rem; font-size: 1.125rem; color: var(--muted-foreground); }
.hero-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-fine { margin-top: 1rem; font-size: 0.75rem; color: var(--muted-foreground); }
.hero-center { max-width: 48rem; margin: 0 auto; text-align: center; }

.hero-frame { position: relative; margin-top: 4rem; }
.hero-frame .glow { position: absolute; inset: -2rem -4rem; z-index: -1; border-radius: 3rem; opacity: 0.6; background: radial-gradient(50% 50% at 50% 50%, oklch(0.65 0.19 258 / 0.25), transparent 70%); }

/* Glass card */
.glass {
  background: linear-gradient(180deg, oklch(1 1 1 / 0.04), oklch(1 1 1 / 0.01));
  border: 1px solid oklch(1 1 1 / 0.08);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
}
.hero-frame .glass { padding: 0.5rem; box-shadow: var(--shadow-elegant); }
.hero-frame .glass img { border-radius: 0.75rem; width: 100%; }

/* Logos */
.logos { margin-top: 5rem; text-align: center; }
.logos p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.logos-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; align-items: center; opacity: 0.7; }
.logos-grid div { font-size: 0.875rem; font-weight: 500; letter-spacing: -0.02em; }
@media (min-width: 640px) { .logos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logos-grid { grid-template-columns: repeat(6, 1fr); } }

/* Sections */
section.section { padding: 7rem 0; }
section.section + section.section { border-top: 1px solid color-mix(in oklab, var(--border) 50%, transparent); }
.sect-label { font-size: 0.875rem; color: var(--primary-glow); }
.sect-title { margin-top: 0.5rem; font-size: clamp(2rem, 4.5vw, 3rem); }
.sect-lead { margin-top: 1rem; color: var(--muted-foreground); }

/* Feature grid */
.feature-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 1.5rem; border-radius: 1rem; transition: border-color .2s ease; }
.feature:hover { border-color: color-mix(in oklab, var(--primary) 40%, transparent); }
.feature .icon { display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 0.5rem; background: color-mix(in oklab, var(--primary) 15%, transparent); color: var(--primary-glow); }
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { margin-top: 1.25rem; font-size: 1.25rem; }
.feature p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.65; }

/* Workflow */
.workflow-head { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .workflow-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.steps { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border-radius: 1rem; overflow: hidden; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--background); padding: 2rem; }
.step .n { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--muted-foreground); }
.step h3 { margin-top: 0.75rem; font-size: 1.5rem; }
.step p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Compare */
.compare-wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
.compare-head { text-align: center; max-width: 42rem; margin: 0 auto; }
.compare-table { margin-top: 3.5rem; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 1rem 1.5rem; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); font-size: 0.875rem; align-items: center; }
.compare-row:last-child { border-bottom: 0; }
.compare-row.head { color: var(--muted-foreground); }
.compare-row .col-center { text-align: center; }
.compare-row .bold { font-weight: 600; color: var(--foreground); }
.check { color: var(--primary-glow); display: inline-flex; }
.check svg { width: 20px; height: 20px; }
.dash { color: var(--muted-foreground); }

/* Testimonial */
.quote { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.35; font-family: "Instrument Serif", ui-serif, Georgia, serif; font-style: italic; max-width: 56rem; margin: 0 auto; text-align: center; }
.attrib { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.avatar { height: 2.5rem; width: 2.5rem; border-radius: 9999px; background: var(--gradient-primary); }
.attrib .name { color: var(--foreground); font-weight: 500; }

/* Pricing */
.tiers { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); }
.tier.highlight { background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 15%, transparent), transparent); border-color: color-mix(in oklab, var(--primary) 40%, transparent); box-shadow: var(--shadow-elegant); }
.tier-head { display: flex; align-items: center; justify-content: space-between; }
.tier-head h3 { font-size: 1.25rem; }
.tag { font-size: 0.75rem; color: var(--primary-glow); border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent); border-radius: 9999px; padding: 0.125rem 0.5rem; }
.price { margin-top: 1.5rem; display: flex; align-items: baseline; gap: 0.5rem; }
.price .amount { font-size: 3rem; letter-spacing: -0.02em; }
.price .per { font-size: 0.875rem; color: var(--muted-foreground); }
.tier-desc { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.tier ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.tier li { display: flex; gap: 0.5rem; align-items: flex-start; }
.tier li .check svg { width: 16px; height: 16px; margin-top: 0.15rem; }
.tier .btn { margin-top: 2rem; }

/* Footer */
.footer { border-top: 1px solid color-mix(in oklab, var(--border) 50%, transparent); padding: 3rem 0; }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-left { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-left img { width: 20px; height: 20px; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-links a:hover { color: var(--foreground); }
