:root {
  --klein: #002fa7;
  --klein-2: #0657ff;
  --ink: #101b3a;
  --muted: #5e6a82;
  --line: rgba(16, 27, 58, 0.12);
  --paper: #ffffff;
  --cloud: #eef5ff;
  --yellow: #ffd43b;
  --orange: #ff7a59;
  --cyan: #76a7ff;
  --shadow: 0 24px 80px rgba(0, 47, 167, 0.18);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 212, 59, 0.28), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(0, 47, 167, 0.22), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #eef5ff 38%, #ffffff 100%);
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(0, 47, 167, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 47, 167, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 70%);
}

body::after {
  content: "KAKUCODE";
  position: fixed;
  right: -92px;
  top: 245px;
  z-index: -1;
  color: rgba(0, 47, 167, 0.045);
  font-size: clamp(5rem, 12vw, 13rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  transform: rotate(90deg);
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 70px rgba(0, 47, 167, 0.13);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 172px;
}

.brand img {
  width: 166px;
  height: 50px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: #263452;
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.22s ease;
}

.site-nav a:hover {
  color: var(--klein);
  background: rgba(0, 47, 167, 0.08);
}

.header-cta {
  padding: 13px 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--klein);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(0, 47, 167, 0.25);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--klein);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 74px 0 54px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 44px 0 auto auto;
  width: 420px;
  height: 420px;
  z-index: -1;
  border-radius: 44% 56% 60% 40%;
  background: linear-gradient(135deg, rgba(0, 47, 167, 0.18), rgba(255, 212, 59, 0.18));
  filter: blur(8px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--klein);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 16px 0 0 rgba(0, 47, 167, 0.22);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 7.2vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 950;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 950;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: var(--klein);
  box-shadow: 0 18px 38px rgba(0, 47, 167, 0.28);
}

.btn--ghost {
  color: var(--klein);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(0, 47, 167, 0.18);
}

.btn--light {
  color: var(--klein);
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.hero__trust div {
  padding: 18px;
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.hero__trust strong,
.hero__trust span {
  display: block;
}

.hero__trust strong {
  margin-bottom: 6px;
  color: var(--klein);
  font-size: 1.15rem;
  font-weight: 950;
}

.hero__trust span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.hero__visual > img {
  width: min(100%, 760px);
  filter: drop-shadow(0 34px 65px rgba(0, 47, 167, 0.2));
  animation: float 5.5s ease-in-out infinite;
}

.hero-card {
  position: absolute;
  width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(0, 47, 167, 0.14);
  backdrop-filter: blur(16px);
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-card strong {
  color: var(--ink);
  line-height: 1.4;
}

.hero-card--top {
  top: 94px;
  right: 8px;
}

.hero-card--bottom {
  left: 8px;
  bottom: 86px;
}

.pain-points,
.brand-proof,
.courses,
.advantages,
.path,
.contact {
  padding: 88px 0;
}

.brand-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  margin-top: -18px;
}

.brand-proof__copy,
.brand-proof__stats {
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 70px rgba(0, 47, 167, 0.1);
}

.brand-proof__copy {
  padding: clamp(30px, 5vw, 52px);
}

.brand-proof__copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.86;
}

.brand-proof__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 212, 59, 0.32), transparent 28%),
    linear-gradient(145deg, rgba(0, 47, 167, 0.98), #064ee5);
}

.brand-proof__stats article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
}

.brand-proof__stats strong {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.brand-proof__stats span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  font-weight: 950;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  max-width: none;
  align-items: end;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(0, 47, 167, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 60px rgba(0, 47, 167, 0.08);
  overflow: hidden;
}

.value-grid article::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -74px;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: rgba(0, 47, 167, 0.08);
}

.value-grid span {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--klein);
  font-size: 3.4rem;
  line-height: 0.8;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.value-grid h3 {
  margin-bottom: 12px;
}

.value-grid p,
.course-card p,
.course-card li,
.advantage-panel p,
.mini-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.78;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.course-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
  grid-template-rows: none;
}

.course-card__image {
  padding: 18px 18px 0;
}

.course-card__image img {
  width: 100%;
  border-radius: 26px;
  background: var(--cloud);
}

.course-card__body {
  padding: 28px 30px 32px;
}

.course-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--klein);
  background: rgba(0, 47, 167, 0.08);
  font-size: 0.86rem;
  font-weight: 950;
}

.course-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.course-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.course-card li {
  position: relative;
  padding-left: 28px;
}

.course-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--yellow);
  box-shadow: 6px -6px 0 rgba(0, 47, 167, 0.22);
}

.advantages {
  position: relative;
}

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.advantage-panel {
  padding: 38px;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 212, 59, 0.28), transparent 34%),
    linear-gradient(135deg, #001a63, var(--klein));
  box-shadow: 0 28px 90px rgba(0, 47, 167, 0.3);
}

