@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
  /* New Design System Variables */
  --primary: #0ea5e9;
  /* Electric Blue */
  --primary-dark: #0284c7;
  --secondary: #8b5cf6;
  /* Vibrant Purple */
  --accent: #f43f5e;
  /* Rose */

  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;

  --navy: #1e293b;
  /* Kept for compatibility */

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.5rem;

  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #ffffffcc;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-head);
}

.logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-user-email {
  font-size: 0.9rem;
  color: var(--muted);
}

.link-btn {
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.pill-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.1s ease,
    color 0.1s ease, border-color 0.1s ease;
}

.pill-btn.filled {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(245, 130, 52, 0.25);
}

.pill-btn.filled:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.pill-btn.outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.pill-btn.outline:hover {
  border-color: rgba(31, 47, 77, 0.5);
}

.pill-btn.ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 32px 64px;
  background: linear-gradient(120deg, #eef2ff 0%, #e0f2fe 45%, #fdf2f8 100%);
  color: var(--text);
  border-bottom: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  max-width: 1180px;
  margin: 16px auto 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.14), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.14), transparent 30%),
    radial-gradient(circle at 60% 80%, rgba(244, 114, 182, 0.12), transparent 30%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  margin: 16px 0 10px;
  line-height: 1.1;
  color: var(--text);
}

.hero-subtext {
  color: var(--muted);
  max-width: 620px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero .pill-btn.outline {
  color: var(--text);
  border-color: rgba(31, 47, 77, 0.2);
}

.hero .pill-btn.outline:hover {
  border-color: var(--primary);
  background: rgba(14, 165, 233, 0.08);
}

.hero-proof {
  display: grid;
  gap: 10px;
}

.proof-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.proof-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.proof-title {
  margin: 0;
  font-weight: 800;
  color: var(--text);
}

.proof-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-blue {
  background: rgba(14, 165, 233, 0.14);
  color: #0f172a;
}

.chip-purple {
  background: rgba(99, 102, 241, 0.16);
  color: #1e1b4b;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.hero-card-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.4rem;
}

.pill.small-pill {
  font-size: 0.85rem;
  padding: 6px 10px;
}

.hero-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0ea5e9, #6366f1, #f472b6);
  border-radius: 999px;
}

.hero-progress-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.hero-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
}

.hero-stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stat-value {
  font-weight: 800;
  color: #1e293b;
}

.hero-cta {
  margin-top: 6px;
}

/* SECTIONS */
section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 36px;
}

.section-header {
  text-align: center;
  margin-bottom: 14px;
}

h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

h3 {
  font-family: var(--font-head);
  font-weight: 600;
}

.section-subtitle {
  color: var(--muted);
  margin: 0;
}

/* PILLARS */
.pillars {
  margin-top: -22px;
  background: var(--bg);
}

.pillar-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pillar-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 18px 18px 20px;
  box-shadow: 0 8px 24px rgba(31, 47, 77, 0.06);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #e8eef8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.pillar-icon.orange {
  background: #fff3e7;
}

.pillar-icon.green {
  background: #e9f8ef;
}

.pillar-card h3 {
  margin: 0 0 6px;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
}

/* ROADMAP */
.roadmap {
  background: #f2f4f8;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  max-width: 1180px;
  margin: 0 auto 20px;
  padding: 32px 24px 40px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.month-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #e6e7ec;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(31, 47, 77, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.month-card.highlight {
  border-color: rgba(245, 130, 52, 0.4);
  box-shadow: 0 18px 34px rgba(245, 130, 52, 0.12);
}

.month-card.locked {
  opacity: 0.9;
}

.month-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.month-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.chip {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.chip-free {
  background: #fff3e7;
  color: var(--primary);
}

.chip-lock {
  background: #f3f4f6;
  color: #6b7280;
}

.month-card h4 {
  margin: 2px 0 2px;
  font-size: 1.05rem;
}

.month-card p {
  margin: 0 0 6px;
  color: var(--muted);
}

/* CTA BAND */
.cta-band {
  margin-top: 0;
  padding: 48px 20px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 8px;
  color: #fff;
}

.cta-band p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
}

