/* ============================================
   卓跃芯创 - 企业网站样式表
   Eco-Friendly Clean Energy Theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette */
  --green-900: #1a3c2a;
  --green-800: #1f4d35;
  --green-700: #256640;
  --green-600: #2d7d4f;
  --green-500: #34a853;
  --green-400: #4caf50;
  --green-300: #66bb6a;
  --green-200: #a5d6a7;
  --green-100: #c8e6c9;
  --green-50: #e8f5e9;

  /* Accent */
  --teal: #00bfa5;
  --teal-light: #1de9b6;
  --sky: #81d4fa;
  --gold: #ffc107;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f7faf8;
  --gray-100: #edf2ef;
  --gray-200: #e2e8e4;
  --gray-300: #cbd5cd;
  --gray-400: #a0aec0;
  --gray-500: #718096;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gray-800: #1a202c;
  --gray-900: #0d1117;

  /* Semantic */
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-tertiary: var(--green-50);
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --accent: var(--green-500);
  --accent-dark: var(--green-700);
  --accent-light: var(--green-100);
  --border: var(--gray-200);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 20px rgba(52,168,83,0.15), 0 0 60px rgba(52,168,83,0.05);

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

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

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

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* Layout */
  --nav-height: 72px;
  --max-width: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }

.section-title {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.text-gradient {
  background: linear-gradient(135deg, var(--green-600), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(52,168,83,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  box-shadow: 0 6px 24px rgba(52,168,83,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--green-500);
  color: var(--green-600);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-50);
  border-color: var(--green-600);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.97);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-700);
  font-family: var(--font-display);
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-400), var(--teal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-links a {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-600);
  background: var(--green-50);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: linear-gradient(170deg, var(--green-50) 0%, var(--white) 40%, var(--gray-50) 100%);
  overflow: hidden;
}

.hero-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: var(--white);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--green-600);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s var(--ease-out) 0.2s;
}

.hero-panel {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.4;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--green-100);
}

.hero-panel-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9, #a5d6a7);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  padding: 8%;
  width: 100%;
  height: 100%;
}

.panel-cell {
  background: linear-gradient(135deg, #1b5e20, #2e7d32, #388e3c);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.panel-cell::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
  border-radius: 2px;
}

.panel-cell:nth-child(odd) {
  background: linear-gradient(135deg, #1565c0, #1976d2, #1e88e5);
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  top: -10px;
  right: -40px;
  animation-delay: 0s;
}

.hero-floating-card.card-2 {
  bottom: -10px;
  left: -20px;
  animation-delay: 1.5s;
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.floating-card-text .fc-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-700);
}

.floating-card-text .fc-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Stats Section --- */
.stats-section {
  padding: var(--space-3xl) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.stat-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  transition: all var(--duration-normal) var(--ease-out);
}

.stat-card:hover {
  background: var(--green-50);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-700);
  font-family: var(--font-display);
  margin-bottom: var(--space-xs);
}

.stat-number .unit {
  font-size: 1.2rem;
  font-weight: 600;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Section Spacing --- */
.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--bg-secondary);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Comparison Section --- */
.comparison-section {
  position: relative;
}

.comparison-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  cursor: ew-resize;
  user-select: none;
}

.comparison-before,
.comparison-after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.comparison-before {
  background: linear-gradient(135deg, #546e7a, #78909c, #90a4ae);
  z-index: 1;
}

.comparison-before .comp-content {
  text-align: center;
  opacity: 0.7;
}

.comparison-after {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9, #a5d6a7);
  z-index: 2;
}

.comparison-after .comp-content {
  text-align: center;
  color: var(--green-800);
}

.comp-content .comp-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.comp-content h4 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.comp-content p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.comparison-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--white);
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  pointer-events: auto;
}

.comparison-handle::before,
.comparison-handle::after {
  content: '';
  display: block;
  width: 3px;
  height: 16px;
  background: var(--gray-300);
  border-radius: 2px;
}

