:root {
  --sfy-bg: #050b16;
  --sfy-bg-soft: #0b1323;
  --sfy-panel: rgba(11, 19, 35, 0.78);
  --sfy-panel-strong: rgba(15, 23, 42, 0.92);
  --sfy-border: rgba(148, 163, 184, 0.18);
  --sfy-text: #e8eef9;
  --sfy-text-muted: #93a4bf;
  --sfy-primary: #7dd3fc;
  --sfy-primary-strong: #38bdf8;
  --sfy-primary-deep: #2563eb;
  --sfy-success: #22c55e;
  --sfy-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
  --sfy-radius-xl: 28px;
  --sfy-radius-lg: 22px;
  --sfy-radius-md: 16px;
  --sfy-width: 1200px;
  --sfy-font: "Inter", "Inter-Loom", "Microsoft YaHei", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.sfy-theme {
  margin: 0;
  min-width: 320px;
  color: var(--sfy-text);
  background:
    radial-gradient(circle at top center, rgba(56, 189, 248, 0.15), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.18), transparent 18%),
    linear-gradient(180deg, #020617 0%, #07111d 32%, #050b16 100%);
  font: 16px/1.7 var(--sfy-font);
  position: relative;
}

body.sfy-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 85%);
  pointer-events: none;
  opacity: 0.28;
}

body.sfy-theme a {
  color: inherit;
  text-decoration: none;
}

body.sfy-theme a:focus-visible,
body.sfy-theme button:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.9);
  outline-offset: 3px;
}

body.sfy-theme img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sfy-shell {
  min-height: 100vh;
}

.sfy-container {
  width: min(var(--sfy-width), calc(100% - 48px));
  margin: 0 auto;
}

.sfy-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: rgba(4, 10, 24, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sfy-header.is-scrolled {
  background: rgba(3, 8, 20, 0.92);
  border-color: rgba(125, 211, 252, 0.12);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.34);
}

.sfy-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

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

.sfy-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.sfy-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sfy-brand-title {
  color: #f7fbff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sfy-brand-subtitle {
  color: rgba(173, 192, 219, 0.74);
  font-family: "Inter", "PingFang SC", sans-serif;
  font-size: 9px;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sfy-menu-toggle {
  display: none;
  border: 1px solid var(--sfy-border);
  background: rgba(12, 20, 38, 0.88);
  color: #f5f9ff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}

.sfy-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  background: rgba(8, 15, 30, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sfy-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(233, 241, 251, 0.88);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.sfy-nav a:hover {
  color: #ffffff;
  background: rgba(125, 211, 252, 0.1);
}

.sfy-nav a.is-current {
  color: #f8fbff;
  background: linear-gradient(135deg, rgba(27, 78, 168, 0.92) 0%, rgba(37, 99, 235, 0.88) 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.sfy-menu-toggle:focus-visible,
.sfy-nav a:focus-visible {
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.14);
}

.sfy-page-main {
  padding-bottom: 40px;
}

.sfy-section {
  padding: 68px 0;
}

.sfy-hero,
.sfy-page-hero {
  position: relative;
  overflow: hidden;
}

.sfy-hero::before,
.sfy-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.14), transparent 32%),
    radial-gradient(circle at 70% 25%, rgba(125, 211, 252, 0.12), transparent 18%);
  pointer-events: none;
}

.sfy-hero::after,
.sfy-page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.sfy-hero-grid,
.sfy-grid-two,
.sfy-product-hero,
.sfy-contact-grid,
.sfy-footer-grid {
  display: grid;
  gap: 28px;
}

.sfy-hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  align-items: center;
}

.sfy-home-hero {
  padding-top: 64px;
}

.sfy-product-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
}

.sfy-grid-two,
.sfy-contact-grid,
.sfy-footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sfy-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--sfy-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sfy-hero h1,
.sfy-page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.sfy-page-hero h1 {
  max-width: 860px;
  font-size: clamp(32px, 4vw, 52px);
}

.sfy-hero p,
.sfy-page-hero p {
  margin: 20px 0 0;
  max-width: 700px;
  color: var(--sfy-text-muted);
  font-size: 18px;
}

.sfy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.sfy-hero-copy {
  position: relative;
  z-index: 1;
}

.sfy-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.sfy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  background: rgba(15, 23, 42, 0.5);
  color: rgba(232, 238, 249, 0.92);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.sfy-button,
.sfy-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sfy-button {
  color: #041019;
  background: linear-gradient(135deg, #7dd3fc 0%, #60a5fa 100%);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.22);
}

.sfy-button-secondary {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.5);
  color: var(--sfy-text);
}

.sfy-button:hover,
.sfy-button-secondary:hover {
  transform: translateY(-2px);
}

.sfy-card {
  background: var(--sfy-panel);
  border: 1px solid var(--sfy-border);
  border-radius: var(--sfy-radius-lg);
  box-shadow: var(--sfy-shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.sfy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%);
  pointer-events: none;
}

.sfy-hero-panel,
.sfy-copy-card,
.sfy-contact-card,
.sfy-product-icon-panel,
.sfy-about-panel,
.sfy-spotlight-panel,
.sfy-highlight,
.sfy-mini-card {
  padding: 28px;
}

.sfy-hero-panel {
  display: grid;
  gap: 16px;
}

.sfy-hero-visual {
  position: relative;
  min-height: 100%;
  padding: 30px;
}

.sfy-hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.sfy-visual-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.18);
  color: var(--sfy-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sfy-visual-title {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.2;
}

.sfy-visual-copy {
  margin: 0;
  color: var(--sfy-text-muted);
}

.sfy-metric-grid,
.sfy-story-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

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

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

.sfy-metric-card,
.sfy-story-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.32);
}

