/* ============================================================
   PREMIUM BLACK & GOLD — Landing Page
   Signature element: the "foil seal" — a certification stamp
   motif reused across hero, modules and the certificate teaser.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  --bg:            #0B0A08;
  --bg-panel:      #14120D;
  --bg-panel-2:    #1C1913;
  --gold:          #C6A15B;
  --gold-bright:   #E8C77D;
  --gold-dim:      rgba(198,161,91,0.16);
  --gold-line:     rgba(198,161,91,0.32);
  --ivory:         #F3EEE2;
  --muted:         #9C9483;
  --muted-2:       #6E6858;

  --font-display: 'Fraunces', serif;
  --font-body:    'Manrope', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --max-w: 1180px;
}

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

html{ scroll-behavior:smooth; }

body{
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle warm vignette so the black doesn't feel flat */
body::before{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(198,161,91,0.09), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(198,161,91,0.05), transparent 60%);
  pointer-events:none;
  z-index:0;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{
  max-width: var(--max-w);
  margin:0 auto;
  padding: 0 28px;
  position:relative;
  z-index:1;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background: var(--gold-line);
}

h1,h2,h3{ font-family: var(--font-display); font-weight:600; color: var(--ivory); }

.section-head{ max-width: 640px; margin-bottom:44px; }
.section-head h2{ font-size: clamp(28px,4vw,40px); margin-top:14px; line-height:1.15; }
.section-head p{ color: var(--muted); margin-top:14px; font-size:16px; }

.hairline{ border:none; border-top:1px solid var(--gold-line); }

/* ---------------- Navbar ---------------- */
.nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(11,10,8,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-line);
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-size:20px; letter-spacing:0.01em; }
.brand .mark{ width:30px; height:30px; }
.nav-links{ display:flex; gap:34px; font-size:14px; color: var(--muted); }
.nav-links a:hover{ color: var(--gold-bright); }
.nav-cta{
  border:1px solid var(--gold); color: var(--gold-bright);
  padding:9px 20px; border-radius:2px; font-size:13px; letter-spacing:0.04em;
  transition: all .2s ease;
}
.nav-cta:hover{ background: var(--gold); color:#0B0A08; }
.nav-toggle{ display:none; }

/* Scroll progress bar */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; z-index:100;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  width:0%; transition: width .1s linear;
}

/* ---------------- Trust Bar ---------------- */
.trust-bar{ padding: 32px 0; }
.trust-items{ display:flex; justify-content:center; gap:40px; flex-wrap:wrap; }
.trust-item{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-mono); font-size:12.5px; color: var(--muted);
  letter-spacing:0.02em;
}

/* ---------------- Hero ---------------- */
.hero{ padding: 96px 0 80px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.15fr 0.85fr; gap:60px; align-items:center; }
.hero h1{
  font-size: clamp(38px, 5.2vw, 58px);
  line-height:1.08;
  margin-top:22px;
  letter-spacing:-0.01em;
}
.hero h1 em{ color: var(--gold-bright); font-style:normal; }
.hero p.lede{ color: var(--muted); font-size:18px; max-width: 480px; margin-top:20px; }

.hero-stats{ display:flex; gap:36px; margin-top:36px; }
.stat .num{ font-family: var(--font-mono); font-size:26px; color: var(--gold-bright); }
.stat .label{ font-size:12px; color: var(--muted-2); text-transform:uppercase; letter-spacing:0.08em; margin-top:4px; }

.hero-cta-row{ display:flex; align-items:center; gap:22px; margin-top:38px; flex-wrap:wrap; }

.btn-primary{
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color:#141005; font-weight:700; font-size:15px;
  padding:15px 30px; border:none; border-radius:2px;
  letter-spacing:0.02em;
  box-shadow: 0 10px 30px -12px rgba(198,161,91,0.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(198,161,91,0.65); }

.price-tag{ display:flex; flex-direction:column; }
.price-tag .was{ font-size:13px; color:var(--muted-2); text-decoration: line-through; }
.price-tag .now{ font-family: var(--font-mono); font-size:22px; color: var(--gold-bright); }

/* --- Seal (signature element) --- */
.seal-wrap{ position:relative; display:flex; align-items:center; justify-content:center; }
.seal{ width: 340px; height:340px; position:relative; }
.seal svg{ width:100%; height:100%; }
.seal .ring-outer{ animation: spin 40s linear infinite; transform-origin:50% 50%; }
.seal .ring-dash{ animation: spin 70s linear infinite reverse; transform-origin:50% 50%; }
@keyframes spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){
  .seal .ring-outer, .seal .ring-dash{ animation:none; }
}

