/* ==========================================
   PROFESSIONAL LIGHT THEME
   ========================================== */
   
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
}

/* ==========================================
   HEADER (Standard Sticky)
   ========================================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

/* Desktop Nav */
.desktop-nav { display: none; align-items: center; gap: 24px; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; }
.nav-link:hover { color: var(--text-primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border); }
.btn-white { background: white; color: var(--text-primary); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; margin-bottom: 12px; padding: 12px; }

/* Mobile Toggle Button */
.menu-toggle {
  background: none; border: none; cursor: pointer;
  padding: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
}

/* ==========================================
   MOBILE NAVIGATION (LinkedIn Style Slide-In)
   ========================================== */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark background overlay */
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 280px; /* Standard mobile menu width */
  height: 100%;
  background: white;
  z-index: 100;
  transform: translateX(100%); /* Hidden off-screen */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
}

.mobile-nav.active {
  transform: translateX(0); /* Slide in */
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.menu-close {
  background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--text-secondary);
}

.mobile-nav-links {
  padding: 20px;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--bg-surface);
}

.mobile-nav-actions {
  padding: 20px;
  border-top: 1px solid var(--border);
}

/* ==========================================
   HERO & CONTENT
   ========================================== */
.hero {
  padding: 60px 20px 40px;
  text-align: center;
  background: var(--bg-surface);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: white;
  border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 600; color: var(--primary);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.hero p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

.hero-cta { display: flex; flex-direction: column; gap: 12px; }

/* Features */
.features { padding: 0 16px; margin-top: 32px; display: grid; gap: 16px; }
.feature-card { background: white; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); text-align: left; }
.feature-icon { font-size: 24px; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* Stats */
.stats-section { margin: 40px 16px; }
.stats-container { background: var(--text-primary); border-radius: var(--radius-lg); padding: 32px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-item { text-align: center; color: white; }
.stat-number { font-size: 2rem; font-weight: 800; }
.stat-label { font-size: 0.8rem; opacity: 0.8; }

/* Sections */
.section { padding: 64px 20px; max-width: 1000px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge { color: var(--primary); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 8px; display: block; }
.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.section-subtitle { color: var(--text-secondary); }

.benefits-grid { display: grid; gap: 20px; }
.benefit-card { background: white; border: 1px solid var(--border); padding: 24px; border-radius: var(--radius-lg); }
.benefit-title { font-size: 1.1rem; margin-bottom: 8px; }
.benefit-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* Process */
.process-steps { position: relative; padding-left: 24px; }
.process-steps::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); }
.step { position: relative; margin-bottom: 32px; }
.step-number { position: absolute; left: -33px; width: 24px; height: 24px; background: var(--primary); color: white; border-radius: 50%; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.step-content { background: white; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.step-title { font-size: 1rem; margin-bottom: 4px; }
.step-description { font-size: 0.85rem; color: var(--text-secondary); }

/* CTA */
.cta-section { margin: 0 16px 64px; background: var(--text-primary); color: white; padding: 48px 24px; border-radius: var(--radius-lg); text-align: center; }
.cta-content h2 { font-size: 1.5rem; margin-bottom: 16px; }
.cta-content p { opacity: 0.8; margin-bottom: 24px; font-size: 0.9rem; }

/* Footer */
footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 48px 20px 24px; }
.footer-content { display: grid; gap: 32px; margin-bottom: 32px; }
.footer-column h3 { font-size: 0.8rem; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 12px; font-weight: 700; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 8px; }
.footer-column a { color: var(--text-primary); text-decoration: none; font-size: 0.9rem; }
.brand-col p { font-size: 0.9rem; color: var(--text-secondary); margin-top: 8px; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-link { padding: 8px; background: white; border-radius: var(--radius-md); text-decoration: none; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 0.8rem; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================
   RESPONSIVE (Desktop)
   ========================================== */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .desktop-nav { display: flex; }
  
  .hero { padding: 80px 40px; }
  .hero h1 { font-size: 3rem; }
  .hero-cta { flex-direction: row; justify-content: center; }
  
  .features { grid-template-columns: repeat(3, 1fr); margin-top: -40px; position: relative; z-index: 10; padding: 0 40px; }
  
  .stats-container { grid-template-columns: repeat(4, 1fr); }
  
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  
  .process-steps { padding-left: 0; }
  .process-steps::before { left: 50%; }
  .step { display: flex; justify-content: center; }
  .step:nth-child(even) { flex-direction: row-reverse; }
  .step-number { position: absolute; left: 50%; transform: translateX(-50%); top: 0; }
  .step-content { width: 40%; margin-top: 40px; text-align: right; }
  .step:nth-child(even) .step-content { text-align: left; }
  
  .footer-content { grid-template-columns: 2fr 1fr 1fr 1fr; }
}