:root {
  --c-primary: #e8442b;
  --c-primary-dark: #c9331d;
  --c-primary-light: #ff6b52;
  --c-accent: #f2a03d;
  --c-accent-2: #3d8bf2;
  --c-accent-3: #2bb673;
  --c-bg: #f7f8fa;
  --c-bg-alt: #ffffff;
  --c-surface: #ffffff;
  --c-surface-glass: rgba(255, 255, 255, 0.72);
  --c-border: #e6e8ec;
  --c-text: #1f2430;
  --c-text-soft: #4a5160;
  --c-text-muted: #7b8394;
  --c-header-bg: rgba(255, 255, 255, 0.82);
  --c-footer-bg: #1f2430;
  --c-footer-text: #c9ced8;
  --c-code: #f1f3f6;
  --grad-hero: linear-gradient(135deg, #e8442b 0%, #f2a03d 55%, #ff8a5c 100%);
  --grad-hero-soft: linear-gradient(135deg, rgba(232, 68, 43, 0.12) 0%, rgba(242, 160, 61, 0.12) 100%);
  --grad-btn: linear-gradient(135deg, #e8442b 0%, #ff6b52 100%);
  --shadow-sm: 0 2px 8px rgba(31, 36, 48, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 36, 48, 0.1);
  --shadow-lg: 0 16px 48px rgba(31, 36, 48, 0.14);
  --shadow-primary: 0 8px 24px rgba(232, 68, 43, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
  --container: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --c-bg: #12151c;
  --c-bg-alt: #171b24;
  --c-surface: #1c212c;
  --c-surface-glass: rgba(28, 33, 44, 0.72);
  --c-border: #2b3242;
  --c-text: #eef1f6;
  --c-text-soft: #b9c0cd;
  --c-text-muted: #8a92a3;
  --c-header-bg: rgba(18, 21, 28, 0.82);
  --c-footer-bg: #0d1016;
  --c-footer-text: #9aa3b2;
  --c-code: #232a38;
  --grad-hero: linear-gradient(135deg, #b8341f 0%, #c47a24 55%, #d96a3f 100%);
  --grad-hero-soft: linear-gradient(135deg, rgba(232, 68, 43, 0.18) 0%, rgba(242, 160, 61, 0.18) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 8px 24px rgba(232, 68, 43, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #12151c;
    --c-bg-alt: #171b24;
    --c-surface: #1c212c;
    --c-surface-glass: rgba(28, 33, 44, 0.72);
    --c-border: #2b3242;
    --c-text: #eef1f6;
    --c-text-soft: #b9c0cd;
    --c-text-muted: #8a92a3;
    --c-header-bg: rgba(18, 21, 28, 0.82);
    --c-footer-bg: #0d1016;
    --c-footer-text: #9aa3b2;
    --c-code: #232a38;
    --grad-hero: linear-gradient(135deg, #b8341f 0%, #c47a24 55%, #d96a3f 100%);
    --grad-hero-soft: linear-gradient(135deg, rgba(232, 68, 43, 0.18) 0%, rgba(242, 160, 61, 0.18) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-primary: 0 8px 24px rgba(232, 68, 43, 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease-fast), color 0.4s var(--ease-fast);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.3;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1em;
  color: var(--c-text-soft);
}

strong {
  color: var(--c-text);
  font-weight: 600;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.25s var(--ease-fast);
}

a:hover {
  color: var(--c-primary-dark);
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
  color: var(--c-text-soft);
}

li {
  margin-bottom: 0.5em;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
}

::selection {
  background: var(--c-primary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-header-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.3s var(--ease-fast), background 0.4s var(--ease-fast);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-primary);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.brand-slogan {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-soft);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.25s var(--ease-fast), background 0.25s var(--ease-fast);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--grad-btn);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover {
  color: var(--c-primary);
  background: var(--grad-hero-soft);
}

.main-nav a:hover::after {
  width: 60%;
}

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

.site-search {
  display: flex;
  align-items: center;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 2px 4px 2px 14px;
  transition: border-color 0.25s var(--ease-fast), box-shadow 0.25s var(--ease-fast), background 0.3s var(--ease-fast);
}

.site-search:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(232, 68, 43, 0.15);
  background: var(--c-surface);
}

.site-search input {
  width: 150px;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--c-text);
  outline: none;
  transition: width 0.3s var(--ease);
}

.site-search input::placeholder {
  color: var(--c-text-muted);
}

.site-search input:focus {
  width: 190px;
}

.site-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--c-text-muted);
  transition: color 0.25s, background 0.25s;
}

.site-search button:hover {
  color: var(--c-primary);
  background: var(--grad-hero-soft);
}

.theme-toggle,
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--c-text-soft);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  transition: color 0.25s, background 0.25s, transform 0.3s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--c-primary);
  background: var(--grad-hero-soft);
  transform: scale(1.06);
}

.theme-toggle svg {
  transition: transform 0.5s var(--ease);
}

.theme-toggle:active svg {
  transform: rotate(180deg);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: slideDown 0.35s var(--ease);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 12px 24px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.mobile-nav li {
  margin: 0;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--c-text-soft);
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
}

.mobile-nav a:hover {
  background: var(--grad-hero-soft);
  color: var(--c-primary);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Breadcrumb ========== */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--c-text-muted);
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--c-text-muted);
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

