/**
 * Voyagera Theme - Ultra Cinematic Page Styles
 * Version: 3.0.0
 * 
 * Complete UI System + Animation Engine
 * All motion classes and visual effects merged into single file
 * 
 * @package Voyagera
 */

/* ============================================
   DESIGN TOKENS / CSS CUSTOM PROPERTIES
   ============================================ */

:root {
  /* Primary Colors */
  --color-primary: #0F4C5C;
  --color-secondary: #2E5D4B;
  
  /* Blue Palette */
  --color-blue-deep: #1E3A8A;
  --color-blue-light: #3B82F6;
  
  /* Sun Palette */
  --color-yellow-warm: #D97706;
  --color-yellow-light: #FCD34D;
  
  /* Accent Colors */
  --color-accent: var(--color-yellow-warm);
  --color-accent-light: var(--color-yellow-light);
  
  /* Neutral Colors */
  --color-text: #1a1a2e;
  --color-text-muted: #6b7280;
  --color-text-subtle: #9ca3af;
  
  /* Background Colors */
  --color-bg: #ffffff;
  --color-bg-surface: #f8fafc;
  --color-bg-dark: #0a0a0f;
  
  /* Border Colors */
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Manrope', var(--font-body);
  
  /* Spacing (8px Grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(var(--color-primary-rgb, 15, 76, 92), 0.3);
  
  /* Animation */
  --ease-smooth: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  
  --duration-fast: 0.2s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
  --duration-slower: 0.8s;
  
  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-loader: 500;
  --z-tooltip: 600;
}

/* Dark Mode Variables */
.dark {
  --color-bg: #0a0a0f;
  --color-bg-surface: #111118;
  --color-text: #f8fafc;
  --color-text-muted: #9ca3af;
  --color-border: rgba(255, 255, 255, 0.08);
}

/* ============================================
   ULTRA GLOBAL ANIMATION ENGINE
   25 Animation Classes
   ============================================ */

/* Animation Keyframes */

/* 1. Fade Up */
@keyframes animFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2. Fade Down */
@keyframes animFadeDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 3. Fade In */
@keyframes animFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 4. Fade Out */
@keyframes animFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* 5. Slide Left */
@keyframes animSlideLeft {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 6. Slide Right */
@keyframes animSlideRight {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 7. Slide Up */
@keyframes animSlideUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 8. Slide Down */
@keyframes animSlideDown {
  from { opacity: 0; transform: translateY(-60px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 9. Scale In */
@keyframes animScaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* 10. Scale Out */
@keyframes animScaleOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.85); }
}

/* 11. Zoom In */
@keyframes animZoomIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* 12. Zoom Out */
@keyframes animZoomOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.5); }
}

/* 13. Rotate In */
@keyframes animRotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

/* 14. Rotate Out */
@keyframes animRotateOut {
  from { opacity: 1; transform: rotate(0) scale(1); }
  to { opacity: 0; transform: rotate(10deg) scale(0.9); }
}

/* 15. Blur In */
@keyframes animBlurIn {
  from { opacity: 0; filter: blur(20px); }
  to { opacity: 1; filter: blur(0); }
}

/* 16. Blur Out */
@keyframes animBlurOut {
  from { opacity: 1; filter: blur(0); }
  to { opacity: 0; filter: blur(20px); }
}

/* 17. Flip X */
@keyframes animFlipX {
  from { opacity: 0; transform: perspective(400px) rotateX(90deg); }
  to { opacity: 1; transform: perspective(400px) rotateX(0); }
}

/* 18. Flip Y */
@keyframes animFlipY {
  from { opacity: 0; transform: perspective(400px) rotateY(90deg); }
  to { opacity: 1; transform: perspective(400px) rotateY(0); }
}

