/* ============================================================
   Tokens
   ============================================================ */
:root{
  --bg:            #08060e;
  --bg-alt:        #0c0a16;
  --surface:       #14101f;
  --surface-soft:  #120e1c;
  --border:        rgba(255,255,255,0.08);
  --border-soft:   rgba(255,255,255,0.06);

  --text:          #f3eff9;
  --text-muted:    #9993ad;
  --text-faint:    #6d6884;

  --purple:        #8b5cf6;
  --violet:        #7c3aed;
  --pink:          #ec4899;
  --orange:        #f2994a;
  --gold:          #d9a441;
  --green:         #34c98a;
  --teal:          #3fb8c9;
  --rose:          #e05a7a;

  --grad: linear-gradient(92deg, #8b3ff0 0%, #d6379e 48%, #f2994a 100%);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --max-w: 1080px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,p,dl,dd,figure{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
img{ max-width: 100%; display: block; }
input, select{ font-family: inherit; font-size: 15px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible{
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Background glow (fixed decorative layer)
   ============================================================ */
.bg-glow{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 420px at 12% 6%, rgba(139,63,240,0.20), transparent 60%),
    radial-gradient(560px 380px at 92% 10%, rgba(242,153,74,0.10), transparent 60%),
    radial-gradient(500px 400px at 50% 0%, rgba(214,55,158,0.10), transparent 65%);
}

header, main, footer{ position: relative; z-index: 1; }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,6,14,0.72);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
}
.brand-mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad);
  font-size: 13px;
  color: #fff;
}
.brand-sep{ color: var(--text-faint); margin: 0 2px; font-weight: 400; }
.brand-sub{ color: var(--text-muted); font-weight: 400; }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-gradient{
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(214,55,158,0.55);
}
.btn-gradient:hover{ box-shadow: 0 10px 30px -6px rgba(214,55,158,0.7); }

.btn-ghost{
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.06); }

.btn-small{ padding: 9px 20px; font-size: 13.5px; }
.btn-large{ padding: 16px 26px; font-size: 15.5px; }
.btn-full{ width: 100%; padding: 15px 20px; font-size: 15px; }

.arrow{ display: inline-block; transition: transform 0.18s ease; }
.btn:hover .arrow{ transform: translateX(3px); }

/* ============================================================
   Type helpers
   ============================================================ */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #d9b8f2;
  background: rgba(139,63,240,0.12);
  border: 1px solid rgba(139,63,240,0.28);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.eyebrow-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(236,72,153,0.25);
}
.eyebrow-line{
  background: none;
  border: none;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--purple);
  border-radius: 0;
  color: var(--purple);
  font-size: 12.5px;
}

