@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --background: hsl(0 0% 100%);
  --foreground: hsl(222 84% 4.9%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(222 84% 4.9%);
  --popover: hsl(0 0% 100%);
  --popover-foreground: hsl(222 84% 4.9%);
  --primary: hsl(210 100% 12%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(210 40% 96%);
  --secondary-foreground: hsl(222 84% 4.9%);
  --muted: hsl(210 40% 96%);
  --muted-foreground: hsl(215 13% 40%);
  --accent: hsl(39 100% 52%);
  --accent-foreground: hsl(210 100% 12%);
  --destructive: hsl(0 84% 60%);
  --destructive-foreground: hsl(0 0% 100%);
  --border: hsl(214 32% 91%);
  --input: hsl(214 32% 91%);
  --ring: hsl(222 84% 4.9%);
  --radius: 0.5rem;
  
  /* Custom Brand Colors */
  --dark-blue: hsl(210 100% 12%);
  --accent-orange: hsl(39 100% 52%);
  --futuristic-cyan: hsl(174 100% 70%);
  --light-gray: hsl(210 40% 96%);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.font-display {
  font-family: 'Montserrat', sans-serif;
}

.font-black {
  font-weight: 900;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1rem;
}

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

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

@media (max-width: 768px) {
  .lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .md\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

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

/* Flexbox */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

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

.items-start {
  align-items: flex-start;
}

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

.justify-between {
  justify-content: space-between;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* Spacing */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-16 { padding-left: 4rem; padding-right: 4rem; }

.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Colors */
.text-white { color: white; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-destructive { color: var(--destructive); }
.text-gray-300 { color: rgb(209 213 219); }
.text-gray-800 { color: rgb(31 41 55); }
.text-cyan-400 { color: rgb(34 211 238); }
.text-cyan-500 { color: rgb(6 182 212); }
.text-cyan-600 { color: rgb(8 145 178); }

.bg-background { background-color: var(--background); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-destructive\/5 { background-color: hsla(0, 84%, 60%, 0.05); }
.bg-cyan-100 { background-color: rgb(207 250 254); }

/* Borders */
.border { border: 1px solid var(--border); }
.border-2 { border: 2px solid; }
.border-4 { border: 4px solid; }
.border-accent { border-color: var(--accent); }
.border-gray-200 { border-color: rgb(229 231 235); }
.border-cyan-200 { border-color: rgb(165 243 252); }
.border-cyan-400 { border-color: rgb(34 211 238); }
.border-cyan-400\/30 { border-color: rgba(34, 211, 238, 0.3); }
.border-cyan-400\/50 { border-color: rgba(34, 211, 238, 0.5); }
.border-destructive\/20 { border-color: hsla(0, 84%, 60%, 0.2); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 50%; }

/* Sizing */
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-full { width: 100%; }

.max-w-lg { max-width: 32rem; }
.max-w-\[120px\] { max-width: 120px; }

.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }

.min-h-screen { min-height: 100vh; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Text Sizes */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

@media (min-width: 768px) {
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .lg\:text-3xl { font-size: 1.875rem; }
  .lg\:text-8xl { font-size: 6rem; }
}

/* Text Alignment */
.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }
.italic { font-style: italic; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }

.order-1 { order: 1; }
.order-2 { order: 2; }

@media (min-width: 1024px) {
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
}

/* Gradients & Effects */
.gradient-particles {
  background: linear-gradient(135deg, var(--dark-blue) 0%, hsl(210 90% 15%) 100%);
  position: relative;
  overflow: hidden;
}

.gradient-particles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(2px 2px at 20% 30%, var(--futuristic-cyan), transparent),
                    radial-gradient(2px 2px at 40% 70%, rgba(100, 255, 218, 0.4), transparent),
                    radial-gradient(1px 1px at 90% 40%, rgba(100, 255, 218, 0.6), transparent);
  animation: float 6s ease-in-out infinite;
  opacity: 0.3;
}

.bg-gradient-to-r {
  background: linear-gradient(to right, var(--from), var(--to));
}

.from-cyan-500\/20 { --from: rgba(6, 182, 212, 0.2); }
.to-cyan-400\/20 { --to: rgba(34, 211, 238, 0.2); }

.from-cyan-50 { --from: rgb(236 254 255); }
.to-blue-50 { --to: rgb(239 246 255); }

.from-primary { --from: var(--primary); }
.to-primary\/80 { --to: hsla(210, 100%, 12%, 0.8); }

.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-accent\/20 { background-color: hsla(39, 100%, 52%, 0.2); }

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

/* Shadows */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-accent\/25 {
  box-shadow: 0 25px 50px -12px hsla(39, 100%, 52%, 0.25);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid hsl(174 100% 70%);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Interactive Elements */
button, a {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.checklist-card {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.checklist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.hover\:bg-accent\/90:hover {
  background-color: hsla(39, 100%, 52%, 0.9);
}

.hover\:text-cyan-300:hover {
  color: rgb(103 232 249);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* Transitions */
.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.duration-300 {
  transition-duration: 300ms;
}

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

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

.animate-pulse-slow {
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Utility Classes */
.transform {
  transform: translateZ(0);
}

.line-through {
  text-decoration: line-through;
}

.opacity-90 {
  opacity: 0.9;
}

.cursor-pointer {
  cursor: pointer;
}

.inline-block {
  display: inline-block;
}

/* Bottom Borders */
.border-t {
  border-top: 1px solid;
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.pt-6 {
  padding-top: 1.5rem;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .text-4xl {
    font-size: 2rem;
  }
  
  .py-20 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .px-16 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .gap-8 {
    gap: 1rem;
  }
}

/* Enhanced Mobile Optimizations */
@media (max-width: 640px) {
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
  }
  
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  /* Reduce large spacing on mobile */
  .py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .py-16 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .px-16 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-12 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .gap-12 {
    gap: 1.5rem !important;
  }
  
  .gap-8 {
    gap: 1rem !important;
  }
  
  .space-y-8 > * + * {
    margin-top: 1rem !important;
  }
  
  /* Responsive typography */
  .text-8xl {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }
  
  .text-7xl {
    font-size: 2.25rem !important;
    line-height: 1.1 !important;
  }
  
  .text-6xl {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }
  
  .text-5xl {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  
  .text-4xl {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }
  
  .text-3xl {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }
  
  .text-2xl {
    font-size: 1.125rem !important;
    line-height: 1.4 !important;
  }
  
  /* Mobile button adjustments */
  .btn-mobile {
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  /* Ensure no horizontal overflow */
  .max-w-4xl,
  .max-w-5xl,
  .max-w-6xl {
    max-width: 100% !important;
  }
  
  /* Grid adjustments */
  .grid-cols-2,
  .md\:grid-cols-2,
  .lg\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
}

/* Print Styles */
@media print {
  .gradient-particles::before {
    display: none;
  }
}