/* ───────────────────────────────────────────────────────────────────────
   Shorzo landing — dark cinematic "creator studio".
   Near-black warm canvas · violet→magenta accent · grid + grain + glow.
   Hero = the tool (prompt box) beside the real output (phone).
   ─────────────────────────────────────────────────────────────────────── */
:root {
  --bg: #08070c;
  --surface: rgba(255, 255, 255, 0.038);
  --surface-2: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.17);
  --text: #f5f2f9;
  --muted: rgba(245, 242, 249, 0.62);
  --faint: rgba(245, 242, 249, 0.38);
  --violet: #a855f7;
  --glow: rgba(168, 85, 247, 0.5);
  --grad: linear-gradient(115deg, #a855f7 0%, #d946ef 100%);
  --display: "Bricolage Grotesque", "Noto Sans Devanagari", ui-sans-serif, sans-serif;
  --body: "Hanken Grotesk", "Noto Sans Devanagari", ui-sans-serif, system-ui, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; margin: 0; }

/* ── atmosphere ──────────────────────────────────────────────────────── */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 40%, transparent 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow { position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(100px); }
.glow-1 { width: 640px; height: 640px; top: -260px; left: 8%; background: radial-gradient(circle, rgba(168,85,247,0.40), transparent 68%); }
.glow-2 { width: 560px; height: 560px; top: 180px; right: -160px; background: radial-gradient(circle, rgba(217,70,239,0.24), transparent 70%); }

/* ── nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: relative; z-index: 5; max-width: var(--maxw); margin: 0 auto;
  padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 6px 22px -6px var(--glow); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a:not(.btn) { color: var(--muted); padding: 8px 12px; font-weight: 500; font-size: 15px; border-radius: 8px; transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--text); }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px var(--glow); }
.btn-primary:hover { box-shadow: 0 16px 42px -8px var(--glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface-2); }
.btn-lg { font-size: 18px; padding: 17px 32px; border-radius: 14px; }

/* ── HERO: tool (left) + real output (right) ─────────────────────────── */
.hero {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.eyebrow { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: 0.24em; color: var(--violet); margin: 0 0 20px; text-transform: uppercase; }
h1 { font-size: clamp(46px, 5.2vw, 72px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); max-width: 500px; margin: 24px 0 0; }

.promptcard { margin: 32px 0 0; max-width: 560px; }
.promptcard form {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong); border-radius: 20px; padding: 16px 16px 12px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.85);
  transition: border-color .25s, box-shadow .25s;
}
.promptcard form:focus-within { border-color: rgba(168,85,247,.55); box-shadow: 0 30px 80px -28px rgba(0,0,0,.9), 0 0 0 4px rgba(168,85,247,.14); }
#topic { width: 100%; border: 0; background: transparent; resize: none; color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.5; padding: 6px; outline: none; }
#topic::placeholder { color: var(--faint); }
.prompt-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.chips { display: inline-flex; gap: 5px; background: rgba(0,0,0,.28); padding: 4px; border-radius: 11px; border: 1px solid var(--border); }
.chip { border: 0; background: transparent; color: var(--muted); font-family: var(--body); font-weight: 600; font-size: 14px; padding: 7px 13px; border-radius: 8px; cursor: pointer; transition: all .18s; }
.chip.is-on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.go-arrow { transition: transform .2s; }
.btn-go:hover .go-arrow { transform: translateX(3px); }
.spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.prompt-hint { color: var(--faint); font-size: 13px; margin: 11px 0 0 4px; }

.ideas { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.idea { background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-family: var(--body); font-size: 13.5px; font-weight: 500; padding: 8px 13px; border-radius: 20px; cursor: pointer; transition: all .18s; }
.idea:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }

/* phone showing a REAL rendered short */
.hero-demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone {
  position: relative; width: 100%; max-width: 288px; aspect-ratio: 9 / 19.5;
  background: #000; border: 9px solid #17151f; border-radius: 40px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08),
              0 0 90px -20px rgba(168,85,247,.45);
  overflow: hidden;
}
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 92px; height: 20px; background: #17151f; border-radius: 0 0 12px 12px; z-index: 2; }
.demo-cap { color: var(--faint); font-size: 13px; text-align: center; margin: 0; max-width: 240px; }

