/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --text-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --coming-soon-gradient: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
  
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4facfe;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --black: #000000;
  
  /* Background Colors */
  --bg-primary: #0f0f23;
  --bg-secondary: #16213e;
  --bg-card: rgba(255, 255, 255, 0.1);
  --bg-glass: rgba(255, 255, 255, 0.05);
  
  /* Spacing - Mobile-first approach */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Typography - Improved mobile scaling */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --text-xs: clamp(0.7rem, 2vw, 0.75rem);
  --text-sm: clamp(0.8rem, 2.5vw, 0.875rem);
  --text-base: clamp(0.9rem, 3vw, 1rem);
  --text-lg: clamp(1rem, 3.5vw, 1.125rem);
  --text-xl: clamp(1.1rem, 4vw, 1.25rem);
  --text-2xl: clamp(1.3rem, 5vw, 1.5rem);
  --text-3xl: clamp(1.6rem, 6vw, 1.875rem);
  --text-4xl: clamp(2rem, 8vw, 2.25rem);
  --text-5xl: clamp(2.5rem, 10vw, 3rem);
  --text-6xl: clamp(3rem, 12vw, 3.75rem);
  
  /* Touch targets - Minimum 44px for accessibility */
  --touch-target-min: 44px;
  --touch-target-comfortable: 48px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 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-glow: 0 0 20px rgba(102, 126, 234, 0.3);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Prevent horizontal scroll on mobile */
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  /* Improve text rendering on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== BACKGROUND ELEMENTS ===== */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f0f23 0%, #16213e 50%, #1a1a2e 100%);
  z-index: -2;
}

.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(79, 172, 254, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.bg-element {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-gradient);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.bg-element:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -150px;
  animation-delay: 0s;
}

.bg-element:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -100px;
  animation-delay: 2s;
}

.bg-element:nth-child(3) {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
  animation-delay: 4s;
}

/* Additional excitement elements */
.bg-element:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 15%;
  background: var(--coming-soon-gradient);
  animation: pulse 4s ease-in-out infinite;
  animation-delay: 1s;
}

.bg-element:nth-child(5) {
  width: 80px;
  height: 80px;
  bottom: 40%;
  left: 20%;
  background: var(--accent-gradient);
  animation: float 8s ease-in-out infinite;
  animation-delay: 3s;
}

/* Sparkle effects */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  animation: sparkle 3s ease-in-out infinite;
  pointer-events: none;
}

.sparkle:nth-child(6) {
  top: 25%;
  left: 80%;
  animation-delay: 0.5s;
}

.sparkle:nth-child(7) {
  top: 70%;
  left: 25%;
  animation-delay: 1.5s;
}

.sparkle:nth-child(8) {
  top: 45%;
  right: 30%;
  animation-delay: 2.5s;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  backdrop-filter: blur(20px);
  background: rgba(15, 15, 35, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.4));
  transition: var(--transition-normal);
}

.logo-img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.6));
}

/* ===== MAIN CONTENT ===== */
.main-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-md) var(--space-2xl);
}

.hero-section {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* ===== HERO CONTENT ===== */
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-3xl) 0;
}



.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
  color: var(--white);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coming-soon-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero-description {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
  text-align: center;
  font-weight: 400;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}



/* ===== HERO CONTAINER ===== */
.hero-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: var(--text-2xl);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
}

.hero-text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8 0%, #6b4190 100%);
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.hero-cta:hover::before {
  left: 100%;
}



/* Mobile optimization for hero section */
@media (max-width: 768px) {
  .hero-container {
    padding: var(--space-xl) 0;
  }
  
  .hero-brand {
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin-bottom: var(--space-md);
  }
  
  .hero-tagline {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
  }
  
  .hero-text {
    font-size: var(--text-base);
    margin-bottom: var(--space-2xl);
  }
  
  .hero-cta {
    padding: var(--space-sm) var(--space-xl);
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: var(--space-lg) 0;
  }
  
  .hero-cta {
    padding: var(--space-sm) var(--space-lg);
  }
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  margin: var(--space-2xl) auto var(--space-3xl);
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
  max-width: 600px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  min-width: 80px;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  text-align: center;
  animation: countdownPulse 2s ease-in-out infinite;
}

.countdown-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

@keyframes countdownPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== PROGRESS INDICATOR ===== */
.progress-section {
  margin: var(--space-2xl) auto;
  max-width: 700px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.progress-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
}

