:root {
  --brand-navy: #1a2b48;
  --brand-navy-deep: #101c30;
  --brand-orange: #f5a623;
  --brand-orange-soft: #ffc35c;
  --brand-blue: #3d7bff;
  --brand-violet: #7a5cff;
  --brand-teal: #14c8b8;
  --bg-page: #f4f6fb;
  --bg-surface: #ffffff;
  --bg-surface-2: #eef2fa;
  --bg-glass: rgba(255, 255, 255, 0.65);
  --bg-glass-strong: rgba(255, 255, 255, 0.85);
  --border-soft: rgba(26, 43, 72, 0.1);
  --border-strong: rgba(26, 43, 72, 0.18);
  --text-main: #16233a;
  --text-sub: #4a5a75;
  --text-mute: #7a8aa5;
  --text-invert: #ffffff;
  --shadow-sm: 0 2px 10px rgba(16, 28, 48, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 28, 48, 0.1);
  --shadow-lg: 0 24px 60px rgba(16, 28, 48, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --grad-hero: linear-gradient(125deg, #101c30 0%, #1a2b48 38%, #2a4a8a 72%, #3d7bff 100%);
  --grad-accent: linear-gradient(120deg, #f5a623 0%, #ff8a3d 100%);
  --grad-cool: linear-gradient(120deg, #3d7bff 0%, #7a5cff 100%);
  --grad-teal: linear-gradient(120deg, #14c8b8 0%, #3d7bff 100%);
  --grad-text: linear-gradient(100deg, #f5a623 0%, #ffc35c 55%, #3d7bff 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html[data-theme="dark"] {
  --bg-page: #0b1220;
  --bg-surface: #131c2e;
  --bg-surface-2: #1a2540;
  --bg-glass: rgba(19, 28, 46, 0.62);
  --bg-glass-strong: rgba(19, 28, 46, 0.88);
  --border-soft: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-main: #eaf0ff;
  --text-sub: #a9b8d4;
  --text-mute: #7c8bab;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.55);
  --grad-hero: linear-gradient(125deg, #070d18 0%, #101c30 40%, #1b3060 74%, #2b56b8 100%);
}

*,
*::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(--text-main);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(60rem 40rem at 8% -10%, rgba(61, 123, 255, 0.14), transparent 60%),
    radial-gradient(50rem 36rem at 100% 0%, rgba(245, 166, 35, 0.12), transparent 58%),
    radial-gradient(46rem 34rem at 50% 110%, rgba(20, 200, 184, 0.1), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #2f63d8;
  text-decoration: none;
  transition: color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

html[data-theme="dark"] a {
  color: #8fb4ff;
}

a:hover,
a:focus-visible {
  color: var(--brand-orange);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

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

h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem);
}

h3 {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
}

h4 {
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.18rem);
}

:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.75);
  outline-offset: 3px;
  border-radius: 6px;
}

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

::selection {
  background: rgba(245, 166, 35, 0.35);
  color: var(--text-main);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(61, 123, 255, 0.55), rgba(122, 92, 255, 0.55));
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.8), rgba(255, 138, 61, 0.8));
  background-clip: padding-box;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-soft);
}

.topbar-note {
  margin: 0;
  letter-spacing: 0.02em;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.topbar-nav a {
  color: var(--text-sub);
  position: relative;
}

.topbar-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transition: width 0.3s var(--ease-out);
}

.topbar-nav a:hover::after,
.topbar-nav a:focus-visible::after {
  width: 100%;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  color: var(--text-main);
  font-weight: 800;
}

.brand:hover {
  color: var(--text-main);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(26, 43, 72, 0.28);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s var(--ease-out);
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.35);
}

.brand-name {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
}

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

.main-nav a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: color 0.25s var(--ease-out), background 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text-main);
  background: rgba(61, 123, 255, 0.12);
  transform: translateY(-2px);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-search:focus-within {
  border-color: rgba(61, 123, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(61, 123, 255, 0.14);
}

.site-search input {
  width: 190px;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-main);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

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

.site-search button {
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
  color: #1a1206;
  font-size: 0.86rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out),
    filter 0.3s var(--ease-out);
}

.site-search button:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.4);
  filter: saturate(1.1);
}

.menu-toggle {
  display: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.menu-toggle:hover {
  background: var(--bg-surface-2);
  transform: translateY(-1px);
}

.mobile-menu {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.5rem 1.25rem 1rem;
  border-top: 1px dashed var(--border-soft);
  animation: slideDown 0.35s var(--ease-out) both;
}

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

.mobile-menu ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-2);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-menu a:hover {
  background: rgba(61, 123, 255, 0.16);
}

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

