/* ============================================================
   Audio Learning - flagship umbrella brand
   Premium flagship-store identity: deep navy/indigo + gold.
   Gradient-rich, mobile-first. No frameworks, no external JS.
   ============================================================ */

:root {
  --navy-900: #070d24;
  --navy-800: #0b1437;
  --navy-700: #122057;
  --indigo: #4338ca;
  --indigo-bright: #6366f1;
  --gold: #e8b94a;
  --gold-bright: #f6d87c;
  --gold-deep: #9a7418;
  --gold-soft: #fdf6e3;
  --paper: #f7f5ef;
  --card: #ffffff;
  --card-navy: #101a40;
  --body: #2a3352;
  --muted: #66708f;
  --line: rgba(67, 56, 202, 0.14);
  --hero-text: #e6e9f7;
  --radius: 16px;
  --grad-hero: linear-gradient(135deg, #070d24 0%, #122057 45%, #2a1f6e 78%, #4338ca 100%);
  --grad-gold: linear-gradient(135deg, #f6d87c 0%, #e8b94a 55%, #c98f1b 100%);
  --grad-indigo: linear-gradient(135deg, #6366f1 0%, #4338ca 60%, #2e2390 100%);
  --grad-card-glow: linear-gradient(135deg, rgba(232,185,74,0.16) 0%, rgba(99,102,241,0.10) 100%);
  --shadow: 0 10px 30px rgba(7, 13, 36, 0.12);
  --shadow-lg: 0 22px 54px rgba(7, 13, 36, 0.22);
  --shadow-gold: 0 14px 34px rgba(201, 143, 27, 0.28);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--body);
  background: linear-gradient(180deg, #f7f5ef 0%, #f1eedd 100%);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--navy-900); }

img { max-width: 100%; height: auto; }

a { color: var(--indigo); }
a:hover { color: var(--gold-deep); }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap > p,
.wrap > ul,
.wrap > ol {
  max-width: 44em;
}

main > section { padding: 72px 0; }
main > section:first-child { padding-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy-900);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 0 0 0.6em;
}
h3 { font-size: 1.25rem; margin: 1.25em 0 0.4em; }
p { margin: 0.75em 0; }
ul, ol { margin: 0.75em 0; padding-left: 1.5em; }
li { margin: 0.35em 0; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(7,13,36,0.97) 0%, rgba(11,20,55,0.94) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 185, 74, 0.28);
  padding: 14px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #ffffff;
  letter-spacing: 0.01em;
}
.brand-wordmark .brand-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.site-nav a {
  color: var(--hero-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--gold-bright); }
.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(232, 185, 74, 0.35);
}
.nav-cta {
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 8px 18px;
  color: var(--navy-900) !important;
  background: var(--grad-gold);
}
.nav-cta:hover { filter: brightness(1.06); }

/* ---------- Hero ---------- */

.hero {
  background: var(--grad-hero);
  color: var(--hero-text);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 12% 8%, rgba(232,185,74,0.22), transparent 60%),
    radial-gradient(700px 340px at 88% 90%, rgba(99,102,241,0.35), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1,
.hero .eyebrow { color: #ffffff; }
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  margin: 0.35em 0 0.4em;
  max-width: 16em;
}
.hero h1 .gold-line {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0;
}
.value-prop {
  font-size: 1.18rem;
  line-height: 1.7;
  max-width: 40em;
  color: var(--hero-text);
}
.hero .value-prop { color: var(--hero-text); }
.sample-player {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(232, 185, 74, 0.30);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 28px 0;
  max-width: 34em;
}
.sample-label { margin: 0 0 10px; font-size: 0.95rem; color: var(--hero-text); }
.sample-player audio { width: 100%; }

/* ---------- License block (verbatim placement) ---------- */

.license-block {
  background: var(--gold-soft);
  border: 1px solid rgba(201, 143, 27, 0.45);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 30px 0;
  max-width: 46em;
  box-shadow: var(--shadow);
}
.hero .license-block {
  background: rgba(253, 246, 227, 0.97);
}
.license-block p { margin: 0; color: var(--body); }
.license-block strong { color: var(--navy-900); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--grad-gold);
  color: var(--navy-900) !important;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff !important;
  border: 1px solid rgba(232, 185, 74, 0.55);
  box-shadow: none;
}
.btn-navy {
  background: var(--grad-indigo);
  color: #ffffff !important;
  box-shadow: var(--shadow);
}
.cta { margin-top: 30px; }
.cta .btn { margin: 6px 10px 6px 0; }
.trust-line {
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hero-text);
}
.trust-line::before { content: "✓ "; color: var(--gold-bright); }
main:not(.hero) .trust-line, section .trust-line { color: var(--body); }

