/* ===== Base ===== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #060a14;
  min-height: 100vh;
  overflow-x: hidden;
}

body:not(.page-active) {
  overflow: hidden;
  height: 100vh;
}

/* =============================================
   SPLIT HERO
   ============================================= */

#split-hero {
  position: fixed;
  inset: 0;
  display: flex;
  z-index: 50;
  transition: opacity 0.4s ease;
}

.split-side {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.split-side:focus-visible {
  outline: 2px solid white;
  outline-offset: -2px;
}

/* Backgrounds */
.split-bg {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
}

.vo-bg {
  background:
    radial-gradient(800px 500px at 30% 30%, rgba(124, 58, 237, 0.3), transparent 60%),
    radial-gradient(600px 400px at 70% 70%, rgba(6, 182, 212, 0.15), transparent 55%);
}

.lv-bg {
  background:
    radial-gradient(800px 500px at 70% 30%, rgba(16, 185, 129, 0.3), transparent 60%),
    radial-gradient(600px 400px at 30% 70%, rgba(245, 158, 11, 0.12), transparent 55%);
}

.split-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

.split-watermark {
  position: absolute;
  font-size: clamp(180px, 25vw, 320px);
  font-weight: 900;
  letter-spacing: -0.06em;
  opacity: 0.03;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

/* Split content */
.split-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 380px;
}

.split-logo {
  width: 100px;
  height: 100px;
  border-radius: 32px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.split-logo span {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1;
  user-select: none;
}

.vo-logo {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(124, 58, 237, 0.15);
}

.lv-logo {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(16, 185, 129, 0.15);
}

.split-brand {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
}

.split-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1rem;
}

.split-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1.5rem;
}

.split-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vo-cta {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.2));
  border-color: rgba(124, 58, 237, 0.4);
}

.lv-cta {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(245, 158, 11, 0.2));
  border-color: rgba(16, 185, 129, 0.4);
}

/* Hover effects */
.split-side:hover .split-logo {
  transform: translateY(-4px) scale(1.04);
}

.split-side:hover .vo-logo {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3),
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 100px rgba(124, 58, 237, 0.25);
}

.split-side:hover .lv-logo {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3),
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 100px rgba(16, 185, 129, 0.25);
}

.split-side:hover .split-cta {
  transform: translateY(-2px);
}

#split-hero:hover .split-side { flex: 0.88; }
#split-hero .split-side:hover { flex: 1.2; }

/* Divider */
.split-divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
  transform: translateX(-50%);
}

.divider-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.divider-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

/* ===== Split expansion animation ===== */

body.expanding-left #side-venueora { flex: 5; }
body.expanding-left #side-lockvault { flex: 0; opacity: 0; }
body.expanding-left .split-divider { opacity: 0; }

body.expanding-right #side-lockvault { flex: 5; }
body.expanding-right #side-venueora { flex: 0; opacity: 0; }
body.expanding-right .split-divider { opacity: 0; }

.split-divider {
  transition: opacity 0.4s ease;
}

body.page-active #split-hero {
  opacity: 0;
  pointer-events: none;
}

/* =============================================
   BRAND PAGES (shared)
   ============================================= */

.brand-page {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

body.show-venueora #venueora-page,
body.show-lockvault #lockvault-page {
  display: block;
  position: relative;
}

body.page-visible #venueora-page,
body.page-visible #lockvault-page {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.page-visible.show-venueora #venueora-page,
body.page-visible.show-lockvault #lockvault-page {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== Navigation ===== */

.brand-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(6, 10, 20, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}

.vo-logo-sm {
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
}

.lv-logo-sm {
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.nav-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.875rem 0.4rem 0.5rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.nav-switch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-switch-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1;
  user-select: none;
}

/* ===== Hero backgrounds ===== */

.hero-bg {
  position: absolute;
  inset: 0;
}

