﻿:root {
  --bg: #020713;
  --bg-2: #071221;
  --panel: rgba(13, 24, 42, 0.82);
  --panel-strong: rgba(17, 31, 54, 0.94);
  --line: rgba(148, 163, 184, 0.14);
  --line-hot: rgba(255, 59, 63, 0.42);
  --text: #f7fbff;
  --muted: #a9b6ca;
  --soft: #74839b;
  --accent: #ff3b3f;
  --accent-2: #ff9f2f;
  --green: #5ade86;
  --pink: #f472b6;
  --radius: 14px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

/* KMQ warm red theme */
:root {
  --bg: #fff7f2;
  --bg-2: #fff0e8;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(160, 63, 50, 0.16);
  --line-hot: rgba(224, 38, 38, 0.42);
  --text: #2b1512;
  --muted: #7c5a53;
  --soft: #9b766d;
  --accent: #e02626;
  --accent-2: #ff7a45;
  --shadow: 0 24px 70px rgba(110, 35, 24, 0.13);
  color: var(--text);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(224, 38, 38, 0.16), transparent 32rem),
    radial-gradient(circle at 8% 28%, rgba(255, 122, 69, 0.14), transparent 34rem),
    linear-gradient(180deg, #fffaf7 0%, #fff2eb 48%, #fff8f4 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(160, 63, 50, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 63, 50, 0.05) 1px, transparent 1px);
}

body::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(224, 38, 38, 0.10), transparent 18rem),
    linear-gradient(180deg, transparent, rgba(255, 248, 244, 0.76));
}

.site-header,
.site-header.is-elevated {
  border-bottom-color: rgba(160, 63, 50, 0.12);
  background: rgba(255, 250, 247, 0.86);
  box-shadow: 0 12px 34px rgba(110, 35, 24, 0.08);
}

.brand strong,
.nav-links a.active,
.nav-links a:hover,
.hero h1,
.section-title h2,
.contact-heading h2,
.case-copy h3,
.capability-card h3,
.process-step h3,
.faq-item h3 {
  color: #2b1512;
}

.nav-links a,
.hero-text,
.section-title p,
.contact-heading p,
.case-copy p,
.capability-card p,
.process-step p,
.faq-item p {
  color: var(--muted);
}

.header-cta {
  top: 86px;
  right: clamp(18px, 5vw, 82px);
  min-height: 64px;
  min-width: 164px;
  padding: 0 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 18px 38px rgba(185, 28, 28, 0.24);
  color: #fff;
  font-size: 20px;
}

.header-cta:hover,
.btn.primary:hover {
  box-shadow: 0 18px 44px rgba(185, 28, 28, 0.28);
}

.btn.primary,
.lead-form .btn.primary {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 16px 36px rgba(185, 28, 28, 0.18);
}

