/* Shared styles for the <app>.kingpindev.com sites. Each page sets --accent and --accent2. */
:root {
  --bg: #070a12; --bg2: #0c111d; --card: rgba(255, 255, 255, .04); --line: rgba(255, 255, 255, .09);
  --text: #eef1f7; --muted: #a2abbd; --faint: #6b7489; --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  background-image:
    radial-gradient(60% 40% at 50% -5%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(40% 30% at 100% 20%, color-mix(in srgb, var(--accent2) 14%, transparent), transparent 70%);
  background-repeat: no-repeat;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 28px; text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 10, 18, .82); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .top { background: rgba(7, 10, 18, .7); backdrop-filter: blur(14px); } }
.top-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 8px; }
.links { display: flex; gap: 22px; }
.links a, .lang { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.links a:hover, .lang:hover { color: var(--text); }
.lang { padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 12px; border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0a0d16; font-weight: 700; font-size: 15px;
  text-decoration: none; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 28%, transparent); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 8px 13px; font-size: 13.5px; border-radius: 10px; box-shadow: none; }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-icon { border-radius: 22px; box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 30%, transparent); }
.eyebrow { margin: 22px 0 10px; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; max-width: 860px; margin: 0 auto; }
.lead { max-width: 760px; margin: 20px auto 0; color: var(--muted); font-size: clamp(16px, 1.8vw, 18.5px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; color: var(--faint); font-size: 14px; }
.facts li::before { content: "✓"; color: var(--accent); margin-right: 7px; font-weight: 700; }

/* demo */
section { padding: 56px 0; }
.demo .wrap { max-width: 980px; }
.demo-box { margin: 0 auto; max-width: 900px; }
.demo-frame { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #0b0d12; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.demo-frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; display: block; }
.demo-script > * { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.note { text-align: center; color: var(--faint); font-size: 14px; margin: 16px auto 0; max-width: 720px; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.feat { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feat svg { color: var(--accent); }
.feat h3 { font-size: 17px; margin: 12px 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* steps */
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: s; }
.step-list li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent); }
.step-list b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0a0d16; font-size: 15px; }
.step-list h3 { font-size: 18px; margin: 14px 0 6px; }
.step-list p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* details */
.details dl { margin: 0 auto; max-width: 820px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.details dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 15px 20px; border-top: 1px solid var(--line); }
.details dl > div:first-child { border-top: 0; }
.details dt { color: var(--faint); font-weight: 600; font-size: 14.5px; }
.details dd { margin: 0; font-size: 15px; }

/* faq */
.faq .wrap { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--card); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* final + more */
.final { text-align: center; }
.final img { border-radius: 18px; }
.final h2 { margin: 16px 0 8px; }
.final p { color: var(--muted); margin: 0 0 22px; }
.others { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.other { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.other img { border-radius: 10px; }
.other:hover { background: rgba(255, 255, 255, .08); }
.foot { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; text-align: center; }

@media (max-width: 760px) {
  .links { display: none; }
  .top-in { gap: 10px; }
  .btn-sm span { display: none; }
  .hero { padding-top: 48px; }
  section { padding: 40px 0; }
  .details dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