.advantage-panel h3 {
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list p {
  display: flex;
  gap: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.check-list span {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.36);
}

.advantage-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(0, 47, 167, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(0, 47, 167, 0.08);
}

.mini-card strong {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--klein);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(0, 47, 167, 0.09);
  overflow: hidden;
}

.timeline-item {
  position: relative;
  min-height: 270px;
  padding: 30px;
  border-right: 1px solid rgba(0, 47, 167, 0.12);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 30px;
  bottom: 30px;
  width: 56px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 54px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--klein);
  font-weight: 950;
}

.timeline-item h3 {
  margin-bottom: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 212, 59, 0.42), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(118, 167, 255, 0.34), transparent 30%),
    linear-gradient(135deg, #00114a 0%, var(--klein) 54%, #064ee5 100%);
  box-shadow: 0 28px 90px rgba(0, 47, 167, 0.32);
  overflow: hidden;
}

.contact-card h2 {
  max-width: 720px;
  margin-bottom: 20px;
}

.contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.9;
}

.contact-card .eyebrow {
  color: #fff;
}

.contact-actions {
  display: grid;
  gap: 14px;
  min-width: 220px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid rgba(0, 47, 167, 0.12);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer img {
  width: 136px;
  height: 42px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-footer p {
  margin: 0;
  line-height: 1.7;
}

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: none;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--klein);
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(0, 47, 167, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-18px) rotate(1deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 28px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 0 0;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    background: rgba(0, 47, 167, 0.07);
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
    padding-top: 56px;
  }

  .hero__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    min-height: 460px;
    order: -1;
  }

  .section-heading--split,
  .brand-proof,
  .advantage-layout,
  .contact-card,
  .course-card--wide {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .course-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 47, 167, 0.12);
  }

  .timeline-item:last-child {
    border-bottom: 0;
  }

  .timeline-item span,
  .value-grid span,
  .mini-card strong {
    margin-bottom: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  body::after {
    display: none;
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
    padding: 9px 10px 9px 12px;
    border-radius: 22px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 138px;
    height: 42px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .site-nav a {
    padding: 13px 14px;
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.85rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
    line-height: 1.08;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .hero {
    gap: 26px;
    padding: 34px 0 44px;
  }

  .hero__lead {
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero__actions {
    margin: 24px 0;
    gap: 10px;
  }

  .btn {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.94rem;
  }

  .hero__actions,
  .advantage-cards {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .contact-actions,
  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero__trust div {
    padding: 13px 14px;
    border-radius: 20px;
  }

  .hero__trust strong {
    font-size: 1.02rem;
  }

  .hero__trust span {
    font-size: 0.84rem;
  }

  .hero__visual {
    order: 0;
    min-height: 260px;
  }

  .hero-card {
    width: 168px;
    padding: 12px 13px;
    border-radius: 20px;
  }

  .hero-card--top {
    top: 20px;
    right: 0;
  }

  .hero-card--bottom {
    left: 0;
    bottom: 16px;
  }

  .pain-points,
  .brand-proof,
  .courses,
  .advantages,
  .path,
  .contact {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading p:not(.eyebrow),
  .brand-proof__copy p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.72;
  }

  .brand-proof {
    gap: 14px;
    margin-top: 0;
  }

  .brand-proof__copy,
  .brand-proof__stats {
    border-radius: 28px;
  }

  .brand-proof__copy {
    padding: 24px;
  }

  .brand-proof__stats {
    gap: 10px;
    padding: 18px;
  }

  .brand-proof__stats article {
    gap: 12px;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .brand-proof__stats strong {
    font-size: 2.45rem;
  }

  .value-grid article,
  .course-card__body,
  .advantage-panel,
  .mini-card,
  .timeline-item {
    padding: 24px;
  }

  .value-grid article {
    min-height: auto;
  }

  .value-grid span {
    font-size: 2.45rem;
  }

  .course-card {
    border-radius: 28px;
  }

  .course-card__image {
    padding: 12px 12px 0;
  }

  .course-card__image img {
    border-radius: 20px;
  }

  .course-card h3 {
    font-size: 1.42rem;
  }

  .course-card p,
  .course-card li,
  .advantage-panel p,
  .mini-card p,
  .timeline-item p {
    line-height: 1.68;
  }

  .contact-card {
    border-radius: 32px;
  }

  .floating-call {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.gallery,
.reviews,
.location,
.wechat {
  padding: 88px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 20px;
}

.photo-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 70px rgba(0, 47, 167, 0.1);
  overflow: hidden;
}

.photo-card--large {
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  color: #fff;
  background: rgba(0, 26, 99, 0.72);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.5;
  backdrop-filter: blur(14px);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 58px rgba(0, 47, 167, 0.1);
  overflow: hidden;
}

.review-card::before {
  content: "“";
  position: absolute;
  right: 24px;
  top: 18px;
  color: rgba(0, 47, 167, 0.08);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
}

.review-stars {
  position: relative;
  z-index: 1;
  margin-bottom: 42px;
  color: var(--yellow);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 0 rgba(16, 27, 58, 0.12);
}

.review-card p {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.82;
}

.review-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 24px;
  color: var(--klein);
  font-weight: 950;
}

.location-layout,
.wechat-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: center;
}

.location-copy,
.wechat-card {
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 70px rgba(0, 47, 167, 0.1);
}

.location-copy {
  padding: clamp(30px, 4vw, 46px);
}

.location-copy p,
.wechat-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.address-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--klein), #064ee5);
}

.address-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
}

.address-card strong {
  font-size: 1.45rem;
  font-weight: 950;
}

.address-card small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.map-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0, 47, 167, 0.13);
}