/* 19. Reveal Mask */
@keyframes animRevealMask {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* 20. Stagger Base */
@keyframes animStagger {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 21. Stagger Fast */
@keyframes animStaggerFast {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 22. Stagger Slow */
@keyframes animStaggerSlow {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 23. Float */
@keyframes animFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* 24. Glow */
@keyframes animGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(var(--color-primary-rgb, 15, 76, 92), 0.3); }
  50% { box-shadow: 0 0 40px rgba(var(--color-primary-rgb, 15, 76, 92), 0.6); }
}

/* 25. Bounce Soft */
@keyframes animBounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Animation Class Base */
[class*="anim-"] {
  opacity: 0;
  transition-timing-function: var(--ease-smooth);
  transition-duration: var(--duration-slow);
  transition-property: opacity, transform, filter;
}

/* Animation States */
.anim-fade-up.is-visible { animation: animFadeUp 0.8s var(--ease-smooth) forwards; }
.anim-fade-down.is-visible { animation: animFadeDown 0.8s var(--ease-smooth) forwards; }
.anim-fade-in.is-visible { animation: animFadeIn 0.6s var(--ease-smooth) forwards; }
.anim-fade-out.is-visible { animation: animFadeOut 0.6s var(--ease-smooth) forwards; }

.anim-slide-left.is-visible { animation: animSlideLeft 0.8s var(--ease-smooth) forwards; }
.anim-slide-right.is-visible { animation: animSlideRight 0.8s var(--ease-smooth) forwards; }
.anim-slide-up.is-visible { animation: animSlideUp 0.8s var(--ease-smooth) forwards; }
.anim-slide-down.is-visible { animation: animSlideDown 0.8s var(--ease-smooth) forwards; }

.anim-scale-in.is-visible { animation: animScaleIn 0.6s var(--ease-smooth) forwards; }
.anim-scale-out.is-visible { animation: animScaleOut 0.6s var(--ease-smooth) forwards; }

.anim-zoom-in.is-visible { animation: animZoomIn 0.5s var(--ease-smooth) forwards; }
.anim-zoom-out.is-visible { animation: animZoomOut 0.5s var(--ease-smooth) forwards; }

.anim-rotate-in.is-visible { animation: animRotateIn 0.6s var(--ease-smooth) forwards; }
.anim-rotate-out.is-visible { animation: animRotateOut 0.6s var(--ease-smooth) forwards; }

.anim-blur-in.is-visible { animation: animBlurIn 0.8s var(--ease-smooth) forwards; }
.anim-blur-out.is-visible { animation: animBlurOut 0.8s var(--ease-smooth) forwards; }

.anim-flip-x.is-visible { animation: animFlipX 0.8s var(--ease-smooth) forwards; }
.anim-flip-y.is-visible { animation: animFlipY 0.8s var(--ease-smooth) forwards; }

.anim-reveal-mask.is-visible { animation: animRevealMask 1s var(--ease-smooth) forwards; }

.anim-stagger.is-visible,
.anim-stagger-fast.is-visible,
.anim-stagger-slow.is-visible {
  opacity: 1;
}

.anim-float.is-visible { animation: animFloat 4s ease-in-out infinite; }
.anim-glow.is-visible { animation: animGlow 2s ease-in-out infinite; }
.anim-bounce-soft.is-visible { animation: animBounceSoft 2s ease-in-out infinite; }

/* Stagger Children */
.anim-stagger > * { animation: animStagger 0.6s var(--ease-smooth) forwards; }
.anim-stagger-fast > * { animation: animStaggerFast 0.4s var(--ease-smooth) forwards; }
.anim-stagger-slow > * { animation: animStaggerSlow 1s var(--ease-smooth) forwards; }

.anim-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.anim-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.anim-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.anim-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.anim-stagger > *:nth-child(5) { animation-delay: 0.5s; }
.anim-stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* Delay Utilities */
[data-delay="100"] { animation-delay: 0.1s !important; transition-delay: 0.1s !important; }
[data-delay="200"] { animation-delay: 0.2s !important; transition-delay: 0.2s !important; }
[data-delay="300"] { animation-delay: 0.3s !important; transition-delay: 0.3s !important; }
[data-delay="400"] { animation-delay: 0.4s !important; transition-delay: 0.4s !important; }
[data-delay="500"] { animation-delay: 0.5s !important; transition-delay: 0.5s !important; }

/* ============================================
   BASE LAYOUT
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

.voyagera-main {
  position: relative;
  overflow: hidden;
}

/* Container System */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-narrow { max-width: 800px; }
.container-medium { max-width: 1024px; }
.container-site { max-width: 1280px; }
.container-wide { max-width: 1440px; }

/* Section Spacing */
.section-lg { padding: var(--space-24) 0; }
.section-md { padding: var(--space-16) 0; }
.section-sm { padding: var(--space-10) 0; }

/* Background Utilities */
.bg-surface { background: var(--color-bg-surface); }
.bg-dark { background: var(--color-bg-dark); color: #fff; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-lead { font-size: 1.125rem; line-height: 1.7; }
.text-accent { color: var(--color-accent); }

/* ============================================
   PAGE LOADER
   ============================================ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #0d1117 100%);
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Loader Particles */
.loader-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-yellow-warm);
  border-radius: 50%;
  opacity: 0.6;
  animation: loaderParticleFloat 8s ease-in-out infinite;
}

.loader-particle--1 { left: 10%; top: 20%; animation-delay: 0s; }
.loader-particle--2 { left: 25%; top: 60%; animation-delay: 1s; }
.loader-particle--3 { left: 50%; top: 30%; animation-delay: 2s; }
.loader-particle--4 { left: 70%; top: 70%; animation-delay: 3s; }
.loader-particle--5 { left: 85%; top: 40%; animation-delay: 4s; }
.loader-particle--6 { left: 15%; top: 80%; animation-delay: 5s; }
.loader-particle--7 { left: 60%; top: 15%; animation-delay: 6s; }
.loader-particle--8 { left: 90%; top: 85%; animation-delay: 7s; }

@keyframes loaderParticleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  50% { transform: translateY(-30px) translateX(15px); opacity: 1; }
}

