.purchase-result-body {
  padding: 1.5rem 1.4rem 0.75rem;
  font-size: 1rem;
  color: var(--text);
  min-height: 48px;
  line-height: 1.75;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563ff;
  --primary-dark: #153fc1;
  --accent: #19c1ff;
  --highlight: #5fd7ff;
  --bg: #f4f8ff;
  --bg-soft: #eaf3ff;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-alt: #f2f7ff;
  --surface-dark: #0f2034;
  --text: #10214a;
  --text-muted: #61759b;
  --text-soft: #91a4cb;
  --border: #d7e4ff;
  --border-strong: #bdd0ff;
  --shadow-sm: 0 12px 32px rgba(37, 99, 255, 0.08);
  --shadow: 0 26px 58px rgba(20, 63, 193, 0.14);
  --shadow-lg: 0 34px 92px rgba(20, 63, 193, 0.17);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --transition: 0.28s ease;
  --max-width: 1180px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Aptos", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(25, 193, 255, 0.18), transparent 28%),
    radial-gradient(circle at left 12%, rgba(37, 99, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(147, 197, 253, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 75%);
  opacity: 0.45;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition), transform var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

main {
  flex: 1;
  margin-top: 88px;
  position: relative;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.surface-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(234, 243, 255, 0.86));
  border-top: 1px solid rgba(215, 228, 255, 0.9);
  border-bottom: 1px solid rgba(215, 228, 255, 0.9);
}

/* ===== Header & Nav ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(215, 228, 255, 0.92);
  box-shadow: 0 10px 32px rgba(37, 99, 255, 0.08);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
}

.nav-container .logo img {
  height: 62px;
}

.footer-brand .logo {
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  margin-bottom: 1rem;
}

.footer-brand .logo img {
  height: 46px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: var(--transition);
}

/* ===== Hero / Carousel ===== */
.hero {
  padding: 1.8rem 1.5rem 0;
}

.hero-home {
  padding-top: 1.35rem;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  max-width: calc(var(--max-width) + 40px);
  margin: 0 auto;
  min-height: 600px;
  padding: 2.6rem 2.6rem 0;
  border-radius: 34px;
  border: 1px solid rgba(215, 228, 255, 0.95);
  background:
    radial-gradient(circle at top right, rgba(25, 193, 255, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(245, 250, 255, 0.98) 0%, rgba(233, 242, 255, 0.96) 48%, rgba(248, 251, 255, 0.98) 100%);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 1.8rem;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(147, 197, 253, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(147, 197, 253, 0.14) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.28), transparent 68%);
  pointer-events: none;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.18), transparent 72%);
  pointer-events: none;
}

.hero-home-copy,
.hero-home-visual {
  position: relative;
  z-index: 1;
}

.hero-home-copy {
  align-self: center;
  padding: 0 0 2.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(189, 208, 255, 0.95);
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(37, 99, 255, 0.08);
}

.hero-home-copy h1 {
  margin: 1.2rem 0 1.15rem;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #0c1f4d;
}

.hero-home-copy h1 span {
  color: var(--primary);
}

.hero-home-copy p {
  max-width: 600px;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  margin: 1.85rem 0 2rem;
}

.hero-point {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(215, 228, 255, 0.95);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(37, 99, 255, 0.06);
}

.hero-point-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(37, 99, 255, 0.12), rgba(25, 193, 255, 0.14));
  color: var(--primary);
  font-size: 1rem;
}

.hero-point strong,
.hero-point span {
  display: block;
}

.hero-point strong {
  margin-bottom: 0.16rem;
  color: var(--text);
  font-size: 0.97rem;
}

.hero-point span {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2f7dff 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(37, 99, 255, 0.24);
}

.hero-btn-primary:hover {
  color: #ffffff;
}

.hero-btn-secondary {
  border: 1px solid rgba(37, 99, 255, 0.2);
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(37, 99, 255, 0.08);
}

.hero-home-visual {
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 1rem;
}

.hero-visual-stage {
  position: absolute;
  inset: 2rem 0 0 auto;
  width: 92%;
  border-radius: 34px 34px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(218, 233, 255, 0.68)),
    radial-gradient(circle at top left, rgba(25, 193, 255, 0.18), transparent 24%);
}