.vo-hero-bg {
  background:
    radial-gradient(1100px 550px at 20% -8%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(900px 450px at 85% 0%, rgba(6, 182, 212, 0.22), transparent 50%),
    radial-gradient(600px 600px at 50% 60%, rgba(124, 58, 237, 0.08), transparent 60%);
}

.lv-hero-bg {
  background:
    radial-gradient(1100px 550px at 20% -8%, rgba(16, 185, 129, 0.3), transparent 55%),
    radial-gradient(900px 450px at 85% 0%, rgba(245, 158, 11, 0.18), transparent 50%),
    radial-gradient(600px 600px at 50% 60%, rgba(16, 185, 129, 0.06), transparent 60%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.vo-hero, .lv-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ===== Glass cards ===== */

.glass-card {
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.glass-panel {
  border-radius: 24px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Icon boxes ===== */

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
}

.icon-violet { background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.30); }
.icon-cyan   { background: rgba(6, 182, 212, 0.10); border-color: rgba(6, 182, 212, 0.30); }
.icon-green  { background: rgba(16, 185, 129, 0.10); border-color: rgba(16, 185, 129, 0.30); }
.icon-amber  { background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.30); }

/* ===== Ticket visual (VenueOra) ===== */

.ticket-visual {
  position: relative;
  height: 200px;
  border-radius: 18px;
  background:
    radial-gradient(400px 180px at 25% 20%, rgba(124, 58, 237, 0.2), transparent 60%),
    radial-gradient(400px 180px at 80% 50%, rgba(6, 182, 212, 0.15), transparent 55%),
    rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ticket {
  position: absolute;
  left: 50%;
  width: 80%;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.ticket::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.65), rgba(6, 182, 212, 0.55));
}

.ticket::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.t1 { top: 40px; transform: translateX(-50%) rotate(-1.5deg); }
.t2 { top: 62px; transform: translateX(-50%) rotate(1deg); opacity: 0.88; }
.t3 { top: 84px; transform: translateX(-50%) rotate(-0.5deg); opacity: 0.76; }

.scanline {
  position: absolute;
  left: -20%;
  right: -20%;
  top: 0;
  height: 36px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(6deg);
  animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
  0%   { transform: translateY(-100px) rotate(6deg); opacity: 0; }
  15%  { opacity: 1; }
  65%  { opacity: 0.6; }
  100% { transform: translateY(250px) rotate(6deg); opacity: 0; }
}

/* ===== Step numbers (LockVault) ===== */

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  border: 1px solid;
}

.lv-step {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.30);
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Pricing cards ===== */

.pricing-card {
  padding: 28px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
}

.pricing-popular {
  background: linear-gradient(170deg, rgba(16, 185, 129, 0.1), rgba(255, 255, 255, 0.04));
  border-color: rgba(16, 185, 129, 0.3);
}

.pricing-popular:hover {
  border-color: rgba(16, 185, 129, 0.5);
}

.popular-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.pricing-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2334d399' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== Scroll-reveal animations ===== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ===== Responsive ===== */

@media (max-width: 768px) {
  #split-hero {
    flex-direction: column;
  }

  .split-divider {
    left: 0;
    top: 50%;
    bottom: auto;
    width: 100%;
    height: 0;
    flex-direction: row;
    transform: translateY(-50%);
  }

  .divider-line {
    height: 1px;
    width: 100%;
    flex: 1;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  }

  .split-watermark {
    font-size: 120px;
  }

  .split-logo {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    margin-bottom: 1rem;
  }

  .split-logo span {
    font-size: 28px;
  }

  .split-brand {
    font-size: 1.5rem;
  }

  .split-desc {
    display: none;
  }

  #split-hero:hover .split-side { flex: 1; }
  #split-hero .split-side:hover { flex: 1.15; }

  .nav-links {
    display: none;
  }

  .nav-inner {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .split-content {
    padding: 1rem;
  }

  .split-tagline {
    font-size: 0.875rem;
  }

  .split-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }

  .divider-badge {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scanline { animation: none; }
  .glass-card:hover { transform: none; }
  .pricing-card:hover { transform: none; }
  .split-side { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand-page { transition: none; }
}
