/* ============================================
   ARDENT PRIVACY - ENHANCED DESIGN SYSTEM
   Premium Editorial Experience
   ============================================ */

/* ---------- ENHANCED COLOR PALETTE ---------- */
:root {
  /* Core Colors - Enhanced */
  --paper: #FBF7F0;
  --paper-warm: #F7F3EA;
  --ink: #172b3a;
  --ink-light: #2a4356;
  
  /* Primary Brand */
  --blue: #1546db;
  --blue-deep: #0d2f8a;
  --blue-glow: rgba(21, 70, 219, 0.15);
  
  /* Indian Tricolor Accents */
  --saffron: #FF6B35;
  --saffron-deep: #E55A28;
  --saffron-glow: rgba(255, 107, 53, 0.12);
  
  /* Legal Gravitas */
  --burgundy: #6B1F3F;
  --burgundy-light: #8B2F52;
  
  /* Supporting */
  --lime: #c8e048;
  --lime-muted: #d9e7ad;
  --muted: #64737b;
  --line: #e2e0d8;
  --line-light: #edeae2;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #172b3a 0%, #1a3a4a 50%, #0d2f8a 100%);
  --gradient-saffron: linear-gradient(135deg, #FF6B35 0%, #E55A28 100%);
  --gradient-mesh: radial-gradient(ellipse at 20% 80%, rgba(21, 70, 219, 0.15) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 50%, rgba(107, 31, 63, 0.08) 0%, transparent 70%);
  
  /* Typography */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 128px;
  
  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
}

/* ---------- TEXTURE OVERLAYS ---------- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Warm paper background */
body {
  background: var(--paper);
  background-image: var(--gradient-mesh);
  background-attachment: fixed;
}

/* ---------- SCROLL PROGRESS INDICATOR ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-saffron);
  z-index: 9998;
  transition: width 0.1s linear;
}

.scroll-progress::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.5));
  filter: blur(3px);
}

/* ---------- CUSTOM CURSOR ---------- */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.15s var(--ease-out-expo), 
              border-color 0.2s ease,
              background 0.2s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.custom-cursor.hovering {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(21, 70, 219, 0.1);
  border-color: var(--saffron);
}

.custom-cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}

/* ---------- ENHANCED TYPOGRAPHY ---------- */
.display-mega {
  font-size: clamp(60px, 12vw, 140px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.display-large {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.display-medium {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Split text styling for animations */
.split-text .word {
  display: inline-block;
  overflow: hidden;
}

.split-text .char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.6s ease;
}

.split-text.revealed .char {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger delays */
.split-text .char:nth-child(1) { transition-delay: 0.02s; }
.split-text .char:nth-child(2) { transition-delay: 0.04s; }
.split-text .char:nth-child(3) { transition-delay: 0.06s; }
.split-text .char:nth-child(4) { transition-delay: 0.08s; }
.split-text .char:nth-child(5) { transition-delay: 0.10s; }
.split-text .char:nth-child(6) { transition-delay: 0.12s; }
.split-text .char:nth-child(7) { transition-delay: 0.14s; }
.split-text .char:nth-child(8) { transition-delay: 0.16s; }
.split-text .char:nth-child(9) { transition-delay: 0.18s; }
.split-text .char:nth-child(10) { transition-delay: 0.20s; }

/* Hindi/Devanagari accent */
.hindi-accent {
  font-family: 'Noto Sans Devanagari', var(--sans);
  color: var(--saffron);
}

/* ---------- ENHANCED HERO SECTION ---------- */
.hero-enhanced {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 107, 53, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(21, 70, 219, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

/* Large animated section symbol */
.hero-symbol {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(300px, 50vw, 600px);
  color: rgba(217, 231, 173, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  animation: symbolFloat 8s ease-in-out infinite;
}

@keyframes symbolFloat {
  0%, 100% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(-52%) rotate(2deg); }
}

.hero-content {
  padding: 0 8%;
  z-index: 2;
  color: #f5f4ef;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--lime);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--saffron);
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  max-width: 700px;
}

.hero-title em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--lime);
}

.hero-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin-bottom: 40px;
}

/* Animated stats counter */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: white;
  font-variant-numeric: tabular-nums;
}

.stat-number .counting {
  display: inline-block;
  min-width: 1.2ch;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  text-transform: uppercase;
}

/* Hero visual side */
.hero-visual {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hero-img{
  width: 100%;
  min-width: 1000px;
  min-height: 750px;
}
.hero-card-stack {
  position: relative;
  width: 320px;
  height: 420px;
  perspective: 1000px;
}

.hero-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-card:nth-child(1) {
  transform: rotateY(-5deg) rotateX(5deg) translateZ(0);
  z-index: 3;
}

.hero-card:nth-child(2) {
  transform: rotateY(-8deg) rotateX(3deg) translateZ(-30px) translateX(20px);
  z-index: 2;
  opacity: 0.7;
}

.hero-card:nth-child(3) {
  transform: rotateY(-10deg) rotateX(1deg) translateZ(-60px) translateX(40px);
  z-index: 1;
  opacity: 0.4;
}

.rights-video {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 12px auto 8px;
  padding: 72px 36px;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.72fr);
  gap: 56px;
  align-items: center;
  color: var(--ink);
}

.rights-video-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rights-video-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.rights-video-copy h2 {
  font-family: var(--sans);
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 14px;
  color: var(--ink);
}

.rights-video-copy h2 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.rights-video-copy > p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 38rem;
  color: var(--muted);
}

.rights-video-cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.rights-video-cta:hover,
.rights-video-cta:focus-visible {
  background: var(--blue-deep);
  color: #fff;
}

.rights-video-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  aspect-ratio: 4 / 5;
}