.map-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.wechat-card {
  grid-template-columns: minmax(0, 1fr) 260px;
  padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 212, 59, 0.24), transparent 30%),
    rgba(255, 255, 255, 0.86);
}

.qr-box {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 16px;
  border-radius: 30px;
  background: var(--klein);
  box-shadow: 0 22px 60px rgba(0, 47, 167, 0.22);
}

.qr-box img {
  width: 100%;
  border-radius: 22px;
}

.qr-box span {
  color: #fff;
  font-weight: 950;
}

.contact-card--form {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: stretch;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-intro .contact-actions {
  margin-top: 30px;
}

.trial-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 32px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trial-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
}

.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 47, 167, 0.16);
  border-radius: 18px;
  background: #f7faff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: none;
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.trial-form textarea {
  resize: vertical;
}

.trial-form input:focus,
.trial-form select:focus,
.trial-form textarea:focus {
  border-color: var(--klein);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 47, 167, 0.1);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

.trial-form.is-sent {
  animation: formPulse 0.55s ease;
}

@keyframes formPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.012);
  }
}

@media (max-width: 980px) {
  .gallery-grid,
  .review-grid,
  .location-layout,
  .wechat-card,
  .contact-card--form {
    grid-template-columns: 1fr;
  }

  .photo-card--large {
    grid-row: auto;
  }

  .map-visual img {
    min-height: 320px;
  }

  .wechat-card {
    justify-items: stretch;
  }

  .qr-box {
    width: min(280px, 100%);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .gallery,
  .reviews,
  .location,
  .wechat {
    padding: 58px 0;
  }

  .photo-card figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.86rem;
  }

  .review-card,
  .location-copy,
  .wechat-card,
  .trial-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .location-actions,
  .contact-intro .contact-actions {
    display: grid;
  }

  .review-card {
    min-height: auto;
  }

  .review-stars {
    margin-bottom: 22px;
  }

  .map-visual {
    border-radius: 28px;
  }

  .map-visual img {
    min-height: 240px;
  }

  .wechat-card {
    gap: 20px;
    border-radius: 28px;
  }

  .qr-box {
    width: min(260px, 100%);
    padding: 14px;
    border-radius: 24px;
  }

  .qr-box img {
    border-radius: 18px;
  }

  .contact-card--form {
    gap: 22px;
  }

  .trial-form input,
  .trial-form select,
  .trial-form textarea {
    border-radius: 16px;
    padding: 13px 14px;
    font-size: 16px;
  }

  .site-footer {
    padding-bottom: 84px;
  }
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--klein);
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(0, 47, 167, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.course-link::after {
  content: "→";
  font-size: 1.1rem;
}

.course-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 47, 167, 0.26);
}

.detail-page .site-header .brand img,
.detail-page .site-footer img {
  mix-blend-mode: normal;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 72px 0 50px;
}

.detail-hero__copy h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.4vw, 6.2rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 47, 167, 0.14);
  border-radius: 999px;
  color: var(--klein);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 950;
}

.back-link::before {
  content: "←";
}

.detail-hero__visual {
  position: relative;
}

.detail-hero__visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 48px;
  background: linear-gradient(135deg, rgba(0, 47, 167, 0.2), rgba(255, 212, 59, 0.28));
  filter: blur(4px);
}

.detail-hero__visual img {
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(0, 47, 167, 0.22);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 4px;
}

.detail-facts div {
  padding: 18px;
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.detail-facts span,
.detail-facts strong {
  display: block;
}

.detail-facts span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.detail-facts strong {
  color: var(--klein);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.35;
}

.detail-section {
  padding: 82px 0;
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.detail-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.9;
}

.detail-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.detail-panel {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 70px rgba(0, 47, 167, 0.1);
  overflow: hidden;
}

.detail-panel--blue {
  color: #fff;
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 212, 59, 0.34), transparent 34%),
    linear-gradient(135deg, #001a63, var(--klein));
}

