@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* ── Kiro.dev Brand Colors ── */
  --kiro-purple: #a855f7;
  --kiro-purple-light: #c084fc;
  --kiro-purple-dark: #7c3aed;
  --kiro-purple-glow: rgba(168,85,247,0.25);
  --kiro-purple-subtle: rgba(168,85,247,0.08);
  --green-eco: #22c55e;
  --green-eco-glow: rgba(34,197,94,0.15);

  /* ── Backgrounds (pure black like kiro.dev) ── */
  --bg-base: #000000;
  --bg-surface: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;

  /* ── Borders ── */
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(168,85,247,0.5);
  --border-subtle: #1f1f1f;

  /* ── Text ── */
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #525252;

  /* ── Gradients ── */
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(168,85,247,0.18) 0%, transparent 70%), #000000;
  --gradient-purple: linear-gradient(135deg, #a855f7, #7c3aed);
  --gradient-mixed: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #7c3aed 100%);
  --gradient-white: linear-gradient(135deg, #ffffff, #d4d4d4);

  /* ── Typography ── */
  --font-main: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* ── Radii ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* ── Shadows ── */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.4);
  --shadow-glow-purple: 0 0 40px rgba(168,85,247,0.2);
  --shadow-glow-white: 0 0 30px rgba(255,255,255,0.08);
}



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

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

body {
  font-family: var(--font-main);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--kiro-purple); border-radius: 3px; }

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--text-primary);
  letter-spacing: -0.01em;
}
.nav-logo .logo-icon {
  width: 32px; height: 32px;
  background: var(--kiro-purple);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 900; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-cta {
  background: #fff !important;
  color: #000 !important; font-weight: 700 !important;
  padding: 7px 18px !important; border-radius: var(--radius-pill) !important;
  font-size: 0.75rem !important; letter-spacing: 0.06em !important; text-transform: uppercase !important;
  transition: all 0.2s ease !important; border: none !important;
}
.nav-cta:hover { background: #e5e5e5 !important; transform: none !important; box-shadow: none !important; }

/* ─── CONTAINERS ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ─── TAGS / BADGES ─── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid;
}
.badge-orange { background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.3); color: var(--kiro-purple); }
.badge-cyan   { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: var(--text-secondary); }
.badge-purple { background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.3); color: var(--kiro-purple); }
.badge-green  { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); color: var(--green-eco); }

/* ─── SECTION LABELS ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--kiro-purple); margin-bottom: 16px;
}
.section-label::before { content: ''; width: 16px; height: 2px; background: var(--kiro-purple); border-radius: 1px; }

/* ─── HEADINGS ─── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.gradient-text {
  background: var(--gradient-mixed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-orange { color: var(--aws-orange); }
.text-cyan   { color: var(--kiro-cyan); }
.text-muted  { color: var(--text-secondary); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  text-decoration: none; border: none; transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: #fff;
  color: #000; box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.btn-primary:hover { background: #e5e5e5; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-primary); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* ─── CARDS ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: rgba(168,85,247,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow-purple);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--kiro-purple), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover::before { opacity: 1; }

/* ─── WEEK CARDS (curriculum) ─── */
.week-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex; gap: 24px; align-items: flex-start;
  cursor: pointer; text-decoration: none; color: inherit;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.week-card:hover {
  border-color: var(--kiro-purple);
  transform: translateX(6px);
  box-shadow: -4px 0 0 var(--kiro-purple), var(--shadow-card);
}
.week-number {
  min-width: 60px; height: 60px;
  background: var(--kiro-purple);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.week-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.week-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }
.week-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.week-tag {
  padding: 3px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 600;
  background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.2); color: var(--kiro-purple);
}
.week-arrow {
  margin-left: auto; flex-shrink: 0;
  color: var(--text-muted); font-size: 1.2rem;
  transition: all 0.3s ease; align-self: center;
}
.week-card:hover .week-arrow { color: var(--kiro-purple); transform: translateX(4px); }

/* ─── STAT CARDS ─── */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.stat-number {
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: var(--gradient-purple);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--text-secondary); font-size: 0.9rem; margin-top: 6px; }

/* ─── SERVICE PILLS ─── */
.service-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.service-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: rgba(168,85,247,0.06); border: 1px solid rgba(168,85,247,0.18);
  color: var(--kiro-purple); font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-mono);
}

