/* ═══════════════════════════════════════════════════════════════
   Adithyan Executive Site — Luxury Layer
   ═══════════════════════════════════════════════════════════════ */

:root {
  --gold: #d4af55;
  --gold-light: #f0dfa0;
  --accent: #5eead4;
  --accent-dim: #2dd4bf;
  --ink: #06080d;
  --charcoal: #0e1118;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-heavy: cubic-bezier(0.65, 0, 0.35, 1);
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

::selection {
  background: rgba(201, 169, 98, 0.35);
  color: #f4f0e8;
}

/* ─── Preloader ─── */
.preloader {
  transition: opacity 1.2s var(--ease-luxury), visibility 1.2s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Subtle grid background */
.loader-grid {
  background-image:
    linear-gradient(rgba(212, 175, 85, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 85, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at center, black 0%, transparent 70%);
  animation: gridFade 3s ease-out forwards;
}

@keyframes gridFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Orbital ring system ─── */
.loader-orbit-system {
  width: 280px;
  height: 280px;
}

@media (min-width: 768px) {
  .loader-orbit-system {
    width: 340px;
    height: 340px;
  }
}

.loader-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.loader-orbit-1 {
  inset: 0;
  border-color: rgba(212, 175, 85, 0.15);
  animation: orbitSpin 10s linear infinite;
  border-top-color: rgba(212, 175, 85, 0.5);
  border-right-color: rgba(212, 175, 85, 0.3);
}

.loader-orbit-2 {
  inset: 18px;
  border-color: rgba(94, 234, 212, 0.08);
  animation: orbitSpin 14s linear infinite reverse;
  border-bottom-color: rgba(94, 234, 212, 0.35);
}

.loader-orbit-3 {
  inset: 36px;
  border-color: rgba(212, 175, 85, 0.06);
  border-style: dashed;
  animation: orbitSpin 20s linear infinite;
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* Orbiting dots */
.loader-orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 85, 0.8), 0 0 24px rgba(212, 175, 85, 0.4);
}

.loader-orbit-dot-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: dotOrbit1 10s linear infinite;
  transform-origin: 50% 140px;
}

.loader-orbit-dot-2 {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  animation: dotOrbit2 14s linear infinite reverse;
  transform-origin: 50% -122px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.8), 0 0 24px rgba(94, 234, 212, 0.4);
}

@media (min-width: 768px) {
  .loader-orbit-dot-1 { transform-origin: 50% 170px; }
  .loader-orbit-dot-2 { transform-origin: 50% -152px; }
}

@keyframes dotOrbit1 {
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes dotOrbit2 {
  to { transform: translateX(-50%) rotate(360deg); }
}

/* ─── Portrait reveal ─── */
.loader-portrait {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  overflow: hidden;
  animation: portraitReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@media (min-width: 768px) {
  .loader-portrait { inset: 60px; }
}

@keyframes portraitReveal {
  from {
    clip-path: circle(0% at 50% 50%);
    transform: scale(1.2);
  }
  to {
    clip-path: circle(50% at 50% 50%);
    transform: scale(1);
  }
}

.loader-portrait-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), var(--accent), var(--gold-light), var(--gold));
  opacity: 0.5;
  animation: orbitSpin 6s linear infinite;
  z-index: -1;
}

.loader-portrait-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 3px solid rgba(6, 8, 13, 0.9);
}

/* ─── Name letter reveal ─── */
.loader-name {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
}

.loader-letter {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--cream, #f6f3eb);
  opacity: 0;
  transform: translateY(100%) rotateX(-80deg);
  animation: letterDrop 0.6s var(--ease-luxury) forwards;
  animation-delay: calc(var(--i, 0) * 0.07s + 0.8s);
}

