/* 
  Voxcor — Request Demo Form Styles
  Premium Multi-step design
*/

.demo-container {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: radial-gradient(circle at top right, rgba(29, 97, 242, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(29, 97, 242, 0.05), transparent 40%);
}

.demo-card {
    width: 100%;
    max-width: 650px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.demo-header {
    text-align: center;
    margin-bottom: 40px;
}

.demo-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.demo-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.step {
    width: 32px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s ease;
    font-size: 0; /* Hide text */
}

.step.active {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    width: 48px;
}

/* Form Steps */
.form-step {
    display: none;
    animation: voxFadeIn 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    margin-bottom: 24px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.field input, .field textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: white;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
}

.field input:focus, .field textarea:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(29, 97, 242, 0.1);
    outline: none;
}

.field textarea {
    height: 140px;
    resize: none;
}

.field-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Buttons */
.btn-next, .btn-submit {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-next:hover, .btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.btn-group {
    display: flex;
    gap: 16px;
}

.btn-back {
    flex: 0 0 120px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Success Message */
.success-msg {
    text-align: center;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.success-msg.hidden {
    display: none;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 0 40px var(--accent-glow);
}

@keyframes voxFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .demo-card {
        padding: 32px 24px;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital,wght@0,400;0,400i;1,400&family=Inter:wght@100;200;300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════
   DESIGN TOKENS — CrewAI-Inspired Dark Theme
   ═══════════════════════════════════════════════ */
:root {
  --bg: #000000;
  --bg-card: rgba(10, 10, 10, 0.4);
  --bg-card-hover: rgba(20, 20, 20, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #666666;
  --accent: #1d61f2; /* Professional Azure Blue */
  --accent-hover: #1546b3;
  --accent-glow: rgba(29, 97, 242, 0.4);
  --radius: 12px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --max-w: 1200px;
  --section-pad: 120px;

  /* VOX DESIGN SYSTEM — UNIFIED OVERLAYS */
  --vox-glass-bg: rgba(8, 10, 15, 0.55); /* Bluish pearl with transparency for glass effect */
  --vox-glass-blur: blur(40px) saturate(220%);
  --vox-glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --vox-glass-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --vox-input-bg: rgba(255, 255, 255, 0.02); /* More subtle */
  --vox-input-border: 1px solid rgba(255, 255, 255, 0.05);
  --vox-input-focus: rgba(255, 255, 255, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════
   VIDEO BACKGROUND
   ═══════════════════════════════════════════════ */
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: black;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.video-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Removed direct filter: blur for Safari performance */
  transition: opacity 1s ease-in-out;
}

.video-bg video.hidden {
  opacity: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  backdrop-filter: blur(10px); /* Applied blur here for better Mac performance */
  -webkit-backdrop-filter: blur(10px);
  /* Soft fade at the bottom to transition to the rest of the page */
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8) 100%);
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: 100px; /* Slightly taller for the gradient fade */
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(0, 0, 0, 0.3) 50%, 
    transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  height: 100%;
  padding: 0 40px;
}

.logo-text {
  font-family: var(--font-header);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  transition: opacity 0.3s, color 0.3s;
}

/* Dimming effect: when the nav-links container is hovered, 
   all links fade slightly, except the one being hovered. */
.nav-links:hover a {
  opacity: 0.4;
}

.nav-links a:hover {
  opacity: 1 !important;
}

@media (max-width: 900px) {
  .nav-links {
    display: none; /* Hide center links on tablet/mobile for now to avoid overlap */
  }
}

@media (max-width: 600px) {
  .navbar { height: 80px; }
  .navbar-inner { padding: 0 20px; }
  .logo-text { font-size: 22px; }
  .nav-actions { gap: 12px; }
  .nav-btn { font-size: 13px; }
  .nav-btn.primary { padding: 8px 16px; }
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-btn {
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.nav-btn.ghost {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.nav-btn.ghost:hover {
  text-decoration-color: white;
}

.nav-btn.primary {
  background: white;
  color: black;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
}

.nav-btn.primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   AUTH DROPDOWN
   ═══════════════════════════════════════════════ */
.auth-wrapper {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
}

.auth-dropdown {
  position: fixed;
  top: 120px;
  right: 40px;
  width: 380px;
  background: var(--vox-glass-bg);
  backdrop-filter: var(--vox-glass-blur);
  -webkit-backdrop-filter: var(--vox-glass-blur);
  border: var(--vox-glass-border);
  border-radius: 28px;
  padding: 48px; 
  box-shadow: var(--vox-glass-shadow);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  overflow: hidden;
}

/* Helper class for dynamic alignment */
.auth-dropdown.aligned-right {
  transform-origin: top right;
}


@media (max-width: 480px) {
  .auth-dropdown {
    width: calc(100vw - 32px);
    right: 16px;
    padding: 32px 24px;
    border-radius: 24px;
  }
}

/* ═══════════════════════════════════════════════
   AUTH OVERLAY
   ═══════════════════════════════════════════════ */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
  pointer-events: none;
}

.auth-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.auth-dropdown::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(29, 97, 242, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.auth-dropdown.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.auth-form {
  display: none;
  animation: authFadeIn 0.4s ease forwards;
}

.auth-form.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 12px 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.divider:not(:empty)::before { margin-right: 1.5em; }
.divider:not(:empty)::after { margin-left: 1.5em; }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.auth-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.field-link {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.field-link:hover {
  opacity: 0.8;
}

.auth-form input {
  width: 100%;
  padding: 14px 18px;
  background: var(--vox-input-bg);
  border: var(--vox-input-border);
  border-radius: 14px;
  color: white;
  font-size: 15px;
  transition: all 0.2s;
  outline: none;
}

.auth-form input:focus {
  background: var(--vox-input-focus);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(29, 97, 242, 0.1);
}

.auth-form .btn-submit {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s;
}

.auth-form .btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* Divider & Google Button */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 8px 0;
  font-size: 11px;
  color: var(--text-muted);
  gap: 12px;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Auth Popup UX Additions */
.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.auth-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  transform: rotate(90deg);
}

.auth-footer-toggle {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.auth-footer-toggle a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
  transition: all 0.2s;
}

.auth-footer-toggle a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.auth-footer-links {
  margin-top: 12px;
  text-align: center;
}

.auth-footer-links a {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.auth-footer-links a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   USER PROFILE DROPDOWN
   ═══════════════════════════════════════════════ */
.user-profile {
  position: relative;
  display: none; /* Shown via JS if authenticated */
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.user-profile.visible {
  display: flex;
}

.user-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-profile:hover .user-avatar {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.user-avatar svg {
  width: 16px;
  height: 16px;
}

.nav-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.nav-logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.1);
}

.nav-logout-btn svg {
  width: 16px;
  height: 16px;
}

.profile-dropdown {
  /* Removed - Keep for reference or cleanup later if preferred */
  display: none !important;
}

.profile-dropdown.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.profile-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.profile-link svg {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.profile-link:hover svg {
  opacity: 1;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 8px;
}

.profile-link.logout {
  color: #ff5c5c;
}

.profile-link.logout:hover {
  background: rgba(255, 92, 92, 0.1);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh; /* Fallback */
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 100px;
  position: relative; /* Container for absolute video */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 40px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 64px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
  max-width: none; /* Removed width restriction to allow the <br> to control the layout */
  margin-bottom: 20px; /* Reduced from 24px */
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.15), 0 0 60px rgba(255, 255, 255, 0.1);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin-bottom: 32px; /* Reduced from 48px to bring the button closer */
  line-height: 1.6;
}

.btn-cta {
  background: var(--accent);
  color: white;
  padding: 10px 24px; /* Further reduced from 12px 28px */
  border-radius: var(--radius-pill);
  font-size: 15px; /* Slightly smaller for a compact look */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 8px 16px var(--accent-glow);
}

.btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--accent-glow);
}

.btn-cta .arrow {
  font-size: 20px;
  transition: transform 0.2s;
}

.btn-cta:hover .arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   TRUST BAR (MARQUEE)
   ═══════════════════════════════════════════════ */
.trust-bar {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(29, 97, 242, 0.02) 50%, transparent 100%);
}

.trust-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-weight: 600;
}

.trust-marquee {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
  gap: 32px;
}

.trust-bar:hover .trust-marquee {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-group {
  display: flex;
  gap: 32px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.trust-item svg, .trust-logo {
  width: auto;
  height: 28px;
  opacity: 0.5;
  filter: grayscale(1) brightness(0.8);
  transition: all 0.3s ease;
}

.trust-item:hover svg, .trust-item:hover .trust-logo {
  opacity: 1;
  filter: grayscale(0) brightness(1.2);
}

/* Gradient fades on sides of marquee */
.trust-bar::before, .trust-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  z-index: 2;
  pointer-events: none;
}

.trust-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.trust-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

/* ═══════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════ */
.section {
  padding: var(--section-pad) 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-sub {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
}

/* ═══════════════════════════════════════════════
   BENTO GRID / PILLARS
   ═══════════════════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   FEATURE SPLIT & BENTO VARIANTS
   ═══════════════════════════════════════════════ */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-split.reverse {
  direction: rtl;
}

.section-split.reverse .split-text {
  direction: ltr;
}

.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.split-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.split-image:hover img {
  transform: scale(1.02);
}

.feature-tag {
  display: inline-flex;
  padding: 4px 12px;
  background: rgba(29, 97, 242, 0.1);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.why-item {
  padding: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: background 0.3s;
}

.why-item:hover {
  background: rgba(255,255,255,0.05);
}

.why-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(29, 97, 242, 0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.why-item h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.why-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   CINEMATIC MINIMALIST FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 80px 0 80px;
  background: transparent;
  border-top: none;
}



.footer-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.25;
  filter: blur(25px) brightness(0.6);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 250px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 250px);
}

.footer-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtler Watermark */
.footer-watermark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  letter-spacing: -0.05em;
}

.footer-cta {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-cta h2 {
  font-size: 72px;
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 48px;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-grid {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  padding: 0 40px;
}

.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 32px;
  font-weight: 700;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-bottom {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 120px auto 0;
  padding: 40px 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 60px;
    padding: 32px 20px 0;
  }
}

.copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.social-links {
  display: flex;
  gap: 32px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: #fff;
  transform: translateY(-2px);
}

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

@media (max-width: 768px) {
  .footer-cta h2 { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding: 100px 0 60px; }
}

/* ═══════════════════════════════════════════════
   ANIMATIONS & EFFECTS
   ═══════════════════════════════════════════════ */
/* Removed old .reveal to centralize below */
/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --max-w: 100%;
  }

  /* Responsive adjustments already handled in specific sections above */

  .nav-actions .nav-btn.ghost {
    display: none;
  }

  .logo-text {
    font-size: 20px;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 120px 20px 60px;
  }

  .hero h1 {
    font-size: 2.5rem; /* Better scale for 390px */
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero p {
    font-size: 1.05rem;
    max-width: 100%;
    margin-bottom: 40px;
    line-height: 1.5;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 40px 20px;
  }

  .trust-logos {
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
  }

  /* Centering the Auth Popup (Now robust since it's at body root) */
  .auth-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    margin: 0;
    transform: translate(-50%, -46%) scale(0.96);
    width: calc(100% - 32px);
    max-width: 400px;
    padding: 40px 24px 32px;
    border-radius: 24px;
    max-height: 88vh;
    overflow-y: auto;
  }

  .auth-dropdown.visible {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ═══════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════ */
.skeleton {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.userName-skeleton {
  width: 100px;
  height: 18px;
  margin-right: 8px;
}

.section-spacer {
  height: 0;
  background: transparent;
}

/* ═══════════════════════════════════════════════
   EDITORIAL TYPOGRAPHIC STATS SECTION
   ═══════════════════════════════════════════════ */
.editorial-stats-section {
  padding: 200px 0;
  background: #000000;
  color: #ffffff;
  position: relative;
}

.editorial-stats-section .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 80px;
}

.editorial-left {
  position: sticky;
  top: 150px;
  height: fit-content;
}

.editorial-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.editorial-left h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 68px;
  font-weight: 400;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.03em;
  max-width: 340px;
}

.editorial-left p {
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 280px;
}

.editorial-right {
  display: flex;
  flex-direction: column;
}

.editorial-stat-block {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 130px;
  opacity: 0.15;
  transform: translateY(25px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-stat-block:last-child {
  margin-bottom: 0;
}

/* Staggering offsets on desktop */
.editorial-stat-block:nth-child(2) {
  margin-left: 8%;
}

.editorial-stat-block:nth-child(3) {
  margin-left: 16%;
}

/* Reveal states */
.editorial-stats-section.visible .editorial-stat-block {
  opacity: 0.55;
  transform: translateY(0);
}

/* Progressive delays for reveal */
.editorial-stats-section.visible .editorial-stat-block:nth-child(1) {
  transition-delay: 0.1s;
}
.editorial-stats-section.visible .editorial-stat-block:nth-child(2) {
  transition-delay: 0.3s;
}
.editorial-stats-section.visible .editorial-stat-block:nth-child(3) {
  transition-delay: 0.5s;
}

/* Active / Hover highlights */
.editorial-stat-block:hover {
  opacity: 1 !important;
}

.editorial-number {
  font-family: 'Instrument Serif', serif;
  font-size: 190px;
  font-weight: 400;
  line-height: 0.75;
  color: #ffffff;
  letter-spacing: -0.06em;
  transition: color 0.4s ease, transform 0.4s ease;
  user-select: none;
}

.editorial-stat-block:hover .editorial-number {
  color: #ffffff;
  transform: scale(1.02);
}

.editorial-stat-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 360px;
  margin-top: 55px; /* aligns with middle/lower part of number */
  transition: color 0.4s ease;
}

.editorial-stat-block:hover .editorial-stat-desc {
  color: #ffffff;
}

.editorial-stat-desc strong {
  color: #ffffff;
  font-weight: 500;
}

/* Responsive Editorial Rules */
@media (max-width: 900px) {
  .editorial-stats-section {
    padding: 120px 0;
  }
  .editorial-stats-section .container {
    grid-template-columns: 1fr;
    gap: 80px;
    padding: 0 30px;
  }
  .editorial-left {
    position: static;
    max-width: 100%;
  }
  .editorial-left h2 {
    font-size: 52px;
  }
  .editorial-stat-block {
    margin-left: 0 !important;
    margin-bottom: 80px;
  }
  .editorial-number {
    font-size: 150px;
  }
  .editorial-stat-desc {
    margin-top: 35px;
  }
}

@media (max-width: 600px) {
  .editorial-stats-section {
    padding: 80px 0;
  }
  .editorial-stats-section .container {
    padding: 0 20px;
    gap: 60px;
  }
  .editorial-stat-block {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
  }
  .editorial-number {
    font-size: 120px;
    line-height: 0.9;
  }
  .editorial-stat-desc {
    margin-top: 0;
    max-width: 100%;
  }
}

.auth-error-msg {
  display: none;
  background: rgba(255, 71, 71, 0.1);
  border: 1px solid rgba(255, 71, 71, 0.2);
  color: #ff4747;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 20px;
  animation: authFadeIn 0.3s ease;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   PREMIUM ENTRANCE ANIMATIONS
   ═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   PREMIUM ENTRANCE ANIMATIONS (SCROLL)
   ═══════════════════════════════════════════════ */
.reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  will-change: transform, opacity, filter;
}

@keyframes blurReveal {
  from { opacity: 0; filter: blur(12px); transform: translateY(20px); }
  to   { opacity: 1; filter: blur(0); transform: translate(0) scale(1); }
}
@keyframes blurRevealUp {
  from { opacity: 0; filter: blur(12px); transform: translateY(40px); }
  to   { opacity: 1; filter: blur(0); transform: translate(0) scale(1); }
}
@keyframes blurRevealDown {
  from { opacity: 0; filter: blur(12px); transform: translateY(-30px); }
  to   { opacity: 1; filter: blur(0); transform: translate(0) scale(1); }
}
@keyframes blurRevealLeft {
  from { opacity: 0; filter: blur(12px); transform: translateX(-40px); }
  to   { opacity: 1; filter: blur(0); transform: translate(0) scale(1); }
}
@keyframes blurRevealRight {
  from { opacity: 0; filter: blur(12px); transform: translateX(40px); }
  to   { opacity: 1; filter: blur(0); transform: translate(0) scale(1); }
}
@keyframes blurRevealScale {
  from { opacity: 0; filter: blur(12px); transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; filter: blur(0); transform: translate(0) scale(1); }
}

.reveal.visible { animation: blurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-up.visible { animation: blurRevealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-down.visible { animation: blurRevealDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-left.visible { animation: blurRevealLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-right.visible { animation: blurRevealRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-scale.visible { animation: blurRevealScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* ═══════════════════════════════════════════════
   DEMO MODAL SYSTEM
   ═══════════════════════════════════════════════ */
.demo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.2); /* Deep bluish-black tint, very subtle */
  backdrop-filter: blur(20px) saturate(160%); /* Restored and optimized blur */
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 60px 20px;
  will-change: opacity, backdrop-filter;
}

.demo-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.demo-modal {
  width: 100%;
  max-width: 750px;
  margin: auto;
  background: var(--vox-glass-bg); /* Use unified variable */
  backdrop-filter: blur(40px) saturate(220%);
  -webkit-backdrop-filter: blur(40px) saturate(220%);
  border: var(--vox-glass-border);
  border-radius: 32px;
  padding: 56px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 
              0 0 0 1px rgba(255, 255, 255, 0.08),
              inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
}

.demo-modal-overlay.visible .demo-modal {
  transform: translateY(0) scale(1);
}

/* Enhanced premium glow effects */
.demo-modal::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29, 97, 242, 0.25) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.demo-modal::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(29, 97, 242, 0.1) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: rotate(90deg) scale(1.1);
}

/* Multi-step logic styles */
.modal-header { text-align: center; margin-bottom: 48px; position: relative; z-index: 1; }
.modal-header h1 { 
  font-family: var(--font-header); 
  font-size: 36px; 
  margin-bottom: 12px; 
  font-weight: 800;
  background: linear-gradient(180deg, #FFFFFF 0%, #A3A3A3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.modal-header p { color: rgba(255, 255, 255, 0.4); font-size: 16px; font-weight: 500; }

.modal-step-indicator {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.modal-step {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-step.active {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 10px rgba(29, 97, 242, 0.8);
  width: 48px;
}

.demo-form-step {
  display: none;
  animation: modalFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.demo-form-step.active {
  display: block;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateX(20px); filter: blur(4px); }
  to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.modal-grid .modal-field { margin-bottom: 0; }
.modal-field { margin-bottom: 24px; }
.modal-field label { display: block; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.4); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.modal-field input, .modal-field textarea {
  width: 100%;
  padding: 18px 24px;
  background: var(--vox-input-bg);
  border: var(--vox-input-border);
  border-radius: 16px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Compact Mode for small viewports */
@media (max-height: 850px) {
  .demo-modal { padding: 40px 40px 32px; }
  .modal-header { margin-bottom: 24px; }
  .modal-header h1 { font-size: 32px; }
  .modal-step-indicator { margin-bottom: 32px; }
  .modal-grid { margin-bottom: 16px; }
  .modal-field { margin-bottom: 16px; }
  .modal-field label { margin-bottom: 8px; }
  .modal-field input, .modal-field textarea { padding: 14px 20px; }
  .modal-btn-group { margin-top: 20px; }
  .modal-btn-next, .modal-btn-submit { padding: 16px; }
}

@media (max-height: 760px) {
  .demo-modal { padding: 32px 40px 24px; }
  .modal-header { margin-bottom: 12px; }
  .modal-header h1 { font-size: 28px; }
  .modal-step-indicator { margin-bottom: 16px; }
  .modal-grid { margin-bottom: 12px; }
  .modal-field { margin-bottom: 12px; }
  .modal-field label { margin-bottom: 4px; }
  .modal-field input, .modal-field textarea { padding: 12px 20px; }
}

@media (max-height: 650px) {
  .demo-modal { padding: 24px 32px 20px; }
  .modal-header { margin-bottom: 8px; }
  .modal-header h1 { font-size: 24px; }
  .modal-header p { font-size: 13px; }
  .modal-step-indicator { margin-bottom: 12px; }
  .modal-grid { margin-bottom: 8px; }
  .modal-field { margin-bottom: 8px; }
}
.modal-field input:focus, .modal-field textarea:focus {
  border-color: var(--accent);
  background: var(--vox-input-focus);
  box-shadow: 0 0 0 4px rgba(29, 97, 242, 0.08), 0 0 20px rgba(29, 97, 242, 0.1);
}

/* Autofill Override for Premium Dark Theme */
.modal-field input:-webkit-autofill,
.modal-field input:-webkit-autofill:hover, 
.modal-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  background-color: transparent !important;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: #fff;
}
.modal-field textarea { height: 140px; resize: none; line-height: 1.6; }
.modal-field-desc { font-size: 12px; color: rgba(255, 255, 255, 0.3); margin-bottom: 16px; line-height: 1.6; }

.modal-btn-next, .modal-btn-submit {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 20px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(29, 97, 242, 0.2);
}

.modal-btn-next:hover, .modal-btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px var(--accent-glow);
}

.modal-btn-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .demo-modal-overlay {
    padding: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
  .demo-modal {
    position: relative;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 72px 24px 40px;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
    border: none !important;
    overflow-y: auto;
  }
  .modal-close {
    top: 16px;
    right: 16px;
  }
  .modal-header h1 {
    font-size: 28px;
  }
  .modal-btn-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-btn-back {
    order: 2;
    padding: 16px;
  }
  .modal-btn-next, .modal-btn-submit {
    order: 1;
  }
}

/* Hide Chat Widget when Demo Modal is active */
body.demo-modal-active .vox-chat-bubble,
body.demo-modal-active .vox-chat-window {
  display: none !important;
}

.modal-btn-back {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-btn-back:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}


.modal-success {
  text-align: center;
  padding: 40px 0;
  display: none;
  animation: successPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-success.active { display: block; }

.modal-success .icon {
  width: 90px;
  height: 90px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin: 0 auto 32px;
  box-shadow: 0 0 50px var(--accent-glow), 0 0 20px rgba(29, 97, 242, 0.6);
  color: white;
}

.modal-success h2 {
  font-size: 28px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #A3A3A3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-success p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  line-height: 1.6;
}

@keyframes successPop {
  0% { transform: scale(0.8) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* --- Flatpickr Dark Theme Overrides --- */
.flatpickr-calendar {
  background: var(--vox-glass-bg) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
  font-family: var(--font-body) !important;
}

.flatpickr-day.selected {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 15px var(--accent-glow) !important;
}

.flatpickr-day:hover {
  background: rgba(255,255,255,0.1) !important;
}



/* --- Time Slot Selection --- */
.slots-container {
    margin-top: 32px;
    display: none;
    animation: modalFadeIn 0.5s ease forwards;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.slots-container.active {
    display: block;
}

.slots-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.slot-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.slot-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.slot-btn.selected {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* --- Voxcor Custom Premium Calendar --- */
.vox-calendar {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
    user-select: none;
}

.vox-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.vox-cal-title {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-header);
    color: white;
    text-transform: capitalize;
}

.vox-cal-nav {
    display: flex;
    gap: 8px;
}

.vox-cal-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vox-cal-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.vox-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.vox-cal-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 8px;
}

.vox-cal-day {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.vox-cal-day:hover:not(.empty):not(.disabled) {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.vox-cal-day.today {
    color: var(--accent);
    font-weight: 700;
}

.vox-cal-day.selected {
    background: var(--accent);
    color: white;
    font-weight: 700;
    box-shadow: 0 5px 20px var(--accent-glow);
    border-color: var(--accent);
}

.vox-cal-day.disabled {
    opacity: 0.15;
    cursor: default;
}

.vox-cal-day.empty {
    cursor: default;
}

@media (max-width: 600px) {
    .vox-calendar { padding: 20px; }
    .vox-cal-day { font-size: 13px; border-radius: 10px; }
}

@media (max-width: 500px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Sequential View Toggles --- */
.vox-view-hidden {
    display: none !important;
}

.slot-back-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-family: var(--font-body);
}

.slot-back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: var(--accent);
}
/* ═══════════════════════════════════════════════
   NOTIFICATIONS (Cute & Premium)
   ═══════════════════════════════════════════════ */
.vox-notification-container {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.vox-notification {
  pointer-events: auto;
  min-width: 320px;
  max-width: 400px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-100%) scale(0.9);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vox-notification.visible {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.vox-notification-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(29, 97, 242, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.vox-notification-content {
  flex: 1;
}

.vox-notification-message {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

@media (max-width: 480px) {
  .vox-notification-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .vox-notification {
    min-width: unset;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════
   AGENCY 3-COLUMN SECTION
   ═══════════════════════════════════════════════ */
.agency-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 40px;
  text-align: center;
}

.agency-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agency-number {
  font-family: 'Instrument Serif', serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.agency-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  opacity: 0.7;
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}

@media (max-width: 900px) {
  .agency-stats-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    padding: 0 20px;
    margin: 80px auto;
  }
}

/* =========================================
   PURE CONTAINERLESS EDITORIAL FLOW
   ========================================= */

.editorial-flow {
  width: 100%;
  padding: 22vh 0 15vh 0; /* Strict 22vh top padding to clear navigation and blend */
  background-color: transparent;
  color: #ffffff;
  position: relative;
}

.vortex-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none; /* Let pointer events pass through to text/window */
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
}

#voxcorVortex {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 0;
}

.flow-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  gap: 15vh; /* Massive spacing between items */
  pointer-events: none; /* Let pointer events pass through to text/window */
}

.flow-row {
  display: flex;
  align-items: flex-end; /* Align bottom by default */
  gap: 4vw;
  width: 100%;
}

.flow-row.reverse {
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center; /* Sit perfectly on the same horizontal line */
}

.flow-row.offset-right {
  justify-content: center;
  gap: 8vw;
}

/* Custom luxurious reveal for these massive elements */
.editorial-flow .reveal {
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-flow .reveal.visible {
  transform: translateY(0);
}

.flow-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(8rem, 16vw, 20rem);
  line-height: 0.8;
  font-weight: 300; /* Light serif */
  letter-spacing: -0.04em;
  color: #ffffff;
  white-space: nowrap;
}

.flow-currency {
  font-family: 'Cormorant Garamond', serif; /* Same font-family */
  font-size: inherit; /* Same font-size as digits */
  vertical-align: baseline; /* baseline-aligned */
  font-weight: 300; /* Same font-weight */
  color: #ffffff; /* White Euro symbol */
}

.flow-content {
  max-width: 320px;
}

.flow-content p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400; /* Regular */
  color: #ffffff;
  margin: 0;
  padding-bottom: 1vh; /* baseline alignment tweak */
  text-shadow: 0 4px 20px rgba(0,0,0,1), 0 2px 4px rgba(0,0,0,1); /* Rich deep shadow for extreme legibility */
}

/* Specific alignment tweaks for the asymmetric feel */
.flow-row.reverse .flow-content {
  padding: 0; 
  text-align: right;
}

@media (max-width: 900px) {
  .flow-container {
    gap: 12vh;
  }
  .flow-row, .flow-row.reverse, .flow-row.offset-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 4vh;
  }
  .flow-row.reverse .flow-content {
    text-align: left;
    padding-top: 0;
  }
}


/* Custom Quote Section (Editorial Minimalist) */
.custom-quote-section {
  position: relative;
  width: 100%;
  background-color: transparent;
  padding: 25vh 5vw 25vh 5vw; /* Massive negative space */
  z-index: 10;
  pointer-events: auto;
}

.custom-quote-content {
  max-width: 1200px;
  margin: 0 auto;
}

.quote-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8rem;
  margin-top: 0;
  text-align: center;
}

.quote-panels {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18vw; /* Wide horizontal spacing */
}

.quote-panel {
  flex: 1;
  max-width: 440px;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
}

.quote-panel.right {
  margin-top: 8rem; /* Shifted lower for high-end asymmetry */
}

.editorial-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.5rem;
  margin-top: 0;
  line-height: 1.3;
}

.editorial-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.editorial-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  color: #a0aec0;
  margin-bottom: 2.5rem;
  max-width: 360px;
}

.editorial-link {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.editorial-link:hover {
  color: #a0aec0;
  border-bottom-color: #a0aec0;
}

@media (max-width: 900px) {
  .quote-panels {
    flex-direction: column;
    align-items: center;
    gap: 10vh;
  }
  .quote-panel.right {
    margin-top: 0;
  }
  .quote-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
  }
}

/* Dynamic Blog Feed */
.blog-feed-section {
  position: relative;
  width: 100%;
  background-color: transparent;
  padding: 20vh 5vw 15vh 5vw; /* Generous vertical padding */
  z-index: 10;
  pointer-events: auto; /* Ensure clickable */
}

.blog-feed-content {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 6rem;
  margin-top: 0;
  text-align: left;
}

.blog-articles {
  display: flex;
  flex-direction: column;
  gap: 12rem; /* Massive gap between articles */
}

.blog-row {
  display: flex;
  align-items: center;
  gap: 6vw;
  width: 100%;
}

.blog-row.offset-right {
  flex-direction: row-reverse;
}

.blog-image-link {
  flex: 1.2;
  display: block;
  overflow: hidden; /* For zoom effect */
  position: relative;
  pointer-events: auto;
}

.blog-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(20%) brightness(0.9);
}

.blog-image-link:hover .blog-image {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.blog-meta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: auto;
}

.blog-category {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(130, 161, 214, 0.8); /* Soft muted blue */
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.blog-title-link {
  text-decoration: none;
  margin-bottom: 1.5rem;
  display: block;
  pointer-events: auto;
}

.blog-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

/* Custom underline hover on title */
.blog-title::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transition: width 0.4s ease;
}

.blog-title-link:hover .blog-title::after {
  width: 100%;
}

.blog-excerpt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #a0aec0;
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 3rem;
  margin-top: 0;
}

.blog-share {
  display: flex;
  gap: 1.5rem;
}

.share-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
  pointer-events: auto;
}

.share-link:hover {
  opacity: 1;
  color: rgba(130, 161, 214, 0.8);
}

@media (max-width: 900px) {
  .blog-row, .blog-row.offset-right {
    flex-direction: column;
    gap: 3rem;
  }
  .blog-articles {
    gap: 8rem;
  }
  .blog-section-title {
    font-size: 2.5rem;
  }
}

/* =========================================
   EDITORIAL BLOG SECTION
   ========================================= */

.editorial-blog-section {
  width: 100%;
  background-color: transparent;
  padding: 20vh 5vw 15vh 5vw; /* Generous vertical padding */
  position: relative;
  z-index: 10;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 6rem;
  text-align: left;
}

.article-row {
  display: flex;
  align-items: center;
  gap: 10vw; /* Clean gap, no overlaps */
  margin-bottom: 14vh; /* Pure empty space between rows */
  position: relative;
}

.article-row:last-child {
  margin-bottom: 0;
}

.article-row.reverse {
  flex-direction: row-reverse;
}

.article-image-link {
  flex: 1;
  display: block;
  max-width: 60%;
  text-decoration: none;
}

.article-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background-color: #111;
  border-radius: 8px; /* Elegant rounded corner */
}

.article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.article-image-link:hover .article-image-wrapper img {
  transform: scale(1.03); /* Soft premium micro-zoom */
}

.article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 380px;
  margin: 0; /* Reset negative margins */
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.article-category {
  color: rgba(130, 161, 214, 0.8); /* Soft muted blue */
}

.article-date {
  color: #5a6a85;
}

.article-title-link {
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.article-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.2;
  color: #ffffff;
  transition: opacity 0.3s ease;
  position: relative;
  display: inline-block;
}

.article-title-link:hover .article-title {
  opacity: 0.8;
}

.article-excerpt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #94a3b8; /* Soft elegant gray */
  max-width: 380px;
  line-height: 1.6;
  margin: 0 0 2.5rem 0;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.share-icon-link {
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-icon-link:hover {
  color: #ffffff; /* Sober hover effect */
}

.share-icon-link svg {
  width: 16px;
  height: 16px;
}

/* Pagination Accent */
.blog-pagination {
  text-align: center;
  margin-top: 10vh;
}

.perspective-link {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  transition: opacity 0.3s ease;
}

.perspective-link:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .article-row, .article-row.reverse {
    flex-direction: column;
    gap: 3rem;
  }
  .article-image-link {
    max-width: 100%;
  }
  .blog-section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
  }
  .article-content {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding: 0 1rem;
  }
  .article-row.reverse .article-content {
    margin-right: 0;
  }
}

/* ═══════════════════════════════════════════════
   CLEAN MINIMALIST BENTO GRID
   ═══════════════════════════════════════════════ */
.bento-section {
  padding: 15vh 5vw;
  background-color: transparent;
  position: relative;
  z-index: 10;
}
@keyframes ambientPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}
.bento-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite;
}
.bento-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 5rem;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.bento-box {
  background: rgba(0, 5, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bento-box > * {
  position: relative;
  z-index: 1;
}

/* Internal aggressive neon bloom base */
.bento-box::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Box 1 (Left): Top glow */
.bento-box:nth-child(1) { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1), inset 0 40px 80px -20px rgba(29, 97, 242, 0.5), 0 10px 30px rgba(0, 0, 0, 0.5); }
.bento-box:nth-child(1)::before {
  top: -100px; left: -20%; width: 140%; height: 300px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 10%, rgba(29, 97, 242, 1) 40%, transparent 80%);
}
.bento-box:nth-child(1):hover { box-shadow: inset 0 2px 3px rgba(255, 255, 255, 1), inset 0 60px 100px -20px rgba(29, 97, 242, 0.7), 0 20px 50px rgba(0, 0, 0, 0.6); }

/* Box 2 (Right-Top): Right glow */
.bento-box:nth-child(2) { box-shadow: inset -1px 0 1px rgba(255, 255, 255, 1), inset -40px 0 80px -20px rgba(29, 97, 242, 0.5), 0 10px 30px rgba(0, 0, 0, 0.5); }
.bento-box:nth-child(2)::before {
  top: -20%; right: -100px; width: 300px; height: 140%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 10%, rgba(29, 97, 242, 1) 40%, transparent 80%);
}
.bento-box:nth-child(2):hover { box-shadow: inset -2px 0 3px rgba(255, 255, 255, 1), inset -60px 0 100px -20px rgba(29, 97, 242, 0.7), 0 20px 50px rgba(0, 0, 0, 0.6); }

/* Box 3 (Right-Bottom): Bottom glow */
.bento-box:nth-child(3) { box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 1), inset 0 -40px 80px -20px rgba(29, 97, 242, 0.5), 0 10px 30px rgba(0, 0, 0, 0.5); }
.bento-box:nth-child(3)::before {
  bottom: -100px; left: -20%; width: 140%; height: 300px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 10%, rgba(29, 97, 242, 1) 40%, transparent 80%);
}
.bento-box:nth-child(3):hover { box-shadow: inset 0 -2px 3px rgba(255, 255, 255, 1), inset 0 -60px 100px -20px rgba(29, 97, 242, 0.7), 0 20px 50px rgba(0, 0, 0, 0.6); }

/* Box 4 (Bottom-Full): Left glow */
.bento-box:nth-child(4) { box-shadow: inset 1px 0 1px rgba(255, 255, 255, 1), inset 40px 0 80px -20px rgba(29, 97, 242, 0.5), 0 10px 30px rgba(0, 0, 0, 0.5); }
.bento-box:nth-child(4)::before {
  top: -20%; left: -100px; width: 300px; height: 140%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 10%, rgba(29, 97, 242, 1) 40%, transparent 80%);
}
.bento-box:nth-child(4):hover { box-shadow: inset 2px 0 3px rgba(255, 255, 255, 1), inset 60px 0 100px -20px rgba(29, 97, 242, 0.7), 0 20px 50px rgba(0, 0, 0, 0.6); }

/* Mouse tracking internal flare */
.bento-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(255, 255, 255, 0.15),
    rgba(29, 97, 242, 0.25) 20%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-box:hover {
  transform: translateY(-4px);
}

.bento-box:hover::before {
  opacity: 1;
  transform: scale(1.1);
}

.bento-box:hover::after {
  opacity: 1;
}
.bento-box.large {
  grid-column: span 8;
}
.bento-box.medium {
  grid-column: span 4;
}
@media (max-width: 900px) {
  .bento-box.large, .bento-box.medium {
    grid-column: span 12;
  }
}
.bento-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 32px;
  color: #ffffff;
  opacity: 0.8;
}
.bento-icon svg {
  width: 28px;
  height: 28px;
}
.bento-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 400;
}
.bento-box p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #a0aec0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.bento-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #ffffff;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  text-shadow: 0 0 0 rgba(0, 255, 255, 0);
  transition: color 0.4s ease, text-shadow 0.4s ease;
  align-self: flex-start;
}

