:root {
  --brand: #2196F3;
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --surface: #f8fafc;
  --ring: rgba(33, 150, 243, 0.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji; color: var(--text); background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.9); border-bottom: 1px solid #e2e8f0; backdrop-filter: blur(8px); z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-name { letter-spacing: 0.2px; }
.logo-circle { 
  width: 32px; 
  height: 32px; 
  border-radius: 999px; 
  background: url('./pathwayed-logo.png') center/contain no-repeat;
  background-size: contain;
}
.nav a { margin-left: 16px; color: var(--muted); }
.nav a:hover { color: var(--text); }

.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: url('./PathwayEd_4096x2304_Under1MB.jpg') center/cover no-repeat; filter: blur(8px); transform: scale(1.1); }
.hero-overlay::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; width: 100%; }
.hero-left { color: white; }
.app-icon { margin-bottom: 24px; margin-top: 40px; }
.icon-circle { 
  width: 120px; 
  height: 120px; 
  border-radius: 24px; 
  background: url('./pathwayed-logo.png') center/contain no-repeat;
  background-size: contain;
  box-shadow: 0 12px 32px rgba(33, 150, 243, 0.4); 
}
.hero-title { font-size: 64px; line-height: 1.1; margin: 0 0 40px; font-weight: 300; letter-spacing: -2px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
.badges { display: flex; gap: 16px; }
.badge { display: flex; align-items: center; padding: 12px 20px; border-radius: 8px; background: rgba(0, 0, 0, 0.8); color: white; text-decoration: none; transition: transform 0.2s, background 0.2s; min-width: 140px; gap: 12px; }
.badge:hover { transform: translateY(-2px); background: rgba(0, 0, 0, 0.9); text-decoration: none; }
.badge-icon { width: 24px; height: 24px; flex-shrink: 0; }
.badge-text { line-height: 1.3; font-size: 14px; }
.badge-text strong { font-size: 16px; }
.phone-mockup { display: flex; justify-content: center; }
.phone-frame { width: 280px; height: 560px; background: #1a1a1a; border-radius: 40px; padding: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); position: relative; }
.phone-frame::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 120px; height: 4px; background: #333; border-radius: 2px; }
.phone-screen { width: 100%; height: 100%; background: #2196F3; border-radius: 32px; overflow: hidden; position: relative; }
.app-screenshot-placeholder { 
  width: 100%; 
  height: 100%; 
  background: url('./pathwayed-app-screenshot.png') center/cover no-repeat;
  background-size: cover;
  background-position: center;
}
.placeholder-text { 
  display: none; /* Hidden when screenshot is added */
  color: white; 
  text-align: center; 
  font-size: 16px; 
  opacity: 0.8; 
}
.scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font-size: 32px; color: rgba(255, 255, 255, 0.7); animation: bounce 2s infinite; }

@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }

/* Secondary badges for other sections */
.badges.small { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.badges.small .badge { 
  display: inline-flex; 
  align-items: center; 
  padding: 12px 16px; 
  border-radius: 10px; 
  font-weight: 600; 
  background: rgba(255, 255, 255, 0.15); 
  color: white; 
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: background 0.2s;
}
.badges.small .badge:hover { background: rgba(255, 255, 255, 0.25); text-decoration: none; }

.features { padding: 80px 0; background: linear-gradient(180deg, #4a90e2 0%, #2196F3 100%); color: white; }
.features h2 { text-align: center; margin: 0 0 60px; font-size: 32px; line-height: 1.4; font-weight: 300; max-width: 800px; margin-left: auto; margin-right: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; max-width: 900px; margin: 0 auto; }
.feature-card { text-align: center; }
.feature-visual { margin-bottom: 24px; }
.step-circle { 
  width: 120px; 
  height: 120px; 
  border-radius: 50%; 
  background: rgba(255, 255, 255, 0.2); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 0 auto; 
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.step-icon { font-size: 40px; }
.feature-card p { margin: 0; font-size: 16px; line-height: 1.5; opacity: 0.95; }

.impact { padding: 80px 0; background: linear-gradient(180deg, #2c5aa0 0%, #1e3a5f 100%); color: white; }
.impact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.impact-content h2 { font-size: 36px; margin-bottom: 20px; font-weight: 300; }
.impact-content p { font-size: 18px; line-height: 1.5; margin-bottom: 32px; opacity: 0.95; }
.impact-visual { display: flex; justify-content: center; }
.ai-illustration { text-align: center; }
.ai-brain { 
  width: 120px; 
  height: 120px; 
  border-radius: 50%; 
  background: rgba(255, 255, 255, 0.15); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 48px; 
  margin: 0 auto 16px; 
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.comparison-text { 
  font-size: 18px; 
  font-weight: 300; 
  opacity: 0.9; 
}

.site-footer { border-top: 1px solid #e2e8f0; background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 20px 0; }
.links a { margin-left: 16px; color: var(--muted); }
.links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero { height: 100vh; min-height: 700px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-title { font-size: 48px; }
  .phone-frame { width: 240px; height: 480px; }
  .icon-circle { width: 100px; height: 100px; background-size: contain; }
  .badges { justify-content: center; flex-wrap: wrap; }
  .impact-inner, .footer-inner { grid-template-columns: 1fr; }
  .impact-inner { gap: 40px; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .step-circle { width: 100px; height: 100px; }
  .step-icon { font-size: 32px; }
  .nav { display: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 36px; margin-bottom: 24px; }
  .hero-content { gap: 24px; }
  .phone-frame { width: 200px; height: 400px; }
  .badges { flex-direction: column; align-items: center; }
  .badge { min-width: 200px; justify-content: center; }
  .features h2 { font-size: 24px; margin-bottom: 40px; }
  .feature-grid { gap: 32px; }
  .step-circle { width: 80px; height: 80px; }
  .step-icon { font-size: 28px; }
  .impact-content h2 { font-size: 28px; }
  .impact-content p { font-size: 16px; }
  .ai-brain { width: 100px; height: 100px; font-size: 40px; }
}

/* iPhone SE specific adjustments */
@media (max-width: 375px) and (max-height: 667px) {
  .app-icon { margin-top: 85px; margin-bottom: 16px; }
}