/* ---------------- Course Details ---------------- */
.details{ padding: 90px 0; }
.details-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:60px; }
.detail-list li{
  display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--gold-line);
}
.detail-list li:first-child{ border-top:1px solid var(--gold-line); }
.detail-list .ico{ color: var(--gold); flex-shrink:0; margin-top:2px; }
.detail-list h4{ font-family: var(--font-body); font-weight:700; font-size:15px; }
.detail-list p{ color: var(--muted); font-size:14px; margin-top:4px; }

.panel{
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  padding: 32px;
  border-radius: 4px;
}
.panel h3{ font-size:20px; }
.panel .audience-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size:12px; color: var(--gold-bright);
  border:1px solid var(--gold-line); padding:6px 12px; border-radius:20px;
  margin: 6px 8px 0 0;
}

/* ---------------- Outcomes ---------------- */
.outcomes{ padding: 90px 0; background: var(--bg-panel); }
.outcomes-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.outcome-card{
  background: var(--bg);
  border:1px solid var(--gold-line);
  border-radius:6px;
  padding:28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.outcome-card:hover{
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px -8px rgba(198,161,91,0.18);
}
.outcome-icon{ font-size:28px; margin-bottom:14px; }
.outcome-card h4{ font-family: var(--font-body); font-weight:700; font-size:15px; margin-bottom:8px; }
.outcome-card p{ font-size:13.5px; color: var(--muted); line-height:1.6; }

/* ---------------- Instructor ---------------- */
.instructor{ padding: 90px 0; }
.instructor-card{
  display:grid; grid-template-columns: 280px 1fr; gap:50px; align-items:center;
  background: var(--bg-panel);
  border:1px solid var(--gold-line);
  border-radius:6px;
  padding:40px;
}
.instructor-photo{ display:flex; justify-content:center; }
.instructor-photo img{
  width:200px; height:200px; border-radius:50%; object-fit:cover;
  border:3px solid var(--gold-line);
  box-shadow: 0 0 0 8px rgba(198,161,91,0.08);
}
.instructor-info h2{ font-size:28px; margin-top:10px; }
.instructor-title{ color: var(--gold); font-family: var(--font-mono); font-size:13px; margin-top:4px; letter-spacing:0.05em; }
.instructor-info > p{ color: var(--muted); font-size:14.5px; margin-top:16px; line-height:1.7; }
.instructor-stats{
  display:flex; gap:36px; margin-top:24px; padding-top:20px;
  border-top:1px solid var(--gold-line);
}
.instructor-stats div{ display:flex; flex-direction:column; }
.instructor-stats strong{ font-family: var(--font-mono); font-size:20px; color: var(--gold-bright); }
.instructor-stats span{ font-size:12px; color: var(--muted-2); margin-top:4px; }

/* ---------------- Modules ---------------- */
.modules{ padding: 90px 0; }
.module-spine{ position:relative; padding-left:20px; }
.module-spine::before{
  content:"";
  position:absolute; left:0; top:8px; bottom:8px; width:1px;
  background: linear-gradient(180deg, var(--gold), transparent 95%);
}
.module{
  position:relative;
  display:grid; grid-template-columns: 90px 1fr auto;
  gap:24px; align-items:center;
  padding:24px 22px;
  border: 1px solid transparent;
  border-radius:4px;
  transition: border-color .2s ease, background .2s ease;
}
.module:hover{ border-color: var(--gold-line); background: var(--bg-panel); }
.module::before{
  content:""; position:absolute; left:-20.5px; top:50%; transform:translateY(-50%);
  width:9px; height:9px; border-radius:50%; background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg);
}
.module .idx{ font-family: var(--font-mono); font-size:28px; color: var(--gold-line); }
.module h4{ font-family: var(--font-body); font-weight:700; font-size:16px; color:var(--ivory); }
.module p{ font-size:13.5px; color: var(--muted); margin-top:4px; }
.module .dur{ font-family: var(--font-mono); font-size:12px; color: var(--muted-2); white-space:nowrap; }

