/* ============================================================
   INDEX — styles specific to index.html
   ============================================================ */

section { padding: 92px 0; }

/* --- Hero -------------------------------------------------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
  background: var(--nv);
}

.hbg2 { position: absolute; inset: 0; }

.hbg2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 172, 200, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 172, 200, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.gl1 {
  position: absolute;
  top: 30%;
  left: 5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 136, 32, .09) 0%, transparent 65%);
  pointer-events: none;
}

.gl2 {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 172, 200, .06) 0%, transparent 65%);
  pointer-events: none;
}

.hi {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.htag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 172, 200, .1);
  border: 1px solid rgba(46, 172, 200, .3);
  color: var(--cy);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .73rem;
  letter-spacing: .06em;
  margin-bottom: 26px;
  opacity: 0;
  animation: fu .6s ease .1s forwards;
}

.htag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cy);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.hh1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 5.8vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  animation: fu .6s ease .25s forwards;
  color: #fff;
}

.hh1 .a { color: var(--am); }
.hh1 .c { color: var(--cy); }

.hp {
  font-size: 1.1rem;
  color: var(--mtd);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fu .6s ease .4s forwards;
}

.hbtns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fu .6s ease .55s forwards;
}

#hero .bo {
  color: var(--cy);
  border-color: var(--cy);
}

#hero .bo:hover { background: rgba(46, 172, 200, .1); }

@keyframes fu {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* --- Educator ---------------------------------------------- */
#edu {
  background: var(--bgs);
  border-top: 1px solid var(--bd);
}

.eg {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

.epho {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.edu-portrait {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
}

.edu-carousel {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bgd);
}

.cr-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 0;
}

.cr-slide.active { opacity: 1; z-index: 2; }

.en {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--tx);
  margin-bottom: 4px;
}

.ett {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  color: var(--tl);
  letter-spacing: .08em;
  margin-bottom: 28px;
}

.eb {
  font-size: 1rem;
  color: var(--mt);
  line-height: 1.78;
  margin-bottom: 18px;
}

.eq {
  background: rgba(224, 136, 32, .06);
  border-left: 3px solid var(--am);
  padding: 18px 22px;
  font-size: 1rem;
  color: var(--tx);
  line-height: 1.72;
  font-style: italic;
  border-radius: 0 6px 6px 0;
  margin-top: 28px;
}

/* --- Sessions ---------------------------------------------- */
#sess {
  background: var(--bg);
  position: relative;
}

#sess::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 112, 160, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 112, 160, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.shd {
  text-align: center;
  margin-bottom: 56px;
}

.sgr {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  position: relative;
}

.sc {
  background: var(--bgs);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.sc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ac, var(--am));
}

.sc:hover {
  transform: translateY(-4px);
  border-color: var(--ac, var(--am));
  box-shadow: 0 12px 40px rgba(13, 30, 56, .1);
}

.sc:nth-child(1) { --ac: var(--tl); }
.sc:nth-child(2) { --ac: var(--am); }
.sc:nth-child(3) { --ac: var(--or); }
.sc:nth-child(4) { --ac: var(--mu); }
.sc:nth-child(5) { --ac: #8B4DB0; }

.sc.soon {
  border-style: dashed;
  --ac: var(--mt);
}

.sc.soon::before   { background: var(--bd); }
.sc.soon .sco      { color: var(--mt); }
.sc.soon:hover     { transform: none; box-shadow: none; border-color: var(--mt); }

.sn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  color: var(--mt);
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.sic {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.sco {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  color: var(--ac, var(--am));
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 7px;
}

.sti {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--tx);
  margin-bottom: 11px;
}

.sde {
  font-size: .9rem;
  color: var(--mt);
  line-height: 1.65;
  margin-bottom: 16px;
}

.skey {
  font-size: .82rem;
  color: var(--mt);
  padding-top: 14px;
  border-top: 1px solid var(--bd);
}

.skey strong { color: var(--am); }

/* --- How it works ------------------------------------------ */
#how { background: var(--bgs); }

.hhd {
  text-align: center;
  margin-bottom: 56px;
}

.hst {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.hst::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--am), var(--tl));
}

.hs {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hsn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bgd);
  border: 2px solid var(--am);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--am);
  margin: 0 auto 20px;
}

.hst2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--tx);
  margin-bottom: 9px;
}

.hsd {
  font-size: .88rem;
  color: var(--mt);
  line-height: 1.62;
}

/* --- For schools ------------------------------------------- */
#sch { background: var(--bg); }

.si {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.st p {
  color: var(--mt);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 16px;
}

.st p:last-child { margin-bottom: 0; }

.ss {
  background: var(--bgs);
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(13, 30, 56, .06);
}

.ss h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--tx);
  margin-bottom: 18px;
}

.ssi {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bd);
  font-size: .9rem;
  color: var(--mt);
  line-height: 1.5;
}

.ssi:last-child { border-bottom: none; }

.ssi::before {
  content: '→';
  color: var(--am);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Tidbits teaser ---------------------------------------- */
#tteaser {
  background: var(--bgs);
  border-top: 1px solid var(--bd);
}

.tt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tt-pixel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.tt-bit {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background .3s, border-color .3s, transform .2s;
}

.tt-bit:hover {
  background: rgba(224, 136, 32, .1);
  border-color: var(--am);
  transform: scale(1.1);
}

