:root {
  --bg: #050816;
  --bg-alt: #070b20;
  --card-bg: #0b1022;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.08);
  --accent-strong: #22c55e;
  --text: #f9fafb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.75);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;
  --transition: 0.25s ease;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #0b1120 0, #020617 55%, #020617 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

body {
  line-height: 1.6;
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  padding: 88px 0;
  background: radial-gradient(circle at top left, #020617 0, #020617 40%, #000 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  padding: 24px 22px 22px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.09),
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 1.125rem;
  margin: 0 0 10px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.92),
    rgba(2, 6, 23, 0.78),
    transparent
  );
  border-bottom: 1px solid rgba(30, 64, 175, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #fbbf24, #dc2626 55%, #7c2d12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-cn {
  font-weight: 600;
  font-size: 0.98rem;
}

.logo-en {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  padding: 6px 2px;
  position: relative;
  transition: color var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width var(--transition);
}

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

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.8);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.2), #020617);
  color: #eff6ff;
}

.lang-switcher {
  position: relative;
  margin-left: 12px;
}

.lang-current {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-current:hover {
  border-color: rgba(96, 165, 250, 0.95);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.3), #020617);
}

.lang-current::after {
  content: "▼";
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform var(--transition);
}

.lang-switcher.active .lang-current::after {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.75);
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}

.lang-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-btn {
  display: block;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.lang-btn:last-child {
  border-bottom: none;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(37, 99, 235, 0.15);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.nav-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.nav-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.nav-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 120px;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.88) 38%, rgba(15, 23, 42, 0.35) 62%, rgba(15, 23, 42, 0.15) 100%),
    radial-gradient(circle at top center, rgba(59, 130, 246, 0.26), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.25), transparent 50%),
    url("https://images.pexels.com/photos/6476584/pexels-photo-6476584.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: auto, cover, cover, cover;
  background-position: center, top center, bottom left, right center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(2, 6, 23, 0.82) 0%,
    rgba(2, 6, 23, 0.78) 40%,
    rgba(2, 6, 23, 0.72) 70%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.hero p {
  margin: 0 0 20px;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #f9fafb;
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.65);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.85);
}

.btn.ghost {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.btn.ghost:hover {
  border-color: rgba(96, 165, 250, 0.95);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.5), #020617);
}

.btn.full-width {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--muted);
}

.hero-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.65);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.5), rgba(2, 6, 23, 0.98));
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(129, 140, 248, 0.6);
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  margin: 0 0 0 auto;
}

.hero-card h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.hero-card p {
  margin: 0 0 14px;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card ul li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.hero-card ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

.hero-link {
  font-size: 0.9rem;
  color: #bfdbfe;
}

.hero-link:hover {
  text-decoration: underline;
}

/* Solutions & cases */
.solution-card .tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.75);
  color: #dbeafe;
  margin-bottom: 8px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
}

.case-card dt {
  font-size: 0.78rem;
  color: var(--muted);
}

.case-card dd {
  margin: 0;
  font-size: 0.9rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.about-grid p {
  color: var(--muted);
}

.about-stats {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.about-stats li {
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), #020617);
  min-width: 130px;
}

.about-stats .num {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
}

.about-stats .label {
  font-size: 0.78rem;
  color: var(--muted);
}

.about-panel .about-card {
  min-height: 0;
}

/* License */
.license-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.license-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  color: var(--muted);
}

.license-list li {
  margin-bottom: 6px;
}

/* Contact */
.contact-section {
  padding-bottom: 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: flex-start;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  color: var(--muted);
}

.contact-info li {
  margin-bottom: 6px;
}

.contact-form {
  border-radius: var(--radius-xl);
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), #020617);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 11px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition),
    background var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6b7280;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(96, 165, 250, 1);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.8);
  background: rgba(15, 23, 42, 0.95);
}

.form-tip {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  padding: 16px 0 22px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), #020617);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.footer-inner::after {
  content: '';
  width: 100%;
  height: 1px;
  background: rgba(148, 163, 184, 0.3);
  position: absolute;
  bottom: -12px;
  left: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  padding-top: 12px;
}

.footer-links a {
  color: var(--muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-separator {
  color: var(--muted);
  opacity: 0.5;
}

.cases-banner-image {
  margin-top: 24px;
  display: block;
  width: 100%;
  max-width: 520px;
  max-height: 360px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.footer-copy {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-right {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-right a:hover {
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .license-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .about-panel {
    order: -1;
  }
}

@media (max-width: 840px) {
  .grid-3,
  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    padding-block: 10px;
  }

  .nav {
    position: absolute;
    inset-inline: 16px;
    top: 56px;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.75);
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }

  .nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

@media (max-width: 640px) {
  .section,
  .section-alt,
  .hero {
    padding-inline: 0;
  }

  .section,
  .section-alt {
    padding-block: 60px;
  }

  .hero {
    padding-block: 76px 72px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