.panel-number {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--klein);
  font-size: 4rem;
  line-height: 0.8;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.detail-panel--blue .panel-number {
  color: var(--yellow);
}

.detail-panel h3 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  line-height: 1.82;
}

.detail-panel--blue .detail-list li {
  color: rgba(255, 255, 255, 0.86);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--yellow);
  box-shadow: 6px -6px 0 rgba(0, 47, 167, 0.2);
}

.detail-panel--blue .detail-list li::before {
  box-shadow: 6px -6px 0 rgba(255, 255, 255, 0.18);
}

.detail-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-project-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 58px rgba(0, 47, 167, 0.1);
}

.detail-project-card span {
  display: inline-flex;
  margin-bottom: 50px;
  color: var(--klein);
  font-size: 3rem;
  line-height: 0.8;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.detail-project-card h3 {
  margin-bottom: 12px;
}

.detail-project-card p,
.detail-path-card p,
.detail-cta p {
  color: var(--muted);
  line-height: 1.85;
}

.detail-path-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 80px rgba(0, 47, 167, 0.12);
}

.detail-path-card img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 47, 167, 0.14);
}

.detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 78px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 212, 59, 0.4), transparent 28%),
    linear-gradient(135deg, #00114a, var(--klein) 58%, #064ee5);
  box-shadow: 0 28px 90px rgba(0, 47, 167, 0.3);
}

.detail-cta .eyebrow,
.detail-cta p {
  color: #fff;
}

.detail-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.detail-cta h2 {
  max-width: 800px;
}

@media (max-width: 980px) {
  .detail-hero,
  .detail-intro,
  .detail-two-column,
  .detail-project-grid,
  .detail-path-card,
  .detail-cta {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .detail-hero__visual {
    order: -1;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .detail-cta .contact-actions {
    display: grid;
  }
}

@media (max-width: 640px) {
  .detail-hero {
    padding-top: 38px;
  }

  .detail-hero__visual::before {
    inset: 0;
  }

  .detail-section {
    padding: 56px 0;
  }

  .detail-hero__visual img,
  .detail-path-card,
  .detail-cta {
    border-radius: 30px;
  }

  .detail-panel,
  .detail-project-card,
  .detail-path-card,
  .detail-cta {
    padding: 24px;
  }

  .panel-number,
  .detail-project-card span {
    margin-bottom: 24px;
  }
}

.gallery-course-block {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.gallery-course-block + .gallery-course-block {
  margin-top: 56px;
}

.gallery-course-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(0, 47, 167, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(0, 47, 167, 0.08);
}

.gallery-course-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  color: #fff;
  background: var(--klein);
  font-size: 1.35rem;
  font-weight: 950;
}

.gallery-course-heading h3 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  letter-spacing: -0.04em;
}

.gallery-course-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-grid--wedo {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.detail-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 20px;
}

.detail-photo-grid--three {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.detail-photo-grid .photo-card img {
  min-height: 300px;
}

@media (max-width: 980px) {
  .gallery-grid--wedo,
  .detail-photo-grid,
  .detail-photo-grid--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gallery-course-heading {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 24px;
  }

  .gallery-course-block + .gallery-course-block {
    margin-top: 40px;
  }

  .detail-photo-grid .photo-card img {
    min-height: 260px;
  }
}

.photo-card--wide {
  grid-column: 1 / -1;
}

.gallery-grid--scratch,
.detail-photo-grid--scratch,
.gallery-grid--python,
.detail-photo-grid--python {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid--scratch .photo-card img,
.detail-photo-grid--scratch .photo-card img {
  min-height: 260px;
  object-position: center top;
}

.gallery-grid--python .photo-card img,
.detail-photo-grid--python .photo-card img {
  min-height: 280px;
}

.photo-card--code {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 255, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(0, 47, 167, 0.12), transparent 28%);
}

.photo-card--code img {
  object-fit: contain;
  object-position: center top;
  padding: 14px;
}

.photo-card--wide img {
  aspect-ratio: 16 / 7.2;
}

@media (max-width: 980px) {
  .gallery-grid--scratch,
  .detail-photo-grid--scratch,
  .gallery-grid--python,
  .detail-photo-grid--python {
    grid-template-columns: 1fr;
  }

  .photo-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .photo-card--wide img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 380px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 18px, 1180px);
  }

  h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.2rem);
  }

  .hero-card {
    width: 150px;
    font-size: 0.88rem;
  }

  .brand-proof__stats article {
    grid-template-columns: 1fr;
  }

  .floating-call {
    right: 12px;
    bottom: 12px;
    padding: 12px 15px;
  }
}