.progress-percentage {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.progress-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width 2s ease;
  position: relative;
  animation: progressGlow 3s ease-in-out infinite;
}

.progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(102, 126, 234, 0.3); }
  50% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.6); }
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .countdown-container {
    gap: var(--space-lg);
    padding: var(--space-xl);
  }
  
  .countdown-item {
    min-width: 60px;
  }
  
  .countdown-number {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  

  
  .progress-header {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .countdown-container {
    gap: var(--space-md);
    padding: var(--space-lg);
  }
  
  .countdown-item {
    min-width: 50px;
  }
  
  .countdown-number {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .progress-milestones {
    grid-template-columns: 1fr;
  }
}

/* Enhanced animations for modern feel */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.1;
  }
  50% { 
    transform: translateY(-20px) rotate(2deg);
    opacity: 0.15;
  }
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% { 
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.2;
    transform: scale(1.05);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
*:focus {
  outline: 2px solid rgba(102, 126, 234, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip to main content for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Reduced motion preferences */
@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;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-cta {
    border: 2px solid var(--white);
    background: rgba(0, 0, 0, 0.9);
  }
  
  .hero-badge {
    border: 2px solid var(--primary);
  }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
  :root {
    --text-light: rgba(255, 255, 255, 0.7);
  }
}

/* Smooth transitions for interactive elements */
.hero-cta,
.contact-card {
  will-change: transform;
}

/* Enhanced animations for hero elements */
.hero-brand {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-tagline {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-text {
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-cta {
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
}



/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1rem;
}

.form-input,
.form-textarea {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #667eea;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.5;
}

/* ===== SUBMIT SECTION ===== */
.submit-section {
  margin-top: var(--space-xl);
  text-align: center;
}

.submit-btn {
  background: #667eea;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.submit-btn:hover {
  background: #5a6fd8;
}



/* ===== FORM FOOTER ===== */
.form-footer {
  margin-top: var(--space-lg);
}

.privacy-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.privacy-text i {
  color: #10b981;
}



/* ===== FOOTER ===== */
.footer {
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 15, 35, 0.5);
  backdrop-filter: blur(20px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.social-section {
  margin-bottom: var(--space-lg);
}

.social-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.social-link:hover {
  border-color: var(--primary-color);
}

.social-link i {
  font-size: var(--text-lg);
  z-index: 1;
}

.social-tooltip {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.social-link:hover .social-tooltip {
  opacity: 1;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  border-top-color: var(--secondary-color);
  animation-duration: 1.2s;
  animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  border-top-color: var(--accent-color);
  animation-duration: 0.9s;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Ultra-wide screens (1440px+) */
@media (min-width: 1440px) {
  .main-content {
    padding: var(--space-3xl) var(--space-2xl);
  }
  
  .hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
  }
  
  .countdown-container {
    gap: var(--space-xl);
  }
  
  .countdown-item {
    padding: var(--space-xl);
    min-width: 140px;
  }
  
  .countdown-number {
    font-size: var(--text-5xl);
  }
}

/* Large screens (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .container {
    padding: 0 var(--space-lg);
  }
  
  .hero-content {
    padding: var(--space-2xl) 0;
  }
  
  .countdown-section {
    margin: var(--space-xl) 0;
  }
}

/* Large tablets and small desktops (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .countdown-container {
    justify-content: center;
    gap: var(--space-md);
  }
  
  .countdown-item {
    min-width: 100px;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    text-align: left;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .countdown-container {
    justify-content: flex-start;
  }
}

/* Mobile landscape (568px - 767px) */
@media (min-width: 568px) and (max-width: 767px) and (orientation: landscape) {
  .main-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .hero-section {
    gap: var(--space-lg);
  }
  
  .countdown-container {
    gap: var(--space-sm);
  }
  
  .countdown-item {
    padding: var(--space-sm);
    min-width: 70px;
  }
  
  .countdown-number {
    font-size: var(--text-xl);
  }
}

/* Tablets and small screens (max-width: 767px) */
@media (max-width: 767px) {
  .nav-container {
    padding: 0 var(--space-sm);
  }
  
  .logo-img {
    height: 60px;
  }
  
  .main-content {
    padding: var(--space-2xl) var(--space-sm) var(--space-lg);
  }
  
  .hero-section {
    gap: var(--space-xl);
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: var(--text-base);
  }
  
  .countdown-container {
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .countdown-item {
    padding: var(--space-sm);
    min-width: clamp(65px, 20vw, 85px);
    min-height: clamp(75px, 22vw, 100px);
  }
  
  .countdown-number {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
  

  
  .contact-card {
    padding: var(--space-lg);
  }
  
  .contact-section {
    margin: var(--space-xl) var(--space-md);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
  }
  
  .contact-title {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
  }
  
  .form-group {
    margin-bottom: var(--space-lg);
  }
  
  .input-wrapper,
  .textarea-wrapper {
    min-height: 60px; /* Touch-friendly height */
  }
  
  .form-input,
  .form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: var(--space-lg);
    min-height: 50px;
    touch-action: manipulation;
  }
  
  .form-textarea {
    min-height: 120px;
    resize: vertical;
  }
  

  

  
  .submit-btn {
    width: 100%;
    padding: var(--space-lg);
    font-size: 1.1rem;
    min-height: 56px; /* Touch-friendly button height */
    border-radius: var(--radius-lg);
  }
  
  .progress-container {
    margin-bottom: var(--space-lg);
  }
  
  .step-indicator {
    gap: var(--space-sm);
  }
  
  .step {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .field-message {
    font-size: 0.85rem;
    margin-top: var(--space-xs);
  }
  
  .social-icons {
    gap: var(--space-sm);
  }
  
  .social-link {
    width: 48px;
    height: 48px;
    /* Improved touch target size */
  }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
  .main-content {
    padding: var(--space-xl) var(--space-xs) var(--space-md);
  }
  
  .hero-badge {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
    margin-bottom: var(--space-sm);
  }
  
  .hero-description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
  }
  
  .countdown-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-xs);
    align-items: center;
    justify-items: center;
  }
  
  .countdown-item {
    padding: var(--space-xs);
    min-width: clamp(55px, 18vw, 70px);
    min-height: clamp(65px, 20vw, 80px);
  }
  
  .countdown-number {
    font-size: clamp(1rem, 5vw, 1.4rem);
  }
  
  .countdown-label {
    font-size: clamp(0.6rem, 2.5vw, 0.75rem);
  }
  

  
  .contact-card {
    padding: var(--space-md);
    margin: 0 var(--space-xs);
  }
  
  .contact-section {
    margin: var(--space-lg) var(--space-sm);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
  }
  
  .contact-title {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
  }
  
  .contact-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .contact-icon {
    font-size: 1.5rem;
  }
  
  .form-group {
    margin-bottom: var(--space-md);
  }
  
  .form-input,
  .form-textarea {
    padding: var(--space-md);
    font-size: 16px;
  }
  

  

  
  .submit-btn {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    min-height: 52px;
  }
  

  
  .social-link {
    width: 44px;
    height: 44px;
    /* Minimum recommended touch target */
  }
  
  .footer {
    padding: var(--space-lg) var(--space-xs) var(--space-md);
  }
}

/* Extra small devices (max-width: 360px) */
@media (max-width: 360px) {
  .main-content {
    padding: var(--space-lg) var(--space-xs) var(--space-sm);
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 12vw, 2rem);
  }
  
  .countdown-container {
    gap: 2px;
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .countdown-item {
    padding: 4px;
    min-width: clamp(45px, 16vw, 60px);
    min-height: clamp(55px, 18vw, 70px);
  }
  
  .countdown-number {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    margin-bottom: 2px;
  }
  
  .countdown-label {
    font-size: clamp(0.5rem, 2vw, 0.65rem);
  }
  

  
  .contact-card {
    padding: var(--space-sm);
    margin: 0;
  }
  
  .form-input,
  .form-textarea {
    padding: var(--space-xs);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .bg-particles {
    display: none;
  }
}

/* Dark mode support (if system preference) */
@media (prefers-color-scheme: dark) {
  /* Already optimized for dark theme */
}

/* Print styles */
@media print {
  .bg-particles,
  .loading-overlay,
  .social-icons {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-title,
  .contact-title {
    color: black !important;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation delays for staggered effects */
.hero-title { animation: fadeInUp 0.8s ease 0.2s both; }
.hero-description { animation: fadeInUp 0.8s ease 0.4s both; }
.countdown-section { animation: fadeInUp 0.8s ease 0.6s both; }
.contact-section { animation: fadeInRight 0.8s ease 0.8s both; }
.navbar { animation: fadeInUp 0.8s ease 0s both; }
.footer { animation: fadeInUp 0.8s ease 1s both; }
