/* ==========================================================================
   车多多科技 - 企业官网设计系统
   Design System v1.0 | 简约大气 · 能源科技
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors - 能源科技主题 */
  --c-primary: #0D9488;
  --c-primary-light: #14B8A6;
  --c-primary-dark: #0F766E;
  --c-accent: #06B6D4;
  --c-energy: #10B981;
  --c-warning: #F59E0B;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0D9488 0%, #06B6D4 100%);
  --grad-hero: linear-gradient(135deg, #0F172A 0%, #0F766E 50%, #0D9488 100%);
  --grad-energy: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  --grad-text: linear-gradient(135deg, #0D9488 0%, #06B6D4 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.35s;
  --dur-slow: 0.6s;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* ---------- Light Theme (Default) ---------- */
:root,
[data-theme="light"] {
  --bg-base: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-muted: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.6);
  --bg-overlay: rgba(15, 23, 42, 0.04);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  --border-color: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 56px rgba(15, 23, 42, 0.10), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
}

/* ---------- Dark Theme ---------- */
[data-theme="dark"] {
  --bg-base: #0B1120;
  --bg-subtle: #0F172A;
  --bg-muted: #1E293B;
  --bg-elevated: #1A2538;
  --bg-glass: rgba(15, 23, 42, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --bg-overlay: rgba(255, 255, 255, 0.03);

  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.2);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-secondary); }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.text-center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(13, 148, 136, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

[data-theme="dark"] .eyebrow {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.2);
}

.section-title {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.section-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  padding: 10px 20px;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--c-primary);
  background: rgba(13, 148, 136, 0.06);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--dur-base) var(--ease-out);
}

.nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  border-radius: 10px;
  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-overlay);
}

.nav-link.active {
  color: var(--c-primary);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--dur-fast) var(--ease-out);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  background: var(--bg-overlay);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle.active span {
  background: transparent;
}
.nav-toggle.active span::before {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) var(--space-lg);
  transform: translateY(-120%);
  opacity: 0;
  transition: all var(--dur-base) var(--ease-out);
  z-index: 999;
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) var(--ease-out);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--c-primary);
  background: rgba(13, 148, 136, 0.06);
}

/* ---------- Card Component ---------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  background: rgba(13, 148, 136, 0.08);
  color: var(--c-primary);
  transition: all var(--dur-base) var(--ease-spring);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card:hover .card-icon {
  background: var(--grad-primary);
  color: #fff;
  transform: scale(1.08) rotate(-5deg);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

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

/* ---------- Grid Systems ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 80% 100%, rgba(13, 148, 136, 0.08) 0%, transparent 60%),
              var(--bg-base);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Floating orbs for hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 1;
  animation: float 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
  top: -100px;
  right: -50px;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #10B981 0%, transparent 70%);
  bottom: -80px;
  left: 40%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #0D9488 0%, transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(var(--space-lg) / -2);
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-suffix {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: super;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Inline stats variant — no card box, just text */
.stats-inline {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
  border-radius: 0;
}

.stats-inline .stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stats-inline .stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stats-inline .stat-item.visible .stat-number {
  animation: statPop 0.55s var(--ease-out) both;
}

@keyframes statPop {
  0%   { transform: scale(0.3); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1);    opacity: 1; }
}

/* ---------- Feature Image Block ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.feature-visual-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature-visual-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.feature-visual-icon {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-visual-icon svg {
  width: 100%;
  height: 100%;
}

.feature-content h2 {
  margin-bottom: var(--space-md);
}

.feature-content p {
  margin-bottom: var(--space-md);
  font-size: 1.02rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list .check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-energy);
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  background: var(--grad-hero);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.25) 0%, transparent 40%);
}

.cta-section > * {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--c-primary-dark);
}

.cta-section .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--c-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-secondary);
  transition: all var(--dur-fast) var(--ease-out);
}

.footer-social a:hover {
  background: var(--grad-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Page Header (non-home pages) ---------- */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + var(--space-3xl)) 0 var(--space-2xl);
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 80%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  margin-top: var(--space-md);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-primary), var(--c-accent));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 3px solid var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-primary);
}

.timeline-item:nth-child(even) .timeline-dot {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 4px;
}

.timeline-item:nth-child(even) .timeline-year {
  color: var(--c-accent);
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Form ---------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-label span {
  color: #EF4444;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-base);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--dur-fast) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ---------- Contact Info Cards ---------- */
.contact-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--dur-base) var(--ease-out);
}

.contact-card:hover {
  border-color: rgba(13, 148, 136, 0.2);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.08);
  color: var(--c-primary);
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h4 {
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Badge / Tag ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: var(--c-energy);
}

[data-theme="dark"] .badge {
  background: rgba(16, 185, 129, 0.15);
}

/* ---------- Product Detail ---------- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
}

.product-hero:nth-child(even) {
  direction: rtl;
}

.product-hero:nth-child(even) > * {
  direction: ltr;
}

.product-visual {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
}

.product-visual-icon {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}

.product-visual-icon svg {
  width: 100%;
  height: 100%;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.spec-item {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.spec-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- Values Grid ---------- */
.value-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.value-card .card-icon {
  margin: 0 auto var(--space-md);
}

.value-card h3 {
  margin-bottom: var(--space-xs);
}

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: var(--border-color);
  margin: var(--space-2xl) 0;
  border: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-col:last-child { display: none; }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-4xl: 5rem;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .feature-block,
  .feature-block.reverse,
  .product-hero,
  .product-hero:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding: var(--space-lg);
  }

  .stat-item:nth-child(2)::after { display: none; }

  .stat-number { font-size: 1.8rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-col:last-child { display: block; }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 90vh; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .cta-section { padding: var(--space-2xl) var(--space-lg); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .stats { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
}

/* ---------- Reduced Motion ---------- */
@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;
  }
}