.rights-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 24px 50px rgba(23, 43, 58, 0.12);
}

.rights-video-poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rights-video-brand,
.rights-video-time {
  position: absolute;
  top: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.rights-video-brand { left: 16px; }
.rights-video-time { right: 16px; }

.rights-video-brand img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.rights-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 22px;
  padding-left: 4px;
  box-shadow: 0 10px 24px rgba(23, 43, 58, 0.16);
}

.rights-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 28px;
}

@media (max-width: 800px) {
  .rights-video {
    grid-template-columns: 1fr;
    padding: 12px 20px 40px;
    gap: 28px;
  }
  .rights-video-frame {
    margin: 0 auto;
    max-width: 300px;
  }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger reveal children */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.stagger-reveal.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-reveal.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-reveal.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-reveal.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-reveal.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-reveal.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-reveal.revealed > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-reveal.revealed > *:nth-child(8) { transition-delay: 0.4s; }

.stagger-reveal.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-reveal.revealed > .card-enhanced:hover {
  opacity: 1;
  transform: translateY(-12px) scale(1.02);
}

/* ---------- 3D TILT CARDS ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out-expo);
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg)) scale(1.02);
}

.tilt-card-inner {
  transform: translateZ(20px);
}

/* ---------- MAGNETIC BUTTONS ---------- */
.magnetic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.magnetic-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-saffron);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.magnetic-btn:hover::before {
  opacity: 1;
}

.magnetic-btn span {
  position: relative;
  z-index: 1;
}

.magnetic-btn:hover {
  box-shadow: 0 20px 40px rgba(21, 70, 219, 0.3);
}

/* ---------- ENHANCED NAVIGATION ---------- */
.site-header {
  transition: background 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(251, 247, 240, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.site-header.scrolled .primary-nav .nav-current::before,
.site-header.scrolled .primary-nav .nav-current::after,
.rules-header.scrolled .primary-nav .nav-current::before,
.rules-header.scrolled .primary-nav .nav-current::after {
  content: none;
  width: 0;
}

.nav-enhanced {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, padding 0.3s ease;
}

.nav-enhanced.scrolled {
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Enhanced nav links */
.primary-nav a {
  position: relative;
  overflow: hidden;
}

.primary-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s var(--ease-out-expo);
}

.primary-nav a:hover::before {
  width: 100%;
}

.primary-nav .nav-current::before {
  width: 100%;
  background: var(--blue);
}

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

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s var(--ease-out-expo);
}

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

/* ---------- BENTO GRID ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

/* Override for why-grid specifically */
.why-grid.bento-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}