.hero-visual-stage::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 10%;
  bottom: 3rem;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.2), rgba(37, 99, 255, 0.04) 50%, transparent 72%);
}

.hero-visual-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  padding: 1.8rem 1rem 0;
}

.hero-visual-panel img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 28px 42px rgba(37, 99, 255, 0.16));
}

.hero-float {
  position: absolute;
  z-index: 2;
  padding: 0.68rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 228, 255, 0.95);
  box-shadow: 0 18px 38px rgba(37, 99, 255, 0.1);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-float-top {
  top: 4.4rem;
  right: 5%;
}

.hero-float-bottom {
  bottom: 5.5rem;
  left: 8%;
}

.carousel {
  position: relative;
  max-width: calc(var(--max-width) + 40px);
  margin: 0 auto;
  width: 100%;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(216, 226, 234, 0.9);
  background:
    radial-gradient(circle at top right, rgba(104, 135, 163, 0.18), transparent 32%),
    linear-gradient(160deg, #fbfdfe 0%, #eef3f6 100%);
  box-shadow: var(--shadow-lg);
}

.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(180deg, transparent 64%, rgba(15, 39, 63, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: var(--text);
  position: relative;
  padding: 2.5rem;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(15, 39, 63, 0.04), transparent 45%);
}

.carousel-slide.image-slide {
  background-color: #eef3f6;
}

.carousel-slide.image-slide::after {
  display: none;
}

.hero-slide-banner-buy {
  background: #eef3f6 url("../images/banner-buy.png") center center / contain no-repeat;
}

.hero-slide-car {
  background: #eef3f6 url("../images/car-banner.png") center center / contain no-repeat;
}

.hero-slide-open-card {
  background: #eef3f6 url("../images/open-card.jpg") center center / contain no-repeat;
}

.hero-copy-slide {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #10253f 0%, #1a4267 56%, #6280a0 100%);
}

.carousel-slide .slide-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(560px, 100%);
  margin-right: auto;
  margin-left: clamp(1rem, 5vw, 4rem);
  padding: 2.25rem;
  border-radius: 24px;
  border: 1px solid rgba(216, 226, 234, 0.75);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(15, 39, 63, 0.12);
}

.hero-copy-slide .slide-content {
  background: rgba(12, 28, 46, 0.56);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 44px rgba(7, 16, 27, 0.2);
}

.carousel-slide .slide-content h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.hero-copy-slide .slide-content h2 {
  color: #ffffff;
}

.carousel-slide .slide-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
}

.hero-copy-slide .slide-content p {
  color: rgba(255, 255, 255, 0.78);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(216, 226, 234, 0.9);
  color: var(--primary-dark);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 39, 63, 0.12);
  transition: transform var(--transition), background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-50%) scale(1.04);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 3;
}

.carousel-dots .dot {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(18, 35, 53, 0.18);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dots .dot.active {
  background: var(--primary);
}

/* ===== Shared Typography ===== */
.section-title {
  max-width: 760px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  border: 1px solid rgba(215, 228, 255, 0.98);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%);
  border: 1px solid rgba(189, 208, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.15rem;
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.home-link-card {
  color: inherit;
}

.home-link-card:hover {
  color: inherit;
}

.stack-card {
  margin-bottom: 2rem;
}

.centered-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.media-block {
  margin-bottom: 2rem;
}

.no-bottom-space {
  margin-bottom: 0;
}

.qr-image {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ===== Features (Home) ===== */
.features {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(234, 243, 255, 0.86));
  border-top: 1px solid rgba(215, 228, 255, 0.9);
  border-bottom: 1px solid rgba(215, 228, 255, 0.9);
}

.home-company {
  padding-top: 4rem;
}

.home-company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 1.5rem;
  align-items: stretch;
}

.home-company-card {
  padding: 2.2rem;
  border-radius: 28px;
  border: 1px solid rgba(215, 228, 255, 0.98);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92));
  box-shadow: var(--shadow-sm);
}

.section-title-left {
  margin: 0 0 1.35rem;
  max-width: none;
  text-align: left;
}

