:root {
  --ink: #172033;
  --muted: #667085;
  --line: #e3e8ef;
  --soft: #eef4fb;
  --page-bg: #eef4fb;
  --page-bg-warm: #fff7e8;
  --section-bg: rgba(255, 255, 255, 0.72);
  --brand: #1559c7;
  --brand-deep: #0a2f68;
  --brand-light: #3b82f6;
  --accent: #f59e0b;
  --green: #10b981;
  --green-deep: #047857;
  --red: #c34532;
  --white: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(21, 89, 199, 0.14), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(245, 158, 11, 0.14), transparent 26%),
    radial-gradient(circle at 76% 72%, rgba(16, 185, 129, 0.10), transparent 30%),
    linear-gradient(180deg, #eef4fb 0%, #f6f9fd 46%, #fff7e8 100%);
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.top-ribbon {
  color: #dbeafe;
  background: linear-gradient(90deg, #082450, #1559c7);
  font-size: 14px;
}

.top-ribbon-inner {
  max-width: 1220px;
  min-height: 38px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-ribbon strong {
  color: #fff3c4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.nav {
  max-width: 1180px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-light));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #334155;
  font-size: 15px;
}

.nav-links a {
  white-space: nowrap;
}

.nav-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  min-height: 42px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 12px 26px rgba(21, 89, 199, 0.26);
}

.btn-ghost {
  color: var(--brand-deep);
  background: #eaf3ff;
  border: 1px solid #d7e7ff;
}

.hero {
  background:
    linear-gradient(105deg, rgba(7, 30, 68, 0.96) 0%, rgba(21, 89, 199, 0.88) 48%, rgba(16, 185, 129, 0.42) 100%),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1800&q=86") center/cover;
  color: #fff;
}

.brand-hero {
  position: relative;
}

.brand-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--brand-light));
}

.hero-inner {
  max-width: 1180px;
  min-height: 560px;
  margin: 0 auto;
  padding: 48px 24px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr);
  align-items: center;
  gap: 38px;
}

.eyebrow {
  margin: 0 0 10px;
  font-weight: 800;
  color: #f4d58a;
}

.eyebrow.dark {
  color: var(--brand);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(72px, 10vw, 124px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero .hero-lead {
  max-width: 700px;
  font-size: 22px;
  line-height: 1.62;
}

.hero-slogan {
  margin-top: 10px !important;
  color: #ffe8a3 !important;
  font-size: 18px !important;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-scene-banner {
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  margin-bottom: 14px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hero-scene-banner span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 900;
}

.hero-advantage-grid {
  width: min(680px, 100%);
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-advantage-grid div {
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #ffe8a3;
  color: #163868;
  font-size: 12px;
  font-weight: 900;
}

.hero-advantage-grid strong,
.hero-advantage-grid small {
  display: block;
}

.hero-advantage-grid strong {
  color: #fff;
  font-size: 17px;
}

.hero-advantage-grid small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 42px rgba(5, 22, 49, 0.14);
  backdrop-filter: blur(8px);
}

.brand-card {
  border-top: 0;
}

.brand-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.25;
}

.brand-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.panel-label {
  color: var(--brand-deep) !important;
  font-weight: 800;
}

.hero-checks {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  position: relative;
  padding-left: 24px;
  color: #344054;
  font-weight: 700;
}

.hero-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.panel-cta {
  width: 100%;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.path-steps span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: var(--brand-deep);
  background: rgba(239, 246, 255, 0.86);
  font-weight: 800;
}

.proof-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid div {
  min-height: 104px;
  padding: 22px 22px;
  border-right: 1px solid var(--line);
}

.proof-grid em {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-style: normal;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-size: 20px;
}

.proof-grid span {
  color: var(--muted);
}

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

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  font-size: 24px;
  color: var(--brand-deep);
}

.section {
  padding: 64px 24px;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(232, 241, 255, 0.72) 0%, rgba(255, 255, 255, 0.54) 100%);
}

.brand-intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(238, 246, 255, 0.66) 100%);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.48fr);
  gap: 30px;
  align-items: center;
}

.brand-side {
  display: grid;
  gap: 14px;
}

.scene-card,
.learning-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.scene-card img,
.learning-gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.scene-card img {
  height: 210px;
}

.scene-card figcaption,
.learning-gallery figcaption {
  padding: 10px 12px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 800;
}

