/* ===================================
   SkillOS — Dark Professional Theme
   =================================== */

:root {
  --bg: #0d0d14;
  --bg-2: #111120;
  --bg-3: #161628;
  --surface: #1a1a2e;
  --surface-2: #1e1e36;
  --border: #252540;
  --accent: #F59E0B;
  --accent-2: #a78bfa;
  --green: #10b981;
  --red: #ef4444;
  --text: #e8e8f0;
  --text-2: #9898b8;
  --text-3: #5a5a78;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(13, 13, 20, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nav-name { font-weight: 400; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Sections */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 56px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.constellation {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 28px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  width: fit-content;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}
.hero-title em { color: var(--accent); font-style: italic; }
.hero-lede {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 440px;
  line-height: 1.65;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Dashboard mockup */
.hero-right { display: flex; justify-content: flex-end; }
.skill-dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.dashboard-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.dashboard-badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.skill-name {
  font-size: 0.75rem;
  color: var(--text-2);
  width: 130px;
  flex-shrink: 0;
}
.skill-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-3);
  border-radius: 100px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}
.skill-pct {
  font-size: 0.7rem;
  color: var(--text-3);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}
.ai-recommendation {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--text-2);
  line-height: 1.4;
}
.ai-recommendation strong { color: var(--text); }

/* How It Works */
.how-it-works {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.process-step {
  flex: 1;
  padding: 0 20px;
}
.process-step .step-number {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}
.process-step .step-icon { margin-bottom: 20px; }
.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
}
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 20px;
  width: 60px;
  flex-shrink: 0;
}
.step-connector svg { width: 100%; }

/* Features */
.features {
  padding: 100px 48px;
  background: var(--bg);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  padding: 36px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-card:nth-child(2n) { border-right: none; }
.feature-card:nth-last-child(-n+2) { border-bottom: none; }
.feature-primary {
  grid-column: 1 / -1;
  border-right: none;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.feature-icon { margin-bottom: 20px; }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* Outcomes */
.outcomes {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 60px;
}
.comparison-col {
  padding: 36px 40px;
}
.comparison-old { background: var(--surface); }
.comparison-new { background: var(--surface-2); }
.comparison-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.old-label { color: var(--text-3); }
.new-label { color: var(--accent); }
.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
}
.x-icon { color: var(--red); font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.check-icon { color: var(--green); font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.outcomes-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.outcomes-quote blockquote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.7;
}

/* Difference */
.difference {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.diff-header { text-align: center; margin-bottom: 60px; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.diff-stat {
  background: var(--bg-2);
  padding: 40px 32px;
  text-align: center;
}
.diff-number {
  display: block;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}
.diff-context {
  display: block;
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* Closing */
.closing {
  position: relative;
  padding: 120px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.closing-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.closing-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.15;
}
.closing-body {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-cta { }
.cta-note {
  font-size: 0.875rem;
  color: var(--text-3);
  font-style: italic;
}
.closing-bg-element {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  opacity: 0.4;
}

/* Footer */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-2);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-3);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { justify-content: flex-start; }
  .skill-dashboard { max-width: 100%; }
  .process-steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-primary { grid-column: 1; }
  .comparison { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .how-it-works, .features, .outcomes, .difference, .closing { padding: 64px 24px; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
}