/* PRICING HERO */
.pricing-hero {
  background: linear-gradient(120deg, #eef2ff 0%, #e0f2fe 45%, #fdf2f8 100%);
  text-align: center;
  padding: 56px 32px 64px;
  border-radius: var(--radius-lg);
  max-width: 1180px;
  margin: 20px auto 32px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.pricing-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.pricing-hero h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 4px 0 8px;
}

.pricing-hero .accent {
  color: var(--primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.pricing-card {
  background: #fff;
  border: 1px solid #e6e7ec;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(31, 47, 77, 0.08);
  padding: 18px 18px 20px;
  text-align: left;
}

.pricing-card.highlight {
  border-color: rgba(245, 130, 52, 0.4);
  box-shadow: 0 18px 38px rgba(245, 130, 52, 0.14);
}

.pricing-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.pricing-title {
  font-weight: 700;
  color: var(--text);
  font-size: clamp(2rem, 3vw, 2.6rem);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8f1, #ffe9d7);
  border: 1px solid rgba(245, 130, 52, 0.22);
  box-shadow: 0 10px 24px rgba(245, 130, 52, 0.12);
  line-height: 1.1;
  margin: 0 auto 12px;
  text-align: center;
  justify-content: center;
}

.pricing-price {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 6px 0;
  color: var(--navy);
}

.pricing-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}

.badge.best-value {
  background: #fff3e7;
  color: var(--primary);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 14px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card .primary-cta {
  margin-top: 16px;
}

.pricing-features li::before {
  content: "✔";
  color: #2ac769;
  margin-right: 8px;
  font-weight: 700;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 10px 0 0;
  text-align: center;
}

/* DASHBOARD */
.dashboard {
  max-width: 1120px;
}

.dashboard-header {
  margin-bottom: 12px;
}

.dashboard-subtitle {
  color: var(--muted);
}

.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2.5fr);
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-progress,
.dashboard-badges {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
}

.badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: #eff6ff;
  color: #1d4ed8;
}

/* PROGRESS */
.progress-bar {
  background: #e5e7eb;
  border-radius: 999px;
  height: 8px;
  margin: 6px 0;
  overflow: hidden;
}

.progress-bar.large {
  height: 12px;
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--primary), #22b8b2);
  height: 100%;
  width: 0;
  border-radius: inherit;
}

.progress-percent {
  font-size: 0.85rem;
  color: var(--muted);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 26px 20px 22px;
  background: #fff;
}

.footer-columns {
  max-width: 1120px;
  margin: 0 auto 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.footer h4 {
  margin: 0 0 6px;
}

.footer a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2px;
}

.footer a:hover {
  color: var(--text);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.3);
  padding: 0;
  width: 100%;
  max-width: 960px;
  position: relative;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 520px;
}

.auth-left {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-tabs {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  width: fit-content;
}

.modal-tab {
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.modal-tab.active {
  background: #fff;
  color: #111827;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.auth-hero-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.auth-title {
  margin: 6px 0 2px;
  font-size: 1.4rem;
}

.auth-subtitle {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  gap: 4px;
}

.auth-form input {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-size: 0.95rem;
}

.password-row {
  position: relative;
}

.forgot-link {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
}

.auth-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 4px 0 0;
}

.auth-switch {
  color: var(--primary);
  cursor: pointer;
  font-weight: 700;
}

.auth-error {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #b91c1c;
}

.auth-right {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 35, 70, 0.88), rgba(20, 35, 70, 0.9)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=60") center/cover no-repeat;
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.auth-quote {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 420px;
}

.auth-quote-author {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* SIGNED-IN DASHBOARD */
.progress-section {
  max-width: 1120px;
  margin: 12px auto 18px;
  padding: 0 18px;
}

.progress-header {
  text-align: center;
  margin-bottom: 14px;
}

.progress-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.9fr);
  gap: 14px;
}

