@import "./fonts/stylesheet.css";

/* ===================================
   Bitkets.com - Landing Page Styles
   Modern, Premium Design System
   =================================== */

/* CSS Variables - Design Tokens */
:root {
  /* Colors - Orange/Amber Brand */
  --primary-50: #fff8eb;
  --primary-100: #fde9c8;
  --primary-200: #fbd28c;
  --primary-300: #f9b450;
  --primary-400: #f79319;
  --primary-500: #f1760f;
  --primary-600: #d65409;
  --primary-700: #b1370c;
  --primary-800: #902b10;
  --primary-900: #762411;

  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Accent Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-lao: "Chanthavong", "Noto Sans Lao", "Phetsarath OT", sans-serif;
  --font-thai: "Noto Sans Thai", "Inter", sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
}

/* Language-specific fonts */
html[lang="lo"] body {
  font-family: var(--font-lao);
}

html[lang="th"] body {
  font-family: var(--font-thai);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: white;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-500) 0%,
    var(--primary-700) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-text {
  background: linear-gradient(
    135deg,
    var(--primary-500) 0%,
    var(--primary-700) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-500);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--primary-600);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: var(--gray-50);
  border-color: var(--primary-400);
}

.lang-btn i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.lang-switcher.active .lang-btn i {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--space-xs);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  min-width: 140px;
  overflow: hidden;
}

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

.lang-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background var(--transition-fast);
}

.lang-option:hover {
  background: var(--gray-50);
}

.lang-option.active {
  background: var(--primary-50);
  color: var(--primary-700);
}

.lang-flag {
  font-size: 1.25rem;
}

.mobile-menu-btn {
  display: none;
  padding: var(--space-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--gray-700);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-500) 0%,
    var(--primary-600) 100%
  );
  color: white;
  box-shadow: 0 4px 14px 0 rgba(241, 118, 15, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-600) 0%,
    var(--primary-700) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(241, 118, 15, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
}

.btn-outline:hover {
  border-color: var(--primary-500);
  color: var(--primary-600);
  background: var(--primary-50);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8125rem;
}

.btn-nav {
  padding: var(--space-sm) var(--space-lg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary-50) 0%,
    #fef3c7 50%,
    var(--primary-100) 100%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(var(--primary-200) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: white;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-700);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Hero Card / Ticket Preview */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  /* Reduced rotation for cleaner look */
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(2deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.ticket-preview {
  width: 340px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  padding: 0;
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--primary-500);
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.ticket-brand-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.ticket-logo {
  font-size: 1.5rem;
}

.ticket-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-600);
}

.ticket-id {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
}

.ticket-route-container {
  padding: 0 var(--space-xl) var(--space-lg);
}

.ticket-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.route-point {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.route-code {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.route-city-name {
  font-family: var(--font-lao);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.route-line {
  flex: 1;
  height: 2px;
  background: var(--primary-200);
  margin: 0 var(--space-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-line i {
  position: absolute;
  background: white;
  padding: 0 var(--space-sm);
  color: var(--primary-500);
  font-size: 1.25rem;
}

/* Dashed Divider */
.ticket-divider {
  width: 100%;
  height: 1px;
  border-bottom: 2px dashed var(--gray-200);
  margin-bottom: var(--space-lg);
  position: relative;
}

.ticket-divider::before,
.ticket-divider::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  background: transparent; /* Match hero bg if possible, but transparent works if card is floating */
  border-radius: 50%;
  /* Use a box shadow hack to create the cutout effect if background isn't solid, 
     but simple circle overlay matches better for floating cards */
  background: #fff8eb; /* Matches --primary-50 of hero gradient roughly */
}

.ticket-divider::before {
  left: -10px;
}

.ticket-divider::after {
  right: -10px;
}

.ticket-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md) var(--space-sm);
  margin: 0 var(--space-xl) var(--space-lg);
  padding: var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.ticket-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-family: var(--font-lao);
  margin-bottom: 4px;
}

.info-value {
  font-weight: 700;
  color: var(--gray-800);
  font-size: 1rem;
}

.ticket-footer {
  padding: 0 var(--space-xl) var(--space-xl);
  display: flex;
  justify-content: center;
}

.ticket-qr {
  display: flex;
  justify-content: center;
}

.qr-placeholder {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gray-800);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--primary-100);
  color: var(--primary-700);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* ===================================
   Features Section
   =================================== */
.features {
  padding: var(--space-3xl) 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-100) 0%,
    var(--primary-50) 100%
  );
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  color: var(--primary-600);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-md);
}

.step {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: var(--space-lg);
  position: relative;
}

.step-number {
  position: absolute;
  top: 0;
  right: var(--space-lg);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-100);
  line-height: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 2rem;
  color: var(--primary-500);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: var(--gray-300);
  font-size: 1.25rem;
}

