@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300..900;1,8..60,300..900&family=DM+Sans:ital,opsz,wght@0,9..40,300..800;1,9..40,300..800&display=swap');

:root {
  --cream: #faf9f7;
  --cream-2: #f4f1ec;
  --ink: #1a1a2e;
  --ink-2: #2a2a3e;
  --gold: #c9973b;
  --gold-2: #b0842f;
  --gold-soft: #e8d3a3;
  --muted: #8b8b9e;
  --muted-2: #6b6b7e;
  --rose: #b34040;
  --olive: #6b5b3e;
  --line: rgba(26,26,46,0.08);
  --line-strong: rgba(26,26,46,0.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.serif {
  font-family: 'Source Serif 4', Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}

.sans { font-family: 'DM Sans', sans-serif; }

/* Soft cream grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(26,26,46,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.6;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fade-in-overlay { animation: fadeInOverlay 0.35s ease-out forwards; }

@keyframes slideUpCard {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.slide-up-card { animation: slideUpCard 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

@keyframes flameFlicker {
  0%, 100% { transform: scale(1) rotate(-1deg); opacity: 0.95; }
  50%      { transform: scale(1.08) rotate(1.5deg); opacity: 1; }
}
.flame { animation: flameFlicker 2.2s ease-in-out infinite; transform-origin: bottom center; }

@keyframes subtleZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}
.subtle-zoom { animation: subtleZoom 22s ease-in-out infinite alternate; }

/* Gold gradient text */
.gold-grad {
  background: linear-gradient(92deg, #c9973b 0%, #d9b26a 45%, #8b8b9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ink-grad {
  background: linear-gradient(92deg, #1a1a2e 0%, #4a4a66 60%, #8b8b9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: #000; transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 22px -10px rgba(201,151,59,0.6);
}
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(26,26,46,0.04); }

/* Tab bar */
.tabs {
  display: inline-flex;
  align-items: center;
  background: rgba(26,26,46,0.05);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 5px;
  gap: 2px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  background: transparent;
}
.tab:hover { color: var(--ink); }
.tab.active {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(26,26,46,0.05);
}
.tab-divider {
  width: 1px;
  height: 18px;
  background: var(--line-strong);
}

/* Hero media */
.hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b0b18;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 40px 80px -40px rgba(26,26,46,0.35),
    0 0 0 1px rgba(26,26,46,0.06);
}
.hero-media video,
.hero-media .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 60%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%),
    linear-gradient(180deg, rgba(10,8,20,0.25) 0%, rgba(10,8,20,0.05) 30%, rgba(10,8,20,0.35) 100%);
}

/* Demo widget card */
.widget-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  top: auto;
  z-index: 3;
  width: min(420px, 86%);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(26,26,46,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 20px 60px -20px rgba(0,0,0,0.35),
    0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
}
.widget-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
}
.widget-head > div:first-child { line-height: 1.2; }
.widget-title {
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.widget-x {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 999px; color: var(--muted-2);
  cursor: pointer;
}
.widget-x:hover { background: rgba(26,26,46,0.05); }

.widget-body { padding: 14px 16px 16px; }

.row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 10px 2px; font-size: 13.5px;
}
.row + .row { border-top: 1px dashed var(--line); }
.row .label { color: var(--muted-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .val { color: var(--ink); font-weight: 500; white-space: nowrap; flex-shrink: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: rgba(201,151,59,0.12); color: var(--gold-2);
  border: 1px solid rgba(201,151,59,0.25);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(26,26,46,0.04);
  border: 1px solid var(--line);
  font-size: 13px; color: var(--ink);
  cursor: pointer;
}
.chip.active {
  background: rgba(201,151,59,0.12);
  border-color: rgba(201,151,59,0.4);
  color: var(--gold-2);
}

/* Floating corner badges in hero media */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}

/* Payment strip */
.pay-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 36px; flex-wrap: wrap;
}
.pay-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  opacity: 0.75;
}

