/* ==========================================
   DESIGN SYSTEM & GLOBAL STYLES (LIGHT THEME)
   ========================================== */
:root {
  /* Color Palette */
  --bg-color: #ffffff;
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.06);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --primary: #ff3b30;
  --primary-hover: #e02d23;
  --primary-glow: rgba(255, 59, 48, 0.15);
  --secondary: #f1f5f9;
  --secondary-hover: #e2e8f0;
  
  --success: #34c759;
  
  /* Font Stack */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients */
.bg-gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
}

.bg-gradient-1 {
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.bg-gradient-2 {
  background: radial-gradient(circle, #ff3b30 0%, transparent 70%);
  bottom: 20%;
  left: -200px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #ff4d4d 0%, var(--primary) 50%, #b30006 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   BUTTONS & ACTIONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #c31c15 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 59, 48, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
  background: linear-gradient(135deg, #ff5247 0%, var(--primary) 100%);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-pulse {
  animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

/* Glassmorphism Panel (Light version) */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

/* Badge */
.badge {
  display: inline-block;
  background-color: rgba(255, 59, 48, 0.08);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 59, 48, 0.15);
  margin-bottom: 16px;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

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

.logo-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.logo-text .highlight {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  padding: 80px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-highlights {
  display: flex;
  gap: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.highlight-icon {
  color: var(--success);
  font-weight: 800;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-bg-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.12) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 1;
}

.hero-image {
  max-width: 100%;
  height: auto;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  animation: floatIllustration 6s ease-in-out infinite;
}

@keyframes floatIllustration {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pulse-ring {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.card-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-primary);
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  padding: 80px 0;
  background-color: rgba(241, 245, 249, 0.6);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.section-header {
  margin-bottom: 50px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 59, 48, 0.25);
  box-shadow: 0 12px 30px rgba(255, 59, 48, 0.08);
}

.stat-icon-bg {
  width: 54px;
  height: 54px;
  background-color: rgba(255, 59, 48, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  border: 1px solid rgba(255, 59, 48, 0.12);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-family: var(--font-title);
  letter-spacing: -0.02em;
}

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

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  padding: 100px 0;
}

.about-media {
  display: flex;
  justify-content: center;
}

.media-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 420px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.media-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.06) 0%, transparent 60%);
  filter: blur(30px);
}

.media-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.media-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.quote-block {
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-primary);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.3);
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.process-section {
  padding: 100px 0;
  background-color: rgba(241, 245, 249, 0.4);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
}

.step-num {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-title);
  margin: -52px auto 24px;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 10px rgba(255, 59, 48, 0.2);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================
   ELIGIBILITY SECTION
   ========================================== */
.eligibility-section {
  padding: 80px 0;
}

.card-wrapper {
  padding: 60px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.eligibility-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.eligibility-left h2 {
  margin-bottom: 20px;
}

.recovery-indicator {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  background-color: rgba(241, 245, 249, 0.6);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.indicator-days {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--primary);
  line-height: 1;
}

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

.eligibility-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eligibility-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.eligibility-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1.2;
}

/* ==========================================
   CONTACT SECTION & FORM
   ========================================== */
.contact-section {
  padding: 100px 0;
  background-color: rgba(241, 245, 249, 0.6);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-svg {
  color: var(--primary);
  background-color: rgba(255, 59, 48, 0.08);
  width: 46px;
  height: 46px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 59, 48, 0.12);
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.contact-form-wrapper {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-form h3 {
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.12);
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--primary);
}

/* ==========================================
   FOOTER (ELEGANT DARK FOR HIGHER CONTRAST)
   ========================================== */
.footer {
  background-color: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 0;
  color: #f8fafc;
}

.footer h4 {
  color: #ffffff;
}

.footer p, .footer-tagline {
  color: #94a3b8;
}

.footer .logo-text {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4,
.footer-cta h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

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

.footer-cta p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  
  .step-card {
    margin-top: 24px;
  }
  
  .step-num {
    margin-top: -52px;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .hero-grid,
  .eligibility-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .header {
    height: auto;
    padding: 16px 0;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 16px;
  }
  
  .nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-actions {
    width: 100%;
    text-align: center;
  }
  
  .btn-pulse {
    display: inline-flex;
    width: 100%;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .hero-image-wrapper {
    order: -1;
  }
  
  .floating-card {
    left: 10px;
    bottom: 10px;
  }
  
  .card-wrapper {
    padding: 30px;
  }
  
  .recovery-indicator {
    margin-top: 24px;
  }
  
  .footer-grid {
    text-align: center;
    gap: 40px;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
}