.loader-letter:nth-child(1)  { --i: 0; }
.loader-letter:nth-child(2)  { --i: 1; }
.loader-letter:nth-child(3)  { --i: 2; }
.loader-letter:nth-child(4)  { --i: 3; }
.loader-letter:nth-child(5)  { --i: 4; }
.loader-letter:nth-child(6)  { --i: 5; }
.loader-letter:nth-child(7)  { --i: 6; }
.loader-letter:nth-child(8)  { --i: 7; }
.loader-letter:nth-child(9)  { --i: 8; }
.loader-letter:nth-child(10) { --i: 9; }

.loader-letter-space { width: 0.4em; }

.loader-letter-accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .loader-letter { font-size: 2.5rem; }
}

@keyframes letterDrop {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* ─── Tagline typewriter ─── */
.loader-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(139, 147, 167, 0.7);
  min-height: 1.6em;
}

.loader-tagline-cursor {
  color: var(--gold);
  animation: cursorBlink 0.7s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ─── Bottom progress bar ─── */
.loader-progress-track {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dim), var(--gold), var(--gold-light));
  box-shadow: 0 0 16px rgba(212, 175, 85, 0.5);
  transition: width 0.15s linear;
}

/* ─── Navigation ─── */
.nav-glass {
  background: rgba(10, 12, 16, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#site-header.is-scrolled .nav-glass {
  background: rgba(10, 12, 16, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-link {
  position: relative;
  transition: color 0.4s var(--ease-luxury);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease-luxury);
}

.nav-link:hover {
  color: #f4f0e8;
}

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

/* ─── Hero Video ─── */
.hero-video-wrap {
  transform: scale(1.05);
}

.hero-video {
  filter: brightness(0.92) saturate(1.1) contrast(1.05);
  transform: scale(1.08);
  transition: transform 8s linear;
}

.hero-video-wrap.is-playing .hero-video {
  animation: heroKenBurns 25s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.15) translate(-1%, -1%); }
}

.hero-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* ─── Magnetic Buttons ─── */
.magnetic-btn {
  position: relative;
  transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury);
}

.magnetic-btn:hover {
  box-shadow: 0 8px 32px rgba(201, 169, 98, 0.25);
}

/* ─── Bento & Cards ─── */
.bento-card {
  transition: transform 0.6s var(--ease-luxury), border-color 0.5s, box-shadow 0.5s;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 98, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.stat-card,
.legacy-card,
.book-card,
.case-block,
.pillar-card {
  transition: transform 0.5s var(--ease-luxury), border-color 0.4s;
}

.pillar-card.is-active,
.pillar-card:hover {
  border-color: rgba(201, 169, 98, 0.4) !important;
  background: rgba(201, 169, 98, 0.06) !important;
  transform: translateY(-2px);
}

.book-card:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.book-card-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.4;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-luxury), transform 0.5s var(--ease-luxury);
}

.book-card:hover .book-card-icon {
  opacity: 1;
  transform: translateY(0);
}

.book-card-emoji {
  font-size: 2.5rem;
  opacity: 0.4;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-luxury), transform 0.5s var(--ease-luxury);
}

