:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --secondary: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --paper: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-purple: 0 10px 28px rgba(139, 92, 246, 0.18);
  --shadow-cyan: 0 10px 28px rgba(6, 182, 212, 0.18);
  --shadow-green: 0 10px 28px rgba(16, 185, 129, 0.18);
  --shadow-orange: 0 10px 28px rgba(249, 115, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Base Layout Shell */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 36px);
}

.landing {
  max-width: 1140px;
}

.form-wrap {
  max-width: 860px;
}

/* Top Navigation Bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  padding: 14px 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.brand strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.pill {
  padding: 7px 16px;
  border: 1.5px solid #a7f3d0;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

/* Hero Section (Landing Page) */
.hero {
  position: relative;
  background: #ffffff;
  border: 2.5px solid #818cf8;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-purple);
  margin-bottom: 32px;
  text-align: center;
  overflow: hidden;
}

.heroVisual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.heroVisual .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.12;
}

.heroVisual .orb1 {
  width: 320px;
  height: 320px;
  background: #8b5cf6;
  top: -60px;
  left: -40px;
}

.heroVisual .orb2 {
  width: 320px;
  height: 320px;
  background: #06b6d4;
  bottom: -60px;
  right: -40px;
}

.heroVisual .studentSilhouette {
  position: absolute;
  font-size: 20px;
  color: #8b5cf6;
  opacity: 0.3;
}

.heroVisual .s1 { top: 25px; left: 10%; }
.heroVisual .s2 { top: 40px; right: 12%; color: #06b6d4; }
.heroVisual .s3 { bottom: 30px; left: 20%; color: #10b981; }

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  background: #ede9fe;
  border: 1.5px solid #c4b5fd;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heroLine {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 850;
  color: #1e293b;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 28px;
}

.hero p strong {
  color: var(--ink);
}

/* Call to Action Button */
.cta, .btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff !important;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 850;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4), 0 0 15px rgba(6, 182, 212, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  cursor: pointer;
}

.cta:hover, .btn-hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 35px rgba(79, 70, 229, 0.55), 0 0 25px rgba(6, 182, 212, 0.4);
}

/* Section Containers */
.section {
  margin-bottom: 32px;
}

/* 3 Pillars Grid (01 THINK, 02 DISCOVER, 03 BUILD) */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.visual {
  border-radius: 20px;
  padding: 28px 24px;
  background: #ffffff;
  transition: all 0.25s ease;
  position: relative;
}

.visual:hover {
  transform: translateY(-3px);
}

.grid3 .visual:nth-child(1) {
  border: 2.5px solid #8b5cf6;
  box-shadow: var(--shadow-purple);
}
.grid3 .visual:nth-child(1) .number {
  background: #faf5ff;
  border: 2px solid #c4b5fd;
  color: #7c3aed;
}

.grid3 .visual:nth-child(2) {
  border: 2.5px solid #06b6d4;
  box-shadow: var(--shadow-cyan);
}
.grid3 .visual:nth-child(2) .number {
  background: #ecfeff;
  border: 2px solid #a5f3fc;
  color: #0891b2;
}

.grid3 .visual:nth-child(3) {
  border: 2.5px solid #10b981;
  box-shadow: var(--shadow-green);
}
.grid3 .visual:nth-child(3) .number {
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  color: #059669;
}

.visual .number {
  display: inline-block;
  font-size: 20px;
  font-weight: 950;
  padding: 6px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  line-height: 1;
}

.visual h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.visual p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* The Experience Card & Roadmap */
.card {
  background: #ffffff;
  border: 2.5px solid #6366f1;
  border-radius: 22px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.card h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}

.helper {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.step {
  border-radius: 16px;
  padding: 18px 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
}

.steps .step:nth-child(1) { border: 2px solid #8b5cf6; background: #faf5ff; box-shadow: 0 4px 12px rgba(139, 92, 246, 0.12); }
.steps .step:nth-child(1) b { color: #7c3aed; }

.steps .step:nth-child(2) { border: 2px solid #06b6d4; background: #ecfeff; box-shadow: 0 4px 12px rgba(6, 182, 212, 0.12); }
.steps .step:nth-child(2) b { color: #0891b2; }

.steps .step:nth-child(3) { border: 2px solid #10b981; background: #ecfdf5; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12); }
.steps .step:nth-child(3) b { color: #059669; }

.steps .step:nth-child(4) { border: 2px solid #f97316; background: #fff7ed; box-shadow: 0 4px 12px rgba(249, 115, 22, 0.12); }
.steps .step:nth-child(4) b { color: #ea580c; }

.steps .step:nth-child(5) { border: 2px solid #ef4444; background: #fff1f2; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12); }
.steps .step:nth-child(5) b { color: #dc2626; }

.step b {
  display: block;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 6px;
}

.step span {
  display: block;
  font-size: 12px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.35;
}

/* Poster Card */
.poster {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #ffffff;
  border: 2.5px solid #818cf8;
  border-radius: 22px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 14px 35px rgba(49, 46, 129, 0.3);
}

.poster .tag {
  display: inline-block;
  background: #f59e0b;
  color: #000000;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.poster h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 950;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.15;
}

.poster p {
  color: #e0e7ff;
  font-size: 15px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 0 24px;
}

.poster .mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.poster .mini > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 16px;
}

.poster .mini strong {
  display: block;
  font-size: 15px;
  color: #38bdf8;
  margin-bottom: 4px;
}

.poster .mini span {
  font-size: 12px;
  color: #cbd5e1;
}

/* Student Form Interactive Arena */
.main-form-card {
  border: 2.5px solid #818cf8;
  box-shadow: var(--shadow-purple);
}

.question {
  font-size: clamp(22px, 3.5vw, 32px);
  line-height: 1.25;
  margin: 8px 0 14px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Progress Header */
.progress-wrap {
  margin-bottom: 24px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.progress-header .step-counter {
  color: var(--primary);
  background: #eef2ff;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
}

.progress-header .progress-pct {
  color: var(--muted);
}

.progress {
  height: 10px;
  background: #f1f5f9;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.progress > div {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* Form Elements */
.field {
  margin: 18px 0;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #334155;
}

.field label .req {
  color: var(--accent-red);
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  outline: none;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.2s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

/* Touch Choices */
.choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice label {
  display: flex;
  min-height: 70px;
  align-items: center;
  padding: 16px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: #334155;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.choice label:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  transform: translateY(-1px);
}

.choice input:checked + label {
  border-color: var(--primary);
  background: #eef2ff;
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.2);
  transform: translateY(-2px);
}

/* Action Buttons */
.actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 14px 26px;
  font-weight: 850;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn.primary {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
}

.btn.secondary {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #1e293b;
}

.btn.secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* Notices */
.notice {
  padding: 16px 20px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.55;
}

.notice.warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.error {
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.hidden {
  display: none !important;
}

/* Student Scorecard (Results View) */
.score-card {
  margin-top: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.score-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.score-badge {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: #fff;
  padding: 12px 24px;
  border-radius: 14px;
  text-align: center;
  border: 2px solid #818cf8;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.25);
}

.score-badge b {
  font-size: 38px;
  line-height: 1;
  color: #38bdf8;
}

.score-badge small {
  font-size: 14px;
  opacity: 0.8;
}

.score-grid-detailed {
  display: grid;
  gap: 12px;
}

.score-box {
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}

.score-box-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 14px;
}

.score-bar-mini {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  margin: 8px 0 6px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  border-radius: 999px;
}

.score-why {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .grid3 {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .poster .mini {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .choices {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .actions {
    flex-direction: column-reverse;
  }
  .btn {
    width: 100%;
  }
}
