:root {
  --bg: #05070b;
  --panel: #0b0f18;
  --panel-soft: #0d111f;
  --border-subtle: #1f2933;
  --gold: #d9af4f;
  --gold-soft: #f7d37b;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --accent-ai: #38bdf8;
  --accent-infra: #a855f7;
  --accent-bundle: #22c55e;
  --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.8);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 999px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top left, #111827 0, #020617 40%, #000 100%);
  color: var(--text-main);
}

/* LAYOUT */

.page {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

/* HEADER */

.fda-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 1rem 1.25rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #020617, #020617 40%, #111827 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.75rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 0%, #f97316, #b45309 50%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #0b0f18;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 0 18px rgba(249, 115, 22, 0.5);
}

.brand-text h1 {
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.1rem;
}

.brand-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.designer-line {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.fda-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fda-nav a {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.fda-nav a:hover {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--gold-soft);
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.hero-text {
  padding: 1.25rem 1.1rem 1.1rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.hero-text h2 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  margin: 0 0 0.6rem;
}

.hero-text h2 span {
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

.hero-copy {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-badges {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
  background: radial-gradient(circle at top left, #1e293b 0, #020617 70%);
}

.hero-card {
  background: radial-gradient(circle at top left, #111827 0, #020617 70%);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.hero-card h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
}

.hero-card li {
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.hero-note {
  font-size: 0.75rem;
  color: var(--gold-soft);
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.card-actions.vertical .btn {
  width: 100%;
}

.btn.small {
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
}

/* PRICING SECTIONS */

.pricing-section {
  margin-bottom: 2.25rem;
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.pricing-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

/* CARDS */

.pricing-card {
  background: linear-gradient(145deg, var(--panel) 0, #020617 100%);
  border-radius: var(--radius-md);
  padding: 1rem 0.95rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  margin-bottom: 0.8rem;
}

.track-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

.track-tag.ai {
  border-color: rgba(56, 189, 248, 0.8);
  color: #e0f2fe;
}

.track-tag.infra {
  border-color: rgba(168, 85, 247, 0.9);
  color: #ede9fe;
}

.track-tag.bundle {
  border-color: rgba(34, 197, 94, 0.9);
  color: #bbf7d0;
}

.pricing-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.02rem;
}

.track-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price {
  margin: 0.4rem 0 0.5rem;
  font-size: 1.45rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.currency {
  font-size: 1rem;
  color: var(--gold-soft);
}

.price-note {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-left: 0.2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.feature-list li {
  margin-bottom: 0.3rem;
}

.feature-list.two-col {
  columns: 2;
  column-gap: 1.25rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease, border-color 0.08s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: #020617;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 12px 30px rgba(248, 171, 48, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 18px 40px rgba(248, 171, 48, 0.7);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
}

.btn.ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.btn.full {
  width: 100%;
}

/* BUNDLE CARD */

.bundle-card {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.6fr);
  gap: 1.1rem;
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(34, 197, 94, 0.55);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 18px 45px rgba(22, 163, 74, 0.55);
}

.bundle-main h3 {
  margin: 0.2rem 0 0.3rem;
}

.bundle-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.bundle-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.bundle-price {
  margin: 0 0 0.2rem;
}

.bundle-savings {
  font-size: 0.8rem;
  color: #bbf7d0;
  margin-bottom: 0.6rem;
}

/* LICENSING */

.licensing-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.lic-card {
  background: var(--panel-soft);
  border-radius: var(--radius-md);
  padding: 1rem 0.95rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lic-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.lic-card p {
  margin: 0 0 0.6rem;
}

.cta-center {
  margin-top: 1.25rem;
  text-align: center;
}

.tiny-note {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* FOOTER */

.fda-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-note {
  margin-top: 0.2rem;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .fda-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .bundle-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .page {
    padding-inline: 1rem;
  }

  .pricing-card,
  .bundle-card,
  .lic-card,
  .fda-header {
    border-radius: 14px;
  }
}

/* SYLLABUS MODAL */
.syllabus-modal { display: none; }
.syllabus-modal.is-open { display: block; }

.syllabus-modal__overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 999;
}

.syllabus-modal__panel{
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 92vw);
  max-height: 82vh;
  overflow: auto;
  z-index: 1000;
  background: #101624;
  color: #f7f7ff;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.syllabus-modal__panel h3{
  margin: 0 0 10px;
}

.syllabus-modal__panel ul{
  margin: 10px 0 0;
  padding-left: 18px;
}

.syllabus-modal__close{
  position: sticky;
  top: 0;
  float: right;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
}