.progress-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.progress-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.progress-card.light {
  background: #f8fafc;
}

.progress-card-header h3 {
  margin: 0 0 4px;
}

.progress-card-header p {
  margin: 0 0 10px;
  color: var(--muted);
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 4px;
}

.progress-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.progress-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: #f1f5f9;
}

.progress-icon.done {
  background: #e0f7ed;
  color: #16a34a;
}

.progress-icon.active {
  background: #fff0e7;
  color: #f97316;
}

.progress-icon.idle {
  background: #e5e7eb;
  color: #6b7280;
}

.progress-bar.wide {
  height: 8px;
  margin-bottom: 8px;
}

.progress-bar-fill.idea {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.progress-bar-fill.biz {
  background: linear-gradient(90deg, #fb923c, #fcd34d);
}

.progress-bar-fill.idle {
  background: #e5e7eb;
}

.primary-cta {
  margin-top: 10px;
  background: #d64d2f;
  border-color: #d64d2f;
}

.badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge-row {
  background: #ecfdf3;
  border: 1px solid #d1fae5;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.badge-row.muted {
  background: #f5f5f5;
  border-color: #e5e7eb;
  color: #9ca3af;
}

.badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.badge-icon.green {
  background: #bbf7d0;
  color: #166534;
}

.badge-icon.gray {
  background: #e5e7eb;
  color: #9ca3af;
}

.badge-title {
  font-weight: 700;
}

.badge-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .progress-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* UTILS */
.hidden {
  display: none !important;
}

.welcome-banner {
  max-width: 1120px;
  margin: 12px auto 14px;
  padding: 10px 14px;
  background: #fff7f1;
  border: 1px solid rgba(245, 130, 52, 0.4);
  border-radius: 12px;
  color: #b45309;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.welcome-text {
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-left {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 56px 18px 48px;
  }

  section {
    padding-inline: 18px;
  }

  .roadmap-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pill-btn {
    width: 100%;
    justify-content: center;
  }
}

/* CURRICULUM PAGE */
.curriculum-body {
  background: #f9fafc;
}

.curriculum-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 18px 40px;
}

.curriculum-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.curriculum-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.level-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e6e7ec;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(31, 47, 77, 0.08);
}

.level-num {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 4px 8px;
  font-weight: 700;
}

.xp-bar {
  width: 120px;
  height: 6px;
  background: #e6e7ec;
  border-radius: 999px;
  overflow: hidden;
}

.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #f5b041);
  border-radius: inherit;
}

.xp-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.xp-total {
  color: var(--muted);
  font-size: 0.85rem;
}

.streak-chip,
.title-chip {
  background: #fff;
  border: 1px solid #e6e7ec;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 18px rgba(31, 47, 77, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.streak-label {
  font-weight: 700;
}

.streak-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.curriculum-title .eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
}

