/* BimBall Studio site pages (home, privacy, terms, 404) */
:root { --bg:#070a14; --bg2:#0b1020; --card:#0f1424; --line:#1f2742; --line2:#2a3350; --text:#eef2ff; --muted:#98a1c2; --dim:#6b7394; --a1:#7c3aed; --a2:#db2777; --mint:#34d399; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:80px; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.6 "Plus Jakarta Sans",system-ui,sans-serif; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a { color:#a5b4fc; }
h1,h2,h3 { font-family:Outfit,sans-serif; line-height:1.1; margin:0; }
.wrap { max-width:1180px; margin:0 auto; padding:0 20px; }
.narrow { max-width:780px; }
.sp { flex:1; }

/* buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 20px; border-radius:12px; border:1px solid transparent; font:700 15px "Plus Jakarta Sans",sans-serif; color:#fff; text-decoration:none; cursor:pointer; transition:transform .15s, box-shadow .15s, border-color .15s, background .15s; white-space:nowrap; }
.btn:hover { transform:translateY(-2px); }
.btn:disabled { opacity:.6; cursor:wait; transform:none; }
.btn.sm { height:38px; padding:0 16px; font-size:13.5px; }
.btn.lg { height:54px; padding:0 28px; font-size:16.5px; border-radius:14px; }
.btn.grad { background:linear-gradient(135deg,var(--a1),var(--a2)); box-shadow:0 10px 30px rgba(124,58,237,.35); }
.btn.grad:hover { box-shadow:0 14px 38px rgba(219,39,119,.4); }
.btn.ghost { background:rgba(255,255,255,.04); border-color:var(--line2); }
.btn.ghost:hover { border-color:#8b5cf6; background:rgba(139,92,246,.08); }
.btn.full { width:100%; }

/* nav */
.nav { position:sticky; top:0; z-index:50; background:rgba(7,10,20,.6); backdrop-filter:blur(14px); border-bottom:1px solid transparent; transition:border-color .2s, background .2s; }
.nav.scrolled { background:rgba(7,10,20,.86); border-color:var(--line); }
.navin { height:68px; display:flex; align-items:center; gap:14px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; font:800 19px Outfit,sans-serif; }
.brand i { font-style:normal; color:var(--muted); font-weight:700; }
.brand { gap:8px; } .brand .bico { width:40px; height:40px; display:block; filter:drop-shadow(0 4px 10px rgba(168,85,247,.35)); } .brand .bname { height:30px; width:auto; display:block; } .brand i { font-size:.95em; }
.logo { width:36px; height:36px; border-radius:11px; display:grid; place-items:center; background:linear-gradient(45deg,#4f46e5,#9333ea,#ec4899); font:900 18px Outfit,sans-serif; color:#fff; box-shadow:0 6px 18px rgba(168,85,247,.35); }
.links { display:flex; gap:4px; margin-left:18px; }
.links a { color:var(--muted); text-decoration:none; font-weight:700; font-size:14px; padding:8px 12px; border-radius:10px; }
.links a:hover { color:#fff; background:rgba(255,255,255,.05); }
.burger { display:none; width:42px; height:42px; border:1px solid var(--line2); border-radius:12px; background:transparent; cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
.burger span { width:18px; height:2px; background:#fff; border-radius:2px; transition:transform .2s, opacity .2s; }
.nav.open .burger span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity:0; }
.nav.open .burger span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }

/* hero */
.hero { position:relative; padding:56px 0 40px; overflow:hidden; }
.hero::before { content:""; position:absolute; inset:-30% -10% auto; height:900px; background:radial-gradient(closest-side at 30% 40%,rgba(124,58,237,.28),transparent), radial-gradient(closest-side at 75% 35%,rgba(219,39,119,.2),transparent); pointer-events:none; }
.heroin { position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; }
.pill { display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:99px; background:rgba(52,211,153,.08); border:1px solid rgba(52,211,153,.25); color:var(--mint); font-weight:700; font-size:13px; }
.pill b { width:8px; height:8px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px rgba(52,211,153,.18); }
.hero h1 { margin:18px 0 18px; font-size:clamp(40px,6vw,68px); font-weight:900; letter-spacing:-.02em; }
.g { background:linear-gradient(90deg,#a78bfa,#f472b6,#fbbf24); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead { margin:0 0 28px; color:var(--muted); font-size:18.5px; max-width:540px; }
.cta { display:flex; flex-wrap:wrap; gap:12px; }
.trust { list-style:none; padding:0; margin:26px 0 0; display:flex; flex-wrap:wrap; gap:8px 20px; color:var(--muted); font-size:14px; font-weight:600; }
.trust li { white-space:nowrap; }
.phone { position:relative; justify-self:center; width:min(330px,80vw); aspect-ratio:9/16; border-radius:38px; padding:10px; background:linear-gradient(160deg,#2a2f4a,#0c0f1c); box-shadow:0 40px 90px rgba(0,0,0,.55), 0 0 0 1px #2a3350, 0 0 80px rgba(124,58,237,.25); transform:rotate(2deg); }
.phone video { object-fit:cover; width:100%; height:100%; border-radius:29px; display:block; background:#070a14; }
.notch { position:absolute; top:18px; left:50%; transform:translateX(-50%); width:84px; height:20px; border-radius:12px; background:#05070e; }

/* stats */
.stats { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--bg2); }
.statin { display:grid; grid-template-columns:repeat(4,1fr); }
.statin div { padding:22px 10px; text-align:center; border-left:1px solid var(--line); }
.statin div:first-child { border-left:none; }
.statin b { display:block; font:900 30px Outfit,sans-serif; }
.statin span { color:var(--muted); font-size:13.5px; font-weight:600; }

/* sections */
.sec { padding:88px 0; }
.sec.alt { background:var(--bg2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.head { text-align:center; max-width:680px; margin:0 auto 44px; }
.kick { display:inline-block; font-weight:800; font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:#c4b5fd; margin-bottom:10px; }
.head h2 { font-size:clamp(30px,4vw,44px); font-weight:900; letter-spacing:-.01em; }
.head p { color:var(--muted); margin:14px 0 0; font-size:17px; }

/* steps */
.steps { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; counter-reset:s; }
.steps li { padding:28px; border-radius:20px; background:var(--card); border:1px solid var(--line); }
.steps i { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; margin-bottom:16px; font:900 20px Outfit,sans-serif; font-style:normal; background:linear-gradient(135deg,var(--a1),var(--a2)); }
.steps h3 { font-size:20px; margin-bottom:8px; }
.steps p { margin:0; color:var(--muted); font-size:15px; }

/* features */
.feats { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feat { padding:26px; border-radius:20px; background:linear-gradient(180deg,rgba(255,255,255,.03),transparent); border:1px solid var(--line); }
.feat span { font-size:28px; display:block; margin-bottom:12px; }
.feat h3 { font-size:19px; margin-bottom:8px; }
.feat p { margin:0; color:var(--muted); font-size:15px; }

/* plans */
.plans { display:grid; grid-template-columns:1fr 1fr; gap:22px; max-width:820px; margin:0 auto; }
.plan { position:relative; padding:30px; border-radius:22px; background:var(--card); border:1px solid var(--line); display:flex; flex-direction:column; }
.plan.best { border-color:#8b5cf6; box-shadow:0 0 0 1px #8b5cf6, 0 20px 60px rgba(124,58,237,.22); }
.plan .badge { position:absolute; top:-12px; left:30px; padding:3px 12px; border-radius:99px; font-size:12px; font-weight:800; background:linear-gradient(135deg,var(--a1),var(--a2)); }
.plan h3 { font-size:22px; }
.plan .price { font:900 40px Outfit,sans-serif; margin:6px 0 16px; }
.plan ul { list-style:none; padding:0; margin:0 0 24px; flex:1; }
.plan li { padding:6px 0; color:#d6dbf0; font-size:15px; }
.plan li.no { color:var(--dim); }

/* faq */
details { border:1px solid var(--line); border-radius:16px; background:var(--card); margin-bottom:12px; }
summary { list-style:none; cursor:pointer; padding:18px 52px 18px 22px; font-weight:800; font-size:16.5px; position:relative; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%); font:700 24px Outfit,sans-serif; color:#c4b5fd; transition:transform .2s; }
details[open] summary::after { transform:translateY(-50%) rotate(45deg); }
details p { margin:0; padding:0 22px 20px; color:var(--muted); }

/* feedback */
.fb textarea, .fb input { width:100%; padding:14px 16px; border-radius:14px; border:1px solid var(--line2); background:var(--card); color:var(--text); font:15px "Plus Jakarta Sans",sans-serif; resize:vertical; }
.fb textarea:focus, .fb input:focus { outline:none; border-color:#8b5cf6; box-shadow:0 0 0 3px rgba(139,92,246,.2); }
.fbrow { display:flex; gap:12px; margin-top:12px; }
.fbrow input { flex:1; }
.fbst { min-height:24px; margin-top:10px; color:var(--mint); font-weight:700; font-size:14px; text-align:center; }

/* final + footer */
.final { padding:90px 0; text-align:center; background:radial-gradient(closest-side at 50% 50%,rgba(124,58,237,.25),transparent); }
.final h2 { font-size:clamp(30px,4vw,46px); font-weight:900; margin-bottom:26px; }
.foot { border-top:1px solid var(--line); padding:34px 0; background:var(--bg2); }
.footin { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.foot nav { display:flex; gap:18px; flex-wrap:wrap; flex:1; justify-content:center; }
.foot nav a { color:var(--muted); text-decoration:none; font-weight:600; font-size:14px; }
.foot nav a:hover { color:#fff; }
.foot p { margin:0; color:var(--dim); font-size:13px; }

/* text pages (privacy, terms) */
.doc { padding:56px 0 90px; }
.doc h1 { font-size:clamp(34px,5vw,48px); font-weight:900; margin-bottom:6px; }
.doc .upd { color:var(--dim); font-weight:600; font-size:14px; margin-bottom:34px; }
.doc h2 { font-size:22px; margin:34px 0 10px; }
.doc p, .doc li { color:#c7cde6; }
.doc ul { padding-left:22px; }

@media (max-width:960px) {
  .heroin { grid-template-columns:1fr; text-align:center; }
  .lead { margin-left:auto; margin-right:auto; } .cta, .trust { justify-content:center; }
  .phone { width:min(280px,70vw); }
  .feats { grid-template-columns:1fr 1fr; }
  .steps { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .links { display:none; position:absolute; top:68px; left:0; right:0; flex-direction:column; margin:0; padding:10px 16px 16px; background:#070a14; border-bottom:1px solid var(--line); }
  .nav.open .links { display:flex; }
  .links a { padding:12px; font-size:16px; }
  .burger { display:flex; }
  .hide-s { display:none; }
  .sec { padding:64px 0; }
  .statin { grid-template-columns:1fr 1fr; } .statin div:nth-child(3) { border-left:none; } .statin div:nth-child(n+3) { border-top:1px solid var(--line); }
  .feats, .plans { grid-template-columns:1fr; }
  .fbrow { flex-direction:column; }
  .footin { flex-direction:column; text-align:center; }
  .wrap { padding:0 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } * { transition:none !important; animation:none !important; } }
@media (max-width:420px) { .brand { font-size:17px; } .brand i { display:none; } .brand .bico { width:34px; height:34px; } .brand .bname { height:26px; } .ba-in span { display:none; } .ba-in { padding:0 11px; } }