/* ---------------- Reviews ---------------- */
.reviews{ padding:90px 0; }
.review-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.review-card{
  background: var(--bg-panel);
  border:1px solid var(--gold-line);
  border-radius:4px;
  padding:28px;
  display:flex; flex-direction:column; gap:16px;
}
.review-stars{ color: var(--gold-bright); font-family: var(--font-mono); font-size:13px; letter-spacing:2px; }
.review-quote{ font-size:14.5px; color: var(--ivory); line-height:1.65; }
.review-who{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.review-avatar{
  width:38px; height:38px; border-radius:50%;
  background: var(--gold-dim); border:1px solid var(--gold-line);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-size:13px; color: var(--gold-bright);
}
.review-who .name{ font-size:13.5px; font-weight:700; }
.review-who .role{ font-size:12px; color: var(--muted-2); }

/* ---------------- FAQ ---------------- */
.faq{ padding: 90px 0 60px; }
.faq-item{ border-bottom:1px solid var(--gold-line); }
.faq-item:first-child{ border-top:1px solid var(--gold-line); }
.faq-q{
  width:100%; background:none; border:none; color: var(--ivory);
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 4px; font-family: var(--font-body); font-weight:600; font-size:16px;
  text-align:left;
}
.faq-q .plus{ font-family: var(--font-mono); color: var(--gold); font-size:20px; transition: transform .25s ease; flex-shrink:0; margin-left:20px; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height .3s ease;
  color: var(--muted); font-size:14.5px; padding:0 4px;
}
.faq-item.open .faq-a{ padding-bottom:22px; }

/* ---------------- Final CTA ---------------- */
.final-cta{
  padding: 70px 0;
  border-top:1px solid var(--gold-line);
  border-bottom:1px solid var(--gold-line);
  text-align:center;
}
.final-cta h2{ font-size: clamp(26px,4vw,36px); }
.final-cta p{ color:var(--muted); margin:14px 0 30px; }

.guarantee-badge{
  display:inline-flex; align-items:center; gap:14px;
  background: rgba(198,161,91,0.06);
  border:1px solid var(--gold-line);
  border-radius:6px;
  padding:16px 24px;
  margin-bottom:30px;
  text-align:left;
}
.guarantee-badge strong{ font-size:14px; display:block; color: var(--gold-bright); }
.guarantee-badge span{ font-size:12.5px; color: var(--muted); }

/* ---------------- Footer ---------------- */
footer{ padding: 60px 0 40px; }
.footer-top{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px;
  padding-bottom:40px; border-bottom:1px solid var(--gold-line);
}
.footer-col{ display:flex; flex-direction:column; gap:10px; }
.footer-col h5{
  font-family: var(--font-body); font-weight:700; font-size:13px;
  color: var(--gold); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:6px;
}
.footer-col a{ font-size:13.5px; color: var(--muted); transition: color .2s ease; }
.footer-col a:hover{ color: var(--gold-bright); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; flex-wrap:wrap; gap:12px;
}
.footer-made{ font-size:12px; color: var(--muted-2); }

/* ---------------- Scroll Reveal ---------------- */
.reveal{
  opacity:0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible{ opacity:1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
  .seal-wrap{ order:-1; }
  .seal{ width:220px; height:220px; margin:0 auto; }
  .details-grid{ grid-template-columns:1fr; }
  .review-grid{ grid-template-columns:1fr; }
  .outcomes-grid{ grid-template-columns:1fr 1fr; }
  .module{ grid-template-columns: 50px 1fr; }
  .module .dur{ grid-column: 2; }
  .instructor-card{ grid-template-columns:1fr; text-align:center; }
  .instructor-photo img{ width:150px; height:150px; }
  .instructor-stats{ justify-content:center; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .trust-items{ gap:20px; }

  /* Mobile menu */
  .nav-toggle{ display:flex; flex-direction:column; gap:5px; background:none; border:none; padding:8px; }
  .nav-toggle span{ width:22px; height:2px; background: var(--gold); transition: all .25s ease; }
  .nav-toggle.active span:nth-child(1){ transform: rotate(45deg) translate(5px,5px); }
  .nav-toggle.active span:nth-child(2){ opacity:0; }
  .nav-toggle.active span:nth-child(3){ transform: rotate(-45deg) translate(5px,-5px); }
  .nav-links{
    display:none; position:absolute; top:76px; left:0; right:0;
    flex-direction:column; background: rgba(11,10,8,0.97);
    padding:20px 28px; gap:16px; border-bottom:1px solid var(--gold-line);
  }
  .nav-links.open{ display:flex; }
}

@media (max-width: 600px){
  .outcomes-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .hero-stats{ flex-direction:column; gap:16px; }
  .guarantee-badge{ flex-direction:column; text-align:center; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