.curriculum-title h1 {
  margin: 4px 0 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.achievement-card {
  background: linear-gradient(135deg, #fffdf7, #fffbe8);
  border: 1px solid #f4e6c2;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(31, 47, 77, 0.06);
}

.ach-icon {
  font-size: 1.2rem;
}

.ach-title {
  font-weight: 700;
}

.ach-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.curriculum-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.month-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s;
}

.month-row:hover {
  box-shadow: var(--shadow-hover);
}

.month-row h3 {
  margin: 4px 0;
}

.month-row p {
  margin: 0;
  color: var(--muted);
}

.month-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-free {
  background: #fff3e7;
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.month-actions {
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.progress-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.progress-line .progress-bar {
  width: 120px;
  margin: 0;
}

.pill-btn.dark {
  background: #121f3d;
  color: #fff;
  border-color: #121f3d;
}

.pill-btn.dark.outline {
  background: transparent;
  color: #121f3d;
  border-color: rgba(18, 31, 61, 0.4);
}

.curriculum-body .footer {
  margin-top: 28px;
}

/* COURSE PAGE */
.course-body {
  background: #f9fafc;
}

.course-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 18px 40px;
}

.back-link {
  display: inline-block;
  margin: 8px 0 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.course-header h1 {
  margin: 6px 0;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.course-header .muted {
  color: var(--muted);
  margin: 0;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.9fr);
  gap: 16px;
  margin-top: 14px;
}

.course-left details {
  margin: 0;
}

.week-card {
  background: #fff;
  border: 1px solid #e6e7ec;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(31, 47, 77, 0.06);
  padding: 10px 12px;
}

.week-card summary {
  list-style: none;
  cursor: pointer;
}

.week-card summary::-webkit-details-marker {
  display: none;
}

.week-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.week-name {
  font-weight: 700;
}

.week-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.week-icon {
  font-size: 1.2rem;
}

.week-body {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lesson {
  background: #f8f9fc;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lesson-title {
  font-weight: 700;
}

.lesson-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.lesson-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.prompt {
  background: #f2f7ff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #dbeafe;
}

.prompt-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #1d4ed8;
  font-weight: 700;
  margin-bottom: 4px;
}

.course-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-card,
.upgrade-card {
  background: #fff;
  border: 1px solid #e6e7ec;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(31, 47, 77, 0.06);
  padding: 14px;
}

.progress-card-title,
.upgrade-title {
  font-weight: 700;
  margin: 0 0 4px;
}

.upgrade-card p,
.progress-card p {
  margin: 4px 0;
  color: var(--muted);
}

.upgrade-card {
  background: linear-gradient(180deg, #fff7f1, #fff);
  border-color: rgba(245, 130, 52, 0.35);
}

.course-body .progress-bar {
  margin: 6px 0 0;
}

.course-body .footer {
  margin-top: 28px;
}

@media (max-width: 960px) {
  .course-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* PARENT CORNER */
.parent-body {
  background: #f9fafc;
}

.parent-shell {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 18px;
}

.parent-hero {
  position: relative;
  margin: 16px auto 24px;
  padding: 80px 32px 72px;
  background: linear-gradient(120deg, #eef2ff 0%, #e0f2fe 45%, #fdf2f8 100%);
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.parent-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
}

.parent-hero-content {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

.small-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--text);
  font-weight: 700;
  display: inline-flex;
  gap: 6px;
}

.parent-hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--text);
}

.parent-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.parent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.parent-card {
  background: #fff;
  border: 1px solid #e6e7ec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(31, 47, 77, 0.08);
  display: flex;
  flex-direction: column;
}

.parent-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.parent-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.parent-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.tag {
  background: #fff3e7;
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.tag.orange {
  background: #fff0ed;
}

.meta-detail {
  color: var(--muted);
}

.parent-card h3 {
  margin: 0;
}

.parent-card p {
  margin: 0;
  color: var(--muted);
}

.parent-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.read-link {
  text-decoration: none;
  font-weight: 700;
  color: #111827;
}

.parent-body .footer {
  margin-top: 28px;
}

.parent-related {
  margin: 4px 0 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.parent-related strong {
  color: var(--text);
}

/* DAILY WATCH CHALLENGE */
.challenge-body {
  background: radial-gradient(circle at 10% 20%, #e0f2fe, transparent 24%),
    radial-gradient(circle at 90% 10%, #ede9fe, transparent 28%),
    radial-gradient(circle at 30% 80%, #dcfce7, transparent 32%),
    var(--bg);
}

.challenge-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.challenge-hero {
  margin-top: 12px;
}

.challenge-hero-card {
  background: linear-gradient(135deg, #f8fbff, #fff8ed);
  border: 1px solid rgba(31, 47, 77, 0.08);
  box-shadow: 0 20px 50px rgba(31, 47, 77, 0.12);
  border-radius: 20px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: center;
}

.challenge-hero-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.challenge-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.9rem;
}

.challenge-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.challenge-tags {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tag-blue {
  background: #dbeafe;
  color: #2563eb;
}

.tag-green {
  background: #dcfce7;
  color: #16a34a;
}

.tag-purple {
  background: #ede9fe;
  color: #7c3aed;
}

.challenge-video-title {
  font-size: 1.2rem;
  margin: 4px 0;
  font-weight: 700;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.challenge-duration {
  margin: 0;
  color: var(--muted);
}

.challenge-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.challenge-actions .primary {
  padding: 12px 20px;
  font-size: 1rem;
}

.challenge-actions .primary.success {
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
}

.watch-notes-block {
  margin: 10px auto 0;
  max-width: 760px;
  width: 100%;
  background: #0b1220;
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.2);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.watch-notes-block label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.watch-notes-block textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.4);
  padding: 10px 12px;
  font-size: 0.98rem;
  background: #0f172a;
  color: #e2e8f0;
  resize: vertical;
  min-height: 100px;
}

.watch-notes-block textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.28);
}

.watch-notes-hint {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.watch-notes-error {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #f87171;
  font-weight: 700;
}

.go-today-btn {
  margin-top: 10px;
  border-color: #ea580c;
  background: #f58234;
  color: #fff;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.24);
}

.go-today-btn:hover {
  border-color: #ea580c;
  background: #ea580c;
  color: #fff;
  transform: translateY(-1px);
}

.challenge-hint {
  color: #0f172a;
  font-weight: 700;
  background: #e2f5ff;
  border-radius: 12px;
  padding: 6px 10px;
}

.challenge-hero-right {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  justify-items: center;
}

.ring-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
}

.progress-ring {
  width: 180px;
  height: 180px;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 12;
}

.ring-progress {
  fill: none;
  stroke: #2563eb;
  stroke-linecap: round;
  stroke-width: 12;
  stroke-dasharray: 376;
  stroke-dashoffset: 188;
  transition: stroke-dashoffset 0.5s ease;
  stroke: #2563eb;
}

.ring-label {
  position: absolute;
  text-align: center;
  color: var(--navy);
}

.ring-day {
  font-weight: 800;
  font-size: 1.4rem;
}

.ring-total {
  color: var(--muted);
}

.mini-meta {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(31, 47, 77, 0.08);
  padding: 12px 14px;
  box-shadow: 0 10px 18px rgba(31, 47, 77, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.meta-label {
  color: var(--muted);
}

.mini-streaks {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(31, 47, 77, 0.08);
  padding: 12px 14px;
  box-shadow: 0 10px 18px rgba(31, 47, 77, 0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.mini-streak {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badges {
  margin-top: 10px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading p {
  margin: 6px 0 16px;
  color: var(--muted);
}

.streak-section {
  margin-top: 32px;
}

.streak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.streak-card,
.heatmap-card,
.badge-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
}

.streak-card {
  display: grid;
  gap: 10px;
}

.streak-metric {
  display: flex;
  gap: 10px;
  align-items: center;
}

.metric-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: #f8fafc;
}

.metric-label {
  margin: 0;
  color: var(--muted);
}

.metric-value {
  margin: 0;
  font-weight: 800;
  font-size: 1.6rem;
}

.heatmap-card .heatmap-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.legend {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}

.legend-dot.light {
  background: #9be9a8;
}

.legend-dot.medium {
  background: #40c463;
}

.legend-dot.dark {
  background: #216e39;
}

.legend-dot.missed {
  background: #ebedf0;
}

.heatmap-grid {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 28px;
  column-gap: 10px;
  row-gap: 8px;
  margin-top: 16px;
  align-items: start;
  justify-content: start;
}

.heat-cell {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ebedf0;
  border: 1px solid #e5e7eb;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #475569;
  font-weight: 700;
}

.heat-cell.light {
  background: #9be9a8;
  border-color: #8ae39e;
}

.heat-cell.medium {
  background: #40c463;
  border-color: #3ab659;
}

.heat-cell.dark {
  background: #216e39;
  border-color: #1d5c31;
}

.heat-cell:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
}

.badge-card .badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef2ff;
  color: #312e81;
  font-weight: 700;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.badge.locked {
  background: #f8fafc;
  color: #94a3b8;
  border-style: dashed;
  opacity: 0.8;
}

.badge-title {
  margin: 0 0 8px;
  font-weight: 800;
}

.video-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.video-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.18);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.video-day {
  font-weight: 800;
  color: #2563eb;
}

.video-day-link {
  background: #f58234;
  border: 1px solid #ea580c;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.12s ease;
  box-shadow: 0 10px 20px rgba(234, 88, 12, 0.22);
}

.video-day-link:hover {
  background: #ea580c;
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.26);
  transform: translateY(-1px);
}

.video-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
}

.video-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.status-pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-pill.watched {
  background: #ecfdf3;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-pill.due {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.video-duration {
  color: var(--muted);
}

.badge-tile {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8fafc;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.badge-tile.unlocked {
  background: linear-gradient(135deg, #ecfeff, #eef2ff);
  color: #1f2937;
}

.badge-tile.locked {
  opacity: 0.6;
}

.badge-tile p {
  margin: 0;
  font-weight: 800;
}

.badge-tile small {
  color: var(--muted);
}

.sparkle-burst {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-size: 2.2rem;
  z-index: 30;
}

.sparkle-burst.active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 900px) {
  .challenge-hero-card {
    grid-template-columns: 1fr;
  }

  .xp-grid {
    grid-template-columns: 1fr;
  }
}

/* FEEDBACK PAGE */
.feedback-hero {
  max-width: 1180px;
  margin: 18px auto 12px;
  padding: 44px 30px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #e0f2fe 0%, #fdf2f8 55%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.feedback-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 20%, rgba(14, 165, 233, 0.16), transparent 35%),
    radial-gradient(circle at 78% 30%, rgba(244, 114, 182, 0.16), transparent 32%),
    radial-gradient(circle at 40% 80%, rgba(56, 189, 248, 0.12), transparent 30%);
  pointer-events: none;
}

.feedback-hero-content {
  position: relative;
  max-width: 780px;
}

.feedback-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  margin: 0 0 8px;
}

.feedback-kicker.subtle {
  background: transparent;
  color: var(--muted);
  padding: 0;
  letter-spacing: 0.02em;
  text-transform: none;
}

.feedback-hero h1 {
  margin: 0 0 6px;
  font-size: 2.1rem;
  line-height: 1.2;
}

.feedback-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 720px;
}

.feedback-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.feedback-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbeafe;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.feedback-grid {
  max-width: 1180px;
  margin: 0 auto 54px;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 18px;
}

.feedback-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.feedback-form-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feedback-form-header h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.feedback-muted {
  margin: 0;
  color: var(--muted);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feedback-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: #0f172a;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 0.98rem;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 120px;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.feedback-status {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
}

.feedback-status.success {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.feedback-status.error {
  background: #fef2f2;
  border: 1px solid #fecdd3;
  color: #991b1b;
}

.feedback-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, #0f172a, #111827);
  color: #e2e8f0;
}

.feedback-aside-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.feedback-step-title {
  font-weight: 800;
  margin: 0 0 4px;
  color: #f8fafc;
}

.feedback-step p {
  margin: 0;
  color: #cbd5e1;
}

.feedback-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.feedback-aside-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.meta-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.meta-value {
  font-weight: 800;
  color: #f8fafc;
}

@media (max-width: 1024px) {
  .feedback-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .feedback-hero {
    padding: 32px 20px 36px;
  }

  .feedback-hero h1 {
    font-size: 1.8rem;
  }

  .feedback-row {
    grid-template-columns: 1fr;
  }

  .feedback-card {
    padding: 18px 18px;
  }
}
