/* ============================================================
   EyeQ by Dr Nutan — Design System
   Clear concepts. Clear career.
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-deep: #071528;
  --navy-mid: #122a4a;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-soft: #ccfbf1;
  --teal-glow: rgba(13, 148, 136, 0.15);
  --coral: #f97316;
  --coral-soft: #ffedd5;
  --gold: #eab308;
  --cream: #f8fafc;
  --white: #ffffff;
  --slate: #64748b;
  --slate-dark: #334155;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max: 1120px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

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

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 36rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--teal-soft);
  border-color: var(--teal-soft);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-coral:hover {
  background: #ea580c;
  border-color: #ea580c;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(11, 31, 58, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  gap: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.35);
}

.logo-mark::after {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 3px var(--navy), 0 0 0 2px var(--teal-light);
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: var(--teal-glow);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background: linear-gradient(165deg, #071528 0%, #0b1f3a 45%, #0d3d4a 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(13, 148, 136, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal-light);
  margin-bottom: 1.25rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
  margin-bottom: 0.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-meta-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}

.hero-meta-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.hero-card-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), var(--navy-mid));
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 3px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
}

.hero-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.hero-card .role {
  color: var(--teal-light);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.hero-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 500;
}

.trust-bar-inner span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-bar-inner svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--teal);
  flex-shrink: 0;
}

/* ---------- Program cards ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
}

.program-card.featured::before {
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.program-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.program-card.featured .program-icon {
  background: var(--coral-soft);
  color: var(--coral);
}

.program-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.program-card .audience {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.program-card p {
  color: var(--slate);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.program-card .price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.program-card .price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
}

.program-card .card-footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ---------- Features / How it works ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.feature-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--slate);
}

/* ---------- About strip ---------- */
.about-strip {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-portrait {
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--navy) 0%, #0d4a52 50%, var(--teal) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-portrait .initials {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-portrait h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.about-portrait .title {
  color: var(--teal-light);
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-portrait .creds {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.about-float {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 12rem;
}

.about-float strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
}

.about-float span {
  font-size: 0.75rem;
  color: var(--slate);
}

.about-content .section-lead {
  margin-bottom: 1.5rem;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.about-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--slate-dark);
}

.about-list .check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

/* ---------- YouTube section ---------- */
.youtube-section {
  background: var(--navy-deep);
  color: var(--white);
}

.youtube-section .section-title {
  color: var(--white);
}

.youtube-section .section-lead {
  color: rgba(255, 255, 255, 0.65);
}

.youtube-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: start;
}

.yt-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.yt-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.yt-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 2rem;
}

.yt-placeholder .play {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #ff0000;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

.yt-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.yt-info p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.yt-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.yt-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.yt-list li::before {
  content: "▶";
  color: var(--teal-light);
  font-size: 0.65rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.testimonial-card .stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--slate-dark);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.author strong {
  display: block;
  font-size: 0.9rem;
}

.author span {
  font-size: 0.8rem;
  color: var(--slate);
}

/* ---------- Pricing table ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.price-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.price-card .tier-desc {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.price-amount small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
}

.price-note {
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.price-features {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.price-features li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--slate-dark);
}

.price-features li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0d4a52 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.3), transparent 50%);
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(165deg, #071528 0%, #0b1f3a 60%, #0d3d4a 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 90% 30%, rgba(13, 148, 136, 0.2), transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a:hover {
  color: var(--teal-light);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  max-width: 28rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 32rem;
}

/* ---------- Content blocks ---------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--slate-dark);
}

.checklist .icon {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.visual-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.visual-box h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.curriculum-item {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.curriculum-item:last-child {
  border-bottom: none;
}

.curriculum-item .week {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
}

.curriculum-item .week strong {
  font-size: 1.1rem;
}

.curriculum-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.curriculum-item p {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
}

/* ---------- Enroll form ---------- */
.enroll-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.enroll-info h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.enroll-info p {
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.enroll-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.enroll-benefit {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.enroll-benefit .icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.enroll-benefit h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.enroll-benefit p {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.form-card .form-sub {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: var(--white);
}

.form-group textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Honeypot — visually removed but present in the DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  color: #b91c1c;
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success.visible {
  display: block;
}

.form-success .success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 40rem;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.65;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- Content cards (PYQ / theory) ---------- */
.content-group {
  margin-top: 3rem;
}

.content-group > h3 {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 1.4rem;
  color: var(--navy);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--teal-soft);
  margin-bottom: 1.5rem;
}

.content-topic {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 1.75rem 0 0.9rem;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.content-card .content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.content-card .content-meta .tag {
  font-size: 0.72rem;
  /* .tag is styled for the dark hero card — recolor for white cards */
  color: var(--teal);
  background: var(--teal-soft);
  border-color: transparent;
}

.content-card .question {
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
}

.content-card img {
  display: block;
  max-width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-top: 0.9rem;
}

.content-toggle {
  margin-top: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.content-toggle::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform var(--transition);
}

.content-card.open .content-toggle::after {
  content: "−";
}

.content-answer {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: var(--cream);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--slate-dark);
  line-height: 1.7;
}

.content-card.open .content-answer {
  display: block;
}

/* Rich theory-note body (trusted HTML from Supabase) */
.note-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate-dark);
}

.note-body > *:first-child {
  margin-top: 0;
}

.note-body h4 {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 1.75rem 0 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.note-body h4:first-of-type {
  border-top: none;
  padding-top: 0;
}

.note-body p {
  margin: 0 0 0.9rem;
}

.note-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: none;
}

.note-body ul li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 1rem;
}

.note-body ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.note-body strong {
  color: var(--navy);
  font-weight: 600;
}

.note-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
}

.note-body th,
.note-body td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.note-body th,
.note-body thead td {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.note-body tbody tr:nth-child(even) {
  background: var(--cream);
}

.note-body td p {
  margin: 0;
}

.note-callout {
  background: var(--coral-soft);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.note-callout strong:first-child {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: var(--coral);
  margin-bottom: 0.35rem;
}

.note-callout p {
  margin: 0;
}

/* Theory answer panel needs more room than the short-PYQ default */
.content-card.is-theory .content-answer {
  background: var(--white);
  border-left-color: var(--navy);
  padding: 1.4rem 1.5rem;
}

.content-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--slate);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 16rem;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

.text-center .section-lead {
  margin-inline: auto;
}

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

.highlight-box {
  background: var(--teal-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--teal);
  margin: 1.5rem 0;
}

.highlight-box p {
  color: var(--navy);
  font-size: 0.95rem;
  margin: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.stat-box span {
  font-size: 0.85rem;
  color: var(--slate);
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .youtube-grid,
  .content-block,
  .content-block.reverse,
  .enroll-layout {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .programs-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.popular {
    transform: none;
  }

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

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

  .hero-card {
    max-width: 24rem;
  }

  .about-float {
    right: 0.5rem;
    bottom: -0.5rem;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow);
    gap: 0.25rem;
  }

  .nav.open .nav-links a {
    padding: 0.75rem 1rem;
  }

  .features-grid,
  .form-row,
  .stat-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cta-banner {
    padding: 2.25rem 1.5rem;
  }
}