.grad-text{
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-inline{
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* ============================================================
   Hero
   ============================================================ */
.hero{ position: relative;
  padding: 88px 0 0;
  background-image:
    linear-gradient(180deg, rgba(6,5,11,0.98) 0%, rgba(7,6,13,0.88) 46%, var(--bg) 94%),
    url("https://leadacademy.sgp1.cdn.digitaloceanspaces.com/assets/static/img/ai-workshop/hero-bg.jpg");
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat; }

.hero-title{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hero-copy{
  max-width: 480px;
  color: var(--text-muted);
  font-size: 16.5px;
  margin-bottom: 36px;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-note{
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 44px;
}

.detail-bar{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}
.detail-item{
  background: var(--surface-soft);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.detail-label{
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.detail-value{ font-size: 15.5px; font-weight: 600; }
.detail-sub{ font-size: 13px; color: var(--text-muted); }

.stat-bar{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 0;
}
.stat{
  text-align: center;
  padding: 30px 12px;
  border-right: 1px solid var(--border-soft);
}
.stat:last-child{ border-right: none; }
.stat-num{
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 34px;
  color: var(--pink);
  margin-bottom: 6px;
}
.stat-label{ font-size: 12.5px; color: var(--text-muted); }

/* Tool strip marquee */
.tool-strip{
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tool-track{
  display: flex;
  width: max-content;
  animation: scroll-left 26s linear infinite;
  will-change: transform;
}
.tool-set{
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
}
.tool-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.tool-pill i{
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-block;
}
.tool-arrow{ color: var(--text-faint); font-size: 14px; }

@keyframes scroll-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(calc(-1 * var(--set-width, 50%))); }
}

/* ============================================================
   Sections
   ============================================================ */
.section{ padding: 110px 0; }
.section-alt{ background: var(--bg-alt); }

.section-title{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.12;
  margin-bottom: 24px;
  max-width: 620px;
}

.section-copy{
  color: var(--text-muted);
  max-width: 480px;
  font-size: 15.5px;
  margin-bottom: 52px;
}

/* Card grid (curriculum) */
.card-grid{
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.card-grid.three{ grid-template-columns: repeat(3, 1fr); }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card-icon{
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg{ width: 20px; height: 20px; }
.icon-purple{ background: rgba(139,63,240,0.16); color: var(--purple); }
.icon-pink{ background: rgba(214,55,158,0.16); color: var(--pink); }
.icon-gold{ background: rgba(217,164,65,0.18); color: var(--gold); }
.icon-green{ background: rgba(52,201,138,0.16); color: var(--green); }
.icon-teal{ background: rgba(63,184,201,0.16); color: var(--teal); }
.icon-rose{ background: rgba(224,90,122,0.16); color: var(--rose); }

.card-title{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.card-list li{
  position: relative;
  padding-left: 16px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.card-list li:last-child{ margin-bottom: 0; }
.card-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-faint);
}

.capstone-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(90deg, rgba(139,63,240,0.14), rgba(214,55,158,0.10));
  border: 1px solid rgba(214,55,158,0.25);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.capstone-bar h4{ font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.capstone-bar p{ font-size: 14px; color: var(--text-muted); }
.badge{
  flex-shrink: 0;
  background: rgba(217,164,65,0.16);
  border: 1px solid rgba(217,164,65,0.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}

/* Audience grid */
.audience-grid{ margin-bottom: 32px; }
.audience-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.audience-card:hover{
  border-color: rgba(255,255,255,0.16);
  background: var(--surface-soft);
}
.audience-icon{
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.audience-icon svg{ width: 18px; height: 18px; }
.audience-card span{ font-weight: 600; font-size: 15px; }

.audience-footnote{
  color: var(--text-muted);
  font-size: 15px;
}

/* Media grid (instructor) */
.media-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.media-frame{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border);
}
.photo-placeholder{
  background:
    linear-gradient(180deg, rgba(8,6,14,0) 40%, rgba(8,6,14,0.85) 100%),
    repeating-linear-gradient(45deg, #1a1526, #1a1526 2px, #150f20 2px, #150f20 26px);
}
.video-placeholder{
  background:
    linear-gradient(180deg, rgba(8,6,14,0) 40%, rgba(8,6,14,0.85) 100%),
    radial-gradient(circle at 65% 30%, rgba(214,55,158,0.35), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(139,63,240,0.30), transparent 55%),
    #170f22;
  align-items: center;
  justify-content: center;
}
.promo-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #170f22;
}
#video-mount,
#video-mount iframe,
#video-mount video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.play-btn{ position: relative; z-index: 2; }
.video-placeholder.is-playing .play-btn{ opacity: 0; pointer-events: none; }
.video-placeholder:hover .play-btn{ opacity: 1; pointer-events: auto; }
.video-placeholder.is-playing #video-tag{ opacity: 0; }
.play-btn{
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(214,55,158,0.6);
  transition: transform 0.2s ease;
}
.play-btn:hover{ transform: scale(1.08); }
.media-tag{
  position: absolute;
  left: 16px; bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(8,6,14,0.75);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}
.media-eyebrow{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--purple);
  margin-bottom: 8px;
}
.media-eyebrow-pink{ color: var(--pink); }
.media-title{
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.media-copy{
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ============================================================
   Register section
   ============================================================ */
.register-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.info-list{ margin-top: 36px; }
.info-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
}
.info-row:last-child{ border-bottom: 1px solid var(--border-soft); }
.info-row dt{
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.info-row dd{
  text-align: right;
  font-size: 15px;
  font-weight: 600;
}
.info-row dd span{
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 3px;
}

.form-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-card h3{
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-sub{
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.field{
  display: block;
  margin-bottom: 18px;
}
.field span{
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.field input,
.field select{
  width: 100%;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--text);
}
.field input::placeholder{ color: var(--text-faint); }
.field input:focus,
.field select:focus{
  outline: none;
  border-color: var(--purple);
  background: rgba(139,63,240,0.06);
}
.field select{ appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239993ad' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.form-note{
  text-align: center;
  color: var(--text-faint);
  font-size: 12.5px;
  margin-top: 16px;
}

.form-success{
  text-align: center;
  padding: 30px 0;
}
.form-success p:first-child{ font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.form-success p:last-child{ color: var(--text-muted); font-size: 14px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  border-top: 1px solid var(--border-soft);
  padding: 32px 0;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-footer .brand-text{ font-size: 14px; }
.footer-meta{ color: var(--text-faint); font-size: 13px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px){
  .card-grid.three{ grid-template-columns: 1fr; }
  .media-grid{ grid-template-columns: 1fr; }
  .register-grid{ grid-template-columns: 1fr; gap: 40px; }
  .detail-bar{ grid-template-columns: 1fr; }
  .stat-bar{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2){ border-right: none; }
}

@media (max-width: 560px){
  .wrap{ padding: 0 20px; }
  .hero{ padding-top: 64px; }
  .section{ padding: 72px 0; }
  .brand-sub{ display: none; }
  .brand-sep{ display: none; }
  .stat-bar{ grid-template-columns: repeat(2, 1fr); }
  .info-row dd{ text-align: right; }
}