.breadcrumb [aria-current="page"] {
  color: var(--c-text-soft);
  font-weight: 500;
}

/* ========== Layout ========== */
main {
  display: block;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px;
}

.section-alt {
  max-width: none;
  background: var(--c-bg-alt);
  border-radius: 0;
}

.section-alt > .section-head,
.section-alt > .content-block,
.section-alt > .card-grid,
.section-alt > .article-grid,
.section-alt > .faq-list,
.section-alt > .contact-grid,
.section-alt > .friend-links,
.section-alt > .case,
.section-alt > nav {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--grad-btn);
  border-radius: 2px;
}

.section-sub {
  font-size: 1rem;
  color: var(--c-text-muted);
  margin: 0;
}

.content-block {
  margin-bottom: 32px;
  padding: 32px;
  background: var(--c-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.content-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 68, 43, 0.25);
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h3 {
  position: relative;
  padding-left: 16px;
}

.content-block h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 4px;
  background: var(--grad-btn);
  border-radius: 2px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 24px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--grad-hero);
  box-shadow: var(--shadow-lg);
  min-height: 440px;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.22) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.12) 0%, transparent 40%);
  pointer-events: none;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 56px 64px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}

.slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slide-content h1,
.slide-content h2 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-lead strong {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  padding: 1px 6px;
  border-radius: 4px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  background: #fff;
  color: var(--c-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  color: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  color: #fff;
}

.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  animation: floatY 5s ease-in-out infinite;
}

.slide-visual svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border);
  transition: all 0.35s var(--ease);
  padding: 0;
}

.dot:hover {
  background: var(--c-primary-light);
  transform: scale(1.2);
}

.dot.is-active {
  width: 32px;
  border-radius: var(--radius-pill);
  background: var(--grad-btn);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--c-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 68, 43, 0.3);
}

.stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--c-primary);
}

.stat-label {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  text-align: center;
}

/* ========== Timeline ========== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-primary), var(--c-accent));
  border-radius: 2px;
  opacity: 0.5;
}

.timeline li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 18px;
  color: var(--c-text-soft);
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 3px solid var(--c-primary);
  box-shadow: 0 0 0 4px rgba(232, 68, 43, 0.12);
  transition: transform 0.3s var(--ease);
}

.timeline li:hover::before {
  transform: scale(1.2);
}

/* ========== Cards ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  padding: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 68, 43, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h4 {
  margin-bottom: 10px;
  color: var(--c-text);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

/* ========== Feature List ========== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.feature-list li {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 48px;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  color: var(--c-text-soft);
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-btn);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.feature-list li:hover {
  transform: translateX(4px);
  background: var(--c-surface);
  border-color: rgba(232, 68, 43, 0.3);
}

/* ========== Case & Quote ========== */
.case {
  padding: 28px 32px;
  margin-bottom: 24px;
  background: var(--c-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.case:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.case h3 {
  margin-bottom: 12px;
}

.case p {
  margin-bottom: 0;
}

blockquote {
  margin: 0 0 16px;
  padding: 20px 24px;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--c-accent);
  position: relative;
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  right: 20px;
  font-size: 3rem;
  line-height: 1;
  color: var(--c-primary);
  opacity: 0.15;
  font-family: Georgia, serif;
}

blockquote:last-child {
  margin-bottom: 0;
}

blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--c-text-soft);
}

/* ========== News ========== */
.news-item {
  padding: 28px 32px;
  margin-bottom: 20px;
  background: var(--c-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 68, 43, 0.25);
}

.news-item h3 {
  margin-bottom: 8px;
  transition: color 0.3s;
}

.news-item:hover h3 {
  color: var(--c-primary);
}

.news-item:last-child {
  margin-bottom: 0;
}

.meta {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}

/* ========== Article Grid ========== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.article-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--grad-hero-soft);
  border-radius: 0 0 0 100%;
  transition: transform 0.4s var(--ease);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 68, 43, 0.3);
}

.article-card:hover::after {
  transform: scale(1.3);
}

.article-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.article-card:hover h3 {
  color: var(--c-primary);
}

.article-card p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  flex: 1;
}

.read-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-primary);
  padding: 6px 0;
  position: relative;
  z-index: 1;
}

.read-more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* ========== Lists ========== */
.notice-list,
.prep-list,
.error-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list li,
.prep-list li,
.error-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  margin-bottom: 10px;
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  color: var(--c-text-soft);
  font-size: 0.92rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.notice-list li:last-child,
.prep-list li:last-child,
.error-list li:last-child {
  margin-bottom: 0;
}

.notice-list li:hover,
.prep-list li:hover,
.error-list li:hover {
  background: var(--c-surface);
  border-color: rgba(232, 68, 43, 0.3);
  transform: translateX(3px);
}

.notice-list li::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.prep-list li::before {
  content: "•";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-accent-2);
  font-size: 1.3rem;
  line-height: 1;
}

