:root {
  --ink: #081f36;
  --muted: #667587;
  --navy: #062b57;
  --blue: #0768bd;
  --sky: #eaf6ff;
  --gold: #d5a124;
  --line: #dbe7f0;
  --paper: #ffffff;
  --wash: #f5f8fb;
  --shadow: 0 18px 48px rgba(8, 31, 54, 0.14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 5vw, 78px);
  padding: 22px clamp(18px, 4vw, 62px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand img {
  width: 282px;
  height: 92px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
  color: var(--navy);
  font-weight: 900;
}
.main-nav a,
.main-nav button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 2px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.nav-tab.active,
.brand.active {
  background: transparent;
  color: var(--blue);
}
.main-nav a:hover,
.main-nav button:hover {
  color: var(--blue);
}
.nav-icon {
  width: 60px;
  height: 60px;
  padding: 0;
  background: #eaf6ff !important;
}
.nav-icon svg,
.nav-search svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-icon svg {
  fill: currentColor;
  stroke: none;
}
.nav-search {
  width: 38px;
  min-height: 38px;
  padding: 0 !important;
}
.new-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #5f8ff2;
  color: #fff;
  font-size: 0.76rem;
  line-height: 1;
}

.view-section {
  display: none;
}

.view-section.active {
  display: grid;
}

.support-section.view-section.active,
.learning-section.view-section.active,
.blogs-section.view-section.active {
  display: block;
}

.marquee-section.view-section.active {
  display: block;
}
.featured-link {
  color: var(--navy);
  line-height: 1.1;
  text-align: center;
}
.sign-in-button {
  cursor: pointer;
  font-weight: 900;
  min-width: 108px;
  padding: 12px 24px !important;
  background: var(--navy) !important;
  color: #fff !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(520px, 1fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  min-height: calc(100vh - 138px);
  padding: clamp(48px, 6vw, 92px) clamp(24px, 6vw, 124px) 84px;
  background:
    linear-gradient(180deg, rgba(245, 251, 255, 0.25) 0%, rgba(255, 255, 255, 0.88) 62%, rgba(217, 235, 252, 0.92) 63%, rgba(217, 235, 252, 0.92) 86%, #1680e7 86%, #1680e7 100%);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(4rem, 7vw, 7.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}
h1 span,
h1 em {
  display: block;
  font-style: normal;
}
h1 em {
  color: #1165d8;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1;
}
h3 {
  margin-bottom: 10px;
  color: var(--navy);
}
.hero-copy p:not(.eyebrow),
.section-heading p,
.proof-section p,
.ally-copy p,
.talent-card p,
.booking-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.answer-actions,
.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}
.button.primary { background: var(--blue); color: #fff; }
.button.secondary { background: var(--navy); color: #fff; }
.button.ghost { border-color: rgba(6, 43, 87, 0.18); background: #fff; color: var(--navy); }
.button.ghost-dark { border-color: var(--line); background: #fff; color: var(--navy); }
.hero-media {
  position: relative;
  min-height: 560px;
}
.hero-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.realistic-media {
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}
.realistic-media > img {
  object-position: 60% center;
}
.hero-logo-lockup {
  position: absolute;
  left: 61.5%;
  top: 53%;
  display: flex;
  width: clamp(126px, 12vw, 198px);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(17, 101, 216, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(6, 43, 87, 0.10);
}
.hero-logo-lockup img {
  width: 72%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}
.home-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0;
  max-width: 760px;
  margin-top: 36px;
}
.home-benefits div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  padding-right: 18px;
  border-right: 1px solid rgba(6, 43, 87, 0.12);
}
.home-benefits div:last-child {
  border-right: 0;
}
.home-benefits strong {
  color: var(--navy);
}
.home-benefits small {
  grid-column: 2;
  color: #3d5578;
}
.benefit-dot {
  grid-row: span 2;
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}
.benefit-dot.blue { background: #4a85ea; }
.benefit-dot.gold { background: #f4b31a; }
.benefit-dot.deep { background: #1767d6; }
.benefit-dot.green { background: #65bc91; }
}
.floating-card {
  position: absolute;
  min-width: 132px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
  font-weight: 900;
}
.support-card { left: -26px; top: 46px; }
.blog-card { right: -20px; top: 180px; }
.community-card { left: 42px; bottom: -18px; }

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 6vw, 96px);
}
.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}
.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}
.support-grid,
.blog-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.support-grid article,
.blog-grid article,
.stats-grid article {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.support-grid span,
.blog-grid span {
  color: var(--blue);
  font-weight: 900;
}
.support-grid p,
.blog-grid p,
.book-card p {
  color: var(--muted);
}

.marquee-section {
  overflow: hidden;
  padding: 22px 0;
  background: var(--navy);
  color: #fff;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: move 26s linear infinite;
}
.marquee-track span {
  font-size: 1.15rem;
  font-weight: 900;
  white-space: nowrap;
}
@keyframes move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.proof-section,
.ally-section,
.talent-section,
.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.62fr);
  gap: 28px;
  align-items: center;
}
.proof-section {
  background: var(--wash);
}
.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}
.stats-grid article {
  min-height: 150px;
}
.stats-grid strong {
  display: block;
  color: var(--blue);
  font-size: 3rem;
  line-height: 1;
}
.stats-grid span {
  color: var(--muted);
  font-weight: 800;
}

.ally-panel,
.booking-form,
.login-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.ally-form,
.booking-form {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c8d8e4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }
.ally-answer {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 8px;
  background: var(--sky);
}
.ally-answer span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}
.ally-answer p {
  color: var(--muted);
}

.circle-page {
  background: #f5f5f5;
}

.circle-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 680px;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 7vw, 140px);
  background:
    radial-gradient(circle at 96% 70%, rgba(39, 118, 231, 0.16), transparent 25%),
    radial-gradient(circle at 4% 63%, rgba(39, 118, 231, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fcff, #ffffff 72%, #eaf4ff 72%, #d8ebff 84%, #1776e9 84%, #0f65db 100%);
  overflow: hidden;
}

.circle-banner-copy h2 {
  max-width: 780px;
  color: var(--navy);
  font-size: clamp(3.4rem, 6.5vw, 5.8rem);
  line-height: 0.95;
}

.circle-banner-copy h2 span {
  display: block;
  color: #1165d8;
}

.circle-banner-copy > p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  max-width: 780px;
  margin: 34px 0 26px;
}