/* ===================================
   Routes Section
   =================================== */
.routes {
  padding: var(--space-3xl) 0;
  background: white;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.route-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.route-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.route-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: white;
  color: var(--primary-600);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.route-badge.badge-new {
  background: var(--success);
  color: white;
}

.route-content {
  padding: var(--space-lg);
}

.route-cities {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.route-cities i {
  color: var(--gray-400);
  font-size: 0.75rem;
}

.route-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: var(--space-md);
}

.route-meta i {
  color: var(--gray-400);
}

.price-value {
  font-weight: 700;
  color: var(--primary-600);
}

.routes-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ===================================
   Download Section
   =================================== */
.download {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary-600) 0%,
    var(--primary-800) 100%
  );
  z-index: -1;
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.download-text {
  color: white;
}

.download-text .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.download-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.download-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.download-features {
  margin-bottom: var(--space-xl);
}

.download-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.download-features i {
  color: var(--primary-300);
}

.download-buttons {
  display: flex;
  gap: var(--space-md);
}

.store-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  color: white;
  transition: all var(--transition-fast);
}

.store-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.store-btn i {
  font-size: 1.75rem;
}

.store-text {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  line-height: 1.3;
}

.store-text strong {
  font-size: 1rem;
}

/* Phone Mockup */
.download-image {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  background: var(--gray-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-2xl);
}

.phone-screen {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9/16;
}

.app-preview {
  height: 100%;
  padding: var(--space-md);
}

.app-header {
  text-align: center;
  padding: var(--space-md);
  font-weight: 700;
  color: var(--primary-600);
  font-size: 1.125rem;
}

.app-search {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
}

.search-field {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.search-field i {
  color: var(--primary-500);
}

.app-btn {
  margin-top: var(--space-sm);
  padding: var(--space-md);
  background: linear-gradient(
    135deg,
    var(--primary-500) 0%,
    var(--primary-600) 100%
  );
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--gray-900);
  color: white;
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand .logo-text {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
}

.footer-desc {
  color: var(--gray-400);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-600);
  color: white;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-400);
}

.footer-contact ul {
  color: var(--gray-400);
  font-size: 0.9375rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-contact i {
  color: var(--primary-500);
  width: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-800);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--primary-400);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}
.animate-delay-2 {
  animation-delay: 0.2s;
}
.animate-delay-3 {
  animation-delay: 0.3s;
}
.animate-delay-4 {
  animation-delay: 0.4s;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto var(--space-xl);
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    margin-bottom: var(--space-xl);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-features {
    display: inline-block;
    text-align: left;
  }

  .download-buttons {
    justify-content: center;
  }

  .download-image {
    order: -1;
    margin-bottom: var(--space-xl);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    gap: var(--space-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .btn-nav {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    transform: rotate(90deg);
    padding: 0;
    margin: var(--space-md) 0;
  }

  .routes-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-desc {
    max-width: none;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .ticket-preview {
    width: 280px;
  }

  .download-buttons {
    flex-direction: column;
  }

  .phone-mockup {
    width: 240px;
  }
}

/* ===================================
   Legal Pages (Terms, Privacy)
   =================================== */
.legal-page {
  padding-top: 120px;
  padding-bottom: var(--space-3xl);
  min-height: calc(100vh - 200px);
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.legal-updated {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: var(--space-xl);
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.legal-section p {
  color: var(--gray-600);
  line-height: 1.8;
}

.legal-back {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ===================================
   Countdown Timer
   =================================== */
.countdown-container {
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 248, 235, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px -10px rgba(241, 118, 15, 0.3);
  animation: countdownGlow 2s ease-in-out infinite alternate;
}

@keyframes countdownGlow {
  0% {
    box-shadow: 0 10px 40px -10px rgba(241, 118, 15, 0.3);
  }
  100% {
    box-shadow: 0 10px 50px -5px rgba(241, 118, 15, 0.5);
  }
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.countdown-icon {
  font-size: 1.5rem;
  animation: rocketPulse 1s ease-in-out infinite;
}

@keyframes rocketPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.countdown-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--primary-600) 0%,
    var(--primary-800) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

.countdown-separator {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-400);
  opacity: 0.6;
  margin-bottom: var(--space-lg);
  animation: separatorBlink 1s ease-in-out infinite;
}

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

/* Countdown Responsive */
@media (max-width: 768px) {
  .countdown-container {
    padding: var(--space-md) var(--space-lg);
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-item {
    min-width: 55px;
  }

  .countdown-separator {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .countdown-container {
    padding: var(--space-md);
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .countdown-item {
    min-width: 45px;
  }

  .countdown-label {
    font-size: 0.625rem;
  }

  .countdown-separator {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
  }

  .countdown-title {
    font-size: 0.875rem;
  }
}