.brand-values {
  display: grid;
  gap: 12px;
}

.brand-values-inline {
  margin-top: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.brand-values div,
.brand-values a {
  padding: 18px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eff8ff);
  position: relative;
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.brand-values a::after {
  content: "";
  display: none;
}

.brand-values a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(21, 89, 199, 0.12);
}

.brand-values strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--brand-deep);
}

.brand-values span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.advantage-card {
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: "优课典方法";
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0f4fb3;
  background: #eaf3ff;
  font-size: 12px;
  font-weight: 800;
}

.advantage-card h3 {
  color: var(--brand-deep);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.section-title {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 680px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-width: 0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.advantage-card {
  min-height: 214px;
  position: relative;
  overflow: hidden;
  color: inherit;
}

.advantage-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.14);
}

.advantage-card h3::after {
  content: "";
  display: none;
}

.learning-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.learning-gallery img {
  height: 172px;
}

.detail-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 62px 24px 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 38px;
}

.detail-container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.detail-container h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.15;
}

.detail-sections {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.detail-sections section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.detail-sections h2 {
  margin: 0 0 10px;
  color: var(--brand-deep);
}

.detail-sections p {
  margin: 0;
  color: #344054;
  font-size: 17px;
  line-height: 1.85;
}

.card-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 26px;
  font-weight: 900;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  counter-reset: loop-step;
}

.process-line div,
.process-line a {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line);
  color: inherit;
  display: block;
  position: relative;
}

.process-line div:last-child,
.process-line a:last-child {
  border-right: 0;
}

.process-line strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-deep);
  font-size: 23px;
}

.process-line span {
  color: var(--muted);
}

.process-line a::before {
  counter-increment: loop-step;
  content: "步骤 " counter(loop-step);
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #047857;
  background: #e7f8f1;
  font-size: 12px;
  font-weight: 800;
}

.process-line a::after {
  content: "";
  display: none;
}

.process-line a:hover {
  background: linear-gradient(180deg, #ffffff, #eef6ff);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #dff8ee;
  font-size: 13px;
  font-weight: 700;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-cover {
  display: block;
  width: calc(100% + 48px);
  height: 148px;
  margin: -24px -24px 4px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.grade-card .card-cover {
  height: 132px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.course-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: #eaf3ff;
  font-weight: 700;
}

.course-cta {
  margin-top: auto;
  color: var(--brand-deep);
  font-size: 15px;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef6ff;
}

.teacher-fit,
.case-result {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--brand-deep);
  background: #eef6ff;
  font-size: 14px;
  font-weight: 800;
}

.teacher {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
}

.avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--green));
  font-size: 24px;
  font-weight: 800;
}

.campus {
  min-height: 206px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80") center/cover;
}

.news-highlight {
  background:
    radial-gradient(circle at 88% 8%, rgba(245, 158, 11, 0.15), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(238, 246, 255, 0.88) 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  border-color: #d7e0ec;
  color: inherit;
}

.news-card h3 {
  font-size: 22px;
  line-height: 1.35;
}

.news-card time {
  margin-top: auto;
  color: var(--muted);
  font-weight: 700;
}

.featured-news {
  grid-row: span 2;
  min-height: 300px;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(10, 47, 104, 0.94), rgba(21, 89, 199, 0.82), rgba(16, 185, 129, 0.42)),
    url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1200&q=84") center/cover;
  border: 0;
}

.featured-news h3 {
  max-width: 720px;
  font-size: 34px;
}

.featured-news p,
.featured-news time {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

.featured-news .tag {
  color: #6b4700;
  background: #ffedbd;
}

.compact-news {
  min-height: 143px;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
}

.compact-news h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.compact-news p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.news-support {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-support span {
  min-height: 54px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe8f7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-deep);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  font-weight: 600 !important;
}

.trial-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.trial-points span {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.article-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 62px 24px 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 38px;
}

.article-container,
.article-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.back-link {
  color: var(--brand);
  font-weight: 800;
}

.article-container h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.15;
}

.article-container time {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 22px;
}

.article-summary {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: #fff8ea;
  color: #5f4a1c;
  font-weight: 700;
}

.article-content {
  margin-top: 26px;
}

.article-content p {
  margin: 0 0 20px;
  color: #344054;
  font-size: 18px;
  line-height: 1.9;
}

.article-engagement {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #eef7ff);
}