/* Ornament divider */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  color: var(--gold);
}
.ornament .line {
  height: 1px; width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

/* Progress bar inside widget */
.progress {
  height: 4px;
  background: rgba(26,26,46,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.progress > div {
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before, .eyebrow::after {
  content: "";
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--gold-soft);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.nav-links {
  display: flex; align-items: center; gap: 30px;
}
.nav-link {
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 450;
}
.nav-link:hover { color: var(--ink); }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Cross mark (svg styling helper) */
.cross-mark {
  width: 22px; height: 22px;
  color: var(--gold);
}

/* Small checkbox list */
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--ink-2);
}
.check-list li svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* Responsive tweaks */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero-h1 { font-size: 44px !important; }
  .tabs { flex-wrap: wrap; }
}

/* Remove default button styles */
button { font-family: inherit; color: inherit; }

/* Dot-in-square for rating-badge */
.star-box .dot-square {
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--gold);
}

/* =========================================================
   Why block — split with photo collage on the right
   ========================================================= */
.why-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.why-cards { display: flex; flex-direction: column; gap: 18px; }
.why-card { padding: 28px 30px; }
.why-card h3 { margin: 14px 0 8px; }

@media (max-width: 960px) {
  .why-split { grid-template-columns: 1fr; gap: 36px; }
  .photo-collage { max-width: 520px; margin: 0 auto; }
}

/* Photo collage */
.photo-collage {
  position: sticky; top: 40px;
  width: 100%;
  min-width: 0;
  display: flex; flex-direction: column; gap: 18px;
  padding: 12px 0;
}
.photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(26,26,46,0.25), 0 2px 6px rgba(26,26,46,0.06);
  border: 1px solid rgba(26,26,46,0.06);
  background: #0e0b18;
  transform-origin: center;
}
.photo-frame.pc-1 { align-self: flex-end; width: 78%; aspect-ratio: 4/3; transform: rotate(-1.2deg); }
.photo-frame.pc-2 { align-self: flex-start; width: 88%; aspect-ratio: 16/10; margin-left: -14px; transform: rotate(0.8deg); z-index: 2; }
.photo-frame.pc-3 { align-self: flex-end; width: 82%; aspect-ratio: 5/3; transform: rotate(-0.6deg); }

.photo-scene {
  position: absolute; inset: 0;
  overflow: hidden;
}
.photo-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 1px;
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.photo-label {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(250,249,247,0.85);
  font-weight: 500;
  background: rgba(10,8,20,0.55);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 3;
}

