:root {
  --bg: #f5f8fc;
  --bg-deep: #071a33;
  --surface: #ffffff;
  --text: #10233f;
  --muted: #5b6b82;
  --line: rgba(var(--bg-deep-rgb), 0.1);
  --brand: #0b63e5;
  --brand-deep: #0847a8;
  --accent: #14b8a6;
  --footer: #07111f;
  --highlight: #7dd3fc;
  --brand-rgb: 11, 99, 229;
  --accent-rgb: 20, 184, 166;
  --bg-deep-rgb: 7, 26, 51;
  --bg-rgb: 245, 248, 252;
  --shadow: 0 24px 60px rgba(var(--bg-deep-rgb), 0.12);
  --radius: 18px;
  --container: 1160px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Sora", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(var(--brand-rgb), 0.12), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(var(--accent-rgb), 0.1), transparent 55%),
    var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.container.narrow { max-width: 520px; padding: 4rem 0; text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 8px 24px rgba(var(--bg-deep-rgb), 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, var(--brand), #38bdf8 55%, var(--accent));
  box-shadow: 0 8px 18px rgba(var(--brand-rgb), 0.35);
  flex-shrink: 0;
  object-fit: contain;
}
.brand-mark-img {
  background: transparent;
  box-shadow: none;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-links > .nav-item > a,
.nav-trigger,
.nav-text,
.lang-switch {
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  background: transparent;
  padding: .45rem .7rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}
.nav-links > .nav-item > a {
  display: inline-flex;
  padding: .45rem .7rem;
  border-radius: 999px;
}
.nav-caret {
  width: 10px;
  height: 7px;
  transition: transform .2s ease;
}
.nav-item.has-dropdown.open .nav-caret,
.nav-item.has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}
.nav-links > .nav-item > a:hover,
.nav-trigger:hover,
.nav-text:hover,
.nav-item.has-dropdown.open > .nav-trigger {
  color: var(--text);
  background: rgba(var(--brand-rgb), 0.06);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(var(--bg-deep-rgb), 0.12);
  display: none;
  z-index: 60;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.open .nav-dropdown {
  display: grid;
  gap: .15rem;
}
.nav-dropdown a {
  display: block;
  padding: .65rem .8rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
}
.nav-dropdown a:hover {
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--brand);
}
.nav-dropdown-all {
  color: var(--brand) !important;
  border-bottom: 1px solid var(--line);
  border-radius: 10px 10px 0 0 !important;
  margin-bottom: .2rem;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: .92rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(var(--brand-rgb), 0.28);
}
.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost.light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(var(--bg-deep-rgb), 0.04), transparent 40%),
    url('/img/hero-pattern.svg') center/cover no-repeat;
  opacity: .9;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
}
.brand-hero {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--brand), #0ea5e9 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .35rem;
}
.hero-title {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0;
}
.lead {
  margin: 1.2rem 0 1.8rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: floatY 6s ease-in-out infinite;
}
.hero-visual img { width: 100%; height: auto; }

.trust { padding: 1rem 0 3rem; }
.section-kicker {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  gap: .8rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logo-pill {
  min-width: 150px;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
  color: #31465f;
}
.logo-pill-image {
  min-width: 120px;
  padding: .55rem .9rem;
  display: grid;
  place-items: center;
}
.logo-pill-image img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.case-banner { padding: 1rem 0 3rem; }
.case-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: 28px;
  background:
    radial-gradient(500px 240px at 90% 10%, rgba(56, 189, 248, 0.25), transparent 60%),
    linear-gradient(145deg, var(--bg-deep), #020912 70%);
  color: #fff;
  box-shadow: var(--shadow);
}
.case-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.case-copy h2 span { color: var(--highlight); }
.case-copy p { color: rgba(255, 255, 255, 0.78); }
.case-visual {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.section { padding: 4rem 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -.03em;
  margin: 0 0 .8rem;
}
.section-head p { color: var(--muted); margin: 0; }
.merchant-count {
  margin-top: .9rem !important;
  color: var(--brand) !important;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.product-item {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-item h3 {
  margin: .8rem 0 .4rem;
  font-size: 1.05rem;
}
.product-item p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.15), rgba(var(--accent-rgb), 0.18));
  position: relative;
}
.product-icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.product-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #edf2f8;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.solution-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}
.solution-media {
  border-radius: 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--brand) 8%, #fff);
}
.solution-body h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.solution-body p { margin: 0 0 .7rem; color: var(--muted); }
.text-link {
  color: var(--brand);
  font-weight: 700;
}
.text-link:hover { color: var(--brand-deep); }

