/* =========================================================
   VR Holding — studio site
   Palette: deep space + violet→cyan gradient
   ========================================================= */

:root {
  --bg:        #07070c;
  --bg-2:      #0b0b13;
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(255, 255, 255, 0.16);

  --text:   #f3f3f8;
  --muted:  #9a9aae;
  --faint:  #6b6b7e;

  --violet: #7b6cff;
  --indigo: #5b4bff;
  --cyan:   #23e0cf;
  --pink:   #ff5ca8;

  --grad:      linear-gradient(115deg, #8a7bff 0%, #23e0cf 100%);
  --grad-soft: linear-gradient(115deg, #7b6cff 0%, #23e0cf 100%);

  --radius:   18px;
  --radius-lg: 26px;
  --maxw: 1120px;

  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* layered ambient glows behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 15% 0%,  rgba(123, 108, 255, 0.20), transparent 60%),
    radial-gradient(50% 50% at 90% 10%, rgba(35, 224, 207, 0.14), transparent 55%),
    radial-gradient(45% 45% at 50% 100%, rgba(255, 92, 168, 0.10), transparent 60%),
    var(--bg);
}
/* subtle grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan); opacity: 0.6; }

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 100px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #06060b;
  box-shadow: 0 12px 34px -10px rgba(123, 108, 255, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(123, 108, 255, 0.75); }
.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }

/* ---------- nav ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(8, 8, 14, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.brand span b { font-family: "Space Grotesk", sans-serif; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 90px; text-align: center; position: relative; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13.5px; color: var(--muted); margin-bottom: 30px;
  backdrop-filter: blur(8px);
}
.hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(35,224,207,.18); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.7rem); margin: 0 auto 24px; max-width: 15ch; }
.hero p.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--muted);
  max-width: 60ch; margin: 0 auto 38px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--faint); }

/* ---------- generic section head ---------- */
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Tcho showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.showcase .copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.showcase .copy p { color: var(--muted); margin-bottom: 18px; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.tag {
  font-size: 13px; padding: 7px 14px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}

/* phone */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::before {
  content: ""; position: absolute; inset: -10% -6%;
  background: radial-gradient(circle at 50% 45%, rgba(123,108,255,.35), transparent 62%);
  filter: blur(30px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 288px; aspect-ratio: 9 / 19.3;
  border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #1a1a26, #0c0c14);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.4) inset;
  transform: rotate(-2.5deg);
  transition: transform .5s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone .screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative; background: #05050a; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.phone .notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #05050a; border-radius: 100px; z-index: 3;
}

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(123,108,255,.22), rgba(35,224,207,.14));
  border: 1px solid var(--border); color: var(--cyan);
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: 0.95rem; margin-top: 10px; }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 120% at 15% 10%, rgba(123,108,255,.22), transparent 55%),
    radial-gradient(70% 120% at 90% 90%, rgba(35,224,207,.16), transparent 55%),
    var(--bg-2);
  padding: 68px 40px; text-align: center;
}
.cta-box h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.cta-box p { color: var(--muted); max-width: 50ch; margin: 0 auto 32px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 60px 0 46px; margin-top: 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { max-width: 300px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: 0.95rem; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 16px; font-family: "Inter", sans-serif; font-weight: 600; }
.foot-col a { display: block; color: var(--muted); font-size: 0.96rem; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--faint); font-size: 0.9rem;
}

/* ---------- legal / content pages ---------- */
.doc { padding: 70px 0 90px; }
.doc-wrap { max-width: 760px; margin: 0 auto; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 34px; transition: color .2s; }
.doc .back:hover { color: var(--text); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 12px; }
.doc .updated { color: var(--faint); font-size: 0.92rem; margin-bottom: 44px; }
.doc h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.doc p, .doc li { color: #c6c6d4; margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 8px; }
.doc a.link { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: var(--text); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 48px; }
  .showcase .copy { order: 2; text-align: center; }
  .showcase .copy p { margin-left: auto; margin-right: auto; }
  .showcase .tags { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .nav-cta .btn-ghost { display: none; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .foot-cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .phone { transition: none; }
}