/* Phone mock scene */
.phone-scene {
  background:
    radial-gradient(90% 70% at 30% 30%, rgba(201,151,59,0.18), transparent 60%),
    linear-gradient(160deg, #2a2438 0%, #0e0b18 100%);
  display: grid;
  place-items: center;
  padding: 14px;
}
.phone-mock {
  width: 58%;
  aspect-ratio: 10/19;
  max-height: 86%;
  border-radius: 22px;
  background: #1a1625;
  border: 1px solid rgba(201,151,59,0.25);
  padding: 8px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.3);
  position: relative;
  transform: rotate(-4deg);
}
.phone-screen {
  background: linear-gradient(180deg, #faf9f7, #efebe3);
  border-radius: 14px;
  height: 100%;
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.phone-widget { display: flex; flex-direction: column; gap: 7px; }
.phone-widget .pw-head { height: 8px; background: var(--gold); border-radius: 2px; width: 62%; }
.phone-widget .pw-row { height: 10px; background: rgba(26,26,46,0.1); border-radius: 2px; }
.phone-widget .pw-row:nth-child(3) { width: 80%; }
.phone-widget .pw-btn { height: 18px; background: var(--gold); border-radius: 4px; margin-top: 6px; }

/* Candle scene */
.candle-scene {
  background:
    radial-gradient(60% 80% at 50% 60%, rgba(201,151,59,0.35), transparent 70%),
    linear-gradient(180deg, #2a1d12, #0a0608 70%);
}
.candle-glow {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,120,0.75), rgba(201,151,59,0.25) 40%, transparent 70%);
  filter: blur(6px);
  transform: translate(-50%, -50%);
  animation: flameBreath 2.5s ease-in-out infinite alternate;
}
.candle-glow:nth-child(2) { animation-delay: 0.6s; }
.candle-glow:nth-child(3) { animation-delay: 1.1s; }
@keyframes flameBreath {
  from { opacity: 0.75; transform: translate(-50%, -50%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -52%) scale(1.08); }
}
.candle-sil { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Dome scene */
.dome-scene {
  background: linear-gradient(180deg, #1a1a2e, #0e0b18);
}

.collage-accent {
  position: absolute;
  top: -6px; right: 10%;
  color: var(--gold);
  opacity: 0.35;
  z-index: 4;
  transform: rotate(8deg);
  pointer-events: none;
}

/* =========================================================
   Video showcase (WhatItDoes)
   ========================================================= */
.video-showcase {
  background: linear-gradient(180deg, #1a1a2e, #0e0b18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(26,26,46,0.45), 0 2px 8px rgba(26,26,46,0.08);
  cursor: pointer;
  border: 1px solid rgba(26,26,46,0.15);
}
.vs-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vs-dot { width: 11px; height: 11px; border-radius: 50%; }
.vs-url {
  margin-left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: rgba(250,249,247,0.7);
  background: rgba(255,255,255,0.06);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
}
.vs-url svg { opacity: 0.7; }

.vs-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(70% 50% at 50% 20%, rgba(201,151,59,0.12), transparent 70%),
    #0e0b18;
  overflow: hidden;
}

/* Fake website behind */
.vs-site {
  position: absolute; inset: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, #faf9f7, #efebe3);
  display: flex; flex-direction: column; gap: 14px;
}
.vs-site-nav {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.vs-logo-dot {
  width: 22px; height: 22px; border-radius: 4px;
  background: var(--gold);
}
.vs-nav-lines {
  display: flex; gap: 14px; margin-left: auto;
}
.vs-nav-lines span {
  display: block; width: 40px; height: 5px; background: rgba(26,26,46,0.14); border-radius: 2px;
}
.vs-site-title {
  font-family: 'Source Serif 4', serif;
  font-size: 24px; font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.vs-site-sub {
  height: 8px; background: rgba(26,26,46,0.1); border-radius: 2px;
  width: 80%;
}
.vs-site-sub.short { width: 55%; }
.vs-site-cta {
  align-self: flex-start;
  margin-top: 6px;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
}

/* Dim overlay */
.vs-overlay {
  position: absolute; inset: 0;
  background: rgba(10,8,20,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.vs-overlay.on { opacity: 1; }

/* Widget overlay */
.vs-widget {
  position: absolute;
  left: 50%; bottom: 16%;
  transform: translate(-50%, 30px);
  width: min(320px, 78%);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  font-size: 12px;
}
.vs-widget.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
.vs-w-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26,26,46,0.06);
}
.vs-w-eyebrow {
  font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-2); font-weight: 600;
}
.vs-w-title {
  font-family: 'Source Serif 4', serif; font-size: 16px;
  color: var(--ink); font-weight: 500; margin-top: 3px;
}
.vs-w-x {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  color: var(--muted); font-size: 16px;
  background: rgba(26,26,46,0.04);
}
.vs-w-tabs { display: flex; gap: 4px; margin-bottom: 12px; }
.vs-w-tab {
  flex: 1; text-align: center;
  padding: 6px 4px;
  background: rgba(26,26,46,0.04);
  border-radius: 8px;
  font-size: 11px; color: var(--muted-2); font-weight: 500;
}
.vs-w-tab.active {
  background: var(--gold-soft);
  color: var(--ink);
}
.vs-w-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(26,26,46,0.05);
  font-size: 12px;
}
.vs-w-row span { color: var(--muted-2); }
.vs-w-row .v { color: var(--ink); font-weight: 500; }
.vs-w-row .v.gold { color: var(--gold-2); }
.vs-w-btn {
  text-align: center;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500; font-size: 12px;
  padding: 10px; border-radius: 10px;
  margin-top: 10px;
}

/* Play button */
.vs-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, opacity 0.3s ease;
  z-index: 4;
}
.video-showcase:hover .vs-play { transform: translate(-50%, -50%) scale(1.05); }
.vs-play.playing { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }

/* Timeline */
.vs-timeline {
  position: absolute;
  left: 20px; right: 20px; bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(10,8,20,0.55);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 10.5px;
  color: rgba(250,249,247,0.85);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.04em;
  z-index: 4;
}
.vs-bar {
  flex: 1; height: 3px; background: rgba(255,255,255,0.2); border-radius: 999px; overflow: hidden;
}
.vs-bar-fill {
  height: 100%; background: var(--gold);
  width: 25%;
  transition: width 0.4s ease;
}
.vs-bar-fill.playing { width: 60%; animation: vsProgress 6s linear infinite; }
@keyframes vsProgress {
  from { width: 25%; }
  to   { width: 95%; }
}

/* =========================================================
   Photo backgrounds → replaced by centered glow behind ForTemple block
   ========================================================= */
.section-with-glow { position: relative; overflow: hidden; }
.glow-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: grid;
  place-items: center;
}
.glow-orb {
  width: min(720px, 80%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 40%, rgba(232,211,163,0.9) 0%, transparent 55%),
    radial-gradient(circle at 55% 55%, rgba(201,151,59,0.75) 0%, transparent 60%),
    radial-gradient(circle at 35% 60%, rgba(179,64,64,0.35) 0%, transparent 55%);
  filter: blur(90px) saturate(1.1);
  opacity: 0.45;
  transform: translateY(6%);
}
@media (max-width: 720px) {
  .glow-orb { filter: blur(60px); opacity: 0.35; }
}

/* =========================================================
   Footer decorative visual
   ========================================================= */
.site-footer { position: relative; overflow: hidden; }
.footer-visual {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 65%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

/* =========================================================
   Why — zebra layout (text + photo, alternating)
   ========================================================= */
.why-zebra {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
}
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.why-row--reverse { direction: rtl; }
.why-row--reverse > * { direction: ltr; }

.why-row .why-card { margin: 0; }
.why-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px -25px rgba(26,26,46,0.35), 0 0 0 1px var(--line);
}
.why-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 720px) {
  .why-row, .why-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 16px;
  }
  .why-row--reverse > * { direction: ltr; }
}