.tt-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.tt-chip {
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--mt);
  padding: 5px 12px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
}

/* --- Pricing ----------------------------------------------- */
#price { background: var(--bg); }

.pc {
  text-align: center;
  margin-bottom: 48px;
}

.pgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.p1 {
  background: var(--bgs);
  border: 2px solid var(--am);
  border-radius: 14px;
  padding: 44px 36px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 40px rgba(224, 136, 32, .12);
}

.p1::before {
  content: '★  Simple Pricing';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--am);
  color: var(--nv);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.p1pr {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  color: var(--tx);
  line-height: 1;
}

.p1pr sup {
  font-size: 1.9rem;
  vertical-align: super;
  color: var(--am);
}

.p1u {
  font-size: .88rem;
  color: var(--mt);
  margin: 6px 0 28px;
}

.p1div {
  width: 44px;
  height: 2px;
  background: var(--am);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.p1l {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p1l li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--mt);
}

.p1l li::before {
  content: '✓';
  color: var(--am);
  font-weight: 700;
  flex-shrink: 0;
}

.p1n {
  font-size: .8rem;
  color: var(--mt);
  margin-top: 16px;
  line-height: 1.55;
}

.p2 {
  background: var(--bgs);
  border: 2px dashed var(--bd);
  border-radius: 14px;
  padding: 44px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.p2-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(21, 112, 160, .08);
  border: 1px solid rgba(21, 112, 160, .2);
  color: var(--tl);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.p2-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tl);
  flex-shrink: 0;
}

.p2-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--tx);
  margin-bottom: 10px;
}

.p2-sub {
  font-size: .9rem;
  color: var(--mt);
  line-height: 1.65;
  max-width: 240px;
}

/* --- Contact ----------------------------------------------- */
#cont { background: var(--bgs); }

.cg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.cop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.cop:hover {
  border-color: var(--am);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(224, 136, 32, .1);
}

.coi {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cot {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--tx);
  font-size: .88rem;
  margin-bottom: 2px;
}

.cod {
  font-size: .78rem;
  color: var(--mt);
}

.cfm {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 32px;
}

.fg { margin-bottom: 16px; }

.fg label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  color: var(--mt);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  background: var(--bgs);
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 10px 13px;
  color: var(--tx);
  font-family: 'Nunito', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--am);
  box-shadow: 0 0 0 3px rgba(224, 136, 32, .1);
}

.fg textarea { height: 100px; resize: vertical; }

.fg select option {
  background: var(--bgs);
  color: var(--tx);
}

.fsub {
  width: 100%;
  padding: 13px;
  background: var(--am);
  color: var(--nv);
  border: none;
  border-radius: 6px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.fsub:hover {
  background: var(--aml);
  transform: translateY(-2px);
}

/* --- Sessions (extracted) ---------------------------------- */
#sess .container { position: relative; }
.shd .sub { margin: 12px auto 0; }
.skey a { color: var(--tl); font-weight: 700; text-decoration: none; }
.sess-note { margin-top: 36px; font-size: .9rem; color: var(--mt); text-align: center; }
.sess-note a { color: var(--tl); font-weight: 700; text-decoration: none; }

/* --- How it works (extracted) ------------------------------ */
.hhd .sub { margin: 12px auto 0; }

/* --- For schools (extracted) ------------------------------- */
.st .sh { margin-bottom: 20px; }
.st-cta { margin-top: 28px; }

/* --- Tidbits teaser (extracted) ---------------------------- */
.tt-copy .sh { margin-bottom: 16px; }
.tt-copy p { color: var(--mt); font-size: 1rem; line-height: 1.78; margin-bottom: 24px; }
.tt-copy p:first-of-type { margin-bottom: 4px; }

/* --- Pricing (extracted) ----------------------------------- */
.pc .sub { margin: 12px auto 0; }
.p1 .ba { width: 100%; justify-content: center; }

/* --- Contact (extracted) ----------------------------------- */
.cg-intro { color: var(--mt); line-height: 1.78; margin: 16px 0 0; font-size: 1rem; }
#ro-other { display: none; margin-top: 8px; }
#cont-status { display: none; margin-top: 12px; font-size: .88rem; padding: 10px 14px; border-radius: 6px; }

/* --- Responsive (index-specific) --------------------------- */
@media (max-width: 1024px) {
  .hi       { grid-template-columns: 1fr; gap: 40px; }
  .eg       { grid-template-columns: 1fr; gap: 40px; }
  .epho     { flex-direction: row; }
  .si       { grid-template-columns: 1fr; gap: 40px; }
  .tt-inner { grid-template-columns: 1fr; gap: 40px; }
  .cg       { grid-template-columns: 1fr; gap: 40px; }
  .hst::before { display: none; }
}

@media (max-width: 768px) {
  section  { padding: 60px 0 !important; }
  #hero    { padding: 88px 0 52px !important; }
  .hh1     { font-size: 2.5rem; }
  .sgr     { grid-template-columns: 1fr; }
  .hst     { grid-template-columns: 1fr; gap: 36px; }
  .epho    { flex-direction: column; }
  .tt-grid { grid-template-columns: repeat(5, 1fr); }
  .tt-bit  { width: 40px; height: 40px; font-size: 1.1rem; }
  .pgrid   { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hbtns   { flex-direction: column; }
  .ba, .bo { text-align: center; justify-content: center; }
}