/* ============ Breadcrumb ============ */
.breadcrumb {
  max-width: var(--container);
  margin: 1rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-mute);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--text-mute);
  opacity: 0.6;
}

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

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

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

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(1.75rem, 1rem + 3vw, 3.25rem) clamp(1rem, 0.6rem + 1.6vw, 2rem);
  border-radius: var(--radius-xl);
  background: var(--bg-glass-strong);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  margin-top: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.7s var(--ease-out) both;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue), var(--brand-violet), var(--brand-teal));
  opacity: 0.85;
}

.section > h2 {
  position: relative;
  padding-left: 1rem;
}

.section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
}

.section > h3 {
  margin-top: 1.75rem;
  color: var(--text-main);
}

.section > h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--grad-cool);
  opacity: 0.7;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ Hero ============ */
.hero {
  max-width: var(--container);
  margin: clamp(1rem, 0.6rem + 1.2vw, 1.75rem) auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
  align-items: stretch;
}

.hero-slider {
  position: relative;
  padding: clamp(1.5rem, 0.9rem + 2.6vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  color: var(--text-invert);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.5), transparent 62%);
  filter: blur(10px);
  z-index: -1;
  animation: pulseGlow 9s ease-in-out infinite alternate;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: auto auto -45% -18%;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 200, 184, 0.38), transparent 64%);
  filter: blur(8px);
  z-index: -1;
  animation: pulseGlow 11s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
  from {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.75;
  }
  to {
    transform: scale(1.18) translate3d(-2%, 3%, 0);
    opacity: 1;
  }
}

.hero-slider .slide {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s var(--ease-out) both;
}

.hero-slider .slide[hidden] {
  display: none;
}

.hero-slider h1,
.hero-slider h2 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-slider h1 {
  max-width: 22ch;
  background: linear-gradient(100deg, #ffffff 0%, #ffe6b8 55%, #bcd3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-slider p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 62ch;
  font-size: clamp(0.92rem, 0.86rem + 0.3vw, 1.02rem);
}

.hero-lead {
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.btn-primary {
  background: var(--grad-accent);
  color: #1a1206;
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.42);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #1a1206;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(245, 166, 35, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.75rem;
  position: relative;
  z-index: 1;
}

.slider-dots button {
  width: 34px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  color: transparent;
  font-size: 0;
  cursor: pointer;
  transition: background 0.35s var(--ease-out), width 0.35s var(--ease-out);
}

.slider-dots button[aria-selected="true"] {
  width: 54px;
  background: var(--grad-accent);
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.65);
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-stats {
  display: flex;
  align-items: center;
  padding: clamp(1rem, 0.7rem + 1.4vw, 1.75rem);
  border-radius: var(--radius-xl);
  background: var(--bg-glass-strong);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
}

.hero-stats ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 1rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.hero-stats li:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 166, 35, 0.55);
  box-shadow: 0 16px 34px rgba(245, 166, 35, 0.22);
}

.stat-num {
  display: block;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem);
  font-weight: 900;
  line-height: 1.2;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

/* ============ About ============ */
.timeline {
  counter-reset: tl;
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
  position: relative;
}

.timeline li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2.4rem;
  color: var(--text-sub);
  counter-increment: tl;
}

.timeline li::before {
  content: counter(tl);
  position: absolute;
  left: 0;
  top: 0.72rem;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-cool);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(61, 123, 255, 0.35);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 2.15rem;
  bottom: -0.3rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(61, 123, 255, 0.4), rgba(122, 92, 255, 0.05));
}

.timeline li:last-child::after {
  display: none;
}

.timeline strong {
  color: var(--text-main);
}

.meta-line {
  margin-top: 1.25rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-2);
  border-left: 4px solid var(--brand-orange);
  font-size: 0.85rem;
  color: var(--text-mute);
}

/* ============ Products ============ */
.products {
  display: block;
}

.product-card {
  position: relative;
  margin: 0 0 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-accent);
  opacity: 0.9;
  transition: width 0.4s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 123, 255, 0.4);
  box-shadow: var(--shadow-md);
}

.product-card:hover::before {
  width: 8px;
}

.product-card h4 {
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.product-card p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.95rem;
}

.products ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 0;
  list-style: none;
}

.products ul li {
  position: relative;
  padding: 0.55rem 0.85rem 0.55rem 2rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-2);
  color: var(--text-sub);
  font-size: 0.94rem;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.products ul li::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

.products ul li:hover {
  background: rgba(61, 123, 255, 0.1);
  transform: translateX(4px);
}

.products ul li strong {
  color: var(--text-main);
}