/* Loader Inner */
.loader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-10);
}

/* Loader Decoration */
.loader-decoration {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.loader-decoration--bottom {
  margin-top: var(--space-6);
  margin-bottom: 0;
}

.loader-decoration span {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.5;
}

/* Loader Brand */
.loader-brand {
  text-align: center;
}

.loader-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-3);
}

.loader-title-text {
  color: #fff;
  text-shadow: 0 0 60px rgba(var(--color-primary-rgb, 15, 76, 92), 0.5);
}

.loader-title-glow {
  position: absolute;
  inset: 0;
  color: var(--color-yellow-warm);
  filter: blur(20px);
  opacity: 0.5;
  animation: loaderGlowPulse 2s ease-in-out infinite;
}

@keyframes loaderGlowPulse {
  0%, 100% { opacity: 0.3; filter: blur(20px); }
  50% { opacity: 0.6; filter: blur(30px); }
}

.loader-tagline {
  color: var(--color-text-muted);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Loader Dots */
.loader-dots {
  display: flex;
  gap: var(--space-2);
  margin: var(--space-6) 0;
}

.loader-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: loaderDotPulse 1.4s ease-in-out infinite;
}

.loader-dot--1 { animation-delay: 0s; }
.loader-dot--2 { animation-delay: 0.2s; }
.loader-dot--3 { animation-delay: 0.4s; }

@keyframes loaderDotPulse {
  0%, 80%, 100% { transform: scale(1); opacity: 0.5; }
  40% { transform: scale(1.3); opacity: 1; }
}

/* Loader Progress */
.loader-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-yellow-warm));
  animation: loaderProgress 2.5s ease-out forwards;
}

@keyframes loaderProgress {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Loader Corners */
.loader-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-primary);
  opacity: 0.3;
}

.loader-corner--tl { top: 40px; left: 40px; border-right: none; border-bottom: none; }
.loader-corner--tr { top: 40px; right: 40px; border-left: none; border-bottom: none; }
.loader-corner--bl { bottom: 40px; left: 40px; border-right: none; border-top: none; }
.loader-corner--br { bottom: 40px; right: 40px; border-left: none; border-top: none; }

/* ============================================
   CINEMATIC HERO SECTION
   ============================================ */

.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero Background */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-parallax {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-parallax--back {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
}

.hero-parallax--front {
  background: radial-gradient(ellipse at 30% 30%, rgba(15, 76, 92, 0.2) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 70%, rgba(217, 119, 6, 0.1) 0%, transparent 50%);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.3) 0%,
    rgba(10, 10, 15, 0.5) 50%,
    rgba(10, 10, 15, 0.9) 100%
  );
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Travel Particles */
.travel-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Travel Stars */
.travel-stars {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 40%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
  animation: starsTwinkle 4s ease-in-out infinite;
}

@keyframes starsTwinkle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Hero Routes */
.hero-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-route {
  fill: none;
  stroke: url(#route-gradient);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: routeDraw 4s ease-out forwards;
}

.route-1 { animation-delay: 0.5s; }
.route-2 { animation-delay: 1s; }

@keyframes routeDraw {
  to { stroke-dashoffset: 0; }
}

.airplane-dot {
  filter: drop-shadow(0 0 6px var(--color-yellow-warm));
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--space-20) var(--space-6);
}

.hero-title {
  color: #fff;
  margin-bottom: var(--space-6);
}

.title-line {
  display: block;
}