.book-card:hover .book-card-emoji {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Framework SVG ─── */
.framework-svg .framework-ring {
  animation: rotateSlow 60s linear infinite;
  transform-origin: 200px 200px;
}

.framework-svg .framework-ring-inner {
  animation: rotateSlow 45s linear infinite reverse;
  transform-origin: 200px 200px;
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

.framework-diamond {
  animation: pulseDiamond 4s ease-in-out infinite;
  transform-origin: 200px 200px;
}

@keyframes pulseDiamond {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.framework-node circle {
  transition: r 0.3s var(--ease-luxury);
}

.framework-node.is-highlight circle {
  r: 12;
  filter: drop-shadow(0 0 8px rgba(201, 169, 98, 0.8));
}

/* ─── Reveal animations (initial state) ─── */
.reveal-up,
.reveal-left,
.reveal-right,
.hero-content,
.hero-portrait,
.scroll-indicator {
  will-change: transform, opacity;
}

/* ─── VIP Form ─── */
.vip-step {
  animation: fadeSlideIn 0.5s var(--ease-luxury) forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.vip-option:has(input:checked) {
  border-color: rgba(201, 169, 98, 0.5) !important;
  background: rgba(201, 169, 98, 0.08);
}

.step-dot {
  transition: background 0.4s, transform 0.4s;
}

.step-dot.is-active {
  transform: scale(1.4);
}

/* ─── Map (Leaflet dark theme) ─── */
#world-map {
  background: #12151c;
  z-index: 1;
}

.leaflet-container {
  background: #12151c !important;
  font-family: 'Outfit', sans-serif;
}

.leaflet-tile-pane {
  filter: brightness(0.35) contrast(1.1) saturate(0.3);
}

.custom-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid rgba(244, 240, 232, 0.5);
  box-shadow: 0 0 16px rgba(201, 169, 98, 0.6);
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.85; }
}

.map-filter.active {
  border-color: rgba(201, 169, 98, 0.5) !important;
  color: var(--gold) !important;
  background: rgba(201, 169, 98, 0.1) !important;
}

/* ─── Metric blocks ─── */
.metric-block {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── Case study divider ─── */
.case-study + .case-study {
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 98, 0.35);
  border-radius: 3px;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-video {
    animation: none !important;
  }
}

/* ─── Responsive tweaks ─── */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-rows: auto;
  }

  .case-study .sticky {
    position: relative;
    top: 0;
  }

  .floating-chip { display: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .has-ui-chrome, .has-ui-chrome a, .has-ui-chrome button { cursor: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   ADVANCED LAYER — Premium visuals & interactions
   ═══════════════════════════════════════════════════════════════ */

body {
  background: var(--ink);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(212, 175, 85, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(94, 234, 212, 0.05), transparent 45%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(212, 175, 85, 0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dim), var(--gold), var(--gold-light));
  z-index: 10000;
  box-shadow: 0 0 20px rgba(212, 175, 85, 0.6);
  transition: width 0.1s linear;
}

/* Custom cursor */
.has-ui-chrome { cursor: none; }
.has-ui-chrome a, .has-ui-chrome button { cursor: none; }

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 85, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-luxury), height 0.35s var(--ease-luxury), border-color 0.35s;
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  border-color: var(--accent);
}

/* Preloader enhanced */
.preloader {
  background: var(--ink);
}

.preloader-aurora {
  background:
    radial-gradient(circle at 30% 40%, rgba(212, 175, 85, 0.12), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(94, 234, 212, 0.08), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(212, 175, 85, 0.06), transparent 35%);
  animation: auroraShift 8s ease-in-out infinite alternate;
}

@keyframes auroraShift {
  from { opacity: 0.5; transform: scale(1); }
  to { opacity: 1; transform: scale(1.1); }
}

/* Hero atmosphere */
.section-ambient { isolation: isolate; }

.hero-particles { opacity: 0.7; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
  animation: orbFloat 14s ease-in-out infinite;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: 10%;
  left: -5%;
  background: rgba(212, 175, 85, 0.12);
}

.hero-orb-2 {
  width: 320px;
  height: 320px;
  top: 40%;
  right: 5%;
  background: rgba(94, 234, 212, 0.08);
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 260px;
  height: 260px;
  bottom: 15%;
  left: 35%;
  background: rgba(212, 175, 85, 0.06);
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(6, 8, 13, 0.85) 0%,
    rgba(6, 8, 13, 0.75) 35%,
    rgba(6, 8, 13, 0.65) 60%,
    rgba(6, 8, 13, 0.95) 100%
  ),
  radial-gradient(
    ellipse 70% 60% at 20% 20%,
    rgba(94, 234, 212, 0.15) 0%,
    transparent 50%
  ),
  radial-gradient(
    ellipse 60% 50% at 80% 30%,
    rgba(212, 175, 85, 0.12) 0%,
    transparent 50%
  );
}

