/* ── Sayivo landing — indigo on zinc, Inter + JetBrains Mono ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #09090B;
  --bg2: #0f0f12;
  --surface: #18181B;
  --surface2: #1e1e22;
  --border: #2a2a30;
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --indigo: #6366F1;
  --indigo-deep: #4F46E5;
  --emerald: #10B981;
  --amber: #F59E0B;
  --rose: #F43F5E;
  --glow: rgba(79, 70, 229, 0.18);
  --radius: 14px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--indigo); color: #fff; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }

.accent-text { background: linear-gradient(120deg, var(--indigo), #8b5cf6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Brand ── */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--indigo-deep); box-shadow: 0 2px 12px rgba(79,70,229,0.5); }
.brand-tile.small { width: 27px; height: 27px; border-radius: 7px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 1px; color: var(--text); }

/* ── Nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 24px; background: rgba(9,9,11,0.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn-ghost { border: 1px solid var(--border); padding: 8px 16px; border-radius: 8px; color: var(--text) !important; transition: border-color 0.2s; }
.btn-ghost:hover { border-color: var(--indigo); }

/* ── Buttons ── */
.btn-primary, .btn-secondary { display: inline-block; font-family: var(--font); font-size: 1rem; font-weight: 600; padding: 14px 30px; border-radius: 11px; border: none; cursor: pointer; text-decoration: none; transition: opacity 0.2s, transform 0.15s, border-color 0.2s; }
.btn-primary { background: linear-gradient(120deg, var(--indigo-deep), var(--indigo)); color: #fff; }
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-primary.wide, .btn-secondary.wide { width: 100%; text-align: center; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--indigo); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 150px 0 90px; }
.hero-glow { position: absolute; top: -12%; right: 0; width: 640px; height: 640px; max-width: 92vw; background: radial-gradient(circle, var(--glow) 0%, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
.eyebrow { font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--indigo); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 900; line-height: 1.06; letter-spacing: -1.8px; margin-bottom: 22px; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }

/* ── Phone mockup ── */
.hero-visual { display: flex; justify-content: center; }
.phone { position: relative; width: 250px; aspect-ratio: 9 / 19; background: #050506; border: 2px solid var(--border); border-radius: 34px; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,0.55); }
.phone.small { width: 200px; }
.phone-screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #050506; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-screen.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 12px, var(--surface2) 12px, var(--surface2) 24px); border: 1px dashed var(--border); color: var(--muted); text-align: center; padding: 16px; }
.ph-icon { font-size: 2rem; }
.ph-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--indigo); }
.ph-sub { font-size: 0.85rem; color: var(--muted); }

/* ── Strip ── */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 24px; }
.strip-item { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.strip-item strong { font-size: 1.15rem; color: var(--indigo); font-weight: 800; }
.strip-item span { font-size: 0.85rem; color: var(--muted); }

/* ── Sections ── */
.section { padding: 90px 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -1.2px; line-height: 1.14; margin-bottom: 18px; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 580px; margin-bottom: 40px; }
.center .section-sub, .center .section-label { margin-left: auto; margin-right: auto; }

/* ── Cards ── */
.cards { display: grid; gap: 20px; margin-top: 44px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--indigo); transform: translateY(-3px); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 1.4rem; margin-bottom: 16px; }
.card-icon.emerald { background: rgba(16,185,129,0.14); }
.card-icon.indigo { background: rgba(99,102,241,0.14); }
.card-icon.amber { background: rgba(245,158,11,0.14); }
.card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--muted); }

/* ── Analyze chips ── */
.analyze { margin-top: 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
.analyze-title { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { font-size: 0.9rem; font-weight: 600; padding: 8px 18px; border-radius: 100px; background: var(--bg); border: 1px solid var(--border); color: var(--text); }

/* ── Screenshots ── */
.shots { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

/* ── Grades ── */
.grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.grade { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.grade-tag { display: inline-block; font-family: var(--mono); font-size: 0.75rem; font-weight: 600; color: var(--indigo); background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.28); padding: 4px 12px; border-radius: 8px; margin-bottom: 12px; }
.grade p { font-size: 0.92rem; color: var(--muted); }

/* ── Pricing ── */
.prices { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 44px 0 20px; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; width: 320px; max-width: 100%; text-align: center; }
.price-card.featured { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo), 0 20px 50px rgba(79,70,229,0.2); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #3a2600; font-size: 0.72rem; font-weight: 700; padding: 6px 16px; border-radius: 100px; letter-spacing: 0.5px; }
.price-card h3 { font-size: 1.2rem; margin: 4px 0 12px; }
.price .amt { font-size: 2.6rem; font-weight: 900; }
.price .per { font-size: 1rem; color: var(--muted); }
.price-list { list-style: none; text-align: left; max-width: 220px; margin: 20px auto 26px; }
.price-list li { font-size: 0.93rem; color: var(--muted); padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--border); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 800; }
.disclaimer { font-size: 0.85rem; color: var(--muted); }

/* ── FAQ ── */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 22px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--indigo); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-size: 1.4rem; font-weight: 400; margin-left: 16px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 0.95rem; color: var(--muted); padding: 0 0 20px; }

/* ── Lead form ── */
.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; max-width: 560px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 20px; }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; }
label .opt { color: var(--muted); font-weight: 400; }
input, textarea { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 9px; color: var(--text); font-family: var(--font); font-size: 0.95rem; padding: 12px 15px; transition: border-color 0.2s; outline: none; resize: vertical; }
input::placeholder, textarea::placeholder { color: #55555f; }
input:focus, textarea:focus { border-color: var(--indigo); }

.form-message { padding: 14px 18px; border-radius: 9px; font-size: 0.95rem; font-weight: 500; margin: 0 auto 22px; max-width: 560px; }
.form-message.success { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.35); color: #4ee0ad; }
.form-message.error { background: rgba(244,63,94,0.12); border: 1px solid rgba(244,63,94,0.35); color: #ff8fa3; }

/* ── Footer ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer p { font-size: 0.9rem; color: var(--muted); }
.footer .muted { font-size: 0.82rem; }
.footer a { color: var(--indigo); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .cards.three { grid-template-columns: 1fr; }
  .grades { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav { padding: 12px 18px; }
  .nav-links { gap: 12px; }
  .nav-links a:not(.btn-ghost) { display: none; }
  .hero { padding: 130px 0 70px; }
  .grades { grid-template-columns: 1fr; }
  .lead-form { padding: 26px 20px; }
  .price-card { width: 100%; }
}