/* =========================================================
   Hero — mobile burger + drawer (only ≤720px)
   ========================================================= */
.hero-burger {
  display: none;  /* hidden on desktop */
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  margin-right: 4px;
}
.hero-burger:hover { background: rgba(26,26,46,0.05); }

.hero-mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 100;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.hero-mobile-drawer .nav-link {
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.hero-mobile-drawer .btn { margin-top: 12px; }

@media (max-width: 720px) {
  .hero-burger { display: flex; }
  .hero-nav .nav-links { display: none; }
  .hero-nav .nav-cta-desktop { display: none !important; }
  .hero-nav .logo { flex: 1; display: flex; justify-content: center; }
}

/* =========================================================
   Hero — video overlay + «Это ваш сайт» caption
   ========================================================= */
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,20,0.32) 0%, rgba(10,8,20,0.18) 30%, rgba(10,8,20,0.42) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-video-caption {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.8);
  background: rgba(0,0,0,0.35);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .hero-video-caption { top: 10px; font-size: 11px; padding: 4px 10px; }
}

/* =========================================================
   Hero media — mobile responsive
   ========================================================= */
@media (max-width: 720px) {
  .hero-h1 { font-size: clamp(34px, 9vw, 48px) !important; }
  .hero-media { aspect-ratio: 9 / 14 !important; min-height: 540px !important; }
  .widget-card { width: 92% !important; bottom: 16px !important; }
  /* tabs row gets crowded on narrow — reduce font */
  .tabs.tabs-on-dark .tab { padding: 7px 10px !important; font-size: 11.5px !important; }
  .tabs-in-media { top: 50px !important; }  /* отступ под caption «Это ваш сайт» */
}
@media (max-width: 480px) {
  .hero-media { min-height: 600px !important; }
  .tabs.tabs-on-dark .tab span { display: none; } /* только иконки */
  .tabs.tabs-on-dark .tab { padding: 8px !important; }
}