.comparison-handle::before {
  margin-right: 4px;
}
.comparison-handle::after {
  margin-left: 4px;
}

.comparison-labels {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-xl);
}

.comp-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

.comp-label.before { color: #546e7a; }
.comp-label.after { color: var(--green-600); }

.comp-label .label-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.comp-label.before .label-dot { background: #78909c; }
.comp-label.after .label-dot { background: var(--green-400); }
.demo-section {
  background: linear-gradient(170deg, var(--green-50), var(--white), var(--gray-50));
  padding: var(--space-4xl) 0;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.demo-canvas-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--white);
  aspect-ratio: 1.2;
}

.demo-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.demo-info h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
}

.demo-info p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.demo-benefits {
  display: grid;
  gap: var(--space-md);
}

.demo-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--duration-fast) var(--ease-out);
}

.demo-benefit:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-sm);
}

.demo-benefit .benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.demo-benefit h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.demo-benefit p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Cases Grid --- */
.cases-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  font-family: var(--font-sans);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green-500);
  color: var(--white);
  border-color: var(--green-500);
}

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

.case-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--duration-slow) var(--ease-out);
}

.case-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.case-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.case-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.case-image.solar { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.case-image.building { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.case-image.industrial { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.case-image.glass { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }

.case-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 0.3rem 0.8rem;
  background: var(--green-500);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.case-body {
  padding: var(--space-lg) var(--space-xl);
}

.case-body h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.case-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.case-stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

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

.case-stat .cs-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-600);
}

.case-stat .cs-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- About Page --- */
.about-hero {
  background: linear-gradient(170deg, var(--green-50), var(--white));
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
}

.about-hero h1 {
  margin-bottom: var(--space-md);
}

.about-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: var(--space-3xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green-200);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--green-500);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--green-200);
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-spacer {
  width: 10%;
}

.timeline-year {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: var(--green-50);
  color: var(--green-600);
  font-weight: 700;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info-card {
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: var(--radius-xl);
}

.contact-info-card h3 {
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-form-card {
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--gray-50);
  transition: all var(--duration-fast) var(--ease-out);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

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

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

/* --- CTA Section --- */
.cta-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--green-700), var(--green-600), var(--teal));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  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.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}

.footer-links a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--green-400);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

@keyframes leaf-fall {
  0% { transform: translateY(-10%) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110%) rotate(720deg); opacity: 0; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s var(--ease-out);
}

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

/* --- Page Header --- */
.page-header {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: linear-gradient(170deg, var(--green-50), var(--white));
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--green-600);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* --- Product Specs Table --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-xl);
}

.specs-table th,
.specs-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background: var(--green-50);
  font-weight: 600;
  color: var(--green-800);
  font-size: 0.9rem;
}

.specs-table tr:hover td {
  background: var(--gray-50);
}

/* --- Product Image Thumbnails --- */
.product-image-thumb {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 2600/2079;
  object-fit: cover;
  background: var(--gray-100);
}

.product-image-thumb:hover {
  transform: scale(1.02);
  border-color: var(--green-400);
  box-shadow: var(--shadow-lg);
}

.product-image-thumb.small {
  max-width: 180px;
  aspect-ratio: auto;
  height: 140px;
}

.product-image-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.product-image-inline .product-image-thumb {
  max-width: 200px;
  flex-shrink: 0;
}

/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
  cursor: pointer;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lightboxZoomIn 0.35s var(--ease-out);
}

@keyframes lightboxZoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-out);
  backdrop-filter: blur(4px);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-out);
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  z-index: 10000;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-floating-card.card-1 {
    right: 10px;
    top: -20px;
  }

  .hero-floating-card.card-2 {
    left: auto;
    right: 10px;
    bottom: -10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 40px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-spacer {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-logo > :nth-child(3) {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 280px;
  }
}

/* --- Responsive: inline grid overrides --- */
@media (max-width: 1024px) {
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .product-hero .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