.hero-benefits div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.hero-benefits div:last-child {
  border-right: 0;
}

.benefit-icon {
  display: grid;
  grid-row: span 2;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
}

.benefit-icon.blue { background: #4a8ff4; }
.benefit-icon.gold { background: #f4b21d; }
.benefit-icon.deep { background: #1768d8; }
.benefit-icon.green { background: #65bc91; }

.hero-benefits strong {
  color: var(--navy);
}

.hero-benefits small {
  color: #3d5578;
}

.hero-network {
  position: relative;
  min-height: 520px;
  border-radius: 50%;
}

.network-core {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  display: grid;
  width: 250px;
  height: 250px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px dashed rgba(81, 145, 229, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.network-core img {
  width: 190px;
}

.network-node {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 10px solid #e8f3ff;
  border-radius: 999px;
  background: #1c70d8;
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.n1 { left: 14%; top: 20%; background: #f5b21f; }
.n2 { right: 18%; top: 14%; background: #1666ce; }
.n3 { left: 4%; top: 48%; background: #1768d8; }
.n4 { right: 2%; top: 48%; background: #246fd6; }
.n5 { left: 18%; bottom: 7%; background: #65bc91; }
.n6 { right: 22%; bottom: 8%; background: #071f45; }

.network-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(83, 147, 232, 0.28);
  transform-origin: left center;
}
.nl1 { left: 16%; top: 36%; width: 68%; transform: rotate(12deg); }
.nl2 { left: 12%; top: 64%; width: 76%; transform: rotate(-10deg); }
.nl3 { left: 27%; top: 18%; width: 52%; transform: rotate(34deg); }
.nl4 { left: 27%; bottom: 16%; width: 54%; transform: rotate(-32deg); }

.circle-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.55fr) minmax(360px, 0.45fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  min-height: 560px;
  padding: clamp(48px, 8vw, 110px) clamp(18px, 17vw, 330px);
  background: linear-gradient(135deg, #8d9df8, #5470f4);
  color: #fff;
}

.circle-hero-copy h2 {
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.circle-hero-copy p {
  max-width: 560px;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
}

.white-pill {
  min-width: 188px;
  margin-top: 12px;
  border-radius: 999px;
  background: #fff;
  color: #5970ff;
  box-shadow: 0 12px 30px rgba(6, 43, 87, 0.16);
}

.circle-illustration {
  position: relative;
  min-height: 310px;
}

.person {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: #122f7a;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 35px rgba(20, 34, 105, 0.25);
}

.p1 { left: 8%; top: 38%; }
.p2 { left: 28%; top: 16%; background: #f7ad27; }
.p3 { left: 42%; top: 48%; background: #20a5b7; }
.p4 { right: 26%; top: 18%; background: #f46a43; }
.p5 { right: 10%; top: 45%; background: #10284f; }
.p6 { left: 58%; bottom: 4%; background: #6174ff; }

.line {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transform-origin: left center;
}
.l1 { left: 18%; top: 50%; width: 58%; transform: rotate(-12deg); }
.l2 { left: 36%; top: 34%; width: 46%; transform: rotate(22deg); }
.l3 { left: 18%; top: 62%; width: 70%; transform: rotate(7deg); }

.bubble {
  position: absolute;
  width: 42px;
  height: 25px;
  border-radius: 10px 10px 10px 2px;
  background: #ffb51e;
}
.b1 { left: 20%; top: 8%; }
.b2 { left: 50%; top: 18%; }
.b3 { right: 14%; top: 20%; }
.b4 { right: 30%; bottom: 24%; }

.circle-search-band {
  padding: 80px clamp(18px, 6vw, 96px) 42px;
  background: #f5f5f5;
}

.circle-search-form {
  display: grid;
  grid-template-columns: minmax(280px, 610px) 154px;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.circle-search-form input {
  min-height: 48px;
  border-radius: 999px;
  background: #fff;
}

.circle-search-form .button {
  min-height: 48px;
  border-radius: 999px;
  background: #5a70fb;
}

.circle-content {
  display: grid;
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px clamp(18px, 6vw, 96px) 80px;
  background: #f5f5f5;
}

.activity-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.activity-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.activity-heading label {
  display: flex;
  grid-template-columns: unset;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1rem;
}

.activity-heading select {
  min-width: 160px;
  border-color: #5a70fb;
  border-radius: 999px;
}

.circle-answer,
.activity-card {
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fff;
}

.circle-answer {
  margin-bottom: 18px;
}

.activity-card {
  display: block;
  padding: 24px;
  margin-bottom: 20px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.activity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.activity-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #5a70fb;
  color: #fff;
  font-weight: 900;
}

.activity-meta strong {
  display: block;
  color: #5a70fb;
  font-size: 1.16rem;
}

.activity-meta small {
  color: var(--ink);
}

.activity-meta em {
  color: var(--ink);
  font-size: 0.88rem;
  font-style: normal;
}

.activity-card h3 {
  color: #071427;
  font-size: 1.18rem;
  line-height: 1.35;
}

.activity-card p {
  color: #26384d;
}

.activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #8a8f98;
}

.activity-actions a {
  color: #5a70fb;
  font-weight: 900;
  text-decoration: none;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.pagination button {
  min-width: 36px;
  min-height: 32px;
  border: 1px solid #9eabc1;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.pagination button.active {
  border-color: #4165ff;
  background: #4165ff;
  color: #fff;
}

.pagination button:disabled {
  color: #aab2bd;
  cursor: not-allowed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.question-detail {
  background: #eef1ff;
}

.question-detail-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 46px 18px 34px;
}

.back-link {
  min-height: 44px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 1px solid rgba(90, 112, 251, 0.3);
  border-radius: 999px;
  background: #fff;
  color: #5a70fb;
  cursor: pointer;
  font-weight: 900;
}

.back-link:hover,
.bottom-back:hover {
  border-color: #5a70fb;
  background: #f3f5ff;
}

.detail-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.avatar.large {
  width: 46px;
  height: 46px;
  font-size: 1.05rem;
}

.detail-meta strong {
  display: block;
  color: #5a70fb;
  font-size: 1.45rem;
}

.detail-meta small,
.detail-meta span {
  display: block;
  color: #071427;
}

.detail-meta aside {
  text-align: left;
}

.detail-meta aside strong {
  color: #071427;
  font-size: 0.95rem;
}

.question-detail h1 {
  max-width: 900px;
  margin-bottom: 26px;
  color: #000;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.detail-body {
  display: grid;
  gap: 16px;
  color: #000;
  font-size: 1.02rem;
}

.detail-body p {
  margin: 0;
}

.detail-actions {
  margin-top: 12px;
}

.answers-layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 18px 80px;
  background: #f5f5f5;
}

.no-answers {
  min-height: 130px;
  padding: 24px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fff;
  color: #071427;
}

.bottom-back {
  margin-top: 18px;
}

.answer-composer {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fff;
}

.answer-composer textarea {
  min-height: 170px;
  background: #fbfcff;
}

.composer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.attach-button {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px dashed #5a70fb;
  border-radius: 8px;
  background: #f3f5ff;
  color: #5068ff;
  cursor: pointer;
  font-weight: 900;
}

.attach-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-list[hidden] {
  display: none;
}

.file-list span {
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef1ff;
  color: #071427;
  font-size: 0.86rem;
  font-weight: 800;
}

.learning-section {
  background: linear-gradient(180deg, #fff, #f8fbfd);
}
.deck-search {
  max-width: 860px;
  margin: 0 auto 28px;
}
.deck-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8, 31, 54, 0.08);
}
.deck-search input {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.deck-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.26fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.deck-module-panel {
  position: sticky;
  top: 112px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.deck-module-panel span {
  color: #f3c95e;
  font-weight: 900;
  text-transform: uppercase;
}
.deck-module-panel h3 {
  color: #fff;
}
.deck-module-panel nav {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.deck-module-panel button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}
.deck-module-panel button:hover,
.deck-module-panel button.active {
  background: rgba(255, 255, 255, 0.16);
}
.deck-summary {
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 800;
}
.deck-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.deck-card {
  position: relative;
  display: block;
  min-height: 310px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 104, 189, 0.12) 0 8px, #fff 8px),
    #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  perspective: 1200px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.deck-card:hover,
.deck-card.open {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(8, 31, 54, 0.18);
}
.deck-card.flipped {
  min-height: 430px;
}
.deck-card.flipped .deck-face {
  min-height: 430px;
}
.deck-face {
  display: grid;
  min-height: 310px;
  padding: 22px;
  border-radius: 8px;
  backface-visibility: hidden;
  transition: transform 360ms ease, opacity 240ms ease;
}
.deck-front {
  transform: rotateY(0);
}
.deck-back {
  position: absolute;
  inset: 0;
  min-height: 430px;
  overflow: auto;
  background:
    linear-gradient(135deg, #fff, #f8fbff 70%, #eef7ff),
    #fff;
  transform: rotateY(180deg);
  opacity: 0;
  pointer-events: none;
}
.deck-card.flipped .deck-front {
  display: none;
  transform: rotateY(-180deg);
  opacity: 0;
  pointer-events: none;
}
.deck-card.flipped .deck-back {
  position: relative;
  inset: auto;
  transform: rotateY(0);
  opacity: 1;
  pointer-events: auto;
}
.deck-module-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.deck-card h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}
.deck-card p {
  color: var(--muted);
  font-size: 0.94rem;
}
.open-lesson-button {
  align-self: end;
  margin-top: 18px;
  min-height: 50px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}
.open-lesson-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.deck-close-small {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}
.inline-slide-stage {
  margin-top: 8px;
}
.inline-slide {
  display: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.inline-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}
.inline-slide small {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
}
.inline-slide h4 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}
.inline-slide ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #31435c;
  font-size: 0.94rem;
}
.inline-slide-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.inline-slide-controls button {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}
.inline-slide-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.inline-slide-controls span {
  color: #000;
  text-align: center;
  font-size: 0.92rem;
}
.deck-detail {
  margin-top: 18px;
  cursor: default;
}
.deck-detail span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}
.deck-slides {
  position: relative;
  margin-bottom: 18px;
}
.deck-slide {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(7, 104, 189, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 246, 255, 0.96), #fff 48%),
    #fff;
  box-shadow: 0 14px 34px rgba(8, 31, 54, 0.10);
  transition: opacity 220ms ease, transform 220ms ease;
}
.deck-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.deck-slide small {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0;
}
.deck-slide h4 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.25;
}
.deck-slide ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #31435c;
  font-size: 0.96rem;
}
.deck-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.deck-pagination button {
  min-width: 42px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}
.deck-pagination button.active {
  background: var(--blue);
  color: #fff;
}
.deck-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.28fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.book-index {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.book-index span {
  color: #f3c95e;
  font-weight: 900;
  text-transform: uppercase;
}
.book-index h3 {
  color: #fff;
}
.book-index ol {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding-left: 20px;
}
.book-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.book-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 104, 189, 0.12) 0 10px, #fff 10px),
    #fff;
  box-shadow: var(--shadow);
}
.book-card small {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.talent-section {
  background: var(--wash);
}
.talent-card {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.talent-card h2,
.talent-card p {
  color: #fff;
}
.talent-card.alt {
  background: #fff;
  color: var(--ink);
}
.talent-card.alt h2 {
  color: var(--navy);
}
.talent-card.alt p {
  color: var(--muted);
}
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.booking-section {
  background: #fff;
}
.slot {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}
.slot.selected {
  border-color: var(--blue);
  background: var(--sky);
  color: var(--blue);
}
.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(18px, 6vw, 96px);
  background: var(--ink);
  color: #fff;
}
.site-footer img {
  width: 70px;
  margin-bottom: 10px;
  border-radius: 8px;
}
.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 900;
}

.login-modal[hidden] { display: none; }
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(8, 31, 54, 0.55);
}
.login-card {
  position: relative;
  width: min(420px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  gap: 10px;
  padding: 22px;
}
.login-card img {
  width: 64px;
}
.login-card h2 {
  margin-bottom: 2px;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
}
.login-help {
  margin: -6px 0 2px;
  color: var(--muted);
  font-size: 0.95rem;
}
.login-card label {
  gap: 6px;
  font-weight: 900;
}
.login-card input {
  min-height: 46px;
  padding: 10px 12px;
}
.login-switch {
  margin: 2px 0 -6px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.otp-timer {
  margin: 0;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}
.modal-close {
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
}

.view-section {
  display: none !important;
}

.hero.view-section.active,
.proof-section.view-section.active,
.ally-section.view-section.active,
.talent-section.view-section.active,
.booking-section.view-section.active {
  display: grid !important;
}

.support-section.view-section.active,
.learning-section.view-section.active,
.blogs-section.view-section.active,
.circle-page.view-section.active,
.question-detail.view-section.active,
.marquee-section.view-section.active {
  display: block !important;
}

@media (max-width: 1050px) {
  .main-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .hero,
  .proof-section,
  .ally-section,
  .talent-section,
  .booking-section,
  .deck-layout,
  .book-layout {
    grid-template-columns: 1fr;
  }
  .circle-banner {
    grid-template-columns: 1fr;
  }
  .hero-benefits {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
  .support-grid,
  .book-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .circle-hero,
  .circle-content,
  .circle-search-form {
    grid-template-columns: 1fr;
  }
  .deck-module-panel,
  .book-index {
    position: static;
  }
  .deck-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .main-nav {
    align-items: stretch;
    width: 100%;
    flex-direction: column;
  }
  .featured-link {
    border-radius: 8px;
  }
  .hero {
    min-height: auto;
  }
  .hero-media img,
  .hero-media {
    min-height: 320px;
    height: auto;
  }
  .floating-card {
    position: static;
    margin-top: 10px;
  }
  .hero-benefits {
    grid-template-columns: 1fr;
  }
  .hero-benefits div {
    border-right: 0;
  }
  .hero-network {
    min-height: 430px;
    transform: scale(0.86);
    transform-origin: top center;
  }
  .support-grid,
  .book-shelf,
  .blog-grid,
  .stats-grid,
  .activity-heading,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .deck-search form {
    grid-template-columns: 1fr;
  }
  .deck-grid {
    grid-template-columns: 1fr;
  }
  .activity-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .activity-meta {
    grid-template-columns: auto 1fr;
  }
  .activity-meta em {
    grid-column: 1 / -1;
  }
}
