/* ===== LANDING PAGE ===== */
.landing-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

body.light-mode .landing-nav {
  background: rgba(255, 255, 255, 0.9);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* ===== HERO — CENTERED ORBIT LAYOUT ===== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-top: 90px;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
  gap: 0;
}

/* Background Glow */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Hero Center Text */
.hero-center {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-bottom: 0;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA Glow Button */
.hero-cta-glow {
  position: relative;
  box-shadow:
    0 0 30px rgba(99, 102, 241, 0.3),
    0 0 60px rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}
.hero-cta-glow:hover {
  box-shadow:
    0 0 40px rgba(99, 102, 241, 0.5),
    0 0 80px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

/* ===== ORBIT VISUALIZATION ===== */
.orbit-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 0 auto 1rem;
  z-index: 1;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(99, 102, 241, 0.15);
}

.orbit-ring-1 {
  width: 320px;
  height: 320px;
  margin-left: -160px;
  margin-top: -160px;
  animation: orbitSpin 25s linear infinite;
}

.orbit-ring-2 {
  width: 380px;
  height: 380px;
  margin-left: -190px;
  margin-top: -190px;
  animation: orbitSpin 35s linear infinite reverse;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.orbit-ring-1 .orbit-node {
  transform: rotate(var(--angle)) translateX(160px);
}

.orbit-ring-2 .orbit-node {
  transform: rotate(var(--angle)) translateX(190px);
}

.orbit-skill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

/* Counter-rotate to keep text upright */
.orbit-ring-1 .orbit-node .orbit-skill {
  animation: counterSpin 25s linear infinite;
}

.orbit-ring-2 .orbit-node .orbit-skill {
  animation: counterSpin 35s linear infinite reverse;
}

/* Center Hub */
.orbit-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.35);
  animation: hubPulse 3s ease-in-out infinite;
}

.orbit-center-hub .material-icons-round {
  font-size: 2rem;
  color: white;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes counterSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes hubPulse {
  0%,
  100% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.35);
  }
  50% {
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.55);
  }
}

/* ===== STATS BAR ===== */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 3rem;
  border-radius: 16px;
  z-index: 2;
  margin-bottom: 3rem;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-stat .material-icons-round {
  font-size: 1.8rem;
}

.hero-stat h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.hero-stat p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stats-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* ===== HOW IT WORKS — TIMELINE ===== */
.how-section {
  padding: 4rem 0 5rem;
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.timeline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 240px;
}

.timeline-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.timeline-content {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-radius: var(--border-radius);
}

.timeline-content h4 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.05rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.timeline-connector {
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
}

.timeline-connector .material-icons-round {
  font-size: 1.5rem;
  opacity: 0.4;
}

/* Landing CTA */
.landing-cta {
  text-align: center;
  padding: 4rem 0 3rem;
}

.landing-cta h2 {
  margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 90px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle br {
    display: none;
  }
  .orbit-container {
    width: 300px;
    height: 300px;
  }
  .orbit-ring-1 {
    width: 220px;
    height: 220px;
    margin-left: -110px;
    margin-top: -110px;
  }
  .orbit-ring-1 .orbit-node {
    transform: rotate(var(--angle)) translateX(110px);
  }
  .orbit-ring-2 {
    width: 300px;
    height: 300px;
    margin-left: -150px;
    margin-top: -150px;
  }
  .orbit-ring-2 .orbit-node {
    transform: rotate(var(--angle)) translateX(150px);
  }
  .orbit-skill {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
  .orbit-center-hub {
    width: 50px;
    height: 50px;
  }
  .orbit-center-hub .material-icons-round {
    font-size: 1.5rem;
  }
  .hero-stats-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  .stats-divider {
    width: 60%;
    height: 1px;
  }
  .timeline-row {
    flex-direction: column;
    gap: 1rem;
  }
  .timeline-connector {
    transform: rotate(90deg);
    padding: 0;
    margin: 0;
  }
}