@media (max-width: 900px) {
  .why-grid.bento-grid {
    grid-template-columns: 1fr;
  }
}

/* Override for rights-grid specifically */
.rights-grid.stagger-reveal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rights-grid .card-enhanced {
  padding: 28px;
}

@media (max-width: 900px) {
  .rights-grid.stagger-reveal {
    grid-template-columns: 1fr;
  }
}

.bento-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.bento-item:hover::before {
  transform: scaleX(1);
}

/* Bento sizes */
.bento-lg { grid-column: span 8; }
.bento-md { grid-column: span 6; }
.bento-sm { grid-column: span 4; }
.bento-tall { grid-row: span 2; }

/* ---------- INDIAN DESIGN ELEMENTS ---------- */

/* Kolam-inspired divider */
.kolam-divider {
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='40' viewBox='0 0 60 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 20 L30 35 L5 20 Z' fill='none' stroke='%23FF6B35' stroke-width='1' opacity='0.3'/%3E%3Ccircle cx='30' cy='20' r='3' fill='%23FF6B35' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.6;
}

/* Tricolor accent line */
.tricolor-line {
  height: 4px;
  background: linear-gradient(90deg, 
    var(--saffron) 0%, var(--saffron) 33.33%,
    white 33.33%, white 66.66%,
    #138808 66.66%, #138808 100%);
  border-radius: 2px;
}

/* Chakra-style progress */
.chakra-progress {
  width: 60px;
  height: 60px;
  position: relative;
}

.chakra-progress svg {
  transform: rotate(-90deg);
}

.chakra-progress circle {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.chakra-progress .track {
  stroke: var(--line);
}

.chakra-progress .fill {
  stroke: var(--blue);
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 1s var(--ease-out-expo);
}

/* Ashoka Chakra loader */
.ashoka-loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--blue);
  position: relative;
  animation: ashokaRotate 1s linear infinite;
}

.ashoka-loader::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed var(--saffron);
  animation: ashokaRotate 2s linear infinite reverse;
}

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

/* ---------- SECTION STYLES ---------- */
.section-enhanced {
  padding: 120px 5%;
  position: relative;
}

.section-enhanced.dark {
  background: var(--ink);
  color: white;
}

.section-number {
  font-size: 200px;
  font-weight: 700;
  color: var(--line);
  position: absolute;
  top: 60px;
  left: 5%;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.section-enhanced.dark .section-number {
  color: rgba(255, 255, 255, 0.05);
}

/* ---------- ENHANCED CARDS ---------- */
.card-enhanced {
  background: white;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.card-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-enhanced:hover::before {
  opacity: 1;
}

.card-enhanced:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 32px 64px rgba(23, 43, 58, 0.12),
    0 0 0 1px rgba(21, 70, 219, 0.1);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--saffron-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--saffron);
  font-size: 28px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

.card-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- HORIZONTAL SCROLL TIMELINE ---------- */
.timeline-horizontal {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 40px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  position: relative;
}

.timeline-horizontal:active {
  cursor: grabbing;
}

.timeline-horizontal::-webkit-scrollbar {
  display: none;
}

/* Scroll indicator gradient */
.timeline-horizontal::after {
  content: '→ Scroll';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--paper) 30%);
  padding: 20px 20px 20px 60px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
  animation: scrollHint 2s ease-in-out infinite;
}

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

.timeline-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: white;
  border-radius: 16px;
  padding: 28px;
  position: relative;
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease-out-expo);
}