.sfy-metric-card strong,
.sfy-story-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.sfy-metric-card span,
.sfy-story-card span {
  display: block;
  margin-top: 8px;
  color: var(--sfy-text-muted);
  font-size: 14px;
}

.sfy-stat {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.sfy-stat:last-child {
  border-bottom: 0;
}

.sfy-stat strong,
.sfy-copy-card h2,
.sfy-contact-card h2,
.sfy-section-head h2,
.sfy-product-card h3,
.sfy-mini-card h3,
.sfy-footer-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.sfy-stat span,
.sfy-copy-card p,
.sfy-contact-card p,
.sfy-section-head p,
.sfy-product-card p,
.sfy-mini-card p,
.sfy-footer-copy,
.sfy-meta {
  color: var(--sfy-text-muted);
}

.sfy-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.sfy-section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.sfy-section-head p {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
}

.sfy-spotlight-panel {
  display: grid;
  gap: 20px;
}

.sfy-spotlight-panel h2,
.sfy-about-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.sfy-spotlight-panel p,
.sfy-about-panel p {
  margin: 0;
  color: var(--sfy-text-muted);
  font-size: 17px;
}

.sfy-list-compact {
  display: grid;
  gap: 12px;
}

.sfy-copy-card .sfy-list-compact {
  margin-top: 18px;
}

.sfy-list-compact div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.sfy-list-compact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.sfy-list-compact span {
  display: block;
  color: var(--sfy-text-muted);
  font-size: 14px;
}

.sfy-highlights,
.sfy-product-grid,
.sfy-shot-grid,
.sfy-link-list {
  display: grid;
  gap: 22px;
}

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

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

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

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

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

.sfy-mini-card {
  min-height: 100%;
}

.sfy-mini-card h3,
.sfy-product-card h3 {
  margin-top: 20px;
  font-size: 22px;
}

.sfy-mini-card p,
.sfy-product-card p,
.sfy-copy-card p,
.sfy-contact-card p {
  margin: 12px 0 0;
}

.sfy-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sfy-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.28);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.5);
}

.sfy-product-card .sfy-meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--sfy-primary);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sfy-product-card img,
.sfy-product-icon-panel img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.sfy-product-card-portal {
  justify-content: center;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(11, 19, 35, 0.94)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 38%);
}

.sfy-product-card-portal img {
  width: 60px;
  height: 60px;
}

.sfy-product-card-portal h3 {
  margin-top: 16px;
}

.sfy-product-card-portal .sfy-meta {
  color: #dbeafe;
}

.sfy-product-icon-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.sfy-product-icon-panel img {
  width: 144px;
  height: 144px;
}

.sfy-shot-grid img {
  width: 100%;
  border-radius: var(--sfy-radius-md);
  border: 1px solid var(--sfy-border);
  background: rgba(15, 23, 42, 0.86);
}

.sfy-footer {
  margin-top: 40px;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.sfy-footer-grid {
  align-items: start;
}

.sfy-footer-title {
  margin-bottom: 10px;
  font-size: 18px;
}

.sfy-footer-copy {
  margin: 0;
}

.sfy-contact-stack {
  display: grid;
  gap: 18px;
}

.sfy-contact-note {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.28);
}

.sfy-contact-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.sfy-contact-note p {
  margin: 0;
  color: var(--sfy-text-muted);
}

.sfy-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.sfy-footer-nav a {
  color: var(--sfy-text-muted);
}

.sfy-footer-nav a:hover,
.sfy-contact-card a:hover {
  color: var(--sfy-primary);
}

.sfy-empty-copy {
  min-height: 3.4em;
}

@media (max-width: 1080px) {
  .sfy-hero-grid,
  .sfy-product-hero,
  .sfy-grid-two,
  .sfy-contact-grid,
  .sfy-footer-grid,
  .sfy-highlights,
  .sfy-product-grid,
  .sfy-shot-grid,
  .sfy-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sfy-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .sfy-container {
    width: min(100% - 32px, 100%);
  }

  .sfy-header-inner {
    min-height: 60px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 0;
  }

  .sfy-menu-toggle {
    display: inline-flex;
  }

  .sfy-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: 0;
    padding: 10px;
    padding-top: 8px;
    border-radius: 22px;
  }

  .sfy-nav.is-open {
    display: flex;
  }

  .sfy-nav a {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .sfy-hero-grid,
  .sfy-product-hero,
  .sfy-grid-two,
  .sfy-contact-grid,
  .sfy-footer-grid,
  .sfy-highlights,
  .sfy-product-grid,
  .sfy-shot-grid,
  .sfy-link-list {
    grid-template-columns: 1fr;
  }

  .sfy-section {
    padding: 56px 0;
  }

  .sfy-hero-panel,
  .sfy-hero-visual,
  .sfy-copy-card,
  .sfy-contact-card,
  .sfy-product-icon-panel,
  .sfy-about-panel,
  .sfy-highlight,
  .sfy-mini-card,
  .sfy-product-card {
    padding: 24px;
  }

  .sfy-footer-nav {
    justify-content: flex-start;
  }

  .sfy-metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .sfy-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sfy-brand img {
    width: 40px;
    height: 40px;
  }

  .sfy-brand {
    gap: 8px;
  }

  .sfy-brand-title {
    font-size: 14px;
  }

  .sfy-brand-subtitle {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .sfy-home-hero {
    padding-top: 44px;
  }

  .sfy-hero h1,
  .sfy-page-hero h1 {
    font-size: clamp(28px, 11vw, 40px);
  }

  .sfy-hero p,
  .sfy-page-hero p {
    font-size: 16px;
  }
}
