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

body {
  background: #f8fafc;
  color: #1e293b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.7;
}

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

/* ===== NAV — inherits from nav.css ===== */

/* ===== HERO ===== */
.result-hero {
  background: linear-gradient(135deg, #aed9b7 0%, #6dbf8a 50%, #3a9e60 100%);
  padding: 100px 20px 80px;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.3);
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.result-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 20px;
}

.result-hero h1 span { color: #fff; }

.hero-sub {
  font-size: 18px;
  color: #1e293b;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.85;
}

.hero-cta {
  display: inline-block;
  background: #0f172a;
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

/* ===== SECTION WRAP ===== */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.dark-section {
  background: #0a0f1e;
  max-width: 100%;
  padding: 80px 24px;
}

.dark-section .section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  text-align: center;
}

.section-title.light { color: #f8fafc; }

.section-sub {
  font-size: 17px;
  color: #64748b;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-sub.light { color: #94a3b8; }

/* ===== SAMPLE RESULT CARD ===== */
.sample-result-card {
  background: #0a0f1e;
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.sample-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.sample-stat {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.sample-stat.highlight {
  border-color: rgba(0,255,208,0.3);
  background: rgba(0,255,208,0.04);
}

.s-label {
  display: block;
  font-size: 11px;
  color: #8899aa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.s-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  transition: all 0.5s ease;
}

.sample-stat.highlight .s-value { color: #00ffd0; }

.sample-para-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.sample-para-block {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.para-title {
  font-size: 11px;
  color: #8899aa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.para-text {
  font-size: 15px;
  line-height: 1.8;
  color: #ccc;
  min-height: 60px;
  word-break: break-word;
}

.para-text span.correct    { color: #4caf50; }
.para-text span.wrong      { color: #ff2a2a; }
.para-text span.skipped    { color: #f2c200; }
.para-text span.extraLetter{ color: #9b4dff; }

.sample-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 16px;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

.dot.correct { background: #22c55e; }
.dot.wrong   { background: #ef4444; }
.dot.skipped { background: #facc15; }
.dot.extra   { background: #a855f7; }

.demo-note {
  font-size: 12px;
  color: #556;
  text-align: center;
  margin-top: 8px;
}

/* ===== GRAPH ===== */
.graph-container {
  max-width: 900px;
  margin: 0 auto 48px;
  height: 280px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 20px;
}

.graph-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.graph-explain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.graph-explain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  color: #cbd5e1;
}

.graph-explain-card h3 {
  font-size: 17px;
  color: #f1f5f9;
  margin-bottom: 10px;
}

.graph-explain-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}

/* ===== METRICS GRID ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.metric-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.metric-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.metric-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.metric-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 14px;
}

.metric-formula {
  background: #f1f5f9;
  border-left: 3px solid #22c55e;
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
}

/* ===== COMPARE GRID ===== */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.compare-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 28px;
  color: #cbd5e1;
}

.compare-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  color: #f1f5f9;
  margin-bottom: 12px;
}

.compare-card p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: #94a3b8;
}

.compare-card ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-card ul li {
  font-size: 14px;
  color: #94a3b8;
}

/* ===== IMPROVE STEPS ===== */
.improve-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.improve-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid #e2e8f0;
}

.improve-step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #e2e8f0;
  min-width: 60px;
  line-height: 1;
  padding-top: 4px;
}

.improve-step h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.improve-step p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.75;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  text-align: center;
  padding: 80px 24px;
  color: #fff;
}

.cta-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 17px;
  color: #94a3b8;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  background: #22c55e;
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34,197,94,0.35);
}

.cta-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.2s, background 0.2s;
}

.cta-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}