.quote-panel {
  margin: 0;
  padding: 2rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.quote-panel p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin: 0 0 1.2rem;
}
.quote-panel footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-item {
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--brand) 6%, #fff));
  border: 1px solid var(--line);
}
.step {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: .8rem;
}
.service-item h3 { margin: 0 0 .6rem; }
.service-item p { margin: 0; color: var(--muted); }
.service-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: .9rem;
  background: #edf2f8;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.security-item {
  padding: 1.3rem;
  border-radius: 18px;
  background: rgba(var(--bg-deep-rgb), 0.92);
  color: #fff;
}
.security-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: .8rem;
  background: rgba(255, 255, 255, 0.08);
}
.security-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .5rem;
}
.security-item h3 { margin: 0 0 .4rem; }
.security-item p { margin: 0; color: rgba(255, 255, 255, 0.72); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.news-item {
  padding: 1.4rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
.news-cover {
  display: block;
  margin: -1.4rem -1.4rem 1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #edf2f8;
}
.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item time {
  display: block;
  color: var(--brand);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: .5rem;
}
.news-item h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.news-item p { margin: 0; color: var(--muted); }
.news-item .text-link { display: inline-block; margin-top: .85rem; }

.product-link,
.service-link {
  display: block;
  color: inherit;
  height: 100%;
}
.product-link .text-link,
.service-link .text-link {
  display: inline-block;
  margin-top: .85rem;
}

.detail-page { padding-bottom: 2rem; }
.detail-hero {
  padding: 2.5rem 0 1.5rem;
  background:
    linear-gradient(180deg, rgba(var(--brand-rgb), 0.08), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 1.2rem;
}
.breadcrumb a:hover { color: var(--brand); }
.detail-date {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: .7rem;
}
.detail-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 .8rem;
  max-width: 18ch;
}
.detail-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.detail-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.detail-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem 1.6rem 1.8rem;
  box-shadow: 0 18px 40px rgba(var(--bg-deep-rgb), 0.05);
}
.detail-cover {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  background: color-mix(in srgb, var(--brand) 8%, #fff);
}
.detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.detail-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(var(--brand-rgb), 0.08);
  margin-bottom: 1.2rem;
}
.detail-body {
  font-size: 1.05rem;
  color: var(--text);
}
.detail-body p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.detail-body p:last-child { margin-bottom: 0; }
.detail-body h2,
.detail-body h3,
.detail-body h4 {
  margin: 1.4rem 0 .7rem;
  color: var(--text);
  line-height: 1.35;
}
.detail-body ul,
.detail-body ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: var(--muted);
}
.detail-body li { margin: .35rem 0; }
.detail-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.detail-body img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 12px;
}
.detail-body blockquote {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border-left: 3px solid rgba(var(--brand-rgb), 0.45);
  background: rgba(var(--brand-rgb), 0.06);
  color: var(--muted);
  width: 100%;
  box-sizing: border-box;
}
.detail-body pre,
.detail-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .92em;
}
.detail-body pre {
  overflow-x: auto;
  padding: .9rem 1rem;
  border-radius: 12px;
  background: #0f172a0d;
  margin: 0 0 1rem;
  width: 100%;
  box-sizing: border-box;
  white-space: pre-wrap;
  word-break: break-word;
}
.detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}
.detail-body th,
.detail-body td {
  border: 1px solid var(--line);
  padding: .5rem .7rem;
  vertical-align: top;
}
.detail-body figure {
  margin: 0 0 1rem;
}
.detail-body figure img {
  margin: 0;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.detail-aside h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}
.related-list {
  display: grid;
  gap: .75rem;
}
.related-list a {
  display: block;
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.related-list a:hover {
  border-color: rgba(var(--brand-rgb), 0.35);
  transform: translateY(-2px);
}
.related-list strong {
  display: block;
  margin-bottom: .35rem;
}
.related-list span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.cta-band { padding: 1rem 0 4rem; }
.cta-panel {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(56, 189, 248, 0.28), transparent 55%),
    linear-gradient(135deg, var(--brand), var(--bg-deep));
}
.cta-panel h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 .8rem;
}
.cta-panel p {
  max-width: 640px;
  margin: 0 auto 1.4rem;
  color: rgba(255, 255, 255, 0.82);
}
.cta-panel .hero-actions { justify-content: center; }

.lead-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.lead-form-title {
  text-align: center;
  margin: 0 0 1rem !important;
  font-weight: 600;
}
.lead-form {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 1.2rem;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-bottom: 1rem;
}
.lead-form label {
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.9);
}
.lead-form label.lead-full { grid-column: 1 / -1; }
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: .75rem .9rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.lead-form .btn { width: 100%; justify-content: center; }
.lead-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}
.lead-success,
.lead-error {
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-align: center;
  font-weight: 600;
}
.lead-success {
  background: rgba(20, 184, 166, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.45);
}
.lead-error {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  margin-bottom: .9rem;
}
@media (max-width: 640px) {
  .lead-grid { grid-template-columns: 1fr; }
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.5rem;
}
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); }
.contact-list { margin-top: 1rem; display: grid; gap: .55rem; font-size: .92rem; }
.contact-list strong { color: #fff; margin-right: .35rem; }
.footer-col h4 {
  color: #fff;
  margin: 0 0 .9rem;
  font-size: .95rem;
}
.footer-col a {
  display: block;
  padding: .25rem 0;
  color: rgba(255, 255, 255, 0.68);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: .9rem;
}
.footer-bottom a,
.contact-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover,
.contact-list a:hover { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 960px) {
  .hero-grid,
  .case-panel,
  .solution-item,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .product-grid,
  .service-grid,
  .security-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero { min-height: auto; padding-top: 2.5rem; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.2rem 1.4rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
  }
  .nav-trigger,
  .nav-links > .nav-item > a {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin-top: .25rem;
    box-shadow: none;
    border-color: #e8eef7;
    background: #f7faff;
  }
  .nav-item.has-dropdown:hover .nav-dropdown {
    display: none;
  }
  .nav-item.has-dropdown.open .nav-dropdown {
    display: grid;
  }
  .nav-actions { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .product-grid,
  .service-grid,
  .security-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .solution-item { grid-template-columns: 1fr; }
}