/* ============ Solutions ============ */
.solutions h3 {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(61, 123, 255, 0.1), rgba(122, 92, 255, 0.06));
  border-left: 4px solid var(--brand-blue);
  color: var(--text-main);
}

.solutions h3::after {
  display: none;
}

.solutions p {
  color: var(--text-sub);
}

.solutions p:last-child {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-2);
  border: 1px dashed var(--border-strong);
  color: var(--text-sub);
}

/* ============ Scenarios ============ */
.scenario-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario-list li {
  position: relative;
  padding: 1.1rem 1.15rem 1.1rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-size: 0.94rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}

.scenario-list li::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 200, 184, 0.22), transparent 68%);
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
  opacity: 0.5;
}

.scenario-list li:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 200, 184, 0.5);
  box-shadow: var(--shadow-md);
}

.scenario-list li:hover::after {
  transform: scale(1.5);
  opacity: 1;
}

.scenario-list strong {
  color: var(--text-main);
  display: inline-block;
  margin-right: 0.15rem;
}

/* ============ Cases ============ */
.cases h3 {
  margin-top: 1.6rem;
}

.cases blockquote {
  margin: 0 0 0.9rem;
  padding: 1rem 1.2rem 1rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(245, 166, 35, 0.12), rgba(61, 123, 255, 0.08));
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand-orange);
  position: relative;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out);
}

.cases blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.65rem;
  top: -0.35rem;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--brand-orange);
  opacity: 0.35;
  font-family: Georgia, "Times New Roman", serif;
}

.cases blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.cases blockquote p {
  margin: 0;
  color: var(--text-sub);
  font-style: italic;
}

/* ============ News ============ */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  border-bottom: 1px dashed var(--border-soft);
  color: var(--text-sub);
  font-size: 0.95rem;
  transition: background 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list li:hover {
  background: var(--bg-surface-2);
  padding-left: 1.3rem;
}

.news-list time {
  flex-shrink: 0;
  padding: 0.12rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--grad-cool);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ============ Articles ============ */
.articles > p {
  color: var(--text-sub);
}

.article-card {
  position: relative;
  margin: 0 0 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}

.article-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(122, 92, 255, 0.4);
  box-shadow: var(--shadow-md);
}

.article-card:hover::after {
  transform: scaleX(1);
}

.article-card h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.2rem);
}

.article-card h3 a {
  color: var(--text-main);
  background-image: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease-out), color 0.3s var(--ease-out);
}

.article-card h3 a:hover,
.article-card h3 a:focus-visible {
  color: var(--brand-orange);
  background-size: 100% 2px;
}

.article-meta {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.article-card p {
  color: var(--text-sub);
  font-size: 0.94rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-blue);
}

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

.read-more:hover::after,
.read-more:focus-visible::after {
  transform: translateX(5px);
}

/* ============ HowTo ============ */
.howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.howto ol > li {
  position: relative;
  padding: 0.8rem 1rem 0.8rem 3.2rem;
  margin-bottom: 0.6rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  counter-increment: step;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.howto ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--grad-accent);
  color: #1a1206;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
}

.howto ol > li:hover {
  transform: translateX(6px);
  border-color: rgba(245, 166, 35, 0.5);
  box-shadow: var(--shadow-sm);
}

.howto ol > li strong {
  color: var(--text-main);
}

.howto ul {
  list-style: none;
  padding-left: 0;
}

.howto ul > li {
  position: relative;
  padding: 0.45rem 0.6rem 0.45rem 1.85rem;
  color: var(--text-sub);
  font-size: 0.94rem;
}

.howto ul > li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--grad-cool);
}

.howto p:last-child {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(20, 200, 184, 0.14), rgba(61, 123, 255, 0.1));
  border-left: 4px solid var(--brand-teal);
  color: var(--text-main);
  font-weight: 600;
}

/* ============ Knowledge ============ */
.knowledge p {
  color: var(--text-sub);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-soft);
  font-size: 0.95rem;
}

/* ============ FAQ ============ */
.faq details {
  margin-bottom: 0.65rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.faq details:hover {
  border-color: rgba(61, 123, 255, 0.4);
}

.faq details[open] {
  border-color: rgba(245, 166, 35, 0.55);
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.14);
}

.faq summary {
  position: relative;
  padding: 0.95rem 3rem 0.95rem 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  color: var(--brand-blue);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.4s var(--ease-spring), background 0.3s var(--ease-out),
    color 0.3s var(--ease-out);
}

.faq details[open] summary::after {
  content: "\2212";
  background: var(--grad-accent);
  color: #1a1206;
  transform: translateY(-50%) rotate(180deg);
}

.faq summary:hover {
  background: var(--bg-surface-2);
}