.article-engagement h2 {
  margin: 10px 0 8px;
  color: var(--brand-deep);
  font-size: 24px;
}

.article-engagement p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.engagement-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.comment-entry {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(37, 99, 235, 0.14);
}

.comment-entry strong {
  display: block;
  margin-bottom: 6px;
  color: #1e293b;
}

.article-cta {
  align-self: start;
  position: sticky;
  top: 96px;
}

.article-cta h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.article-cta p {
  color: var(--muted);
}

.related-articles {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-head.compact h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 24px;
}

.related-grid {
  display: grid;
  gap: 12px;
}

.related-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.related-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.38;
}

.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.related-card time {
  color: #94a3b8;
  font-size: 12px;
}

.news-hero {
  padding: 86px 24px 70px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(7, 30, 68, 0.96), rgba(21, 89, 199, 0.72), rgba(16, 185, 129, 0.42)),
    url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1600&q=84") center/cover;
}

.news-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
}

.news-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.category-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: var(--brand);
}

.news-count {
  color: var(--muted);
  font-weight: 700;
}

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

.news-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.news-list-item h2 {
  margin: 12px 0 8px;
  font-size: 26px;
  line-height: 1.3;
}

.news-list-item p {
  margin: 0;
  color: var(--muted);
}

.news-list-item time {
  color: var(--brand-deep);
  font-weight: 900;
  text-align: right;
}

.form-band {
  background:
    linear-gradient(120deg, rgba(10, 47, 104, 0.96), rgba(21, 89, 199, 0.82), rgba(16, 185, 129, 0.72)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 34px;
  align-items: start;
}

.trial-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 24px;
}

.trial-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-weight: 700;
}

.trial-form input,
.trial-form select,
.trial-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 42px;
  background: #fff;
}

.trial-form .full {
  grid-column: 1 / -1;
}

.message {
  min-height: 24px;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 44px 24px 40px;
  color: #dbeafe;
  background:
    radial-gradient(circle at 14% 18%, rgba(34, 197, 94, 0.22), transparent 28%),
    radial-gradient(circle at 86% 4%, rgba(250, 204, 21, 0.16), transparent 26%),
    linear-gradient(135deg, #071326 0%, #09285a 48%, #063f3b 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000);
  opacity: 0.45;
}

#courses {
  background:
    radial-gradient(circle at 10% 0%, rgba(16, 185, 129, 0.14), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(21, 89, 199, 0.10), transparent 26%),
    linear-gradient(180deg, rgba(236, 253, 245, 0.82) 0%, rgba(255, 255, 255, 0.48) 100%);
}

#subjects {
  background:
    radial-gradient(circle at 90% 12%, rgba(59, 130, 246, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(244, 248, 255, 0.82) 0%, rgba(255, 255, 255, 0.42) 100%);
}

#teachers {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(247, 251, 255, 0.78) 100%);
}

#cases {
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 158, 11, 0.16), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(16, 185, 129, 0.14), transparent 28%),
    linear-gradient(180deg, #fff8ec 0%, #eef6ff 58%, #e7f5f2 100%);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54) 0%, rgba(245, 248, 252, 0.78) 100%);
}

.mobile-cta {
  display: none;
}

.mobile-trial-button {
  display: none;
}

.trial-modal[hidden] {
  display: none;
}

.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
}

.trial-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.trial-modal-panel {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 22px 16px 18px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.22);
}

.trial-modal-panel h2 {
  margin: 6px 42px 16px 0;
  color: var(--brand-deep);
  font-size: 22px;
  line-height: 1.32;
}

.trial-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.trial-form-compact {
  padding: 0;
  border: 0;
  box-shadow: none;
}

body.trial-modal-open {
  overflow: hidden;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 86px;
  padding: 22px 26px;
  border: 1px solid rgba(219, 234, 254, 0.18);
  border-radius: 10px;
  background: rgba(7, 19, 38, 0.36);
  box-shadow: 0 24px 70px rgba(4, 12, 28, 0.28);
  backdrop-filter: blur(10px);
}

.footer-inner strong {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
}

.footer-inner span {
  color: #dbeafe;
  font-weight: 800;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px 1fr;
  background: #f5f7fb;
}

.sidebar {
  background: #101928;
  color: #e5e7eb;
  padding: 22px 16px;
}

.sidebar .brand {
  margin-bottom: 24px;
}

