:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-glass: rgba(18, 18, 18, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --accent-primary: #ff6b35;
  --accent-secondary: #f7931e;
  --accent-tertiary: #ffd23f;
  --success: #10b981;
  --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd23f 100%);
  --gradient-glow: linear-gradient(135deg, rgba(255, 107, 53, 0.3) 0%, rgba(247, 147, 30, 0.2) 100%);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 80px rgba(255, 107, 53, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #181818 0%, #232526 100%);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-fire);
  border-radius: 3px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo-link {
  text-decoration: none;
  z-index: 1001;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 1rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-fire);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-cta {
  background: var(--gradient-fire);
  color: white !important;
  padding: 0.875rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-cta::after {
  display: none;
}

/* Modern Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin: 0;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.mobile-menu-toggle span:nth-child(2) {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.mobile-menu-toggle.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.mobile-menu-toggle.active span {
  background: white;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(2px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-2px) rotate(-45deg);
}

/* Advanced Mobile Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.97) 0%, rgba(10, 10, 10, 0.99) 100%);
  backdrop-filter: blur(40px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow: hidden;
}

.nav-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(247, 147, 30, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 75%, rgba(255, 210, 63, 0.04) 0%, transparent 50%);
  animation: floatBg 20s ease-in-out infinite;
}

.nav-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.02) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(247, 147, 30, 0.02) 50%, transparent 70%);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 1.25rem;
  transform: translateY(50px) scale(0.95);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
  position: relative;
  z-index: 10;
  padding: 2rem;
}

.nav-overlay.active .mobile-nav-links {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  padding: 1.5rem 3rem;
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  width: 100%;
  max-width: 280px;
  text-align: center;
  transform: translateX(-80px);
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Staggered animation for each link */
.nav-overlay.active .mobile-nav-link:nth-child(1) {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

.nav-overlay.active .mobile-nav-link:nth-child(2) {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.nav-overlay.active .mobile-nav-link:nth-child(3) {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.nav-overlay.active .mobile-nav-link:nth-child(4) {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.nav-overlay.active .mobile-nav-link:nth-child(5) {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-fire);
  opacity: 0.08;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.mobile-nav-link::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) translateX(10px);
  color: var(--accent-primary);
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link:hover::before {
  left: 0;
  opacity: 0.15;
}

.mobile-nav-link:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.mobile-nav-link:hover {
  color: var(--accent-primary);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.25);
  border-color: rgba(255, 107, 53, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:active {
  transform: translateY(-4px) scale(0.98);
}

.mobile-nav-cta {
  background: var(--gradient-fire);
  color: white !important;
  margin-top: 2rem;
  font-weight: 800;
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-cta::before {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav-cta::after {
  content: '🚀';
  color: white;
  font-size: 1rem;
}

.mobile-nav-cta:hover {
  color: white !important;
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Mobile Nav Footer */
.mobile-nav-footer {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.nav-overlay.active .mobile-nav-footer {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile-nav-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
  .mobile-nav-link:active {
    background: rgba(255, 107, 53, 0.1);
    transform: scale(0.96);
  }
  
  .mobile-menu-toggle:active {
    transform: scale(0.95);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000000;
  /* Pitch black background for hero */
  padding-top: 120px;
  /* Increased to ensure nav does not overlap */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(247, 147, 30, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255, 210, 63, 0.04) 0%, transparent 40%);
  animation: floatBg 20s ease-in-out infinite;
}

@keyframes floatBg {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(1deg);
  }

  66% {
    transform: translateY(10px) rotate(-1deg);
  }
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-fire);
  opacity: 0.1;
  animation: particle 8s linear infinite;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  left: 80%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  left: 60%;
  animation-delay: 4s;
}

@keyframes particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.1;
  }

  90% {
    opacity: 0.1;
  }

  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
  opacity: 0.9;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.highlight {
  color: var(--accent-primary);
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-fire);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 100px rgba(255, 107, 53, 0.25);
}

.btn-secondary {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-primary);
  border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.countdown {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 20px;
  margin: 2rem auto 4rem;
  max-width: 600px;
  text-align: center;
}

.countdown h3 {
  color: var(--accent-tertiary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.countdown-date {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.countdown-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  display: block;
}

.countdown-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-reminder {
  color: var(--accent-tertiary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Features Section */
.features {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: var(--gradient-fire);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-block;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-fire);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 107, 53, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Eligibility Section */
.eligibility {
  padding: 8rem 2rem;
  background: var(--bg-primary);
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.eligibility-card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.eligibility-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
}

.eligibility-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.eligibility-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.eligibility-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  padding: 8rem 2rem;
  background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.4s ease-out;
  overflow: auto;
}

.modal-content {
  background: var(--bg-secondary);
  margin: 5vh auto;
  padding: 0;
  border-radius: 16px;
  width: 95%;
  max-width: 1000px;
  /* Increased from 800px */
  max-height: 90vh;
  /* Increased from 85vh */
  overflow: hidden;
  position: relative;
  animation: modalSlideIn 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    transform: translateY(100px) scale(0.95);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-header {
  background: var(--gradient-fire);
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.close {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.modal-body {
  padding: 1.5rem;
  background: var(--bg-secondary);
  max-height: 75vh;
  /* Increased to accommodate larger form */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.form-iframe {
  width: 100%;
  height: 700px;
  /* Increased from 600px */
  border: none;
  background: var(--bg-secondary);
}

/* Footer */
.footer {
  padding: 6rem 2rem 2rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #0f0f0f 100%);
  border-top: 0;
  position: relative;
  margin-top: 6rem;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-fire);
  z-index: 1;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-link {
  text-decoration: none;
  width: fit-content;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
}

.footer-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 400px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-section h4 {
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  width: fit-content;
}

.footer-link:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* ENHANCED RESPONSIVE DESIGN */

/* Large tablets and small desktops (1024px and below) */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 1.5rem;
  }

  .hero-container,
  .container,
  .cta-content {
    padding: 0 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .countdown-timer {
    gap: 0.75rem;
  }

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

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .nav {
    padding: 1.5rem 0;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .hero-container,
  .container,
  .cta-content {
    padding: 0 1rem;
  }

  .hero-badge {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2.5rem 0;
  }

  .stat-item {
    padding: 1.25rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .hero-cta {
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .countdown {
    padding: 1.5rem;
    margin: 1.5rem auto 3rem;
  }

  .countdown h3 {
    font-size: 1.1rem;
  }

  .countdown-timer {
    gap: 0.5rem;
  }

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

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

  .features,
  .eligibility,
  .cta {
    padding: 6rem 1rem;
  }

  .section-header {
    margin-bottom: 4rem;
  }

  .section-description {
    font-size: 1.1rem;
  }

  .features-grid,
  .eligibility-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card,
  .eligibility-card {
    padding: 2rem;
  }

  .feature-icon,
  .eligibility-icon {
    font-size: 2.5rem;
  }

  .feature-card h3,
  .eligibility-card h3 {
    font-size: 1.25rem;
  }

  .feature-card p,
  .eligibility-card p {
    font-size: 0.95rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1rem;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav {
    padding: 0.75rem 0;
  }

  .nav-container {
    padding: 0 1.5rem;
    height: 50px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .mobile-nav-links {
    padding: 1.5rem;
    gap: 1rem;
  }

  .mobile-nav-link {
    padding: 1.25rem 2.5rem;
    max-width: 260px;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
  }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 80px;
  }

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

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

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

  .stat-label {
    font-size: 0.75rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .countdown h3 {
    font-size: 1rem;
  }

  .countdown-timer {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

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

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

/* Modal on mobile */
@media (max-width: 480px) {
  .modal-content {
    width: 90%;
    max-width: 100%;
    height: auto;
    max-height: 90vh;
  }

  .form-iframe {
    height: 600px;
    /* Adjusted for mobile */
  }
}

/* Footer responsive styles */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 4rem 1.5rem 1.5rem;
  }
  
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 3rem 1rem 1rem;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-logo-text {
    font-size: 1.5rem;
  }
  
  .footer-tagline {
    font-size: 1rem;
  }
  
  .footer-socials a {
    width: 40px;
    height: 40px;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #181818 0%, #232526 100%);
    color: var(--text-primary);
  }

  .nav,
  .hero,
  .features,
  .eligibility,
  .cta,
  .footer {
    background: var(--bg-secondary);
  }

  .nav-link,
  .hero-description,
  .section-description,
  .eligibility-card p {
    color: var(--text-secondary);
  }

  .btn-primary {
    background: var(--gradient-fire);
    box-shadow: var(--shadow-glow);
  }

  .btn-secondary {
    background: var(--glass);
    border-color: var(--glass-border);
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }

  .nav,
  .hero,
  .features,
  .eligibility,
  .cta,
  .footer {
    background: white;
    box-shadow: none;
  }

  .nav-links,
  .hero-cta,
  .footer-links {
    display: none;
  }

  .btn {
    display: none;
  }

  .modal-content {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .form-iframe {
    height: 600px;
    /* Adjusted for print */
  }
}

/* Accessibility Enhancements */
body {
  font-size: 16px;
  /* Base font size for better readability */
  line-height: 1.6;
  /* Improved line height for readability */
}

.nav-link,
.footer-link {
  font-size: 1rem;
  /* Increased font size for better accessibility */
}

.hero h1 {
  font-size: 2.5rem;
  /* Adjusted for better readability */
}

.hero-subtitle {
  font-size: 1.5rem;
  /* Adjusted for better readability */
}

.hero-description,
.section-description,
.eligibility-card p {
  font-size: 1rem;
  /* Adjusted for better readability */
}

.btn {
  font-size: 1rem;
  /* Increased button font size for better accessibility */
  padding: 0.75rem 1.5rem;
  /* Adjusted padding for better touch targets */
}

.countdown h3 {
  font-size: 1.25rem;
  /* Adjusted for better readability */
}

.countdown-number {
  font-size: 1.5rem;
  /* Adjusted for better readability */
}

.countdown-label {
  font-size: 0.75rem;
  /* Adjusted for better readability */
}

.feature-card h3,
.eligibility-card h3 {
  font-size: 1.25rem;
  /* Adjusted for better readability */
}

.feature-card p,
.eligibility-card p {
  font-size: 0.95rem;
  /* Adjusted for better readability */
}

.cta h2 {
  font-size: 2rem;
  /* Adjusted for better readability */
}

.cta p {
  font-size: 1rem;
  /* Adjusted for better readability */
}

.footer-text {
  font-size: 1rem;
  /* Adjusted for better readability */
}

.footer-link {
  font-size: 1rem;
  /* Adjusted for better readability */
}

.footer-socials a {
  width: 40px;
  /* Ensured consistent size for touch targets */
  height: 40px;
  /* Ensured consistent size for touch targets */
  font-size: 1.4rem;
  /* Increased icon size for better visibility */
}

.footer-bottom {
  font-size: 0.9rem;
  /* Adjusted for better readability */
}

/* High Contrast Mode */
@media (prefers-contrast: more) {
  body {
    background: #ffffff;
    /* High contrast background */
    color: #000000;
    /* High contrast text color */
  }

  .nav,
  .hero,
  .features,
  .eligibility,
  .cta,
  .footer {
    background: #f0f0f0;
    /* Lighter backgrounds for high contrast */
  }

  .nav-link,
  .hero-description,
  .section-description,
  .eligibility-card p {
    color: #333333;
    /* Darker text for better readability */
  }

  .btn-primary {
    background: #ff6b35;
    /* High contrast button color */
    box-shadow: none;
  }

  .btn-secondary {
    background: #ffffff;
    /* High contrast secondary button */
    border-color: #cccccc;
    /* Lighter border for visibility */
  }
}