/* rjstudio.ai — canonical brand system (RJSTUDIO-PLAN.md §14)
   Midnight #090A0F · Electric Violet #7C3AED · Digital Cyan #22D3EE · Soft White #F8FAFC · Slate #64748B
   Headlines: Space Grotesk · Body: Inter */

:root {
  --midnight: #090A0F;
  --panel: #10121B;
  --panel-2: #151827;
  --line: #232738;
  --violet: #7C3AED;
  --violet-soft: #A78BFA;
  --cyan: #22D3EE;
  --white: #F8FAFC;
  --slate: #94A3B8;
  --slate-dim: #64748B;
  --grad: linear-gradient(120deg, #7C3AED, #22D3EE);
  --radius: 14px;
  --head: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--midnight); color: var(--white); font-family: var(--body); line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -0.01em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--head); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.sec-h { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.sec-sub { color: var(--slate); max-width: 640px; margin-bottom: 42px; }

/* ---- nav ---- */
nav { position: sticky; top: 0; z-index: 50; background: rgba(9,10,15,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.navin { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .ai { color: var(--slate-dim); font-weight: 500; }
.navlinks { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.navlinks a { color: var(--slate); font-size: 14.5px; }
.navlinks a:hover { color: var(--white); }
#nav-burger { display: none; background: none; border: 1px solid var(--line); color: var(--white); border-radius: 8px; padding: 6px 11px; font-size: 17px; cursor: pointer; }

/* ---- buttons ---- */
.btn { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 10px; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(124,58,237,0.35); }
.btn-ghost { border: 1px solid var(--line); color: var(--white); background: var(--panel); }

/* ---- hero ---- */
.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 130%; background:
  radial-gradient(600px 420px at 22% 30%, rgba(124,58,237,0.22), transparent 65%),
  radial-gradient(520px 380px at 78% 20%, rgba(34,211,238,0.13), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 20px; }
.hero p.lede { color: var(--slate); font-size: 18px; max-width: 520px; margin-bottom: 32px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero .fineprint { color: var(--slate-dim); font-size: 13.5px; }

/* hero video-frame mock */
.framecard { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.framecard .screen { position: relative; border-radius: 10px; aspect-ratio: 16/9; background:
  linear-gradient(150deg, rgba(124,58,237,0.55), rgba(9,10,15,0.9) 55%, rgba(34,211,238,0.35)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.framecard .screen::after { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(248,250,252,0.22); border-radius: 6px; }
.playbtn { width: 66px; height: 66px; border-radius: 50%; background: rgba(248,250,252,0.14); backdrop-filter: blur(4px); border: 1.5px solid rgba(248,250,252,0.45); display: flex; align-items: center; justify-content: center; }
.playbtn svg { width: 24px; height: 24px; margin-left: 4px; }
.framecard .strip { display: flex; gap: 8px; margin-top: 14px; }
.framecard .strip span { flex: 1; height: 42px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); }
.framecard .strip span.on { background: linear-gradient(120deg, rgba(124,58,237,0.5), rgba(34,211,238,0.35)); border-color: rgba(124,58,237,0.6); }
.framecard .meta { display: flex; justify-content: space-between; color: var(--slate-dim); font-size: 12.5px; margin-top: 12px; font-family: var(--head); }

/* ---- tool strip ---- */
.toolstrip { border-block: 1px solid var(--line); padding: 26px 0; }
.toolstrip .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center; color: var(--slate-dim); font-size: 14px; }
.toolstrip b { color: var(--slate); font-weight: 600; }

/* ---- pipeline / how it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.step .num { font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--cyan); letter-spacing: 0.14em; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 14.5px; }
.step .cost { display: inline-block; margin-top: 12px; font-size: 12px; font-family: var(--head); color: var(--violet-soft); border: 1px solid rgba(124,58,237,0.45); border-radius: 999px; padding: 3px 11px; }

/* ---- products ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: rgba(124,58,237,0.55); transform: translateY(-2px); }
.card .ico { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, rgba(124,58,237,0.28), rgba(34,211,238,0.18)); border: 1px solid rgba(124,58,237,0.4); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--slate); font-size: 14.5px; }

/* ---- languages / dari ---- */
.dari { background: linear-gradient(180deg, rgba(124,58,237,0.09), transparent); border-block: 1px solid var(--line); }
.dari .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.langchips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.langchips span { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 16px; font-size: 14px; color: var(--slate); }
.langchips span.hot { border-color: rgba(34,211,238,0.6); color: var(--cyan); font-weight: 600; }
.dari .consent { color: var(--slate-dim); font-size: 13.5px; border-left: 2px solid var(--violet); padding-left: 14px; }
.dari blockquote { font-family: var(--head); font-size: clamp(22px, 3vw, 30px); line-height: 1.35; }
.dari blockquote em { color: var(--cyan); font-style: normal; }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; display: flex; flex-direction: column; }
.plan.hot { border-color: var(--violet); box-shadow: 0 12px 44px rgba(124,58,237,0.25); position: relative; }
.plan.hot .tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--grad); font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 16px; margin-bottom: 8px; }
.plan .price { font-family: var(--head); font-size: 30px; font-weight: 700; }
.plan .price small { font-size: 13px; color: var(--slate-dim); font-weight: 400; }
.plan ul { list-style: none; margin: 16px 0 20px; flex: 1; }
.plan li { font-size: 13px; color: var(--slate); padding: 5px 0 5px 20px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-size: 12px; }
.plan .btn { text-align: center; font-size: 13.5px; padding: 10px 0; }
.svcnote { margin-top: 34px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; color: var(--slate); font-size: 14.5px; }
.svcnote b { color: var(--white); }

/* ---- waitlist ---- */
.waitlist { background: linear-gradient(180deg, transparent, rgba(124,58,237,0.10)); border-top: 1px solid var(--line); }
.waitlist .wrap { max-width: 720px; text-align: center; }
.leadform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; text-align: left; }
.leadform .full { grid-column: 1 / -1; }
.leadform label { font-family: var(--head); font-size: 12.5px; letter-spacing: 0.06em; color: var(--slate); display: block; margin-bottom: 6px; text-transform: uppercase; }
.leadform input, .leadform select, .leadform textarea { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--white); font-family: var(--body); font-size: 15px; padding: 12px 14px; }
.leadform input:focus, .leadform select:focus, .leadform textarea:focus { outline: none; border-color: var(--violet); }
.leadform textarea { min-height: 96px; resize: vertical; }
.leadform .btn { grid-column: 1 / -1; border: none; cursor: pointer; }
.done { display: none; margin-top: 36px; background: var(--panel); border: 1px solid rgba(34,211,238,0.5); border-radius: var(--radius); padding: 30px; font-size: 16px; }
.done b { color: var(--cyan); }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 44px 0 54px; color: var(--slate-dim); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
footer .doms span { margin-right: 18px; }
footer .doms b { color: var(--slate); font-weight: 600; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero .wrap, .dari .wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps, .cards { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  #nav-burger { display: block; margin-left: auto; }
  .navlinks { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--midnight); border-bottom: 1px solid var(--line); flex-direction: column; padding: 18px 24px; gap: 16px; align-items: flex-start; }
  .navlinks.open { display: flex; }
}
@media (max-width: 600px) {
  .steps, .cards, .plans, .leadform { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