.btn.secondary,
.case-actions a,
.modal-actions a,
.lead-form input,
.lead-form select,
.lead-form textarea {
  border-color: rgba(160, 63, 50, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #2b1512;
}

.hero,
.contact-section {
  border-bottom-color: rgba(160, 63, 50, 0.12);
}

.hero-aurora::before,
.hero-aurora::after {
  border-color: rgba(224, 38, 38, 0.18);
  background:
    radial-gradient(circle at 62% 42%, rgba(224, 38, 38, 0.18), transparent 16rem),
    radial-gradient(circle at 35% 58%, rgba(255, 122, 69, 0.14), transparent 14rem);
}

.device,
.case-card,
.capability-card,
.process-panel,
.faq-strip,
.contact-panel,
.modal-panel,
.notice-panel {
  border-color: rgba(160, 63, 50, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  color: var(--text);
}

.case-tags span,
.capability-card li {
  border-color: rgba(160, 63, 50, 0.14);
  background: rgba(255, 240, 232, 0.78);
  color: #7f1d1d;
}

.contact-section {
  max-width: 1360px;
  padding-top: 44px;
}

.contact-heading {
  margin-bottom: 20px;
}

.contact-panel {
  grid-template-columns: minmax(260px, 0.86fr) minmax(260px, 0.72fr) minmax(340px, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 238, 0.9));
}

.contact-hints {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 318px;
  padding: 28px;
  border: 1px solid rgba(160, 63, 50, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-hints b {
  margin-bottom: 16px;
  color: #7f1d1d;
  font-size: 20px;
}

.contact-hints ol {
  gap: 12px;
  color: #3b241f;
  font-size: 18px;
  line-height: 1.55;
}

.contact-qr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 318px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(160, 63, 50, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.contact-qr img {
  width: min(100%, 228px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(160, 63, 50, 0.12);
  border-radius: 14px;
  background: #fff;
}

.contact-qr span {
  color: #7f1d1d;
  font-size: 18px;
  font-weight: 950;
}

.contact-phone {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 9px;
  background: #fff1ed;
  color: #991b1b;
  font-size: 16px;
  font-weight: 950;
}

.lead-form {
  min-height: 318px;
  padding: 28px;
  border: 1px solid rgba(160, 63, 50, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.lead-form input,
.lead-form select {
  height: 54px;
}

.lead-form textarea {
  min-height: 132px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #a27b72;
}

.site-footer {
  color: var(--muted);
}

@media (max-width: 1220px) {
  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .header-cta {
    top: 10px;
    right: 68px;
    min-width: 0;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 14px;
  }

  .nav-links {
    background: rgba(255, 250, 247, 0.98);
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-panel,
  .contact-hints,
  .contact-qr,
  .lead-form {
    min-height: 0;
    padding: 22px;
  }

  .contact-hints ol {
    font-size: 16px;
  }

  .contact-qr img {
    width: min(100%, 190px);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 0%, rgba(255, 59, 63, 0.22), transparent 38rem),
    radial-gradient(circle at 0% 24%, rgba(255, 159, 47, 0.10), transparent 34rem),
    linear-gradient(180deg, #020510 0%, #061223 45%, #020713 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 74%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 59, 63, 0.12), transparent 16rem),
    linear-gradient(180deg, transparent, rgba(2, 7, 19, 0.86));
  content: "";
}

.is-wechat body::before,
.is-ios body::before {
  display: none;
}

.is-wechat body::after,
.is-ios body::after {
  position: absolute;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 clamp(18px, 5vw, 82px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(2, 6, 18, 0.64);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-elevated {
  background: rgba(2, 6, 18, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: url("./assets/brand/kmq-logo.png?v=20260709") center / contain no-repeat;
  box-shadow: 0 0 22px rgba(255, 59, 63, 0.18);
}

.brand strong {
  overflow: hidden;
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 54px);
  flex: 1;
}

.nav-links a {
  position: relative;
  color: #d7e0ef;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  left: 50%;
  bottom: -17px;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.45);
  transition: 0.22s ease;
  content: "";
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.header-cta,
.btn {
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta {
  position: fixed;
  top: 11px;
  right: clamp(18px, 5vw, 82px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.28);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: inherit;
}

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

.hero {
  position: relative;
  min-height: 560px;
  padding: 112px clamp(18px, 5vw, 82px) 42px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-aurora::before {
  position: absolute;
  right: 4vw;
  top: 96px;
  width: min(50vw, 720px);
  height: 360px;
  border: 1px solid rgba(124, 92, 255, 0.14);
  background:
    radial-gradient(circle at 62% 42%, rgba(124, 92, 255, 0.4), transparent 16rem),
    radial-gradient(circle at 35% 58%, rgba(255, 59, 63, 0.18), transparent 14rem);
  filter: blur(10px);
  opacity: 0.8;
  transform: rotate(-8deg);
  content: "";
}

.hero-aurora::after {
  position: absolute;
  right: -5vw;
  top: 220px;
  width: 54vw;
  height: 140px;
  border: 2px solid rgba(124, 92, 255, 0.42);
  border-left-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 24px rgba(124, 92, 255, 0.45));
  transform: rotate(-7deg);
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  max-width: 1360px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(46px, 6.2vw, 82px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero h1 span {
  color: #8c67ff;
  text-shadow: 0 0 34px rgba(124, 92, 255, 0.42);
}

.hero-text {
  max-width: 630px;
  margin: 20px 0 0;
  color: #d3dceb;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
  box-shadow: 0 18px 38px rgba(79, 70, 229, 0.28);
}

.btn.secondary {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(8, 14, 26, 0.62);
}

.btn.small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn:hover,
.header-cta:hover,
.case-card:hover {
  transform: translateY(-2px);
}

.header-cta:hover {
  box-shadow: 0 18px 44px rgba(79, 70, 229, 0.42);
}

.hero-points {
  display: grid;
  max-width: 690px;
  margin-top: 34px;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hero-points span {
  position: relative;
  color: #d8e3f4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  padding-left: 18px;
}

.hero-points span::before {
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(124, 92, 255, 0.8);
  content: "";
}

.hero-showcase {
  position: relative;
  min-height: 418px;
}

.orbit {
  position: absolute;
  inset: 32% 1% auto auto;
  width: 82%;
  height: 150px;
  border: 2px solid rgba(124, 92, 255, 0.46);
  border-radius: 50%;
  filter: drop-shadow(0 0 24px rgba(124, 92, 255, 0.4));
  transform: rotate(-9deg);
}

.device {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(3, 8, 18, 0.88);
  box-shadow: var(--shadow);
}

.device.desktop {
  position: absolute;
  right: 0;
  top: 6px;
  width: min(610px, 92%);
  border-radius: 18px;
  transform: perspective(900px) rotateY(-4deg) rotateX(1deg);
  cursor: pointer;
}

.device.phone {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 172px;
  aspect-ratio: 9 / 18;
  border: 6px solid rgba(17, 24, 39, 0.92);
  border-radius: 28px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
}

.device.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 42px;
  height: 6px;
  border-radius: 99px;
  background: rgba(10, 16, 28, 0.9);
  transform: translateX(-50%);
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.device-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
}

.device-bar i:nth-child(2) {
  background: #fbbf24;
}

.device-bar i:nth-child(3) {
  background: #34d399;
}

.device-bar span {
  width: 34%;
  height: 14px;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
}

.device.desktop img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.float-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(21, 31, 55, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  color: #eef5ff;
  font-size: 15px;
  font-weight: 900;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.float-label::before {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.45);
  content: "";
}

.float-label.ai {
  right: 0;
  top: 92px;
}

.float-label.system {
  right: -26px;
  top: 224px;
}

.float-label.site {
  right: 34px;
  bottom: 30px;
}

.hero-thumbs {
  position: absolute;
  left: 210px;
  right: 24px;
  bottom: -8px;
  z-index: 4;
  display: flex;
  gap: 10px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  background: rgba(5, 12, 24, 0.72);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.hero-thumbs::-webkit-scrollbar,
.case-grid::-webkit-scrollbar,
.process-panel::-webkit-scrollbar {
  display: none;
}

.hero-thumbs button {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 128px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(11, 20, 35, 0.72);
  color: #dbe7f7;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.hero-thumbs button:hover,
.hero-thumbs button.active {
  border-color: rgba(124, 92, 255, 0.68);
  background: rgba(124, 92, 255, 0.18);
  transform: translateY(-1px);
}

.hero-thumbs img {
  width: 54px;
  height: 32px;
  border-radius: 5px;
  object-fit: cover;
}

.hero-thumbs span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 38px clamp(18px, 5vw, 82px);
}

.section-title {
  margin: 0 auto 32px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 950;
  letter-spacing: 0;
}

.section-title p {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.capability-section {
  max-width: none;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: linear-gradient(180deg, rgba(6, 18, 34, 0.66), rgba(5, 14, 27, 0.3));
}

.capability-section .section-title,
.capability-grid {
  max-width: 1360px;
}

.capability-grid,
.case-grid,
.pricing-grid {
  display: grid;
  gap: 22px;
  margin: 0 auto;
}

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

.capability-card,
.case-card,
.price-card,
.process-panel,
.unclear-card,
.contact-panel,
.about-grid article,
.faq-strip {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(18, 31, 53, 0.88), rgba(7, 14, 27, 0.86)),
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.12), transparent 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.capability-card {
  min-height: 176px;
  padding: 20px 18px 18px;
  border-radius: var(--radius);
}

.capability-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.15);
  color: #fff;
  box-shadow: 0 0 28px rgba(124, 92, 255, 0.24);
}

.capability-icon::before {
  font-size: 22px;
  font-style: normal;
  font-weight: 950;
}

.capability-icon.home::before {
  content: "◆";
}

.capability-icon.mobile::before {
  content: "▣";
}

.capability-icon.ai::before {
  content: "✦";
}

.capability-icon.users::before {
  content: "●";
}

.capability-icon.video::before {
  content: "▶";
}

.capability-icon.custom::before {
  content: "↗";
}

.capability-card.blue .capability-icon {
  background: rgba(59, 130, 246, 0.22);
  color: #60a5fa;
}

.capability-card.purple .capability-icon {
  background: rgba(124, 92, 255, 0.22);
  color: #a78bfa;
}

.capability-card.cyan .capability-icon {
  background: rgba(45, 212, 191, 0.18);
  color: #5eead4;
}

.capability-card.pink .capability-icon {
  background: rgba(244, 114, 182, 0.18);
  color: #f472b6;
}

.capability-card.magenta .capability-icon {
  background: rgba(217, 70, 239, 0.18);
  color: #e879f9;
}

.capability-card.green .capability-icon {
  background: rgba(74, 222, 128, 0.18);
  color: #86efac;
}

.capability-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
}

.capability-card p {
  min-height: 44px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.capability-card ul,
.price-card ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.capability-card li,
.price-card li {
  position: relative;
  color: #d6e0ee;
  font-size: 14px;
  line-height: 1.35;
  padding-left: 15px;
}

.capability-card li::before,
.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "›";
}

.cases-section {
  padding-top: 34px;
}

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

.case-card {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.case-card:hover {
  border-color: rgba(124, 92, 255, 0.42);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.case-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(2, 6, 18, 0.8);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-card:hover img {
  transform: scale(1.035);
}

.case-copy {
  padding: 20px 20px 22px;
}

.case-copy h3 {
  margin: 0 0 12px;
  overflow: hidden;
  font-size: 21px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 70px;
  overflow: hidden;
}

.case-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.08);
  color: #cbd7e8;
  font-size: 12px;
  font-weight: 800;
}

.case-copy p {
  display: -webkit-box;
  min-height: 92px;
  margin: 16px 0 16px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.case-actions a,
.case-copy button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 104px;
  min-height: 34px;
  max-width: 132px;
  padding: 0 11px;
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 7px;
  background: rgba(124, 92, 255, 0.09);
  color: #b8a5ff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.case-actions a:hover,
.case-copy button:hover {
  border-color: rgba(124, 92, 255, 0.75);
  background: rgba(124, 92, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.case-actions a:active,
.case-copy button:active,
.modal-actions a:active {
  transform: translateY(0) scale(0.98);
}

.case-actions a:focus-visible,
.case-copy button:focus-visible,
.modal-actions a:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.9);
  outline-offset: 3px;
}

.process-section {
  padding-top: 16px;
}

.process-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 24px 22px;
  border-radius: var(--radius);
}

.process-step {
  position: relative;
  padding: 0 20px;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 33px;
  right: -15px;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  content: "";
}

.process-step i {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.13);
  color: #a78bfa;
  font-style: normal;
  font-weight: 950;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 950;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.unclear-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border-color: rgba(124, 92, 255, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.34), transparent 52%),
    linear-gradient(145deg, rgba(35, 22, 78, 0.95), rgba(10, 19, 35, 0.94));
  overflow: hidden;
}

.unclear-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.unclear-card p {
  position: relative;
  max-width: 330px;
  margin: 0 0 12px;
  color: #e1e8f5;
  line-height: 1.85;
}

.bulb {
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 110px;
  height: 110px;
  border: 5px solid rgba(255, 255, 255, 0.78);
  border-radius: 50% 50% 44% 44%;
  opacity: 0.8;
  filter: drop-shadow(0 0 22px rgba(124, 92, 255, 0.45));
}

.bulb::before {
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 46px;
  height: 26px;
  border: 5px solid rgba(255, 255, 255, 0.78);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
  content: "";
}

.bulb::after {
  position: absolute;
  left: 50%;
  top: 44px;
  width: 34px;
  height: 22px;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  transform: translateX(-50%);
  content: "";
}

.about-section {
  padding-top: 16px;
}

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

.about-grid article {
  min-height: 118px;
  padding: 22px;
  border-radius: 12px;
}

.about-grid b {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.about-grid span {
  color: var(--muted);
  line-height: 1.7;
}

.pricing-section {
  padding-top: 18px;
}

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

.price-card {
  padding: 24px;
  border-radius: var(--radius);
}

.price-card:nth-child(2) {
  border-color: rgba(124, 92, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 36px rgba(124, 92, 255, 0.08);
}

.price-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.price-head h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 950;
}

.price-head strong {
  color: #a78bfa;
  font-size: 24px;
  font-weight: 950;
  white-space: nowrap;
}

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

.price-card p {
  margin: 14px 0 16px;
  min-height: 48px;
  color: var(--muted);
  line-height: 1.75;
}

.price-card p b {
  color: #dce8f8;
}

.price-card li::before {
  content: "✓";
}

.price-note {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
}

.price-cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.faq-section {
  padding-top: 14px;
  padding-bottom: 20px;
}

.faq-strip {
  display: grid;
  max-width: 1360px;
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: var(--radius);
}

.faq-item {
  min-height: 104px;
  padding: 20px;
}

.faq-item:not(:last-child) {
  border-right: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 950;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px clamp(18px, 5vw, 82px) 38px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.8fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border-radius: var(--radius);
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.contact-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-hints {
  padding: 18px 18px 18px 26px;
  border-left: 1px solid rgba(148, 163, 184, 0.14);
}

.contact-hints b {
  display: block;
  margin-bottom: 10px;
}

.contact-hints ol {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
  color: #d3deef;
}

.contact-qr {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: rgba(2, 7, 19, 0.42);
}

.contact-qr img {
  width: 104px;
  height: 104px;
  padding: 7px;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
}

.contact-qr span {
  color: #e5edff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(2, 7, 19, 0.64);
  color: #fff;
  outline: none;
}

.lead-form input,
.lead-form select {
  height: 44px;
  padding: 0 14px;
}

.lead-form select {
  color: #dce8f8;
}

.lead-form textarea {
  min-height: 104px;
  padding: 13px 14px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(124, 92, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}

.case-detail-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 112px clamp(18px, 5vw, 82px) 56px;
}

.case-detail-page .section-title {
  margin-bottom: 18px;
  text-align: left;
}

.case-detail-page h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #b8a5ff;
  font-weight: 900;
}

.detail-tags,
.detail-actions {
  margin-bottom: 22px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 7px;
  background: rgba(8, 14, 26, 0.72);
  color: #fff;
  font-weight: 900;
}

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

.detail-media figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 14, 27, 0.86);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-media figcaption {
  padding: 13px 16px;
  color: var(--muted);
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.feature-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(13, 24, 42, 0.74);
  color: #dce8f8;
  font-weight: 850;
}

.site-footer {
  display: flex;
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px clamp(18px, 5vw, 82px) 28px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--soft);
}

.site-footer .brand strong {
  color: #fff;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

.case-modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.is-wechat .site-header,
.is-ios .site-header,
.is-wechat .nav-links,
.is-ios .nav-links,
.is-wechat .float-label,
.is-ios .float-label,
.is-wechat .hero-thumbs,
.is-ios .hero-thumbs,
.is-wechat .process-panel,
.is-ios .process-panel,
.is-wechat .unclear-card,
.is-ios .unclear-card,
.is-wechat .contact-panel,
.is-ios .contact-panel,
.is-wechat .about-grid article,
.is-ios .about-grid article,
.is-wechat .faq-strip,
.is-ios .faq-strip,
.is-wechat .modal-backdrop,
.is-ios .modal-backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.is-wechat .hero-aurora::before,
.is-ios .hero-aurora::before,
.is-wechat .hero-aurora::after,
.is-ios .hero-aurora::after,
.is-wechat .orbit,
.is-ios .orbit {
  filter: none;
}

.is-wechat .hero-aurora::before,
.is-ios .hero-aurora::before {
  opacity: 0.45;
}

.is-wechat .device,
.is-ios .device,
.is-wechat .case-card,
.is-ios .case-card,
.is-wechat .price-card,
.is-ios .price-card {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: #07111f;
  box-shadow: var(--shadow);
}

.modal-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.modal-panel > div {
  padding: 26px;
}

.modal-panel h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.modal-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.modal-features span {
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 7px;
  background: rgba(148, 163, 184, 0.08);
  color: #dbe7f7;
  font-size: 13px;
  font-weight: 850;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 112px;
  min-height: 38px;
  max-width: 148px;
  padding: 0 14px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 7px;
  background: rgba(124, 92, 255, 0.1);
  color: #c7b8ff;
  font-size: 13px;
  font-weight: 950;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.modal-actions a:hover {
  border-color: rgba(124, 92, 255, 0.78);
  background: rgba(124, 92, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.modal-actions .primary-action {
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
  color: #fff;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 50%;
  background: rgba(2, 6, 18, 0.74);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.modal-close:hover {
  background: rgba(124, 92, 255, 0.28);
  transform: rotate(90deg);
}

.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  padding: 22px;
}

.notice-modal.is-open {
  display: grid;
}

.notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.notice-panel {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  padding: 26px 24px 24px;
  border: 1px solid rgba(124, 92, 255, 0.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 92, 255, 0.22), transparent 45%),
    #07111f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.notice-panel h3 {
  margin: 0 38px 10px 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
}

.notice-panel p {
  margin: 0;
  color: #cbd7e8;
  font-size: 15px;
  line-height: 1.75;
}

.notice-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 50%;
  background: rgba(2, 6, 18, 0.76);
  color: #fff;
  cursor: pointer;
  font-size: 21px;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.notice-close:hover,
.notice-close:focus-visible {
  background: rgba(124, 92, 255, 0.28);
  transform: rotate(90deg);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 100;
  max-width: calc(100vw - 32px);
  padding: 13px 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(12, 20, 35, 0.92);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: 0.2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1220px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 470px;
  }

  .device.desktop {
    width: min(720px, 86vw);
    left: 50%;
    right: auto;
    transform: translateX(-50%) perspective(900px) rotateY(-3deg);
  }

  .device.phone {
    left: calc(50% - 330px);
  }

  .hero-thumbs {
    left: calc(50% - 140px);
    right: calc(50% - 360px);
    bottom: 2px;
  }

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

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

  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 64px;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(5, 12, 24, 0.96);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-cta {
    right: 68px;
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

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

  .landing-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

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

  .pricing-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .faq-strip {
    grid-template-columns: 1fr;
  }

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

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

  .faq-item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .modal-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }

  .modal-panel img {
    min-height: 0;
    max-height: 300px;
  }
}

@media (max-width: 720px) {
  body::before {
    display: none;
  }

  body::after {
    position: absolute;
  }

  .site-header,
  .nav-links,
  .hero-thumbs,
  .process-panel,
  .unclear-card,
  .contact-panel,
  .about-grid article,
  .faq-strip,
  .modal-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-aurora::before,
  .hero-aurora::after,
  .orbit {
    filter: none;
  }

  .device,
  .case-card,
  .price-card {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  }

  .site-header {
    padding: 0 14px;
  }

  .header-cta {
    top: 10px;
    right: 64px;
    min-height: 42px;
    padding: 0 15px;
    font-size: 14px;
  }

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

  .hero {
    padding: 82px 18px 26px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .hero-copy,
  .hero-inner {
    width: 100%;
    max-width: 100%;
  }

  .hero-text {
    font-size: 16px;
    margin-top: 16px;
    max-width: 22em;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
  }

  .hero-actions {
    display: grid;
    width: min(100%, calc(100vw - 36px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding: 0 8px;
    font-size: 14px;
    justify-self: stretch;
  }

  .hero-showcase {
    min-height: 248px;
    margin-top: 18px;
  }

  .device.desktop {
    width: 96%;
    border-radius: 14px;
  }

  .device.phone {
    left: 4px;
    bottom: 50px;
    width: 76px;
    border-width: 4px;
    border-radius: 18px;
  }

  .float-label {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .float-label::before {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }

  .float-label.ai {
    top: 38px;
    right: 0;
  }

  .float-label.system {
    top: 104px;
    right: -4px;
  }

  .float-label.site {
    right: 18px;
    bottom: 58px;
  }

  .hero-thumbs {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7px;
  }

  .hero-thumbs button {
    grid-template-columns: 42px minmax(0, 1fr);
    min-width: 116px;
  }

  .hero-thumbs img {
    width: 42px;
    height: 26px;
  }

  .section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .case-grid {
    display: flex;
    gap: 14px;
    margin: 0 -18px;
    padding: 0 18px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .case-card {
    min-width: min(82vw, 320px);
    scroll-snap-align: start;
  }

  .case-copy {
    padding: 16px;
  }

  .case-copy h3 {
    margin-bottom: 10px;
    font-size: 19px;
  }

  .case-copy p {
    display: -webkit-box;
    min-height: 0;
    margin: 12px 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .case-tags span {
    padding: 5px 7px;
    font-size: 11px;
  }

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

  .capability-card {
    min-height: 142px;
    padding: 16px 14px;
  }

  .capability-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 9px;
  }

  .capability-icon::before {
    font-size: 18px;
  }

  .capability-card h3 {
    font-size: 16px;
  }

  .capability-card p {
    min-height: 0;
    margin: 7px 0 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .capability-card ul {
    display: none;
  }

  .process-panel {
    display: flex;
    gap: 12px;
    padding: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .process-step {
    min-width: 168px;
    padding: 0 12px 0 0;
    scroll-snap-align: start;
  }

  .process-step::after {
    display: none;
  }

  .unclear-card {
    min-height: 0;
    padding: 26px;
  }

  .bulb {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: 74px;
    height: 74px;
    margin-top: 22px;
  }

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

  .price-card {
    padding: 20px;
  }

  .price-card p {
    min-height: 0;
  }

  .price-cta .btn {
    width: auto;
    min-width: 132px;
  }

  .contact-panel {
    padding: 24px;
  }

  .modal-panel > div {
    padding: 22px;
  }

  .modal-actions a {
    flex: 1 1 auto;
  }

  .case-detail-page {
    padding: 92px 18px 42px;
  }

  .detail-actions a {
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .contact-hints {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }

  .contact-qr {
    grid-template-columns: 96px minmax(0, 1fr);
    margin-top: 16px;
  }

  .contact-qr img {
    width: 96px;
    height: 96px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Final KMQ warm theme overrides */
:root {
  --bg: #fff7f2;
  --bg-2: #fff0e8;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(160, 63, 50, 0.16);
  --line-hot: rgba(224, 38, 38, 0.42);
  --text: #2b1512;
  --muted: #7c5a53;
  --soft: #9b766d;
  --accent: #e02626;
  --accent-2: #ff7a45;
  --shadow: 0 24px 70px rgba(110, 35, 24, 0.13);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(224, 38, 38, 0.16), transparent 32rem),
    radial-gradient(circle at 8% 28%, rgba(255, 122, 69, 0.14), transparent 34rem),
    linear-gradient(180deg, #fffaf7 0%, #fff2eb 48%, #fff8f4 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(160, 63, 50, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 63, 50, 0.05) 1px, transparent 1px);
}

body::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(224, 38, 38, 0.10), transparent 18rem),
    linear-gradient(180deg, transparent, rgba(255, 248, 244, 0.76));
}

.site-header,
.site-header.is-elevated {
  border-bottom-color: rgba(160, 63, 50, 0.12);
  background: rgba(255, 250, 247, 0.9);
  box-shadow: 0 12px 34px rgba(110, 35, 24, 0.08);
}

.brand strong,
.nav-links a.active,
.nav-links a:hover,
.hero h1,
.section-title h2,
.contact-heading h2,
.case-copy h3,
.capability-card h3,
.process-step h3,
.faq-item h3 {
  color: #2b1512;
}

.nav-links a,
.hero-text,
.section-title p,
.contact-heading p,
.case-copy p,
.capability-card p,
.process-step p,
.faq-item p {
  color: var(--muted);
}

.header-cta {
  top: 86px;
  right: clamp(18px, 5vw, 82px);
  min-height: 64px;
  min-width: 164px;
  padding: 0 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 18px 38px rgba(185, 28, 28, 0.24);
  color: #fff;
  font-size: 20px;
}

.btn.primary,
.lead-form .btn.primary {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 16px 36px rgba(185, 28, 28, 0.18);
}

.btn.secondary,
.case-actions a,
.modal-actions a,
.lead-form input,
.lead-form select,
.lead-form textarea {
  border-color: rgba(160, 63, 50, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #2b1512;
}

.hero,
.contact-section {
  border-bottom-color: rgba(160, 63, 50, 0.12);
}

.hero-aurora::before,
.hero-aurora::after {
  border-color: rgba(224, 38, 38, 0.18);
  background:
    radial-gradient(circle at 62% 42%, rgba(224, 38, 38, 0.18), transparent 16rem),
    radial-gradient(circle at 35% 58%, rgba(255, 122, 69, 0.14), transparent 14rem);
}

.device,
.case-card,
.capability-card,
.process-panel,
.faq-strip,
.contact-panel,
.modal-panel,
.notice-panel {
  border-color: rgba(160, 63, 50, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  color: var(--text);
}

.case-tags span,
.capability-card li {
  border-color: rgba(160, 63, 50, 0.14);
  background: rgba(255, 240, 232, 0.78);
  color: #7f1d1d;
}

.contact-section {
  max-width: 1360px;
  padding-top: 44px;
}

.contact-heading {
  margin-bottom: 20px;
}

.contact-panel {
  grid-template-columns: minmax(260px, 0.86fr) minmax(260px, 0.72fr) minmax(340px, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 238, 0.9));
}

.contact-hints {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 318px;
  padding: 28px;
  border: 1px solid rgba(160, 63, 50, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-hints b {
  margin-bottom: 16px;
  color: #7f1d1d;
  font-size: 20px;
}

.contact-hints ol {
  gap: 12px;
  color: #3b241f;
  font-size: 18px;
  line-height: 1.55;
}

.contact-qr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 318px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(160, 63, 50, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.contact-qr img {
  width: min(100%, 228px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(160, 63, 50, 0.12);
  border-radius: 14px;
  background: #fff;
}

.contact-qr span {
  color: #7f1d1d;
  font-size: 18px;
  font-weight: 950;
}

.contact-phone {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 9px;
  background: #fff1ed;
  color: #991b1b;
  font-size: 16px;
  font-weight: 950;
}

.lead-form {
  min-height: 318px;
  padding: 28px;
  border: 1px solid rgba(160, 63, 50, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.lead-form input,
.lead-form select {
  height: 54px;
}

.lead-form textarea {
  min-height: 132px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #a27b72;
}

.site-footer {
  color: var(--muted);
}

@media (max-width: 1220px) {
  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .header-cta {
    top: 10px;
    right: 68px;
    min-width: 0;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 14px;
  }

  .nav-links {
    background: rgba(255, 250, 247, 0.98);
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-panel,
  .contact-hints,
  .contact-qr,
  .lead-form {
    min-height: 0;
    padding: 22px;
  }

  .contact-hints ol {
    font-size: 16px;
  }

  .contact-qr img {
    width: min(100%, 190px);
  }
}