/* ─── TERMINAL BLOCK ─── */
.terminal {
  background: #0a0a0a;
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-md);
  overflow: hidden; font-family: var(--font-mono);
}
.terminal-header {
  background: rgba(0,0,0,0.5);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red   { background: #FF5F57; }
.terminal-dot.yellow{ background: #FFBD2E; }
.terminal-dot.green { background: #28CA41; }
.terminal-title { color: var(--text-muted); font-size: 0.75rem; margin-left: 8px; }
.terminal-body { padding: 20px; font-size: 0.85rem; line-height: 1.8; white-space: nowrap; overflow-x: auto; }
.terminal-line .prompt { color: var(--kiro-purple); }
.terminal-line .cmd   { color: var(--text-primary); }
.terminal-line .output{ color: var(--green-eco); }
.terminal-line .comment{ color: var(--text-muted); }

/* ─── GRID LAYOUTS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ─── HERO SECTION ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
  padding-top: 64px;
}
.hero-bg-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.orb-1 { width: 700px; height: 700px; background: rgba(168,85,247,0.12); top: -200px; right: -150px; }
.orb-2 { width: 500px; height: 500px; background: rgba(168,85,247,0.06); bottom: -100px; left: -150px; }
.orb-3 { width: 400px; height: 400px; background: rgba(124,58,237,0.07); top: 40%; left: 35%; }
.hero-grid {
  display: flex; flex-direction: column;
  gap: 60px; align-items: center; text-align: center;
}
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; justify-content: center; }
.live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-eco); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.live-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green-eco);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.05); }
}
.hero-desc { font-size: 1.1rem; color: var(--text-secondary); margin: 24px auto 36px; max-width: 640px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; justify-content: center; }
.hero-stats { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid var(--border); justify-content: center; }
.hero-stat-num { font-size: 1.8rem; font-weight: 900; color: var(--kiro-purple); line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: var(--text-secondary); margin-top: 4px; }

/* ─── GLASSMORPHISM CARD ─── */
.glass-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
}

/* ─── FEATURE ICONS ─── */
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.icon-orange { background: rgba(168,85,247,0.12); }
.icon-cyan   { background: rgba(255,255,255,0.06); }
.icon-purple { background: rgba(168,85,247,0.1); }
.icon-green  { background: rgba(34,197,94,0.1); }

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(168,85,247,0.1) 0%, transparent 70%), var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center; padding: 100px 0;
  position: relative; overflow: hidden;
}

/* ─── WEEK PAGE SPECIFICS ─── */
.week-hero {
  padding: 120px 0 80px;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.week-hero-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem; color: var(--kiro-purple);
  background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.25);
  padding: 5px 14px; border-radius: 999px;
  display: inline-block; margin-bottom: 20px;
}
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  margin-bottom: 32px; transition: color 0.2s;
}
.back-btn:hover { color: var(--text-primary); }

/* ─── AGENDA LIST ─── */
.agenda-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.agenda-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 0.9rem; line-height: 1.5;
  transition: border-color 0.2s;
}
.agenda-list li:hover { border-color: rgba(168,85,247,0.3); }
.agenda-num {
  min-width: 26px; height: 26px; border-radius: 6px;
  background: rgba(168,85,247,0.12); color: var(--kiro-purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; flex-shrink: 0;
}

/* ─── CODE BLOCK ─── */
.code-block {
  background: #0D1117; border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-md); padding: 24px;
  font-family: var(--font-mono); font-size: 0.8rem;
  line-height: 1.7; overflow-x: auto;
  color: #C9D1D9;
  white-space: pre;
  tab-size: 2;
}
.code-block .kw  { color: #FF7B72; }
.code-block .str { color: #A5D6FF; }
.code-block .val { color: #79C0FF; }
.code-block .cmt { color: #8B949E; }
.code-block .fn  { color: #D2A8FF; }
.code-block .num { color: #F2CC60; }

/* ─── ARCHITECTURE BOX ─── */
.arch-box {
  background: rgba(168,85,247,0.03);
  border: 1px solid rgba(168,85,247,0.12);
  border-radius: var(--radius-lg); padding: 32px;
}
.arch-flow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.arch-node {
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600;
  background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.25); color: var(--kiro-purple);
}
.arch-arrow { color: var(--text-muted); font-size: 1.2rem; }

/* ─── SUSTAINABILITY BOX ─── */
.sustain-box {
  background: rgba(34,197,94,0.04);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-lg); padding: 28px;
}
.sustain-box h3 { color: var(--green-eco); margin-bottom: 14px; }

/* ─── SKILLS GRID ─── */
.skills-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.skill-chip {
  padding: 7px 15px; border-radius: var(--radius-sm);
  background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.25);
  color: var(--kiro-purple); font-size: 0.8rem; font-weight: 600;
}

/* ─── WEEK NAV ─── */
.week-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--border);
  margin-top: 60px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.footer-col a {
  display: block; color: var(--text-secondary); text-decoration: none;
  font-size: 0.875rem; margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--kiro-purple); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.8rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.animate-fadeup { animation: fadeUp 0.7s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.35s; opacity: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 70px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .week-card { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}