.error-list li::before {
  content: "×";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ========== Step List ========== */
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.step-list li {
  position: relative;
  counter-increment: step;
  padding: 18px 20px 18px 64px;
  margin-bottom: 14px;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  color: var(--c-text-soft);
  font-size: 0.93rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.step-list li:last-child {
  margin-bottom: 0;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-btn);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-primary);
}

.step-list li:hover {
  background: var(--c-surface);
  border-color: rgba(232, 68, 43, 0.3);
  transform: translateX(4px);
}

.step-list strong {
  color: var(--c-primary);
}

/* ========== FAQ ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(232, 68, 43, 0.3);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 68, 43, 0.35);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  transition: background 0.3s;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-hero-soft);
  color: var(--c-primary);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--grad-btn);
  color: #fff;
}

.faq-item summary:hover {
  background: var(--c-bg);
}

.faq-item summary h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  transition: color 0.3s;
}

.faq-item[open] summary h3 {
  color: var(--c-primary);
}

.faq-answer {
  padding: 0 24px 22px;
  animation: fadeIn 0.4s var(--ease);
}

.faq-answer p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-text-soft);
  padding-top: 4px;
  border-top: 1px dashed var(--c-border);
  padding-top: 16px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.contact-card {
  padding: 28px;
  background: var(--c-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 68, 43, 0.3);
}

.contact-card h3 {
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--c-border);
  position: relative;
}

.contact-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: var(--grad-btn);
}

.contact-card p {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--c-text-soft);
  word-break: break-word;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  font-weight: 600;
}

/* ========== Sitemap & Links ========== */
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}

.sitemap-list li {
  margin: 0;
}

.sitemap-list a {
  display: block;
  padding: 14px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-text-soft);
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, color 0.3s;
}

.sitemap-list a:hover {
  transform: translateX(4px);
  border-color: var(--c-primary);
  background: var(--grad-hero-soft);
  color: var(--c-primary);
}

.friend-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.friend-links li {
  margin: 0;
}

.friend-links a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  color: var(--c-text-soft);
  font-size: 0.88rem;
  transition: all 0.3s var(--ease);
}

.friend-links a:hover {
  background: var(--grad-btn);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--c-footer-bg);
  color: var(--c-footer-text);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-btn);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--grad-btn);
  border-radius: 2px;
}

.footer-col p {
  color: var(--c-footer-text);
  font-size: 0.88rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--c-footer-text);
  font-size: 0.88rem;
  transition: color 0.25s, padding-left 0.25s var(--ease);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--c-primary-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: var(--c-footer-text);
  opacity: 0.85;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-btn);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
  transition: transform 0.3s var(--ease), opacity 0.3s, box-shadow 0.3s;
  animation: fadeIn 0.4s var(--ease);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(232, 68, 43, 0.45);
}

.back-to-top[hidden] {
  display: none;
}

/* ========== Scroll Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .header-inner {
    gap: 16px;
  }

  .site-search input {
    width: 120px;
  }

  .site-search input:focus {
    width: 150px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 56px 20px;
  }

  .hero {
    padding: 0 16px;
  }

  .hero-slider {
    min-height: auto;
  }

  .slide {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    text-align: center;
    gap: 24px;
  }

  .slide.is-active {
    position: relative;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .slide-visual {
    order: -1;
  }

  .slide-visual svg {
    max-width: 220px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .content-block {
    padding: 24px;
  }

  .news-item,
  .case {
    padding: 24px;
  }

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

  .breadcrumb {
    padding: 12px 20px 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
    gap: 10px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-slogan {
    display: none;
  }

  .site-search {
    display: none;
  }

  .theme-toggle,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .section {
    padding: 44px 16px;
  }

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

  .hero {
    margin-top: 16px;
    padding: 0 12px;
  }

  .hero-slider {
    border-radius: var(--radius-lg);
  }

  .slide {
    padding: 32px 20px;
  }

  .hero-lead {
    font-size: 0.92rem;
  }

  .btn {
    padding: 11px 22px;
    font-size: 0.88rem;
  }

  .hero-cta .btn {
    flex: 1;
    min-width: 140px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .stat {
    padding: 18px 12px;
  }

  .content-block {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  .content-block h3 {
    padding-left: 12px;
    font-size: 1.08rem;
  }

  .content-block h3::before {
    width: 3px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .article-card {
    padding: 22px;
  }

  .faq-item summary {
    padding: 16px 18px;
    gap: 12px;
  }

  .faq-item summary h3 {
    font-size: 0.94rem;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

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

  .contact-card {
    padding: 22px;
  }

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

  .friend-links {
    flex-direction: column;
  }

  .friend-links a {
    display: block;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px 32px;
  }

  .footer-bottom {
    padding: 20px 16px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .step-list li {
    padding: 16px 16px 16px 56px;
  }

  .step-list li::before {
    left: 14px;
    width: 28px;
    height: 28px;
  }

  .notice-list li,
  .prep-list li,
  .error-list li {
    padding: 12px 14px 12px 40px;
  }

  blockquote {
    padding: 16px 18px;
  }

  .mobile-nav ul {
    grid-template-columns: 1fr;
    padding: 12px 16px 16px;
  }
}

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

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }
}
</details>