.title-line--2 {
  color: var(--color-yellow-warm);
}

.hero-subtitle {
  max-width: 600px;
  margin: 0 auto var(--space-8);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ============================================
   BADGES
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-yellow {
  background: var(--color-yellow-warm);
  color: #fff;
}

.badge-primary {
  background: var(--color-primary);
  color: #fff;
}

.badge-accent {
  background: var(--color-accent);
  color: #fff;
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--color-border-light);
  color: inherit;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  overflow: hidden;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: #0d3d4a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: #c26d05;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-white {
  background: #fff;
  color: var(--color-text);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
}

/* Magnetic Button */
.btn-magnetic {
  will-change: transform;
}

/* Ripple Effect */
.btn-ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.3s;
}

.btn-ripple:active::after {
  transform: scale(2);
  opacity: 1;
  transition: transform 0s, opacity 0s;
}

/* ============================================
   3D CARD SYSTEM
   ============================================ */

.card-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--duration-normal) var(--ease-smooth);
  will-change: transform;
}

.card-3d:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateZ(10px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  margin-bottom: var(--space-12);
}

.section-badge {
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-lead {
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   TRUST INDICATORS
   ============================================ */

.section-trust {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  text-align: center;
  padding: var(--space-6);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
  color: #fff;
}

.trust-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.trust-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================
   DEMO SHOWCASE
   ============================================ */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

.demo-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.demo-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
}

.demo-preview {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.demo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-smooth);
}

.demo-card:hover .demo-img {
  transform: scale(1.05);
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.demo-card:hover .demo-overlay {
  opacity: 1;
}

.demo-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--color-yellow-warm);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.demo-info {
  padding: var(--space-5);
}

.demo-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.demo-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.demo-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;

    opacity:0;
    transform:translateY(10px);

    transition:all .4s ease;
}

.demo-card:hover .demo-overlay{
    opacity:1;
    transform:translateY(0);
}

.demo-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.btn-outline{
    background:transparent;
    border:2px solid #fff;
    color:#fff;
}

.btn-outline:hover{
    background:#fff;
    color:#000;
}
/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  background: var(--color-bg);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.feature-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(15, 76, 92, 0.1), rgba(46, 93, 75, 0.1));
  border-radius: var(--radius-lg);
  color: var(--color-primary);
}

.feature-title {
  font-size: 1rem;
  margin-bottom: var(--space-3);
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   DESTINATIONS GALLERY
   ============================================ */

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: var(--space-4);
}

.destination-item.large {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  
  .destination-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  
  .destination-item.large {
    grid-column: span 1;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--duration-normal) var(--ease-smooth);
}

.gallery-item:hover .destination-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.destination-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-yellow-warm);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  width: fit-content;
}

.destination-title {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
}

.destination-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ============================================
   STORYTELLING SECTION
   ============================================ */

.storytelling-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 1024px) {
  .storytelling-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.story-title {
  margin-bottom: var(--space-5);
}

.story-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.story-features {
  list-style: none;
}

.story-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--color-text);
}

.story-features svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.story-visual {
  position: relative;
}

.story-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.story-image {
  width: 100%;
  height: auto;
  display: block;
}

.story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 76, 92, 0.2), transparent);
}

.story-stats-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .story-stats-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: var(--space-6);
  }
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-md);
  color: #fff;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--space-6);
  transition: transform var(--duration-slower) var(--ease-smooth);
}

.testimonial-slide {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 calc(50% - var(--space-3));
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 calc(33.333% - var(--space-4));
  }
}

.testimonial-card {
  background: var(--color-bg);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  height: 100%;
}

.testimonial-rating {
  display: flex;
  gap: var(--space-1);
  color: var(--color-yellow-warm);
  margin-bottom: var(--space-5);
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
}

.author-name {
  display: block;
  font-weight: 600;
}

.author-role {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.slider-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: var(--space-2);
}

.slider-dots::before,
.slider-dots::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-full);
}

/* ============================================
   GLOBE SECTION
   ============================================ */

.section-globe {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-surface) 100%);
}

.globe-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 1024px) {
  .globe-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .globe-stats {
    justify-content: center;
  }
}

.globe-title {
  margin-bottom: var(--space-5);
}

.globe-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.globe-stats {
  display: flex;
  gap: var(--space-8);
}

.globe-stat {
  text-align: center;
}

.globe-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.globe-stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Globe Visual */
.travel-globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.globe-css-fallback {
  position: relative;
  width: 100%;
  height: 100%;
}