.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--text-sub);
  font-size: 0.94rem;
  animation: fadeUp 0.4s var(--ease-out) both;
}

/* ============ Notice ============ */
.notice p {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(245, 166, 35, 0.14), rgba(255, 138, 61, 0.08));
  border-left: 4px solid var(--brand-orange);
  color: var(--text-sub);
  font-size: 0.94rem;
}

/* ============ Contact ============ */
.contact address {
  font-style: normal;
}

.contact address ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact address li {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-size: 0.93rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.contact address li:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 200, 184, 0.5);
  box-shadow: var(--shadow-sm);
}

.contact address li:first-child {
  background: var(--grad-cool);
  color: #fff;
  font-weight: 800;
  border-color: transparent;
}

/* ============ Sitemap & Links ============ */
.sitemap ul,
.links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap a,
.links a {
  display: inline-block;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease-spring), background 0.3s var(--ease-out),
    color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.sitemap a:hover,
.sitemap a:focus-visible,
.links a:hover,
.links a:focus-visible {
  transform: translateY(-3px);
  background: var(--grad-accent);
  border-color: transparent;
  color: #1a1206;
}

/* ============ Footer ============ */
.site-footer {
  margin-top: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
  padding: clamp(1.75rem, 1rem + 2.6vw, 3rem) clamp(1rem, 0.6rem + 1.6vw, 2rem)
    clamp(1.25rem, 0.8rem + 1.4vw, 2rem);
  background: var(--grad-hero);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 123, 255, 0.32), transparent 66%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: auto -12% -40% auto;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.26), transparent 66%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.5rem);
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer h2 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.footer-main section:first-child h2 {
  font-size: 1.35rem;
  background: linear-gradient(100deg, #ffffff 0%, #ffe6b8 60%, #bcd3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

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

.site-footer nav ul li,
.footer-main section ul li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  position: relative;
  transition: color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}

.site-footer a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-orange);
  transform: translateY(-50%);
  transition: width 0.3s var(--ease-out);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  padding-left: 0.85rem;
}

.site-footer a:hover::before,
.site-footer a:focus-visible::before {
  width: 0.55rem;
}

.footer-block {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.footer-block:last-of-type {
  border-bottom: 0;
}

.footer-block h2 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.footer-block p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.66);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

/* ============ Floating Buttons ============ */
.back-to-top,
.theme-toggle {
  position: fixed;
  right: clamp(0.85rem, 0.6rem + 1vw, 1.75rem);
  z-index: 120;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-glass-strong);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease-spring), background 0.35s var(--ease-out),
    color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.back-to-top {
  bottom: clamp(0.85rem, 0.6rem + 1vw, 1.75rem);
}

.theme-toggle {
  bottom: calc(clamp(0.85rem, 0.6rem + 1vw, 1.75rem) + 3.1rem);
}

.back-to-top:hover,
.back-to-top:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-4px) scale(1.03);
  background: var(--grad-accent);
  color: #1a1206;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(245, 166, 35, 0.42);
}

/* ============ Scroll Reveal ============ */
.section,
.product-card,
.article-card,
.scenario-list li,
.cases blockquote,
.news-list li,
.faq details,
.contact address li {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .header-main {
    flex-wrap: wrap;
  }
  .site-search {
    order: 3;
    flex: 1 1 100%;
  }
  .site-search input {
    width: 100%;
    flex: 1 1 auto;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-stats ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-main > section:first-child {
    grid-column: 1 / -1;
  }
  .article-card,
  .product-card {
    padding: 1.1rem 1.15rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  .topbar {
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
  }
  .topbar-note {
    width: 100%;
  }
  .topbar-nav {
    justify-content: center;
  }
  .header-main {
    gap: 0.6rem;
    padding: 0.6rem 1rem;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .hero {
    padding: 0 1rem;
  }
  .hero-slider {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-lg);
  }
  .hero-slider h1 {
    max-width: none;
  }
  .hero-actions {
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    flex: 1 1 auto;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
  }
  .hero-stats ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    border-radius: var(--radius-lg);
    padding: 1.35rem 1rem;
    margin-left: 0.6rem;
    margin-right: 0.6rem;
  }
  .scenario-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact address ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .mobile-menu ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .back-to-top,
  .theme-toggle {
    padding: 0.5rem 0.85rem;
    font-size: 0.76rem;
  }
  .timeline li {
    padding-left: 2.15rem;
  }
  .howto ol > li {
    padding-left: 2.9rem;
  }
}

@media (max-width: 380px) {
  .hero-stats ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-search {
    flex-wrap: wrap;
  }
  .site-search button {
    width: 100%;
  }
}