.timeline-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--saffron);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--line));
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--saffron);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.timeline-city {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

/* Timeline on dark background */
.yatra-hero .timeline-horizontal::after {
  background: linear-gradient(90deg, transparent, var(--ink) 30%);
  color: rgba(255, 255, 255, 0.5);
}

.yatra-hero .timeline-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.yatra-hero .timeline-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lime);
}

.yatra-hero .timeline-city {
  color: white;
}

/* ---------- PULL QUOTE ---------- */
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  padding-left: 40px;
  margin: 60px 0;
}

.pull-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 120px;
  color: var(--saffron);
  opacity: 0.3;
  line-height: 1;
}

/* ---------- FLOATING ELEMENTS ---------- */
.floating {
  animation: float 6s ease-in-out infinite;
}

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

.floating-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: -3s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-enhanced {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 0 80px;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-symbol {
    font-size: 300px;
    right: -10%;
  }
  
  .bento-lg, .bento-md, .bento-sm {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .nav-links {
    display: none;
  }
  
  .section-number {
    font-size: 100px;
    top: 20px;
  }
  
  .pull-quote {
    font-size: 24px;
    padding-left: 24px;
  }
  
  .pull-quote::before {
    font-size: 80px;
  }
  
  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }
}

/* ---------- ENHANCED FAQ ACCORDIONS ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.faq-item[open] {
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(21, 70, 219, 0.1);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--paper);
}

.faq-item summary b {
  font-size: 24px;
  font-weight: 300;
  color: var(--blue);
  transition: transform 0.3s var(--ease-out-expo);
}

.faq-item[open] summary b {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  animation: slideDown 0.3s var(--ease-out-expo);
}

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

.faq-answer p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-answer a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- ENHANCED CHAPTER SIDEBAR ---------- */
.chapter-rail {
  transition: transform 0.3s ease;
}

.chapter-menu summary {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.chapter-menu summary:hover {
  background: var(--paper);
  color: var(--blue);
}

.chapter-menu[open] summary {
  color: var(--blue);
  background: rgba(21, 70, 219, 0.05);
}

.rail-sections a {
  transition: all 0.2s ease;
  position: relative;
}

.rail-sections a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--saffron);
  transition: height 0.2s ease;
}

.rail-sections a:hover::before,
.rail-sections a.active::before {
  height: 60%;
}

/* ---------- ENHANCED SECTION PANELS ---------- */
.section-panel {
  animation: fadeInUp 0.4s var(--ease-out-expo);
}

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

.section-panel .statute p {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.2s ease, background 0.2s ease;
}

.section-panel .statute p:hover {
  padding-left: 12px;
  background: rgba(21, 70, 219, 0.03);
}

/* ---------- PAGE LOADING ANIMATION ---------- */
.page-loading {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loading.loaded {
  opacity: 0;
  visibility: hidden;
}

/* ---------- SMOOTH SCROLL BEHAVIOR ---------- */
html {
  scroll-behavior: smooth;
}

/* ---------- LINK UNDERLINE ANIMATION ---------- */
.home-prose a:not(.magnetic-btn):not(.home-links a) {
  position: relative;
  text-decoration: none;
}

.home-prose a:not(.magnetic-btn):not(.home-links a)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--saffron);
  transition: width 0.3s var(--ease-out-expo);
}

.home-prose a:not(.magnetic-btn):not(.home-links a):hover::after {
  width: 100%;
}

/* ---------- BUTTON RIPPLE EFFECT ---------- */
.magnetic-btn {
  position: relative;
  overflow: hidden;
}

.magnetic-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---------- GLASSMORPHISM CARDS ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
}

/* ---------- GLOW EFFECTS ---------- */
.glow-blue {
  box-shadow: 0 0 40px rgba(21, 70, 219, 0.15);
}

.glow-saffron {
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.15);
}

