/* VoltCharge / 企业官网 */

:root {
  --vc-navy: #0b1c2d;
  --vc-navy-mid: #132a40;
  --vc-slate: #1e3a52;
  --vc-accent: #1a7a9c;
  --vc-accent-bright: #2a9fc4;
  --vc-bolt: #e8a317;
  --vc-bg: #f4f7fa;
  --vc-surface: #ffffff;
  --vc-text: #0f172a;
  --vc-muted: #5a6b7d;
  --vc-border: #d8e0e8;
  --vc-error: #c0392b;
  --vc-ok: #1a7a4c;
  --vc-container: 1120px;
  --vc-header-h: 72px;
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.vc-page {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vc-text);
  background: var(--vc-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.vc-container {
  width: min(var(--vc-container), calc(100% - 40px));
  margin: 0 auto;
}

/* —— Header —— */
.vc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--vc-header-h);
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.vc-header.is-scrolled,
.vc-header.is-solid {
  background: rgba(11, 28, 45, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vc-header-inner {
  height: var(--vc-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.vc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.vc-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--vc-bolt), #c4780a);
  display: grid;
  place-items: center;
  color: var(--vc-navy);
  box-shadow: 0 4px 16px rgba(232, 163, 23, 0.35);
}

.vc-logo-mark svg {
  width: 20px;
  height: 20px;
}

.vc-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.vc-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.vc-nav a:hover,
.vc-nav a.is-active {
  color: #fff;
}

.vc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}

.vc-btn:hover {
  transform: translateY(-1px);
}

.vc-btn:focus-visible {
  outline: 2px solid var(--vc-accent-bright);
  outline-offset: 2px;
}

.vc-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.vc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.vc-btn-primary {
  background: var(--vc-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(26, 122, 156, 0.35);
}

.vc-btn-primary:hover {
  background: var(--vc-accent-bright);
}

.vc-btn-on-light {
  background: var(--vc-navy);
  color: #fff;
}

.vc-btn-on-light:hover {
  background: var(--vc-navy-mid);
}

.vc-btn-outline-dark {
  background: transparent;
  color: var(--vc-navy);
  border: 1px solid var(--vc-border);
}

.vc-btn-outline-dark:hover {
  border-color: var(--vc-accent);
  color: var(--vc-accent);
}

.vc-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  padding: 0;
}

.vc-menu-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 960px) {
  .vc-nav { display: flex; }
  .vc-menu-toggle { display: none; }
}

.vc-mobile-nav {
  display: none;
  position: fixed;
  inset: var(--vc-header-h) 0 auto 0;
  background: rgba(11, 28, 45, 0.98);
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vc-mobile-nav.is-open {
  display: flex;
}

.vc-mobile-nav a {
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 8px;
  font-weight: 500;
  border-radius: 6px;
}

.vc-mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* —— Hero —— */
.vc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--vc-header-h) + 48px) 0 72px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(26, 122, 156, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(232, 163, 23, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #071422 0%, var(--vc-navy) 40%, var(--vc-navy-mid) 100%);
}

.vc-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  animation: vc-grid-drift 28s linear infinite;
  pointer-events: none;
}

@keyframes vc-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-64px, -32px, 0); }
}

.vc-hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -8%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 159, 196, 0.35) 0%, transparent 68%);
  filter: blur(40px);
  animation: vc-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes vc-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.vc-hero-bolt {
  position: absolute;
  right: 8%;
  top: 22%;
  width: min(380px, 42vw);
  height: auto;
  opacity: 0.18;
  animation: vc-bolt-fade 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes vc-bolt-fade {
  0%, 100% { opacity: 0.12; transform: translateY(0); }
  50% { opacity: 0.22; transform: translateY(-12px); }
}

.vc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.vc-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 20px;
  animation: vc-rise 0.8s ease-out both;
}

.vc-hero-brand span.bolt {
  color: var(--vc-bolt);
}

.vc-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  animation: vc-rise 0.8s ease-out 0.1s both;
}

.vc-hero-lead {
  margin: 0 0 32px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 34em;
  animation: vc-rise 0.8s ease-out 0.2s both;
}

.vc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: vc-rise 0.8s ease-out 0.3s both;
}

@keyframes vc-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vc-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.vc-hero-scroll span {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: vc-scroll-line 1.8s ease-in-out infinite;
}

@keyframes vc-scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* —— Sections —— */
.vc-section {
  padding: 88px 0;
}

.vc-section.is-dark {
  background: var(--vc-navy);
  color: #fff;
}

.vc-section.is-surface {
  background: var(--vc-surface);
}

.vc-section-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.vc-section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.vc-section-head p {
  margin: 0;
  color: var(--vc-muted);
  font-size: 1.05rem;
}

.vc-section.is-dark .vc-section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.vc-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vc-accent);
}

.vc-section.is-dark .vc-kicker {
  color: var(--vc-bolt);
}

/* Capabilities — stacked rows, not card grid in hero sense */
.vc-cap-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--vc-border);
}