.menu {
  display: grid;
  gap: 14px;
}

.menu button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 11px 12px;
  text-align: left;
  color: #cbd5e1;
  background: transparent;
  cursor: pointer;
}

.menu-group {
  display: grid;
  gap: 7px;
}

.menu-group-title {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.menu-group-title:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-caret {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  transition: transform 0.18s ease;
}

.menu-caret::before {
  content: "▾";
  color: #94a3b8;
  font-size: 13px;
  line-height: 1;
}

.menu-group.collapsed .menu-caret {
  transform: rotate(-90deg);
}

.menu-items {
  display: grid;
  gap: 5px;
}

.menu-items[hidden] {
  display: none;
}

.menu .menu-item {
  position: relative;
  min-height: 38px;
  padding: 9px 12px 9px 22px;
  font-size: 14px;
}

.menu .menu-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #64748b;
  transform: translateY(-50%);
}

.menu button.active,
.menu button:hover {
  color: #fff;
  background: #1d4ed8;
}

.menu .menu-item.active::before,
.menu .menu-item:hover::before {
  background: #fff;
}

.admin-main {
  min-width: 0;
  padding: 24px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-userbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-userbar span {
  color: var(--muted);
  font-weight: 700;
}

.login-page {
  min-height: 100vh;
  background:
    linear-gradient(110deg, rgba(10, 47, 104, 0.94), rgba(21, 89, 199, 0.72), rgba(16, 185, 129, 0.38)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=84") center/cover;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(5, 22, 49, 0.24);
}

.login-panel h1 {
  margin: 8px 0 8px;
  font-size: 34px;
}

.login-kicker {
  margin: 26px 0 0;
  color: var(--brand) !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.login-panel p {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.login-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 44px;
}

.login-tip {
  margin-bottom: 0;
  font-size: 14px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow: auto;
}

.admin-toolbar {
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-search input,
.admin-search select {
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.module-advisor {
  padding: 16px 18px 0;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.advisor-card {
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.advisor-label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 12px;
  font-weight: 900;
}

.advisor-card h3 {
  margin: 10px 0 8px;
  color: var(--brand-deep);
  font-size: 17px;
}

.advisor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.review-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.review-flow span {
  padding: 7px 6px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--brand);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.metrics-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.metrics-board div {
  padding: 16px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
}

.metrics-board span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
}

.metrics-board strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.admin-bulk,
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.admin-pagination {
  margin-top: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

th {
  color: #475569;
  background: #f8fafc;
}

.admin-form {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.admin-form.open {
  display: grid;
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #334155;
}

.admin-form .wide {
  grid-column: span 3;
}

.action-cell {
  display: flex;
  gap: 8px;
}

.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  transform: translateY(18px);
  opacity: 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.admin-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.admin-toast.error {
  background: #b91c1c;
}

.timeline-row td {
  padding-top: 0;
  background: #fbfdff;
}

.follow-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.follow-timeline span {
  padding: 9px 10px;
  border: 1px solid #dbe8f7;
  border-radius: 8px;
  background: #fff;
  color: #334155;
}

.follow-timeline strong,
.follow-timeline em {
  display: block;
}

.follow-timeline strong {
  font-size: 13px;
}

.follow-timeline em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.icon-btn {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  min-width: 36px;
  height: 36px;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav {
    height: auto;
    padding: 14px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 14px;
  }

  .nav-actions {
    width: 100%;
  }

  .hero-inner,
  .form-layout,
  .intro-layout,
  .article-page,
  .detail-page,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .proof-grid,
  .news-grid,
  .process-line,
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 0;
  }

  .top-ribbon {
    display: none;
  }

  .site-header {
    position: static;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav {
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-actions .btn-primary {
    width: 100%;
    min-height: 46px;
  }

  .section {
    padding: 46px 16px;
  }

  .hero-inner {
    min-height: auto;
    padding: 42px 16px 28px;
    gap: 24px;
  }

  .grid-3,
  .grid-4,
  .proof-grid,
  .news-grid,
  .process-line,
  .metric-grid,
  .trial-form,
  .stat-row,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 54px;
    line-height: 1.02;
  }

  .hero p {
    margin-top: 16px;
    font-size: 16px;
  }

  .hero .hero-lead {
    font-size: 17px;
    line-height: 1.68;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    min-height: 44px;
  }

  .trust-row {
    gap: 8px;
    margin-top: 18px;
  }

  .trust-row span {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 13px;
  }

  .hero-panel {
    padding: 20px;
  }

  .path-steps {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .path-steps span {
    min-height: 38px;
    font-size: 13px;
  }

  .brand-card h2 {
    font-size: 23px;
  }

  .brand-card p,
  .hero-checks li {
    font-size: 14px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc {
    font-size: 15px;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 20px;
  }

  .card {
    padding: 20px;
  }

  .card h3,
  .news-card h3 {
    font-size: 19px;
  }

  .proof-grid div {
    min-height: auto;
    padding: 18px;
  }

  .proof-grid strong {
    font-size: 19px;
  }

  .featured-news {
    min-height: 246px;
    padding: 22px;
  }

  .featured-news h3 {
    font-size: 25px;
  }

  .trial-form {
    gap: 12px;
    padding: 18px;
  }

  .trial-form label {
    font-size: 14px;
  }

  .trial-form input,
  .trial-form select,
  .trial-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .trial-form textarea {
    min-height: 96px;
  }

  .checkbox-line {
    align-items: flex-start;
    line-height: 1.5;
  }

  .checkbox-line input {
    flex: 0 0 20px;
    width: 20px;
    min-height: 20px;
    margin-top: 2px;
  }

  .form-band .section-desc {
    color: rgba(255, 255, 255, 0.84);
  }

  .article-container,
  .detail-container,
  .article-cta {
    padding: 24px;
  }

  .article-cta {
    position: static;
  }

  .proof-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .process-line div,
  .process-line a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-line div:last-child,
  .process-line a:last-child {
    border-bottom: 0;
  }

  .admin-form .wide {
    grid-column: span 1;
  }

  .section-head,
  .news-toolbar,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .section-actions {
    width: 100%;
    justify-content: stretch;
  }

  .section-actions .btn {
    flex: 1;
  }

  .news-hero {
    padding: 54px 16px 44px;
  }

  .news-hero h1 {
    font-size: 38px;
  }

  .news-list-item {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .news-list-item h2 {
    font-size: 21px;
  }

  .news-list-item time {
    text-align: left;
  }
}

/* Visual polish layer */
body {
  background:
    radial-gradient(circle at 10% 12%, rgba(21, 89, 199, 0.14), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(245, 158, 11, 0.14), transparent 26%),
    radial-gradient(circle at 76% 72%, rgba(16, 185, 129, 0.10), transparent 30%),
    linear-gradient(180deg, #eef4fb 0%, #f6f9fd 46%, #fff7e8 100%);
}

.site-header {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.nav {
  max-width: 1220px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--accent);
  transition: transform 0.18s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  background:
    linear-gradient(105deg, rgba(5, 24, 55, 0.96) 0%, rgba(18, 83, 190, 0.9) 48%, rgba(16, 185, 129, 0.46) 100%),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=86") center/cover;
}

.hero-inner {
  max-width: 1220px;
}

.hero h1 {
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.hero .hero-lead {
  color: rgba(255, 255, 255, 0.92);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.brand-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.98));
}

.trust-row span {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -1px;
}

.proof-grid {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.proof-grid div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.78));
}

.section-head {
  align-items: center;
}

.section-title {
  color: #10233f;
}

.card,
.news-list-item,
.article-container,
.article-cta,
.login-panel {
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.news-list-item:hover {
  transform: translateY(-3px);
  border-color: #bdd6ff;
  box-shadow: 0 20px 52px rgba(21, 89, 199, 0.12);
}

.advantage-card {
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.card-index {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff3d7;
}

.process-line {
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.process-line div,
.process-line a {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.process-line div:nth-child(even),
.process-line a:nth-child(even) {
  background: linear-gradient(180deg, #ffffff, #f1f7ff);
}

.course-card {
  border-top: 4px solid #d9e9ff;
}

.course-card:nth-child(2) {
  border-top-color: #facc6b;
}

.course-card:nth-child(3) {
  border-top-color: #79e0bb;
}

.teacher {
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 64%, #eef8ff 100%);
}

.news-highlight {
  border-top: 1px solid #e8f0fb;
  border-bottom: 1px solid #e8f0fb;
}

.news-card:not(.featured-news) {
  border-left: 4px solid #d7e7ff;
}

.featured-news {
  box-shadow: 0 22px 56px rgba(10, 47, 104, 0.2);
}

.trial-form {
  box-shadow: 0 24px 62px rgba(5, 22, 49, 0.22);
}

.trial-form input:focus,
.trial-form select:focus,
.trial-form textarea:focus,
.login-form input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: 3px solid rgba(59, 130, 246, 0.18);
  border-color: var(--brand-light);
}

@media (max-width: 640px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 24, 55, 0.94), rgba(21, 89, 199, 0.86)),
      url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=82") center/cover;
  }

  .hero-panel {
    box-shadow: 0 18px 40px rgba(5, 22, 49, 0.18);
  }

  .proof-grid {
    border: 1px solid var(--line);
  }

  .card:hover,
  .news-list-item:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  html {
    background: #f5f7fa;
  }

  body {
    font-size: 15px;
    line-height: 1.62;
    max-width: 750px;
    margin: 0 auto;
    background: #f5f7fa;
  }

  .container {
    max-width: 750px;
    margin: 0 auto;
  }

  .nav {
    padding: 10px 14px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .btn,
  .nav-actions .btn-primary,
  .hero-actions .btn,
  .mobile-cta .btn {
    min-height: 40px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
  }

  .btn-primary {
    color: #fff;
    background: #2563eb;
    box-shadow: none;
  }

  .btn-ghost {
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
  }

  .section {
    padding: 34px 14px;
  }

  .brand-side {
    gap: 10px;
  }

  .brand-values-inline {
    margin-top: 16px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand-values {
    gap: 10px;
  }

  .brand-values a {
    padding: 15px;
  }

  .brand-values strong {
    font-size: 16px;
  }

  .card-cover {
    width: calc(100% + 32px);
    height: 108px;
    margin: -16px -16px 2px;
  }

  .grade-card .card-cover {
    height: 96px;
  }

  .gallery,
  .learning-gallery {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    margin: 14px -14px 0;
    padding: 0 14px 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .learning-gallery::-webkit-scrollbar {
    display: none;
  }

  .learning-gallery figure {
    flex: 0 0 46%;
    scroll-snap-align: start;
  }

  .gallery img,
  .scene-card img,
  .learning-gallery img {
    width: 100%;
    height: auto;
  }

  .scene-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: stretch;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  }

  .scene-card img {
    height: auto;
    min-height: 64px;
    object-fit: cover;
  }

  .learning-gallery img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .scene-card figcaption {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.35;
  }

  .learning-gallery figcaption {
    padding: 6px 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
  }

  .hero-inner {
    padding: 34px 14px 24px;
    gap: 18px;
  }

  .hero-scene-banner {
    min-height: 34px;
    margin-bottom: 10px;
    padding: 4px;
    gap: 4px;
  }

  .hero-scene-banner span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .hero h1 {
    max-width: 10em;
    font-size: 36px;
    line-height: 1.12;
  }

  .hero p,
  .hero .hero-lead {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-advantage-grid {
    margin-top: 12px;
    gap: 6px;
  }

  .hero-advantage-grid div {
    min-height: 76px;
    padding: 8px 6px;
  }

  .advantage-icon {
    width: 28px;
    height: 22px;
    margin-bottom: 7px;
    font-size: 11px;
  }

  .hero-advantage-grid strong {
    font-size: 14px;
  }

  .hero-advantage-grid small {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.32;
  }

  .text-link {
    min-height: 38px;
    font-size: 14px;
  }

  .trust-row {
    margin-top: 14px;
  }

  .trust-row span {
    min-height: 28px;
    padding: 4px 9px;
    font-size: 12px;
  }

  .hero-panel,
  .card,
  .news-card,
  .process-line div,
  .process-line a {
    padding: 16px;
  }

  .brand-card h2 {
    font-size: 20px;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 23px;
    line-height: 1.28;
  }

  #info-heading {
    color: #333;
    font-size: 18px;
    font-weight: 800;
  }

  .section-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .card h3,
  .news-card h3,
  .process-line h3 {
    font-size: 17px;
    line-height: 1.35;
  }

  .news-highlight {
    background: #f5f7fa;
  }

  .news-grid {
    gap: 12px;
  }

  .news-card,
  .news-card.featured-news {
    min-height: auto;
    padding: 15px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: inherit;
  }

  .news-card h3 {
    margin: 10px 0 8px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
  }

  .news-card h3 a {
    color: inherit;
  }

  .news-card p,
  .news-card.featured-news p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
  }

  .news-card time,
  .news-card.featured-news time {
    margin-top: 12px;
    color: #999;
    font-size: 12px;
    text-align: right;
  }

  .news-card .tag,
  .news-card.featured-news .tag {
    min-height: 22px;
    padding: 3px 8px;
    color: #2563eb;
    background: #e8f1ff;
    border-radius: 999px;
    font-size: 12px;
  }

  .card p,
  .news-card p,
  .process-line p {
    font-size: 14px;
  }

  .proof-grid div {
    padding: 14px;
  }

  .proof-grid strong {
    font-size: 17px;
  }

  .featured-news {
    min-height: auto;
    padding: 15px;
  }

  .featured-news h3 {
    font-size: 16px;
  }

  .form-layout {
    gap: 22px;
  }

  .trial-form {
    gap: 10px;
    padding: 16px;
  }

  .trial-form input,
  .trial-form select,
  .trial-form textarea {
    min-height: 42px;
    font-size: 15px;
  }

  .trial-form textarea {
    min-height: 82px;
  }

  .trial-points {
    gap: 8px;
    margin-top: 18px;
  }

  .mobile-trial-button {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 40;
    display: block;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--green));
    box-shadow: 0 14px 30px rgba(21, 89, 199, 0.26);
    font-size: 15px;
    font-weight: 900;
  }

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

  .trial-modal-panel {
    max-height: 86vh;
    overflow: auto;
  }

  .trial-form-compact {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trial-points span,
  .teacher-fit,
  .case-result {
    font-size: 13px;
  }

  .footer-inner {
    min-height: auto;
    padding: 18px;
  }

  .footer-inner strong {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 26px 14px;
  }

  .section-head {
    margin-bottom: 12px;
  }

  .section-title {
    font-size: 20px;
    line-height: 1.25;
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.1;
  }

  .hero .hero-lead,
  .hero p {
    font-size: 14px;
    line-height: 1.55;
  }

  .news-hero h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .article-container h1,
  .detail-container h1 {
    font-size: 25px;
    line-height: 1.25;
  }

  .section-desc {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
  }

  .grid,
  .grid-3,
  .grid-4,
  .proof-grid,
  .news-grid,
  .process-line {
    gap: 10px;
  }

  .hero-inner {
    padding: 28px 14px 20px;
    gap: 14px;
  }

  .proof-strip,
  .brand-intro,
  .premium-section,
  .process-section,
  .form-band {
    margin-top: 0;
  }

  .card,
  .news-card,
  .news-card.featured-news,
  .hero-panel,
  .process-line div,
  .process-line a,
  .article-container,
  .detail-container,
  .article-cta {
    padding: 14px;
  }

  .card h3,
  .news-card h3,
  .process-line strong,
  .related-card strong {
    font-size: 16px;
    line-height: 1.32;
  }

  .card p,
  .news-card p,
  .process-line span,
  .related-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .card-cover,
  .grade-card .card-cover,
  .scene-card img,
  .learning-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .card-cover,
  .grade-card .card-cover {
    width: calc(100% + 28px);
    margin: -14px -14px 0;
  }

  .scene-card {
    display: block;
  }

  .learning-gallery figure {
    flex: 0 0 62%;
  }

  .btn,
  .hero-actions .btn,
  .nav-actions .btn-primary,
  .trial-form .btn,
  .trial-modal-panel .btn {
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
  }

  .btn-primary,
  .trial-form .btn-primary,
  .trial-modal-panel .btn-primary {
    background: linear-gradient(135deg, #1559c7, #10b981);
    box-shadow: 0 12px 26px rgba(21, 89, 199, 0.25);
  }

  .hero-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions .btn-primary {
    flex: 1 1 auto;
  }

  .mobile-trial-button {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 50px;
    font-size: 16px;
    box-shadow: 0 16px 34px rgba(21, 89, 199, 0.32);
  }

  .trial-form {
    gap: 9px;
    padding: 14px;
  }

  .trial-form input,
  .trial-form select,
  .trial-form textarea {
    min-height: 42px;
    font-size: 14px;
  }

  .trial-modal-panel {
    padding: 18px 14px 16px;
  }

  .trial-modal-panel h2 {
    font-size: 19px;
    line-height: 1.28;
  }
}
