.cards-grid article.highlight {
  position: relative;
  border: 1px solid rgba(14, 165, 233, 0.45);
  box-shadow: 0 20px 48px rgba(14, 165, 233, 0.25);
}

.cards-grid article.highlight::after {
  content: "核心团队";
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.85);
  color: #0f172a;
  font-weight: 600;
  letter-spacing: 0.06em;
}
:root {
  color-scheme: light dark;
  --bg: #0f172a;
  --bg-muted: #111827;
  --surface: rgba(15, 23, 42, 0.8);
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --card-bg: rgba(15, 23, 42, 0.7);
  --border: rgba(148, 163, 184, 0.2);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #020617 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(2, 6, 23, 0.8);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 42px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0f172a;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 6rem 0 4rem;
}

.hero .container {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
}

.hero-actions .primary,
.contact-form button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0f172a;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hero-actions .primary:hover,
.contact-form button.primary:hover {
  transform: translateY(-2px);
}

.hero-actions .secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 0;
}

.hero-stats dt {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-stats dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  gap: 2rem;
}

.hero-feature {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 118, 230, 0.25);
}

.hero-feature img {
  width: 100%;
  display: block;
}

.hero-feature .badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 0.45rem 1.2rem;
  background: rgba(14, 165, 233, 0.85);
  color: #0f172a;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  backdrop-filter: blur(18px);
}

.hero-card img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

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

.section {
  padding: 5rem 0;
}

.section.shaded {
  background: rgba(15, 23, 42, 0.6);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.75rem auto 0;
}

.cards-grid {
  display: grid;
  gap: 2rem;
}

.cards-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards-grid article,
.product-card,
.cases-list article,
.insights-grid article,
.about-columns article {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(18px);
}

.cards-grid article ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  display: grid;
  gap: 0.5rem;
}

.cards-grid article img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  object-fit: cover;
  max-height: 200px;
}

.product-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card .product-content {
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.product-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.5rem;
}

.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cases-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cases-list article {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cases-list article img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cases-list article h3,
.cases-list article p {
  padding: 0 2rem;
}

.cases-list article h3 {
  margin-top: 1.5rem;
}

.cases-list article p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.insights-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.insights-grid time {
  display: block;
  margin: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.insights-grid a {
  color: var(--accent);
  font-weight: 500;
}

.about-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-columns ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid figure {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  height: 100%;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 200px;
}

.gallery-grid figcaption {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 45%),
    rgba(15, 23, 42, 0.6);
}

.contact .container {
  display: grid;
  gap: 2.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form .form-group.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 1rem;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.8);
}

.site-footer .container {
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-brand img {
  height: 40px;
}

.site-footer nav {
  display: flex;
  gap: 2rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-icp {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

.footer-icp a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-icp a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .main-nav ul {
    position: absolute;
    inset: 72px 1rem auto 1rem;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(2, 6, 23, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
  }

  .main-nav ul[aria-expanded="true"] {
    transform: scaleY(1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav a {
    color: var(--text);
  }

  .cta-button {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@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;
  }
}