.vc-cap-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--vc-border);
  transition: background 0.2s;
}

@media (min-width: 768px) {
  .vc-cap-row {
    grid-template-columns: 72px 1fr 1.2fr;
    gap: 28px;
    align-items: start;
  }
}

.vc-cap-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--vc-navy), var(--vc-slate));
  color: var(--vc-bolt);
  display: grid;
  place-items: center;
}

.vc-cap-icon svg {
  width: 24px;
  height: 24px;
}

.vc-cap-row h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.vc-cap-row .vc-cap-lead {
  margin: 0;
  color: var(--vc-muted);
  font-size: 0.95rem;
}

.vc-cap-row .vc-cap-detail {
  margin: 0;
  color: var(--vc-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Metrics strip */
.vc-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}

@media (min-width: 768px) {
  .vc-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vc-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--vc-bolt);
  line-height: 1.1;
  margin-bottom: 6px;
}

.vc-metric span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

/* Platform paths */
.vc-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--vc-border);
  border: 1px solid var(--vc-border);
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .vc-paths {
    grid-template-columns: 1fr 1fr;
  }
}

.vc-path {
  background: var(--vc-surface);
  padding: 40px 36px;
  transition: background 0.2s;
}

.vc-path:hover {
  background: #f8fbfd;
}

.vc-path h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.vc-path p {
  margin: 0 0 24px;
  color: var(--vc-muted);
  font-size: 0.95rem;
}

.vc-path ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.vc-path li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.92rem;
  color: var(--vc-text);
}

.vc-path li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vc-accent);
}

/* Security */
.vc-security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .vc-security-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
  }
}

.vc-security-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vc-security-points li {
  padding: 18px 0;
  border-bottom: 1px solid var(--vc-border);
  display: grid;
  gap: 4px;
}

.vc-security-points li:first-child {
  border-top: 1px solid var(--vc-border);
}

.vc-security-points strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.vc-security-points span {
  color: var(--vc-muted);
  font-size: 0.92rem;
}

.vc-security-visual {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 40%, rgba(26, 122, 156, 0.2), transparent 50%),
    linear-gradient(145deg, var(--vc-navy) 0%, var(--vc-slate) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 40px;
}

.vc-security-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

.vc-security-visual-inner {
  position: relative;
  z-index: 1;
}

.vc-security-visual-inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.vc-security-visual-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

/* About / CTA band */
.vc-cta-band {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.vc-cta-band h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vc-cta-band p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.65);
}

.vc-cta-band .vc-hero-cta {
  justify-content: center;
}

/* Footer */
.vc-footer {
  background: #061018;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}

.vc-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .vc-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.vc-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.vc-footer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 32em;
}

.vc-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vc-footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}

.vc-footer-links a:hover {
  color: #fff;
}

.vc-footer-copy {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* —— Login modal —— */
.vc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 16, 24, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.vc-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.vc-modal {
  width: min(420px, 100%);
  background: var(--vc-surface);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.25s;
}

.vc-modal-overlay.is-open .vc-modal {
  transform: translateY(0);
}

.vc-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
}

.vc-modal-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vc-text);
}

.vc-modal-head p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--vc-muted);
}

.vc-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--vc-bg);
  color: var(--vc-muted);
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.vc-modal-close:hover {
  background: var(--vc-border);
  color: var(--vc-text);
}

.vc-modal-body {
  padding: 20px 24px 28px;
}

.api-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--vc-bg);
  font-size: 0.8rem;
  color: var(--vc-muted);
  margin-bottom: 14px;
}

.api-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}

.api-status.ok .api-status-dot {
  background: var(--vc-ok);
}

.api-status.fail .api-status-dot {
  background: var(--vc-error);
}

.api-status.ok {
  color: var(--vc-ok);
  background: rgba(26, 122, 76, 0.08);
}

.api-status.fail {
  color: var(--vc-error);
  background: rgba(192, 57, 43, 0.08);
}

.login-alert {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: var(--vc-error);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.login-alert.show {
  display: block;
}

.login-field {
  margin-bottom: 14px;
}

.login-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vc-text);
}

.login-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--vc-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--vc-text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-field input:focus {
  outline: none;
  border-color: var(--vc-accent);
  box-shadow: 0 0 0 3px rgba(26, 122, 156, 0.15);
}

.login-field-hint {
  margin: -4px 0 14px;
  font-size: 0.78rem;
  color: var(--vc-muted);
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--vc-muted);
  margin-bottom: 18px;
  cursor: pointer;
}

.login-submit {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 8px;
  background: var(--vc-navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.login-submit:hover:not(:disabled) {
  background: var(--vc-navy-mid);
}

.login-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.login-footnote {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--vc-muted);
}

@media (max-width: 640px) {
  .vc-hero {
    padding-bottom: 96px;
    align-items: center;
  }

  .vc-section {
    padding: 64px 0;
  }

  .vc-header-actions .vc-btn-ghost {
    display: none;
  }
}
