/* ============================================
   GTM ENGINEERS COHORT #1 — Premium Modern Design
   Apple/Google-level sophistication
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --text: #202124;
  --text-secondary: #5f6368;
  --text-light: #80868b;
  --bg: #ffffff;
  --bg-gray: #f8f9fa;
  --border: #e8eaed;
  --success: #34a853;
  --gradient: linear-gradient(135deg, #8B5CF6, #3B82F6, #06B6D4);
  --gradient-reverse: linear-gradient(135deg, #06B6D4, #3B82F6, #8B5CF6);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 6px 12px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.nav-dot, .footer-dot {
  color: var(--primary);
  margin: 0 4px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-links a:hover {
  color: var(--text);
}

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

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.mobile-link:hover {
  background: var(--bg-gray);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 50%, #e8f0fe 100%);
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  text-align: center;
  padding: 80px 24px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(26, 115, 232, 0.08);
  border: 1px solid rgba(26, 115, 232, 0.15);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-light);
  color: var(--text);
  transform: translateY(-2px);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  display: flex;
  justify-content: center;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 0.8; }
}

/* === STATS BAR === */
.stats-bar {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9ff, #f0f4ff, #f8f9ff);
  border-top: 1px solid rgba(26, 115, 232, 0.06);
  border-bottom: 1px solid rgba(26, 115, 232, 0.06);
}

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

.stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-unit {
  font-size: 0.5em;
  font-weight: 500;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

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

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* === LEADER CARD === */
.leader-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.leader-image-wrap {
  flex-shrink: 0;
  position: relative;
}

.leader-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.leader-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.15;
  filter: blur(16px);
  z-index: -1;
}

.leader-content {
  flex: 1;
}

.leader-badge {
  display: inline-block;
  padding: 4px 16px;
  background: var(--gradient);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.leader-name {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.leader-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.leader-bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.leader-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

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

.leader-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 90px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.leader-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  min-width: 70px;
  text-align: right;
}

.leader-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(26, 115, 232, 0.06);
  border: 1px solid rgba(26, 115, 232, 0.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

@media (max-width: 768px) {
  .leader-card {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    gap: 24px;
  }

  .leader-image {
    width: 150px;
    height: 150px;
  }

  .leader-badges {
    justify-content: center;
  }

  .leader-stat-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* === WARRIORS GRID === */
.warriors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.warrior-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
}

.warrior-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.warrior-emoji {
  font-size: 48px;
  margin-bottom: 16px;
}

.warrior-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.warrior-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.warrior-power {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.power-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.power-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: var(--radius-full);
  transition: width 1s ease-out;
}

.power-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  min-width: 60px;
  text-align: right;
}

.warrior-ability {
  font-size: 13px;
  color: var(--text);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.5;
}

.warrior-stats {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.warrior-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .warriors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .warriors-grid {
    grid-template-columns: 1fr;
  }
}

/* === TIMELINE === */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: transparent;
  z-index: 1;
}

.timeline-marker.done {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.timeline-marker.active-marker {
  background: var(--bg);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.15);
}

.timeline-marker.active-marker::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.timeline-content {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow);
}

.timeline-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.progress-label {
  color: var(--primary);
}

.timeline-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === COMPARISON === */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-card {
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: all var(--transition);
}

.comparison-card:hover {
  transform: translateY(-4px);
}

.comparison-before {
  background: #fafafa;
  border: 1px solid #e0e0e0;
}

.comparison-after {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(59, 130, 246, 0.04), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: var(--shadow);
}

.comparison-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
}

.x-mark {
  width: 24px;
  height: 24px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.check-mark {
  width: 24px;
  height: 24px;
  background: #dcfce7;
  color: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* === STACK GRID === */
.stack-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.stack-card {
  text-align: center;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 160px;
  transition: all var(--transition);
}

.stack-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.stack-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.stack-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stack-role {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* === FOOTER === */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0;
}

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

.footer-logo {
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-lead {
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #c0c4cc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca0a8;
}

/* === SELECTION === */
::selection {
  background: rgba(26, 115, 232, 0.15);
  color: var(--text);
}