/* ── live preview ────────────────────────────────────────────────────── */
.preview-wrap { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.preview { max-width: 640px; margin: 12px 0 40px; animation: fadeUp .5s ease both; }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.preview-head h3 { font-size: 22px; }
.preview-meta { color: var(--faint); font-size: 13.5px; }
.scene { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; }
.scene-n { font-family: var(--body); font-weight: 700; font-size: 11px; letter-spacing: .18em; color: var(--violet); text-transform: uppercase; }
.scene-text { font-size: 17px; margin: 6px 0 10px; }
.scene-visual { font-size: 13.5px; color: var(--faint); }
.preview-cta { text-align: center; margin-top: 22px; padding: 24px; border: 1px dashed var(--border-strong); border-radius: 18px; background: linear-gradient(180deg, rgba(168,85,247,.07), transparent); }
.preview-cta p { margin: 0 0 14px; color: var(--muted); }
.preview-err { text-align: center; color: #fca5a5; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); border-radius: 14px; padding: 16px; }

/* ── trust strip ─────────────────────────────────────────────────────── */
.trust {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 20px auto 0; padding: 26px 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.trust div { display: flex; flex-direction: column; gap: 3px; }
.trust b { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.trust span { color: var(--faint); font-size: 13.5px; }

/* ── sections ────────────────────────────────────────────────────────── */
.section { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 100px 24px; }
.h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 48px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; transition: transform .2s, border-color .2s, background .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card-emoji { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 16px; box-shadow: 0 10px 30px -12px var(--glow); }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px 24px; }
.price-hot { border-color: rgba(168,85,247,.5); background: linear-gradient(180deg, rgba(168,85,247,.1), var(--surface)); box-shadow: 0 30px 70px -34px var(--glow); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.price h3 { font-size: 18px; color: var(--muted); font-weight: 700; }
.price-amt { font-family: var(--display); font-weight: 800; font-size: 44px; margin: 6px 0 2px; letter-spacing: -.03em; }
.price-amt span { font-size: 17px; color: var(--faint); font-weight: 600; }
.price-sub { color: var(--faint); font-size: 14px; margin: 0 0 18px; }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; }
.price li { color: var(--muted); font-size: 15px; padding: 7px 0 7px 26px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 800; }
.price .btn { width: 100%; }
.price-note { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: 22px; }

.cta-final { position: relative; z-index: 2; text-align: center; max-width: var(--maxw); margin: 0 auto; padding: 20px 24px 110px; }
.cta-final .h2 { margin-bottom: 30px; }

.footer { position: relative; z-index: 2; border-top: 1px solid var(--border); max-width: var(--maxw); margin: 0 auto; padding: 40px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; color: var(--faint); font-size: 14px; }
.footer .brand-name { font-size: 18px; }
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.footer small { width: 100%; }

/* ── reveal ──────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .08s } .d2 { animation-delay: .16s } .d3 { animation-delay: .26s } .d4 { animation-delay: .36s }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal, .preview { animation: none; opacity: 1; transform: none; } .glow { display: none; } }

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 44px; text-align: center; padding-top: 36px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .promptcard, .sub { margin-left: auto; margin-right: auto; }
  .promptcard { width: 100%; }
  .ideas { justify-content: center; }
  .prompt-hint { text-align: center; margin-left: 0; }
  .hero-demo { order: -1; }
  .phone { max-width: 232px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .nav-links a[href="#formats"], .nav-links a[href="#how"], .nav-links a[href="#pricing"] { display: none; }
  .preview { margin-left: auto; margin-right: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .section { padding: 70px 24px; }
  .prompt-toolbar { flex-direction: column; align-items: stretch; }
  .btn-go { width: 100%; }
  .nav { padding: 16px; }
  .nav-links .btn-ghost { display: none; }
}