.globe-sphere {
  position: absolute;
  inset: 10%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 50%;
  box-shadow: 
    inset -20px -20px 60px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(15, 76, 92, 0.3);
  animation: globeRotate 20s linear infinite;
}

@keyframes globeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.globe-ring {
  position: absolute;
  border: 2px solid rgba(15, 76, 92, 0.2);
  border-radius: 50%;
}

.globe-ring--1 {
  inset: 5%;
  animation: globeRingRotate 30s linear infinite reverse;
}

.globe-ring--2 {
  inset: 0;
  animation: globeRingRotate 25s linear infinite;
}

.globe-ring--3 {
  inset: -5%;
  animation: globeRingRotate 35s linear infinite reverse;
}

@keyframes globeRingRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   INNER PAGES
   ========================================= */

.inner-pages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .inner-pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .inner-pages-grid {
    grid-template-columns: 1fr;
  }
}

.page-thumb {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-smooth);
}

.page-thumb:hover img {
  transform: scale(1.05);
}

.page-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */

.section-cta {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
}

.cta-parallax {
  position: absolute;
  inset: -20%;
  background: linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-primary) 100%);
  background-size: 200% 200%;
  animation: ctaGradientShift 10s ease infinite;
}

@keyframes ctaGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.cta-routes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

.route-bg {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 20;
  stroke-dasharray: none;
  animation: none;
}

.route-fg {
  stroke: var(--color-yellow-warm);
  stroke-width: 2;
  animation: routeDraw 3s ease-out forwards;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-badge {
  margin-bottom: var(--space-5);
}

.cta-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-5);
}

.cta-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto var(--space-8);
}

.cta-actions {
  margin-bottom: var(--space-8);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: var(--z-fixed);
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-yellow-warm));
  transition: width 0.1s linear;
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-sticky);
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-secondary);
  transform: translateY(-4px);
}

/* ============================================
   PARALLAX CLOUDS
   ============================================ */

.parallax-clouds {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: 300px;
  height: 100px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
}

.cloud--1 {
  top: 20%;
  left: -10%;
  animation: cloudFloat 40s linear infinite;
}

.cloud--2 {
  top: 60%;
  left: 30%;
  animation: cloudFloat 50s linear infinite reverse;
}

.cloud--3 {
  top: 40%;
  right: -10%;
  animation: cloudFloat 35s linear infinite;
}

@keyframes cloudFloat {
  from { transform: translateX(0); }
  to { transform: translateX(100vw); }
}

/* ============================================
   RESPONSIVE PERFORMANCE
   ============================================ */

/* Tablet - Reduce animation intensity */
@media (max-width: 1024px) {
  [class*="anim-slide"] {
    animation-duration: 0.6s;
  }
  
  .hero-parallax {
    background-attachment: scroll;
  }
}

/* Mobile - Disable heavy animations */
@media (max-width: 640px) {
  .card-3d:hover {
    transform: none;
  }
  
  .anim-float,
  .anim-glow,
  .anim-bounce-soft {
    animation: none;
  }
  
  .travel-particles,
  .travel-stars {
    display: none;
  }
  
  .globe-sphere {
    animation-duration: 40s;
  }
  
  .globe-ring {
    display: none;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  [class*="anim-"] {
    opacity: 1;
    transform: none;
  }
  
  .page-loader {
    display: none;
  }
}

/* ============================================
   RTL SUPPORT
   ============================================ */

[dir="rtl"] .anim-slide-left {
  animation-name: animSlideRight;
}

[dir="rtl"] .anim-slide-right {
  animation-name: animSlideLeft;
}

[dir="rtl"] .anim-reveal-mask {
  animation-name: animRevealMaskRtl;
}

@keyframes animRevealMaskRtl {
  from { clip-path: inset(0 0 0 100%); opacity: 0; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* ============================================
   DARK MODE ENHANCEMENTS
   ============================================ */

.dark .section-trust {
  background: var(--color-bg-dark);
}

.dark .demo-card,
.dark .feature-item,
.dark .testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .trust-value,
.dark .feature-title,
.dark .demo-title {
  color: #fff;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .page-loader,
  .travel-particles,
  .travel-stars,
  .hero-routes,
  .parallax-clouds,
  .scroll-progress,
  .back-to-top {
    display: none !important;
  }
  
  .section-hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  [class*="anim-"] {
    opacity: 1;
    transform: none;
  }
}