/* =========================================================
   Why — два layout'а: desktop=плитка, mobile=зебра
   ========================================================= */
.why-mobile { display: none; }   /* по умолчанию (desktop) */
@media (max-width: 720px) {
  .why-desktop { display: none; }
  .why-mobile { display: flex !important; }
}

.why-mobile {
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
}
.why-mobile-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
}
.why-mobile-card .icon { margin-left: auto; margin-right: auto; }
.why-mobile-photo {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px -25px rgba(26,26,46,0.35), 0 0 0 1px var(--line);
}
.why-mobile-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =========================================================
   VideoShowcase — caption «Это ваш сайт» поверх анимации
   ========================================================= */
.vs-site-caption {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26,26,46,0.65);
  background: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

/* =========================================================
   VideoShowcase — на mobile делаем повыше, чтобы виджет помещался
   ========================================================= */
@media (max-width: 720px) {
  .vs-stage { aspect-ratio: 3 / 4 !important; }
  .vs-widget { width: min(320px, 86%) !important; }
  .vs-site-caption { top: 12px; font-size: 11px; padding: 4px 10px; }
}

/* =========================================================
   Accent row — «Каждое утро…» в ForTemple
   На desktop: иконка слева + текст справа.
   На mobile: всё центровано столбиком, текст полной ширины.
   ========================================================= */
.accent-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.accent-row__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.accent-row__text { flex: 1; min-width: 0; }
@media (max-width: 720px) {
  .accent-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .accent-row__icon { margin: 0 auto; }
  .accent-row__text { text-align: center; }
}

/* =========================================================
   Mobile drawer — overrides over прежних правил
   Drawer теперь рендерится снаружи .hero, position:fixed
   работает относительно viewport, фон полностью кремовый.
   ========================================================= */
.hero-mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 0;
  animation: drawerFade 0.2s ease;
}
.hero-mobile-drawer[hidden] {
  display: none !important;
}
@keyframes drawerFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-mobile-drawer__inner {
  flex: 1;
  background: var(--cream);
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  overflow-y: auto;
}
.hero-mobile-drawer__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(26,26,46,0.06);
  border: 0;
  cursor: pointer;
  color: var(--ink);
  display: grid; place-items: center;
  z-index: 1;
}
.hero-mobile-drawer__close:hover { background: rgba(26,26,46,0.1); }

/* =========================================================
   Join modal — «Подключить храм»
   ========================================================= */
.join-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: jmFade 0.2s ease;
}
.join-modal-bg[hidden] {
  display: none !important;
}
@keyframes jmFade { from { opacity: 0; } to { opacity: 1; } }

.join-modal {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  animation: jmSlide 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes jmSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.join-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  border: 0;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.join-modal__close:hover { background: rgba(0,0,0,0.1); }

.join-modal__title {
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.join-modal__sub {
  margin: 0 0 20px;
  color: var(--muted-2);
  font-size: 14.5px;
}

.join-modal__option {
  border-top: 1px solid var(--line);
  padding: 18px 0 4px;
}
.join-modal__option:last-child { padding-bottom: 0; }
.join-modal__option h4 {
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.join-modal__option p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.5;
}
.join-modal__btn {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.join-modal__chat-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.join-modal__chat-row .join-modal__btn { flex: 1 1 140px; }

/* =========================================================
   VideoShowcase — на мобильном делаем блок выше (portrait).
   Десктоп остаётся с оригинальным aspect-ratio из .vs-stage.
   ========================================================= */
@media (max-width: 720px) {
  .vs-stage { aspect-ratio: 5 / 8 !important; }
}
.vs-site-caption { top: 18px !important; }