/* ---------- TEXT GRADIENT ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--blue), var(--saffron));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- MARQUEE ANIMATION ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

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

.wp-route {
  position: relative;
  margin: 28px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wp-route .wp-stop.revealed:nth-child(1) { transition-delay: 0.05s; }
.wp-route .wp-stop.revealed:nth-child(2) { transition-delay: 0.12s; }
.wp-route .wp-stop.revealed:nth-child(3) { transition-delay: 0.18s; }
.wp-route .wp-stop.revealed:nth-child(4) { transition-delay: 0.24s; }
.wp-route .wp-stop.revealed:nth-child(5) { transition-delay: 0.3s; }
.wp-route .wp-stop.revealed:nth-child(6) { transition-delay: 0.36s; }
.wp-route::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--lime), var(--blue));
}
.wp-stop {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 18px;
  align-items: stretch;
}
.wp-stop:nth-child(even) .wp-copy { order: 3; }
.wp-stop:nth-child(even) .wp-media { order: 1; }
.wp-stop:nth-child(even) .wp-node { order: 2; }
.wp-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px 18px;
  box-shadow: 0 10px 28px rgba(51, 61, 98, 0.06);
}
.wp-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.wp-meta time { color: var(--muted); font-weight: 600; letter-spacing: 0.06em; }
.home-prose .wp-copy h4 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.home-prose .wp-copy p {
  max-width: none;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.home-prose .wp-copy .wp-coords { margin: 0 0 12px; font-size: 12px; color: var(--blue); }
.wp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-tags span {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.wp-tags small {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.wp-node { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.wp-node span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--lime);
}
.wp-media {
  margin: 0;
  min-height: 220px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
}
.wp-media-a { background: linear-gradient(145deg, var(--ink) 0%, var(--blue-deep) 70%, var(--blue) 100%); }
.wp-media-b { background: linear-gradient(160deg, var(--blue-deep) 0%, var(--ink) 55%, var(--blue) 140%); }
.wp-media-c { background: linear-gradient(200deg, var(--ink) 10%, var(--blue) 100%); }
.wp-media-d { background: linear-gradient(135deg, var(--blue) 0%, var(--ink) 80%); }
.wp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(circle at 22% 28%, color-mix(in srgb, var(--lime) 40%, transparent), transparent 42%),
    linear-gradient(to top, color-mix(in srgb, var(--ink) 62%, transparent), transparent 52%); */
}
.wp-media figcaption {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.wp-media figcaption span:last-child {
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.act-banner {
  background: #f7f8f6;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 280px;
  padding: 48px 40px 42px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.act-scribble {
  width: 92px;
  height: 28px;
  color: var(--blue);
  margin-bottom: 18px;
}
.act-banner h3 {
  margin: 0 auto 14px;
  max-width: 640px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--ink);
}
.act-banner p {
  margin: 0 auto 26px;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.enforcement-timer {
  margin: 0 auto 28px;
}

.enforcement-label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.enforcement-units {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.enforcement-units div {
  min-width: 64px;
}

.enforcement-units strong {
  display: block;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.enforcement-units span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
}

.act-banner .download-link {
  position: static;
  min-width: 220px;
  margin: 0 auto;
  border-radius: 8px;
  text-align: left;
}

.act-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
}
.act-download svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.act-download:hover,
.act-download:focus-visible {
  background: var(--blue-deep);
}
@media (max-width: 860px) {
  .wp-route::before { left: 21px; transform: none; }
  .wp-stop, .wp-stop:nth-child(even) { grid-template-columns: 42px 1fr; gap: 12px; }
  .wp-stop:nth-child(even) .wp-copy,
  .wp-stop:nth-child(even) .wp-media,
  .wp-stop:nth-child(even) .wp-node,
  .wp-copy, .wp-media, .wp-node { order: unset; }
  .wp-node { grid-row: 1 / span 2; align-items: flex-start; padding-top: 18px; }
  .wp-copy { grid-column: 2; }
  .wp-media { grid-column: 2; min-height: 140px; }
  .home-prose .wp-copy h4 { font-size: 24px; }
}

.wp-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wp-media figcaption {
  z-index: 2;
}
/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
  
  .stagger-reveal > * {
    opacity: 1;
    transform: none;
  }
}
