:root {
  --bg: #070b14;
  --bg-alt: #0c1220;
  --surface: #121a2b;
  --border: #243049;
  --text: #e8eefc;
  --muted: #9aa8c3;
  --accent: #5b8cff;
  --accent-2: #7c5cff;
  --danger: #e23d3d;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92%); margin-inline: auto; }
.narrow { width: min(720px, 92%); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px solid transparent; border-radius: 999px;
  padding: .7rem 1.25rem; font: inherit; font-weight: 600; cursor: pointer;
  color: inherit;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); text-decoration: none; }

.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; background: var(--surface); border-top: 1px solid var(--border);
}
.cookie-actions { display: flex; gap: .5rem; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,11,20,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; }
.logo { display: flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; }
.logo__mark {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--accent);
  background: radial-gradient(circle at center, var(--accent) 0 3px, transparent 4px);
  box-shadow: 0 0 14px rgba(91,140,255,.45);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text small { color: var(--muted); font-size: .7rem; min-height: .7rem; }
.header__nav { display: none; gap: 1.1rem; margin-left: auto; }
.header__nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.header__nav a:hover { color: var(--text); }
.header__cta { display: none; }
.burger {
  margin-left: auto; background: none; border: 0; width: 40px; height: 40px;
  display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); }
.mobile-nav { display: grid; gap: .75rem; padding: 0 0 1rem; border-top: 1px solid var(--border); }
.mobile-nav a { color: var(--text); text-decoration: none; }
@media (min-width: 860px) {
  .header__nav, .header__cta { display: flex; }
  .burger, .mobile-nav { display: none !important; }
}

.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 55% at 80% 10%, rgba(91,140,255,.22), transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(124,92,255,.12), transparent 50%),
    var(--bg);
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.eyebrow {
  display: inline-block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .75rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 1rem; }
.hero h1 .accent {
  background: linear-gradient(135deg, #9bbcff, #b39bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.5rem; max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.disclaimer-inline { color: var(--muted); font-size: .8rem; margin: 0; }

.hero-card { display: block; color: inherit; text-decoration: none; }
.hero-card__screen {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: #05070d;
  aspect-ratio: 16/10;
}
.mini-viewer {
  width: 100%; height: 100%;
  background:
    linear-gradient(180deg, #9ec4e0 0 46%, #d8c9a8 48%, #6b5a48 100%);
}
.hero-card__caption { display: block; margin-top: .6rem; color: var(--muted); font-size: .85rem; }

.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 2rem; max-width: 40rem; }
.section__head h2 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.section__head p { margin: 0; color: var(--muted); }

.cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  padding: 1.35rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.card h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.embed-viewer {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: #05070d;
  aspect-ratio: 16/9;
}
.embed-viewer canvas {
  width: 100%; height: 100%; display: block; cursor: grab; touch-action: none;
}
.embed-viewer canvas:active { cursor: grabbing; }

.viewer-chrome {
  position: absolute; inset: 0; pointer-events: none;
}
.viewer-chrome--mini .toolbar { transform: scale(.85); transform-origin: left bottom; }
.brand-pill {
  position: absolute; top: .85rem; left: .85rem;
  padding: .3rem .65rem; border-radius: 8px;
  background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  pointer-events: none;
}
.toolbar {
  position: absolute; left: .85rem; bottom: .85rem;
  display: flex; gap: .35rem; pointer-events: auto;
  padding: .35rem; border-radius: 12px;
  background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
}
.toolbar button, .fs-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 0;
  background: transparent; color: #fff; cursor: pointer; font-size: .95rem;
}
.toolbar button:hover, .fs-btn:hover { background: rgba(255,255,255,.12); }
.toolbar button.is-active { background: rgba(91,140,255,.35); }
.fs-btn {
  position: absolute; right: .85rem; bottom: .85rem; pointer-events: auto;
  background: rgba(0,0,0,.45);
}
.mode-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(5,7,13,.72); color: #fff; font-size: 1.1rem; font-weight: 600;
  pointer-events: none;
}
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(91,140,255,.7);
  pointer-events: auto; cursor: pointer;
  box-shadow: 0 0 0 6px rgba(91,140,255,.2);
  transform: translate(-50%, -50%);
}
.hint { margin: .85rem 0 0; color: var(--muted); }