/* ---------- Brand / catalog grids ---------- */

.brand-block { margin-bottom: 48px; }
.brand-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), rgba(232,185,74,0)) 1;
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.brand-head h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--navy-900);
}
.brand-tag { font-size: 0.95rem; color: var(--muted); margin: 0; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.course-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-gold);
}
.course-card h4 {
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--navy-900);
  margin: 0 0 4px;
}
.course-card p { margin: 0.4em 0; font-size: 0.97rem; color: var(--body); }
.price-line { font-size: 1.05rem; }
.price-line strong { color: var(--navy-900); font-size: 1.25rem; }
.card-actions { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }
.details-link { font-size: 0.92rem; font-weight: 600; }

/* ---------- Flagship banner ---------- */

.flagship-banner {
  background: var(--grad-indigo);
  border-radius: 20px;
  padding: 48px 44px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.flagship-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 260px at 90% 10%, rgba(232,185,74,0.30), transparent 60%),
    radial-gradient(500px 300px at 5% 100%, rgba(99,102,241,0.40), transparent 60%);
  pointer-events: none;
}
.flagship-banner > * { position: relative; }
.flagship-banner h2 { color: #ffffff; margin-top: 0; }
.flagship-banner .eyebrow { color: var(--gold-bright); }
.flagship-banner p { color: var(--hero-text); max-width: 44em; }
.flagship-price { font-size: 2.2rem; font-weight: 800; color: var(--gold-bright); font-family: var(--display); }
.flagship-price small { font-size: 1rem; font-family: var(--body-font); font-weight: 600; color: var(--hero-text); }

/* ---------- Exclusives ---------- */

.exclusives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.exclusive-card {
  background: var(--card-navy);
  color: var(--hero-text);
  border: 1px solid rgba(232, 185, 74, 0.35);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.exclusive-card h3 { color: var(--gold-bright); margin-top: 0; }
.exclusive-card p { color: var(--hero-text); font-size: 0.98rem; }
.exclusive-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--grad-gold);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fdf6e3 100%);
}
.price-card h3 { margin-top: 0; }
.price-card .price { font-family: var(--display); font-size: 2.4rem; color: var(--navy-900); margin: 0.2em 0; }
.price-card .price small { font-size: 1rem; font-family: var(--body-font); font-weight: 600; color: var(--muted); }
.price-card ul { padding-left: 1.2em; font-size: 0.98rem; }
.price-card .best-value {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Method / steps ---------- */

.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.method-steps > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.method-steps h3 { margin-top: 0; color: var(--indigo); }

/* ---------- Guarantee ---------- */

.guarantee {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--hero-text);
  border-radius: 20px;
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(232, 185, 74, 0.30);
}
.guarantee h2 { color: #ffffff; }
.guarantee p { color: var(--hero-text); max-width: 44em; }
.guarantee strong { color: var(--gold-bright); }

/* ---------- FAQ ---------- */

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.1rem; }
.faq-item p { margin: 0.4em 0 0; }

/* ---------- Forms ---------- */

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
  max-width: 640px;
}
.contact-form label { display: block; font-weight: 600; margin: 16px 0 6px; color: var(--navy-900); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(7, 13, 36, 0.22);
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 1rem;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(180deg, #070d24 0%, #050a1c 100%);
  color: var(--hero-text);
  padding: 48px 0 40px;
  border-top: 2px solid rgba(232, 185, 74, 0.40);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: baseline;
}
.site-footer a { color: var(--hero-text); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer .fine { width: 100%; margin-top: 18px; color: var(--muted); font-size: 0.9rem; }

/* ---------- Legal pages ---------- */

.legal h1 { margin-top: 0.4em; }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
  main > section { padding: 52px 0; }
  .hero { padding: 64px 0 60px; }
  .site-nav { gap: 4px 12px; }
  .flagship-banner, .guarantee { padding: 34px 24px; }
  .course-grid, .exclusives-grid, .pricing-grid { grid-template-columns: 1fr; }
  .brand-wordmark { font-size: 1.15rem; }
}