.home-company-text {
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.home-company-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.home-company-stat {
  padding: 1rem 0.85rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(215, 228, 255, 0.98);
  text-align: center;
}

.home-company-stat strong,
.home-company-stat span {
  display: block;
}

.home-company-stat strong {
  font-size: 1.6rem;
  color: var(--primary);
}

.home-company-stat span {
  margin-top: 0.2rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.home-company-media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(215, 228, 255, 0.98);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.home-company-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(13, 33, 74, 0.08));
}

.home-company-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.78rem;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.3;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.85;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: linear-gradient(160deg, #fbfdfe 0%, #eef3f6 100%);
  border-radius: 28px;
  padding: 2.5rem;
  border: 1px solid rgba(216, 226, 234, 0.95);
  box-shadow: var(--shadow-sm);
}

.about-visual-inner {
  width: 100%;
  text-align: center;
}

.about-visual-icon {
  font-size: 3.7rem;
  margin-bottom: 0.85rem;
}

.about-visual-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.about-visual-meta {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-top: 0.45rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.about-stat {
  padding: 1rem 0.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 226, 234, 0.95);
  box-shadow: 0 8px 22px rgba(15, 39, 63, 0.05);
}

.about-stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.about-stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.about-gallery {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid rgba(216, 226, 234, 0.95);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.contact-card img {
  width: 100%;
  max-width: 240px;
  margin: 0.75rem auto 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  background: var(--surface);
  border: 1px solid rgba(216, 226, 234, 0.95);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.partner-logo {
  width: 140px;
  height: 88px;
  margin-bottom: 1.35rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6f8 100%);
  border: 1px solid rgba(216, 226, 234, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  padding: 0.65rem;
}

.partner-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.partner-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ===== Tutorial Page ===== */
.tutorial-list {
  display: grid;
  gap: 1.2rem;
}

.tutorial-item {
  background: var(--surface);
  border: 1px solid rgba(216, 226, 234, 0.95);
  border-radius: var(--radius);
  padding: 1.45rem 1.7rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}

.tutorial-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  color: inherit;
}

.tutorial-item .item-number {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 53, 85, 0.16);
}

.tutorial-item .item-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.tutorial-item .item-content p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.tutorial-item .item-arrow {
  margin-left: auto;
  font-size: 1.15rem;
  color: var(--primary);
  transition: transform var(--transition), color var(--transition);
}

.tutorial-item:hover .item-arrow {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* ===== Tutorial Detail Page ===== */
.tutorial-detail {
  max-width: 860px;
  margin: 0 auto;
}

.tutorial-detail .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
}

.tutorial-detail .back-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.tutorial-detail .back-link:hover {
  color: var(--primary-dark);
}

.tutorial-detail .page-title {
  display: block;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text);
  line-height: 1.25;
}

