/* mobilnivr-rs.com - "the VR stage": near-black cosmos, cyan headset glow,
   luminous gradient category panels. Accent #00d5ff comes from the product's
   own logo mark; the tile gradients echo its 3D category menu. */

:root {
  --bg: #04070f;
  --surface: #0b1322;
  --surface-2: #101b2f;
  --text: #edf4fc;
  --muted: #94a5bc;
  --accent: #00d5ff;
  --accent-deep: #0090c8;
  --accent-soft: rgba(0, 213, 255, 0.12);
  --border: rgba(140, 172, 214, 0.16);
  --radius: 16px;
  --header-h: 72px;
  --font-display: 'Exo 2', 'Trebuchet MS', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 700; }

.container { width: min(1140px, 92vw); margin-inline: auto; }
.container-narrow { width: min(760px, 92vw); margin-inline: auto; }

.section { padding: 4.6rem 0; }
.section-tint { background: linear-gradient(180deg, rgba(0, 213, 255, 0.045), rgba(0, 213, 255, 0) 55%), var(--surface); }

.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); margin-top: 0.7rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .hz-rule { margin-inline: auto; }

.hz-rule {
  display: block; width: 52px; height: 3px; margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 0.72rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  color: #01222e;
  box-shadow: 0 4px 22px rgba(0, 213, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 213, 255, 0.4); }
.btn-ghost {
  border-color: var(--border); color: var(--text); background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.86rem; }
.btn-lg { padding: 0.85rem 1.9rem; font-size: 1rem; }

/* ---------- Header + nav ---------- */

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(4, 7, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  direction: ltr; /* keeps logo-left in every locale */
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 30px; width: auto; }

.site-nav-desktop { display: flex; align-items: center; gap: 1.35rem; font-size: 0.93rem; font-weight: 600; }
.site-nav-desktop a:not(.btn) { color: var(--muted); transition: color 0.15s ease; }
.site-nav-desktop a:not(.btn):hover, .site-nav-desktop a.active { color: var(--text); }

.lang-switcher { display: inline-flex; gap: 0.3rem; }
.lang-pill {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.24rem 0.6rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted);
}
.lang-active { color: #01222e; background: var(--accent); border-color: var(--accent); }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.4rem; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

.site-nav {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 800;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 5vw 1.4rem;
  flex-direction: column; gap: 0.2rem;
  transform: translateY(-110%); visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
}
.site-nav a:not(.btn) { padding: 0.6rem 0; font-weight: 600; color: var(--muted); }
.site-nav .btn { width: 100%; justify-content: center; margin-top: 0.6rem; }
.site-nav .lang-switcher { padding: 0.8rem 0 0; }

@media (max-width: 880px) {
  .site-nav-desktop { display: none; }
  .nav-burger { display: flex; }
  .site-nav { display: flex; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .site-header .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero: the VR stage ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 4.2rem) 0 4.2rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 44% at 74% 46%, rgba(0, 213, 255, 0.13), transparent 70%),
    radial-gradient(34% 30% at 18% 18%, rgba(58, 29, 99, 0.4), transparent 70%),
    radial-gradient(60% 42% at 50% 108%, rgba(18, 58, 107, 0.5), transparent 72%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 2.4rem; align-items: center; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 213, 255, 0.3);
  border-radius: 999px; padding: 0.38rem 0.9rem; margin-bottom: 1.3rem;
}
.hero-pill svg { width: 1.15em; height: 1.15em; }