.capture-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .capture-grid { grid-template-columns: 1fr 320px; } }
.steps { margin: 0 0 1.25rem; padding-left: 0; list-style: none; color: var(--muted); }
.steps li { margin-bottom: .65rem; }
.steps strong { color: var(--text); }

.phone-mock {
  width: min(280px, 100%); margin-inline: auto;
  padding: 12px; border-radius: 28px;
  background: #111; border: 1px solid #333;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.phone-mock__screen {
  border-radius: 20px; overflow: hidden; background: #1a1f2a;
  aspect-ratio: 9/16; display: flex; flex-direction: column;
}
.capture-top {
  padding: .65rem .75rem; font-size: .7rem; background: rgba(0,0,0,.55); color: #ddd;
}
.capture-stage {
  flex: 1; position: relative;
  background:
    linear-gradient(180deg, rgba(20,30,50,.3), rgba(10,12,20,.6)),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(91,140,255,.12) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(91,140,255,.12) 19px),
    #2a3348;
}
.scan-pin {
  position: absolute; left: 42%; top: 48%;
  width: 36px; height: 36px; border-radius: 8px; transform: translate(-50%,-50%) rotate(45deg);
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-weight: 700; box-shadow: 0 0 0 6px rgba(91,140,255,.25);
}
.scan-pin { transform: translate(-50%,-50%); border-radius: 10px; clip-path: polygon(25% 5%, 75% 5%, 95% 50%, 75% 95%, 25% 95%, 5% 50%); }
.capture-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; background: rgba(0,0,0,.65); font-size: .72rem; color: #ccc;
}
.rec-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 3px solid #fff;
  background: var(--danger); cursor: default;
}

.faq details {
  border: 1px solid var(--border); border-radius: 12px; padding: .85rem 1rem;
  background: var(--surface); margin-bottom: .65rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: .65rem 0 0; }

.footer { border-top: 1px solid var(--border); padding: 2rem 0; background: #05070d; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
.footer p { margin: .35rem 0 0; color: var(--muted); font-size: .85rem; }
.footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer nav a { color: var(--muted); }

.tour-app{position:fixed;inset:0;display:grid;grid-template-rows:auto 1fr auto;background:#0a0c10;color:#f4f6fa}
.tour-top,.tour-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:10px 16px;background:rgba(10,12,16,.94);flex-wrap:wrap}
.tour-top{border-bottom:1px solid rgba(255,255,255,.08)}
.tour-bottom{border-top:1px solid rgba(255,255,255,.08)}
.tour-meta{color:#a8b0c0;font-size:.85rem}.tour-meta strong{color:#fff}
.tour-stage{position:relative;min-height:0}#panorama{width:100%;height:100%}
.tour-tools,.room-list{display:flex;gap:6px;flex-wrap:wrap}
.tour-tools button,.room-pill{background:#1a2030;color:#fff;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:8px 12px;cursor:pointer;font:inherit;font-size:.85rem}
.tour-tools button.active,.room-pill.active{border-color:#3d8bfd;background:rgba(61,139,253,.18)}
.measure-toast,.mode-toast{position:absolute;left:50%;top:16px;transform:translateX(-50%);background:rgba(0,0,0,.7);color:#fff;padding:8px 14px;border-radius:999px;font-size:.85rem;z-index:6;display:none}
.measure-toast.show,.mode-toast.show{display:block}
.floorplan-overlay,.dollhouse-overlay{position:absolute;inset:0;background:rgba(8,10,14,.92);display:none;align-items:center;justify-content:center;z-index:4;flex-direction:column;gap:1rem;padding:1.5rem}
.floorplan-overlay.show,.dollhouse-overlay.show{display:flex}
.floorplan-box,.dollhouse-box{width:min(520px,92vw);aspect-ratio:4/3;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#121722;position:relative}
.floorplan-box::after,.dollhouse-box::after{content:"SUPERGROK · plano / dollhouse 3D";position:absolute;inset:0;display:grid;place-items:center;color:#a8b0c0;font-size:.9rem;text-align:center;padding:1rem}
.sg-note{color:#a8b0c0;font-size:.8rem;text-align:center;max-width:40ch}
.legal-page{max-width:720px;margin:2rem auto;padding:0 1.25rem 3rem}
.back{color:#a8b0c0;display:inline-block;margin-bottom:1rem}