.tutorial-step {
  margin-bottom: 1.4rem;
  background: var(--surface);
  border: 1px solid rgba(216, 226, 234, 0.95);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.tutorial-step .step-num {
  display: inline-block;
  background: var(--surface-alt);
  color: var(--primary-dark);
  border: 1px solid rgba(189, 208, 223, 0.8);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.tutorial-step p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.82;
}

.tutorial-step .step-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.tutorial-step .step-images img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.tutorial-step .step-images img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

/* ===== Router Guide Page ===== */
.router-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.router-card {
  background: var(--surface);
  border: 1px solid rgba(216, 226, 234, 0.95);
  border-radius: 26px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}

.router-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.router-card .router-img {
  height: 250px;
  background:
    radial-gradient(circle at top right, rgba(104, 135, 163, 0.18), transparent 28%),
    linear-gradient(160deg, #f6f9fb 0%, #dfe9f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.router-card .router-img::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -22%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(29, 77, 122, 0.12), transparent 68%);
}

.router-card .router-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.router-card .router-info {
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.router-card .router-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.router-card .router-info p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.router-card .router-info .price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.router-card .router-info .btn-buy,
.router-card .router-info .btn-guide,
.submit-btn,
.modal-cancel-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.72rem 1.2rem;
  background: var(--primary-dark);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.router-card .router-info .btn-guide {
  margin-top: 1rem;
}

.router-card .router-info .btn-buy:hover,
.router-card .router-info .btn-guide:hover,
.submit-btn:hover,
.modal-cancel-btn:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  background: var(--primary);
}

.router-card .router-info .btn-buy:disabled {
  background: #a5b3c2;
  color: rgba(255, 255, 255, 0.92);
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.purchase-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(9, 19, 32, 0.58);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.purchase-modal.active {
  display: flex;
}

.purchase-modal-content {
  width: 100%;
  max-width: 520px;
  background: var(--surface-strong);
  border: 1px solid rgba(216, 226, 234, 0.95);
  border-radius: 24px;
  box-shadow: 0 34px 84px rgba(9, 19, 32, 0.24);
  overflow: hidden;
}

.purchase-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid rgba(216, 226, 234, 0.95);
}

.purchase-modal-header h3 {
  font-size: 1.08rem;
  color: var(--text);
}

.purchase-close {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.purchase-form {
  padding: 1.25rem;
  display: grid;
  gap: 0.95rem;
}

.purchase-form label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.purchase-form input {
  width: 100%;
  margin-top: 0.38rem;
  padding: 0.78rem 0.88rem;
  border-radius: 12px;
  border: 1px solid rgba(216, 226, 234, 0.95);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 0.94rem;
}

.purchase-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 77, 122, 0.12);
}

.purchase-form .submit-btn {
  margin-top: 0.4rem;
}

.modal-actions {
  padding: 1.2rem 1.3rem;
  text-align: right;
}

.wechat-pay-dialog {
  max-width: 400px;
}

.wechat-pay-body {
  padding: 1.5rem;
  text-align: center;
}

@media (max-height: 760px) {
  .purchase-modal {
    align-items: flex-start;
  }

  .purchase-modal-content {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

.wechat-pay-info {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.wechat-pay-qr {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

#wechatQrCanvas {
  background: #ffffff;
  padding: 0.8rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

#wechatPayStatus {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-cancel-btn {
  margin-top: 1rem;
  align-self: center;
  background: #6f8193;
}

/* ===== Driving School Page ===== */
.driving-video,
.driving-map {
  background: var(--surface);
  border: 1px solid rgba(216, 226, 234, 0.95);
  border-radius: 24px;
  padding: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.driving-video video {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #000;
}

.driving-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.driving-gallery img,
.driving-map img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #11263d 0%, #0d1d2f 100%);
  padding: 3.6rem 0 1.5rem;
  margin-top: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  opacity: 0.7;
  pointer-events: none;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: rgba(233, 240, 247, 0.72);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
  color: rgba(233, 240, 247, 0.72);
  font-size: 0.93rem;
}

.footer-links a {
  color: rgba(233, 240, 247, 0.72);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.4rem;
  text-align: center;
  color: rgba(233, 240, 247, 0.58);
  font-size: 0.86rem;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 16, 26, 0.9);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

/* ===== Motion ===== */
@media (prefers-reduced-motion: no-preference) {
  .carousel,
  .section-title,
  .card,
  .about-visual,
  .contact-card,
  .partner-card,
  .tutorial-item,
  .tutorial-step,
  .router-card,
  .driving-video,
  .driving-map {
    animation: rise-in 0.68s ease both;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-shell {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
  }

  .hero-home-visual {
    min-height: 380px;
  }

  .home-company-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .carousel {
    height: 500px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  main {
    margin-top: 80px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-container {
    height: 80px;
  }

  .nav-container .logo img {
    height: 54px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(248, 251, 253, 0.98);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(216, 226, 234, 0.95);
    box-shadow: 0 18px 30px rgba(15, 39, 63, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(216, 226, 234, 0.9);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 1rem 1rem 0;
  }

  .hero-shell {
    min-height: auto;
    padding: 1.5rem 1.25rem 1.5rem;
    border-radius: 26px;
  }

  .hero-home-copy {
    padding-bottom: 0;
  }

  .hero-home-copy h1 {
    font-size: 2.4rem;
    line-height: 1;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-home-visual {
    min-height: 280px;
    padding-top: 0.2rem;
  }

  .hero-visual-stage {
    inset: 0;
    width: 100%;
  }

  .hero-float {
    display: none;
  }

  .carousel {
    height: 420px;
    border-radius: 24px;
  }

  .carousel-slide {
    padding: 1.25rem;
  }

  .carousel-slide .slide-content {
    margin: auto 0 1.75rem;
    padding: 1.5rem;
    width: 100%;
  }

  .carousel-slide .slide-content h2 {
    font-size: 1.8rem;
  }

  .carousel-slide .slide-content p {
    font-size: 0.96rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    margin-bottom: 2.4rem;
  }

  .section-title h2 {
    font-size: 1.65rem;
  }

  .home-company {
    padding-top: 2.6rem;
  }

  .home-company-card {
    padding: 1.5rem;
  }

  .home-company-stats {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .router-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .tutorial-item .item-arrow {
    margin-left: 0;
  }

  .tutorial-step .step-images {
    grid-template-columns: 1fr;
  }

  .driving-gallery {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links ul {
    padding: 0;
  }

  .footer-brand,
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container,
  .nav-container {
    padding: 0 1rem;
  }

  .carousel {
    height: 340px;
  }

  .hero-shell {
    padding: 1.2rem 1rem 1.3rem;
  }

  .hero-kicker {
    font-size: 0.78rem;
  }

  .hero-home-copy h1 {
    font-size: 2rem;
  }

  .hero-home-copy p {
    font-size: 0.95rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .card,
  .contact-card,
  .partner-card,
  .tutorial-step {
    padding: 1.35rem;
  }
}

/* ===== Home Simple Mode ===== */
.home-page-simple .hero-home-simple {
  min-height: auto;
  height: auto;
  padding: 0.85rem 0 1.35rem;
  display: flex;
  align-items: center;
  background: transparent;
}

.home-page-simple .hero-home-simple .container {
  width: min(100%, 1480px);
  max-width: min(1480px, calc(100vw - 0.8rem));
  padding: 0 clamp(0.4rem, 1.2vw, 1.2rem);
}

.home-page-simple .hero-simple-inner {
  text-align: center;
}

.home-page-simple .home-hero-carousel {
  width: 100%;
  max-width: 100%;
  height: clamp(360px, 46vw, 760px);
  border-radius: 40px;
  border: 1px solid rgba(207, 220, 236, 0.92);
  box-shadow:
    0 28px 72px rgba(17, 54, 103, 0.14),
    0 60px 120px rgba(37, 99, 255, 0.12);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.52), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(115, 188, 255, 0.24), transparent 28%),
    linear-gradient(160deg, #fbfdff 0%, #e8f1fb 100%);
}

.home-page-simple .home-hero-carousel::before {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.26), transparent 36%),
    linear-gradient(180deg, transparent 60%, rgba(15, 39, 63, 0.06) 100%);
}

.home-page-simple .home-hero-carousel .carousel-slide {
  padding: clamp(1.2rem, 2vw, 2.2rem);
}

.home-page-simple .home-hero-carousel .hero-slide-banner-buy,
.home-page-simple .home-hero-carousel .hero-slide-car,
.home-page-simple .home-hero-carousel .hero-slide-open-card {
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.home-page-simple .home-hero-carousel .hero-slide-banner-buy {
  background:
    url("../images/banner-buy.png") center center / contain no-repeat,
    linear-gradient(135deg, #edf5ff 0%, #dceaff 100%);
}

.home-page-simple .home-hero-carousel .hero-slide-car {
  background:
    url("../images/car-banner.png") center center / contain no-repeat,
    linear-gradient(135deg, #eefaf8 0%, #d8f0ea 100%);
}

.home-page-simple .home-hero-carousel .hero-slide-open-card {
  background:
    url("../images/open-card.jpg") center center / contain no-repeat,
    linear-gradient(135deg, #f7f5ff 0%, #e8e4ff 100%);
}

.home-page-simple .home-hero-carousel .carousel-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(15, 39, 63, 0.16);
}

.home-page-simple .home-hero-carousel .carousel-btn.prev {
  left: 1.5rem;
}

.home-page-simple .home-hero-carousel .carousel-btn.next {
  right: 1.5rem;
}

.home-page-simple .home-hero-carousel .carousel-dots {
  bottom: 2rem;
}

.home-page-simple .home-hero-carousel .carousel-dots .dot {
  width: 42px;
  height: 5px;
  background: rgba(16, 33, 74, 0.14);
}

.home-page-simple .home-hero-carousel .carousel-dots .dot.active {
  background: linear-gradient(90deg, #1d73ff, #18b9f5);
}

.home-page-simple .hero-simple-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #123456;
  margin-bottom: 0.7rem;
}

.home-page-simple .hero-simple-inner p {
  color: #4f6787;
  max-width: 720px;
  margin: 0 auto;
}

.home-page-simple .topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-page-simple .topic-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 76, 145, 0.16);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(18, 45, 83, 0.08);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.home-page-simple .topic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 76, 145, 0.32);
  box-shadow: 0 18px 38px rgba(18, 45, 83, 0.14);
}

.home-page-simple .topic-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f5cd6, #14b8a6);
  margin-bottom: 0.8rem;
  box-shadow: 0 10px 24px rgba(15, 92, 214, 0.25);
}

.home-page-simple .topic-icon svg {
  width: 27px;
  height: 27px;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page-simple .topic-card h3 {
  color: #10294b;
  margin-bottom: 0.4rem;
  font-size: 1.18rem;
}

.home-page-simple .topic-card p {
  color: #536f8f;
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-page-simple .home-company-collapsible-section {
  padding-top: 0;
}

.home-page-simple .home-company-collapsible {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 76, 145, 0.16);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(18, 45, 83, 0.08);
  overflow: hidden;
}

.home-page-simple .home-company-collapsible summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  color: #17375e;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(15, 92, 214, 0.08), rgba(20, 184, 166, 0.08));
}

.home-page-simple .home-company-collapsible-heading {
  padding: 1rem 1.2rem;
  color: #17375e;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(15, 92, 214, 0.08), rgba(20, 184, 166, 0.08));
}

.home-page-simple .home-company-collapsible summary::-webkit-details-marker {
  display: none;
}

.home-page-simple .home-company-collapsible-content {
  padding: 1.1rem 1.2rem 1.2rem;
}

.home-page-simple .home-company-collapsible-content p {
  color: #4f6787;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .home-page-simple .topic-grid {
    grid-template-columns: 1fr;
  }

  .home-page-simple .hero-home-simple {
    min-height: auto;
    padding: 0.75rem 0 0.9rem;
  }

  .home-page-simple .hero-home-simple .container {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .home-page-simple .home-hero-carousel {
    height: clamp(260px, 54vw, 560px);
    border-radius: 26px;
  }

  .home-page-simple .home-hero-carousel .carousel-btn {
    width: 46px;
    height: 46px;
  }

  .home-page-simple .home-hero-carousel .carousel-btn.prev {
    left: 0.9rem;
  }

  .home-page-simple .home-hero-carousel .carousel-btn.next {
    right: 0.9rem;
  }

  .home-page-simple .home-hero-carousel .carousel-dots {
    bottom: 1.35rem;
  }
}

/* ===== Motion ===== */
@keyframes site-chrome-in {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes page-content-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.988);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes drift-fall-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, -44px, 0) scale(0.984);
  }
  62% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 8px, 0) scale(1.01);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.site-header {
  animation: site-chrome-in 0.78s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

main {
  animation: page-content-in 0.96s cubic-bezier(0.18, 0.85, 0.28, 1) both 0.08s;
}

.site-footer {
  animation: page-content-in 0.92s cubic-bezier(0.18, 0.85, 0.28, 1) both 0.18s;
}

.scroll-reveal {
  transform-origin: center top;
  will-change: transform, opacity, filter;
}

.scroll-reveal.reveal-pending {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, -44px, 0) scale(0.984);
}

.scroll-reveal.is-visible {
  animation: drift-fall-in 0.96s cubic-bezier(0.18, 0.85, 0.28, 1) both;
  animation-delay: calc(var(--reveal-order, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  main,
  .site-footer,
  .scroll-reveal,
  .scroll-reveal.reveal-pending,
  .scroll-reveal.is-visible {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