.hero-vignette {
  background: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    transparent 50%,
    rgba(6, 8, 13, 0.25) 100%
  );
}

/* Hero title - simple and visible */
.hero-title {
  text-shadow: 0 2px 20px rgba(6, 8, 13, 0.95);
}

/* Ensure hero content visible - don't affect video */
#hero .hero-content,
#hero .hero-badge,
#hero .hero-title,
#hero .scroll-indicator {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Restore video display */
#hero .hero-video,
#hero .hero-video-wrap,
#hero video {
  display: block !important;
}



/* Portrait frame */
.portrait-glow {
  background: conic-gradient(from 0deg, var(--gold), var(--accent), var(--gold-light), var(--gold));
  opacity: 0.35;
  filter: blur(24px);
  animation: spinSlow 8s linear infinite;
}

.portrait-border {
  background: linear-gradient(135deg, rgba(212, 175, 85, 0.5), rgba(94, 234, 212, 0.3), rgba(212, 175, 85, 0.2));
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.portrait-img {
  position: relative;
  z-index: 2;
}

.floating-chip {
  position: absolute;
  z-index: 10;
  animation: chipFloat 5s ease-in-out infinite;
}

.floating-chip-1 { top: 12%; right: -8%; animation-delay: 0s; }
.floating-chip-2 { top: 45%; left: -12%; animation-delay: -1.5s; }
.floating-chip-3 { bottom: 28%; right: -5%; animation-delay: -3s; }

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

/* Glass cards */
.glass-card,
.nav-glass {
  background: rgba(14, 17, 24, 0.55);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Button shine */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 4s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 80% { left: -100%; }
  100% { left: 150%; }
}

/* Marquee */
.marquee-section { background: rgba(6, 8, 13, 0.95); }

.marquee-track {
  animation: marqueeScroll 40s linear infinite;
}

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

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-fade-left {
  background: linear-gradient(90deg, var(--ink), transparent);
}

.marquee-fade-right {
  background: linear-gradient(270deg, var(--ink), transparent);
}

.tech-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(22, 27, 38, 0.8);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.tech-pill-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.tech-pill-icon-invert {
  filter: invert(1) brightness(1.5);
}

.tech-pill:hover {
  border-color: rgba(94, 234, 212, 0.4);
  color: var(--accent);
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.15);
  transform: translateY(-2px);
}

/* Section grid background */
.section-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Spotlight cards */
.bento-card,
.pillar-card,
.stat-card,
.book-card,
.legacy-card,
.case-block,
.media-card,
.vip-form-container {
  position: relative;
  overflow: hidden;
}

.bento-card::before,
.pillar-card::before,
.stat-card::before,
.book-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 85, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}

.bento-card:hover::before,
.pillar-card:hover::before,
.stat-card:hover::before,
.book-card:hover::before {
  opacity: 1;
}

.bento-card > *,
.pillar-card > *,
.stat-card > * {
  position: relative;
  z-index: 1;
}

/* Tilt 3D */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

/* Enhanced bento hover */
.bento-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 85, 0.15),
    0 0 40px rgba(212, 175, 85, 0.08);
}

.stat-card {
  backdrop-filter: blur(8px);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 85, 0.25) !important;
}

/* Framework glow */
.framework-svg {
  filter: drop-shadow(0 0 30px rgba(212, 175, 85, 0.15));
}

/* Section headings */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-label::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Nav active glow */
#site-header.is-scrolled .nav-glass {
  border-color: rgba(212, 175, 85, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 85, 0.05);
}

/* VIP form glow */
.vip-form-container {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Scroll indicator */
.scroll-indicator {
  animation: bounceSoft 2.5s ease-in-out infinite;
}

@keyframes bounceSoft {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.font-mono { font-family: var(--font-mono); }