.bento-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-link:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(29, 97, 242, 0.6), 0 0 16px rgba(29, 97, 242, 0.3);
}

.bento-link:hover::after {
  transform: scaleX(1);
}

.bento-link .arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-link:hover .arrow {
  transform: translateX(5px);
}

/* ═══════════════════════════════════════════════
   CLEAN FOOTER PRE-CTA GLOW
   ═══════════════════════════════════════════════ */
.footer-cta {
  position: relative;
}


/* ═══════════════════════════════════════════════
   AMBIENT BACKGROUND NEONS
   ═══════════════════════════════════════════════ */
.ambient-backgrounds {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.3;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(0, 82, 255, 0.4);
  top: -10%;
  left: -10%;
  animation: floatOrb1 20s infinite alternate ease-in-out;
}

.orb-2 {
  width: 800px;
  height: 800px;
  background: rgba(0, 200, 255, 0.2);
  bottom: 10%;
  right: -20%;
  animation: floatOrb2 25s infinite alternate-reverse ease-in-out;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: rgba(40, 40, 255, 0.3);
  top: 40%;
  left: 30%;
  animation: floatOrb3 30s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10vw, 10vh) scale(1.2); }
}

@keyframes floatOrb2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10vw, -10vh) scale(1.1); }
}

@keyframes floatOrb3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15vw, -5vh) scale(1.3); }
}

/* Mobile Navigation Drawer */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.mobile-nav-drawer {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100vw;
  max-width: none;
  height: auto;
  min-height: 50vh;
  background: rgba(12, 12, 14, 0.98);
  backdrop-filter: blur(20px);
  z-index: 150;
  transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 80px 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.open {
  top: 0;
}

.mobile-nav-drawer a {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s;
}

.mobile-nav-drawer a:hover {
  color: var(--accent-blue);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .hamburger-btn {
    display: flex;
  }
  #userNameLabel, .user-profile, .auth-wrapper {
    display: none !important;
  }
}
