/* ═══════════════════════════════════════════════════════════════
   MARKET YATRA — DESIGN SYSTEM
   Dark Neo-Luxury Glassmorphism · Premium Cinematic
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Background ── */
  --bg-page:          #0F1115;
  --bg-secondary:     #161B22;
  --bg-soft:          #1A1F27;
  --bg-alt:           #1E2430;
  --bg-dark:          #0A0C0F;
  --bg-dark-soft:     #12151A;

  /* ── Glass ── */
  --glass-bg:         rgba(255,255,255,0.04);
  --glass-bg-hover:   rgba(255,255,255,0.07);
  --glass-border:     rgba(255,255,255,0.08);
  --glass-border-hover: rgba(255,255,255,0.14);
  --glass-bg-dark:    rgba(0,0,0,0.30);

  /* ── Accent Colors ── */
  --gold:             #FFB547;
  --gold-dark:        #E5A03E;
  --gold-light:       #FFD080;
  --gold-rgb:         255,181,71;
  --orange:           #FF7A18;
  --orange-rgb:       255,122,24;
  --coral:            #FF4D6D;
  --coral-rgb:        255,77,109;
  --teal:             #00D1B2;
  --teal-dark:        #00B89C;
  --teal-rgb:         0,209,178;

  /* Legacy mappings for PHP components */
  --primary:          #FFFFFF;
  --primary-light:    #F0F2F5;
  --primary-dark:     #E0E4EB;
  --primary-rgb:      255,255,255;
  --secondary:        #00D1B2;
  --secondary-light:  #33DBCA;
  --secondary-dark:   #00B89C;
  --secondary-xdark:  #009C85;
  --secondary-rgb:    0,209,178;
  --accent:           #FFB547;
  --accent-dark:      #E5A03E;
  --accent-light:     #FFD080;
  --accent-xlight:    rgba(255,181,71,0.12);
  --accent-rgb:       255,181,71;
  --rust:             #FF7A18;
  --rust-rgb:         255,122,24;

  /* ── Text ── */
  --text-dark:        #FFFFFF;
  --text-body:        #B9C0CF;
  --text-muted:       #7D8597;
  --text-light:       #545D6E;
  --text-inverse:     #FFFFFF;

  /* ── Surfaces ── */
  --surface:          rgba(255,255,255,0.04);
  --surface-solid:    #1A1F27;
  --surface-warm:     rgba(255,181,71,0.04);
  --border:           rgba(255,255,255,0.08);
  --border-strong:    rgba(255,255,255,0.14);

  /* ── Gradients ── */
  --g-hero:           linear-gradient(135deg, #0F1115 0%, #161B22 40%, #1A1F27 100%);
  --g-hero-mesh:
    radial-gradient(ellipse at 20% 30%, rgba(255,181,71,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(0,209,178,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 10%, rgba(255,77,109,0.06) 0%, transparent 45%);
  --g-olive:          linear-gradient(135deg, #FFB547, #FF7A18);
  --g-accent:         linear-gradient(135deg, #FFB547, #FFD080);
  --g-warm:           linear-gradient(135deg, #FF7A18, #FFB547);
  --g-dark:           linear-gradient(135deg, #0A0C0F, #0F1115, #161B22);
  --g-teal:           linear-gradient(135deg, #00D1B2, #00B89C);
  --g-coral:          linear-gradient(135deg, #FF4D6D, #FF6B81);
  --g-premium:        linear-gradient(135deg, #FFB547 0%, #FF7A18 50%, #FF4D6D 100%);

  /* ── Shadows ── */
  --s-xs:             0 1px 3px rgba(0,0,0,0.3);
  --s-sm:             0 2px 8px rgba(0,0,0,0.4);
  --s-md:             0 4px 24px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
  --s-lg:             0 8px 40px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  --s-xl:             0 20px 60px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4);
  --s-glow-gold:      0 0 40px rgba(255,181,71,0.25);
  --s-glow-accent:    0 0 32px rgba(255,181,71,0.30);
  --s-glow-olive:     0 0 40px rgba(255,181,71,0.25);
  --s-glow-teal:      0 0 40px rgba(0,209,178,0.25);
  --s-glow-coral:     0 0 32px rgba(255,77,109,0.25);
  --s-glow-rust:      0 0 32px rgba(255,122,24,0.25);

  /* ── Typography ── */
  --f-head:           'Space Grotesk', sans-serif;
  --f-body:           'Inter', sans-serif;
  --f-brand:          'Space Grotesk', var(--f-head);

  --t-xs:             0.6875rem;
  --t-sm:             0.8125rem;
  --t-base:           0.9375rem;
  --t-md:             1.0625rem;
  --t-lg:             1.25rem;
  --t-xl:             1.625rem;
  --t-2xl:            2.25rem;
  --t-3xl:            3rem;
  --t-4xl:            4rem;

  /* ── Spacing ── */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 5rem;
  --sp-16: 8rem;

  /* ── Radius ── */
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-2xl:  36px;
  --r-full: 9999px;

  /* ── Motion ── */
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:     0.2s;
  --dur-mid:      0.4s;
  --dur-slow:     0.7s;
}

/* ═══════════════════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--dur-fast);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  color: var(--text-dark);
  line-height: 1.15;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

.section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.section-dark {
  background: var(--g-dark);
  color: var(--text-inverse);
}

.section-alt {
  background: var(--bg-secondary);
}

.eyebrow {
  font-size: var(--t-xs);
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.sec-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 16px;
  line-height: 1.1;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.sec-sub {
  font-family: var(--f-body);
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

/* ── Button System ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--g-premium);
  color: #0F1115;
  padding: 16px 36px;
  border-radius: var(--r-full);
  font-size: var(--t-base);
  font-family: var(--f-body);
  font-weight: 700;
  box-shadow: var(--s-glow-gold), 0 4px 16px rgba(0,0,0,0.3);
  transition: all var(--dur-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 0 50px rgba(255,181,71,0.4), 0 8px 24px rgba(0,0,0,0.4);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--g-accent);
  color: #0F1115;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-size: var(--t-base);
  font-family: var(--f-body);
  font-weight: 700;
  box-shadow: var(--s-glow-accent), 0 4px 16px rgba(0,0,0,0.3);
  transition: all var(--dur-fast);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(255,181,71,0.5), 0 8px 24px rgba(0,0,0,0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #FFFFFF;
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-size: var(--t-base);
  font-family: var(--f-body);
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--dur-fast);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  border-radius: var(--r-full);
  font-weight: 600;
  transition: all var(--dur-fast);
}

.btn-outline:hover {
  background: var(--gold);
  color: #0F1115;
}
