/* Redesigned realitexvr.com — two brands, one stylesheet.
   .realitex = light theme, cyan accent  |  .omlux = dark theme, sky-blue accent */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --wrap: 1100px;
}

body.realitex {
  --bg: #f7fafc;
  --bg-card: #ffffff;
  --ink: #12203a;
  --ink-soft: #45566f;
  --accent: #1fa8cc;
  --accent-ink: #0b7c9b;
  --accent-soft: #e3f5fa;
  --line: #dfe7ee;
  --band: #0e1b2c;
  --band-ink: #eaf6fa;
}

body.omlux {
  --bg: #090c11;
  --bg-card: #11161f;
  --ink: #eef4f8;
  --ink-soft: #9fb0bf;
  --accent: #7ed0f2;
  --accent-ink: #0a2635;
  --accent-soft: #14212c;
  --line: #232d3a;
  --band: #0d1218;
  --band-ink: #eef4f8;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
body.omlux a { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent-ink); }
body.omlux .wordmark { color: var(--accent); }
.wm-icon { width: 34px; }
.wordmark span { font-weight: 800; letter-spacing: .22em; font-size: 1.05rem; line-height: 1.1; display: flex; flex-direction: column; }
.wordmark small { font-weight: 500; letter-spacing: .4em; font-size: .5rem; color: var(--ink-soft); }
.logo-img img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-ink); }
body.omlux .nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; font-size: 1.4rem; background: none; border: 0; color: var(--ink); cursor: pointer; }

/* ---------- type & layout ---------- */
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; margin: 0 0 14px; font-weight: 800; letter-spacing: -.01em; }
.section { padding: 56px 20px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 6px; }
.section-title span { color: var(--ink-soft); font-weight: 600; font-size: .72em; }
.section-sub { color: var(--ink-soft); max-width: 640px; margin: 0 0 22px; }
.lead { color: var(--ink-soft); font-size: 1.06rem; max-width: 560px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .8rem; color: var(--accent-ink); margin: 0 0 6px; }
body.omlux .eyebrow { color: var(--accent); }
.muted { color: var(--ink-soft); font-size: .92rem; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: 0 18px 40px -18px rgba(14, 27, 44, .35); }
.tall { object-fit: cover; max-height: 520px; width: 100%; }

/* ---------- buttons ---------- */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .97rem; border: 2px solid transparent; cursor: pointer; font-family: var(--font); }
.btn-primary { background: var(--accent); color: #fff; }
body.omlux .btn-primary { color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- hero ---------- */
.hero-home, .hero-omlux { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-logo { height: 44px; width: auto; margin-bottom: 18px; }
body.omlux .hero-omlux { background: radial-gradient(1200px 500px at 70% 0%, #12202e 0%, transparent 60%); }

/* ---------- support band ---------- */
.support-band { background: var(--band); color: var(--band-ink); padding: 56px 0; }
.support-band .eyebrow { color: #6fd3ef; }
.support-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 8px; }
.support-band .lead { color: #b9cbd8; }
.support-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.support-band .btn-ghost { color: #eaf6fa; border-color: #33475c; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.thumb { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.thumb:hover img { transform: scale(1.04); }
.play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.1rem; background: linear-gradient(180deg, transparent 45%, rgba(10, 18, 28, .55)); }
.play::before { content: ""; }
.thumb .play { padding-left: 4px; }
.thumb.static .play { display: none; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.card-body h3 a { text-decoration: none; color: var(--ink); }
.card-body p { margin: 0; color: var(--ink-soft); font-size: .93rem; flex: 1; }
.watch { font-weight: 700; font-size: .9rem; text-decoration: none; }

/* ---------- steps / notes ---------- */
.steps { background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 26px; max-width: 720px; }
.steps h4 { margin: 0 0 8px; font-size: 1rem; }
.steps ol { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.steps li { margin: 4px 0; }
.steps.warn { border-left: 4px solid #e8a13c; max-width: 860px; }
.steps.warn p { color: var(--ink-soft); font-size: .95rem; margin: 8px 0; }

/* ---------- app store buttons ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.store { font-size: .8rem; font-weight: 700; text-decoration: none; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); }
.store.android { background: var(--accent-soft); }
.store.ios { background: var(--accent-soft); }
.store.android-alt { border-style: dashed; }
.store.none { color: var(--ink-soft); border-style: dashed; font-weight: 500; }
.store:not(.none):hover { border-color: var(--accent); }

/* ---------- tiles (vrappsr quick nav) ---------- */
.tile-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-top: 28px; padding-bottom: 6px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--ink); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px 14px; font-weight: 700; font-size: .85rem; line-height: 1.25; }
.tile img { height: 64px; width: auto; }
.tile:hover { border-color: var(--accent); }
.tile.disabled { opacity: .45; cursor: default; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

/* ---------- product / benefits (Omlux) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.benefit h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--accent); }
body.realitex .benefit h3 { color: var(--accent-ink); }
.benefit p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 10px; max-width: 480px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form textarea { font-family: var(--font); font-size: 1rem; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form .btn { align-self: flex-start; }
.sent-note { color: #1d9e57; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0; font-size: .9rem; color: var(--ink-soft); }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- modal (Omlux out-of-stock) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(5, 8, 12, .7); }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: #f4f7fa; color: #12203a; border-radius: 16px; padding: 46px 54px; text-align: center; max-width: 420px; margin: 20px; }
.modal-box h2 { margin: 0 0 10px; font-size: 2.4rem; }
.modal-box p { margin: 0; color: #45566f; font-size: 1.05rem; }
.modal-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: #45566f; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .support-grid { grid-template-columns: 1fr; }
  .tile-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .grid, .product-grid, .benefit-grid { grid-template-columns: 1fr; }
  .tile-row { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 22px 20px; gap: 14px; }
  .nav-links.open { display: flex; }
}