.hero h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 34px rgba(0, 213, 255, 0.45); }
.hero-sub-wrap { max-width: 520px; }
.hero-sub { color: var(--muted); font-size: 1.06rem; margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero-stage { position: relative; min-height: 380px; }
.stage-ring {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  width: min(340px, 80%); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 213, 255, 0.35);
  box-shadow: 0 0 70px rgba(0, 213, 255, 0.2), inset 0 0 60px rgba(0, 213, 255, 0.1);
}
.stage-ring::after {
  content: ''; position: absolute; inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 213, 255, 0.2);
}
.hero-stage .float { position: absolute; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
.float-a { width: 42%; left: 6%; top: 6%; animation: bob 7s ease-in-out infinite; }
.float-b { width: 30%; right: 8%; top: 24%; animation: bob 8.4s ease-in-out 0.8s infinite; }
.float-c { width: 26%; left: 26%; bottom: 0; animation: bob 9.2s ease-in-out 1.6s infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { min-height: 300px; order: -1; }
}

/* ---------- Category tiles ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cat-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 1.2rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45); }
.cat-obj { height: 128px; display: flex; align-items: center; justify-content: center; }
.cat-obj img { max-height: 100%; width: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)); }
.cat-cap h3 { margin-bottom: 0.35rem; }
.cat-cap p { color: rgba(238, 244, 252, 0.78); font-size: 0.88rem; line-height: 1.55; }

/* One gradient per category, echoing the product's own menu panels. */
.cat-1 { background: linear-gradient(135deg, #0d4a46 0%, #0a1626 68%); }
.cat-2 { background: linear-gradient(135deg, #14522a 0%, #0a1626 68%); }
.cat-3 { background: linear-gradient(135deg, #3d1e6b 0%, #0a1626 68%); }
.cat-4 { background: linear-gradient(135deg, #611523 0%, #0a1626 68%); }
.cat-5 { background: linear-gradient(135deg, #5e3f10 0%, #0a1626 68%); }
.cat-6 { background: linear-gradient(135deg, #14264f 0%, #0a1626 68%); }
.cat-7 { background: linear-gradient(135deg, #123f74 0%, #0a1626 68%); }
.cat-8 { background: linear-gradient(135deg, #0e3247 0%, #0a1626 68%); }

@media (max-width: 1020px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Reasons (hairline list) ---------- */

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.4rem; }
.reasons li { padding: 1.4rem 0; border-top: 1px solid var(--border); }
.reasons h3 { margin-bottom: 0.4rem; }
.reasons p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 880px) { .reasons { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Feature cards ---------- */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feat:hover { border-color: rgba(0, 213, 255, 0.4); transform: translateY(-3px); }
.feat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 1rem;
}
.feat-icon svg { width: 24px; height: 24px; }
.feat h3 { margin-bottom: 0.45rem; }
.feat p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- Invite band ---------- */

.invite {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background:
    radial-gradient(60% 120% at 85% 20%, rgba(0, 213, 255, 0.16), transparent 60%),
    var(--surface-2);
  border: 1px solid rgba(0, 213, 255, 0.25);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.4rem 2.6rem;
}
.invite-body p { color: var(--muted); margin-top: 0.5rem; }

@media (max-width: 760px) { .invite { flex-direction: column; align-items: flex-start; } }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 0.7rem; }
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  position: relative; padding-inline-end: 2.6rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; inset-inline-end: 1.15rem; top: 50%;
  transform: translateY(-50%);
  color: var(--accent); font-size: 1.3rem; font-weight: 600;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: 0.93rem; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: calc(var(--header-h) + 3.4rem) 0 2.6rem;
  background:
    radial-gradient(48% 70% at 50% 0%, rgba(0, 213, 255, 0.1), transparent 70%);
  text-align: center;
}
.page-hero p { color: var(--muted); margin-top: 0.8rem; }
.page-hero .container-narrow { max-width: 680px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}
.step-n {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-display); font-weight: 800;
  margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing cards ---------- */

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 1.2rem; }
.price-card {
  background: var(--surface-2);
  border: 1px solid rgba(0, 213, 255, 0.3);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.7rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.price-op { color: var(--accent); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.price-amount { display: flex; align-items: baseline; gap: 0.4rem; }
.price-val { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; }
.price-freq { color: var(--muted); font-weight: 600; }
.price-trial { color: var(--muted); font-size: 0.87rem; }
.price-card .btn { margin-top: 0.7rem; }
.price-note { color: var(--muted); font-size: 0.87rem; text-align: center; margin-top: 1.6rem; }

/* ---------- Opt-out ---------- */

.optout {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  margin-bottom: 1rem;
}
.optout h3 { margin-bottom: 0.9rem; color: var(--accent); }
.optout-sms { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; font-size: 1.02rem; }
.optout-kw, .optout-dest {
  font-family: 'Courier New', monospace; font-weight: 700;
  background: rgba(0, 213, 255, 0.09);
  border: 1px solid rgba(0, 213, 255, 0.35);
  border-radius: 8px; padding: 0.3rem 0.7rem;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.optout-dest a { color: var(--accent); }
.optout-to { color: var(--text); }
.optout-notes { margin-top: 1.4rem; display: grid; gap: 0.4rem; }
.optout-notes li { color: var(--muted); font-size: 0.92rem; padding-inline-start: 1.3rem; position: relative; }
.optout-notes li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* ---------- Bullets (refund) ---------- */

.bullets { display: grid; gap: 0.55rem; max-width: 760px; }
.bullets li {
  color: var(--muted); padding-inline-start: 1.4rem; position: relative; line-height: 1.6;
}
.bullets li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
}

/* ---------- Values / vision (about) ---------- */

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.value-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.value-card h3 { margin-bottom: 0.45rem; }
.value-card p { color: var(--muted); font-size: 0.92rem; }
.vision { max-width: 760px; margin-inline: auto; }
.vision h2 { margin-bottom: 1.1rem; }
.vision p { color: var(--muted); margin-bottom: 0.9rem; }

@media (max-width: 880px) { .values { grid-template-columns: 1fr; } }

/* ---------- Forms (contact + signin) ---------- */

.contact-form, .form-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.8rem;
  margin-top: 2rem;
}
.form-card.narrow { max-width: 480px; margin-inline: auto; }
.form-group { margin-bottom: 1.1rem; }
.contact-form h3, .form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.signin-card button, .form-card button { margin-top: 0.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
}
.form-group input:focus, .form-group textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent;
}

.error-msg, .errorMsg { display: none; color: #ff5c4d; font-size: 0.82rem; margin-top: 0.3rem; }
.form-success, .successMsg { display: none; color: var(--accent); font-weight: 600; margin-top: 1rem; }
.form-disclaimer { color: var(--muted); font-size: 0.82rem; margin-top: 1rem; }

/* ---------- Legal pages ---------- */

.legals-wrap { padding: 1rem 0 3.5rem; }
.legals { padding-bottom: 2rem; }
.legals .container { width: min(840px, 92vw); margin-inline: auto; }
.legals h1 { display: none; } /* terms partial injects a hardcoded h1 - always hide it */
.legals h6 {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin: 2rem 0 0.5rem;
  font-family: var(--font-display);
}
.legals p { margin-bottom: 0.85rem; line-height: 1.75; color: var(--muted); }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; list-style: disc; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; color: var(--muted); }
.legals a { color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: #030510;
  padding: 3.4rem 0 1.8rem;
  margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.2rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin: 1rem 0 1.2rem; }
.footer-brand .logo-img { height: 26px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 0.9rem; }
.footer-col ul { display: grid; gap: 0.45rem; }
.footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }

.footer-entity { border-top: 1px solid var(--border); margin-top: 2.4rem; padding-top: 1.4rem; }
.footer-entity p { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.25rem; }
.footer-entity a { color: var(--accent); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.footer-version { opacity: 0.6; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */

.not-found { padding: calc(var(--header-h) + 5rem) 0 6rem; text-align: center; }
.big-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 8rem);
  color: var(--accent); text-shadow: 0 0 60px rgba(0, 213, 255, 0.4);
  line-height: 1;
}
.not-found h1 { margin: 0.6rem 0; }
.not-found > .container > p:not(.big-num) { color: var(--muted); }
.not-found .btn { margin-top: 1.8rem; }

/* ---------- Reveal (gated: content never hidden without JS) ---------- */

html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-stage .float { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Focus floor ---------- */

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}
