/* ===========================
   ZERP Website - Global Styles
   =========================== */

:root {
  /* Brand Colors */
  --primary: #0A66C2;
  --primary-dark: #004182;
  --primary-light: #4A90D9;
  --primary-glow: rgba(10, 102, 194, 0.15);
  --accent: #00C896;
  --accent-glow: rgba(0, 200, 150, 0.15);
  --gradient-primary: linear-gradient(135deg, #0A66C2, #004182);
  --gradient-accent: linear-gradient(135deg, #00C896, #00A878);
  --gradient-hero: linear-gradient(135deg, #0a1929 0%, #0A2540 50%, #004182 100%);

  /* Neutral Colors */
  --dark: #0a1929;
  --dark-2: #112240;
  --dark-3: #1a3a5c;
  --gray-900: #1a1a2e;
  --gray-700: #333;
  --gray-600: #555;
  --gray-500: #777;
  --gray-400: #aaa;
  --gray-300: #ddd;
  --gray-200: #eee;
  --gray-100: #f5f7fa;
  --white: #ffffff;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(10, 102, 194, 0.2);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header / Navigation
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(10, 102, 194, 0.3);
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active:not(.nav-cta)::after {
  width: 100%;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
}

.nav-cta {
  background: var(--gradient-primary);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 30px;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(10, 102, 194, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(10, 102, 194, 0.35);
}

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

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(10, 102, 194, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 144, 217, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 144, 217, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 102, 194, 0.25), transparent 70%);
  top: -200px;
  right: -100px;
  animation: glow-pulse 6s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(0, 200, 150, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #4A90D9, #00C896);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #4A90D9, #00C896);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===========================
   Section Common
   =========================== */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
}

/* ===========================
   Values Grid
   =========================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.7;
}

/* ===========================
   Architecture Diagram
   =========================== */
.section-architecture {
  background: var(--gray-100);
}

.arch-diagram {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 60px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-center {
  position: absolute;
  z-index: 3;
}

.arch-core {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 0 60px rgba(10, 102, 194, 0.3);
  animation: core-pulse 4s ease-in-out infinite;
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(10, 102, 194, 0.3); }
  50% { box-shadow: 0 0 80px rgba(10, 102, 194, 0.5); }
}

.arch-core-text {
  font-size: 28px;
  font-weight: 800;
}

.arch-core-sub {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
}

.arch-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(10, 102, 194, 0.2);
}

.arch-ring-1 {
  width: 100%;
  height: 100%;
}

.arch-ring-2 {
  width: 70%;
  height: 70%;
}

.arch-node {
  position: absolute;
  background: var(--white);
  border: 2px solid var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.arch-node:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.arch-node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.arch-node-2 { top: 25%; right: 0; }
.arch-node-3 { bottom: 25%; right: 0; }
.arch-node-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.arch-node-5 { bottom: 25%; left: 0; }
.arch-node-6 { top: 25%; left: 0; }
.arch-node-7 { top: 15%; left: 15%; }
.arch-node-8 { top: 15%; right: 15%; }
.arch-node-9 { bottom: 15%; left: 50%; transform: translateX(-50%); }

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.arch-flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.flow-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.flow-text {
  font-size: 13px;
  color: var(--gray-600);
  max-width: 160px;
  text-align: center;
}

.arch-flow-arrow {
  color: var(--gray-400);
  font-size: 20px;
}

/* ===========================
   Modules Grid
   =========================== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.module-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

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

.module-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--white);
}

.module-icon-sales { background: linear-gradient(135deg, #667eea, #764ba2); }
.module-icon-production { background: linear-gradient(135deg, #0A66C2, #004182); }
.module-icon-procurement { background: linear-gradient(135deg, #00C896, #00A878); }
.module-icon-inventory { background: linear-gradient(135deg, #f093fb, #f5576c); }
.module-icon-quality { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.module-icon-equipment { background: linear-gradient(135deg, #fa709a, #fee140); }
.module-icon-finance { background: linear-gradient(135deg, #30cfd0, #330867); }
.module-icon-collaboration { background: linear-gradient(135deg, #a8edea, #fed6e3); color: var(--dark) !important; }
.module-icon-mobile { background: linear-gradient(135deg, #ff9a9e, #fad0c4); color: var(--dark) !important; }

.module-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.module-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===========================
   Collaboration Flow
   =========================== */
.section-collaboration-highlight {
  background: var(--dark);
  color: var(--white);
}

.section-collaboration-highlight .section-title {
  color: var(--white);
}

.section-collaboration-highlight .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.section-collaboration-highlight .section-tag {
  background: rgba(0, 200, 150, 0.15);
  color: var(--accent);
}

.collab-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.collab-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}

.collab-step:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0, 200, 150, 0.3);
}

.collab-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 150, 0.1);
  color: var(--accent);
  border-radius: 50%;
}

.collab-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.collab-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.collab-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--accent);
}

/* ===========================
   Dashboard Preview
   =========================== */
.section-dashboard {
  background: var(--gray-100);
}

.dashboard-preview {
  max-width: 900px;
  margin: 0 auto 40px;
}

.dashboard-mockup {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dashboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dash-dot-red { background: #ff5f57; }
.dash-dot-yellow { background: #ffbd2e; }
.dash-dot-green { background: #28ca42; }

.dashboard-title {
  margin-left: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.dashboard-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
}

.dash-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.dash-card-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.dash-card-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.dash-card-trend {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.dash-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
}

.dash-chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
  animation: bar-grow 1s ease-out;
}

@keyframes bar-grow {
  from { height: 0; }
}

.dashboard-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.8;
}

/* ===========================
   Cases Grid
   =========================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

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

.case-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  border-radius: 16px;
}

.case-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.case-industry {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===========================
   CTA Section
   =========================== */
.section-cta {
  padding: 80px 0;
}

.cta-box {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--primary);
}

.cta-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===========================
   FAQ Section
   =========================== */
.section-faq {
  background: var(--gray-100);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  font-family: inherit;
}

.faq-toggle {
  font-size: 24px;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.7;
}

/* ===========================
   Breadcrumb
   =========================== */
.breadcrumb {
  padding: 90px 24px 20px;
  font-size: 14px;
  color: var(--gray-500);
}

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

.breadcrumb span {
  margin: 0 8px;
}

.breadcrumb .active {
  color: var(--gray-600);
}

/* ===========================
   Features Overview
   =========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  text-decoration: none;
  transition: var(--transition);
}

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

.feature-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.feature-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ===========================
   Feature Detail
   =========================== */
.section-feature-detail-hero {
  padding: 40px 0 20px;
  text-align: center;
}

.feature-detail-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.feature-detail-summary {
  font-size: 1.2rem;
  color: var(--gray-500);
}

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

.highlight-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

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

.highlight-num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.section-feature-nav {
  background: var(--gray-100);
}

.feature-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.feature-nav-item:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateX(4px);
}

/* ===========================
   Solutions
   =========================== */
.cases-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.case-detail-card:hover {
  box-shadow: var(--shadow-lg);
}

.case-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.case-detail-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  border-radius: 12px;
  flex-shrink: 0;
}

.case-detail-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.case-detail-industry {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.case-detail-desc {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  padding: 4px 12px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 16px;
}

/* Goals Grid */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.goal-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

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

.goal-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-200);
  margin-bottom: 12px;
}

.goal-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.goal-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===========================
   About
   =========================== */
.section-about-hero {
  padding: 40px 0 60px;
  text-align: center;
}

.about-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}

.about-hero-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 2;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

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

.advantage-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 50%;
}

.advantage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Tech Architecture */
.section-tech-arch {
  background: var(--gray-100);
}

.tech-arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.tech-card:hover {
  box-shadow: var(--shadow-lg);
}

.tech-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  border-radius: 16px;
}

.tech-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.tech-card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===========================
   Contact Form
   =========================== */
.section-contact {
  background: var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group textarea {
  resize: vertical;
}

.form-message {
  text-align: center;
  font-weight: 600;
  min-height: 24px;
}

.form-message.success {
  color: var(--accent);
}

.form-message.error {
  color: #e74c3c;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

/* ===========================
   404 Page
   =========================== */
.section-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 68px;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.error-text {
  font-size: 1.5rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

/* ===========================
   AOS-like animations
   =========================== */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 968px) {
  .values-grid,
  .modules-grid,
  .features-grid,
  .highlights-grid,
  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

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

  .collab-flow {
    flex-direction: column;
  }

  .collab-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }

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

  .mobile-toggle {
    display: flex;
  }

  .hero-stats {
    gap: 32px;
  }

  .values-grid,
  .modules-grid,
  .features-grid,
  .highlights-grid,
  .goals-grid,
  .advantages-grid,
  .tech-arch-grid,
  .cases-grid,
  .feature-nav-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }

  .arch-diagram {
    max-width: 100%;
  }

  .arch-node {
    font-size: 11px;
    padding: 4px 10px;
  }

  .dashboard-gallery {
    grid-template-columns: 1fr;
  }

  .company-intro-grid {
    grid-template-columns: 1fr;
  }

  .case-detail-card {
    grid-template-columns: 1fr;
  }

  .case-detail-image {
    min-height: 200px;
  }
}

/* ===========================
   Architecture Image (PPT)
   =========================== */
.arch-image-wrap {
  max-width: 1000px;
  margin: 0 auto 60px;
  text-align: center;
}

.arch-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.arch-image-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===========================
   Dashboard Gallery (PPT Screenshots)
   =========================== */
.dashboard-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.dashboard-gallery-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.dashboard-gallery-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.dashboard-screenshot {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  background: #0a1929;
}

.dashboard-gallery-label {
  padding: 20px 24px;
}

.dashboard-gallery-label h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.dashboard-gallery-label p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===========================
   Company Intro Section
   =========================== */
.section-company-intro {
  background: var(--white);
}

.company-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.company-intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.company-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.company-image {
  width: 100%;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.company-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
}

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

.company-highlight-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.company-highlight-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===========================
   Case Detail with Image
   =========================== */
.case-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 30px;
}

.case-detail-card:hover {
  box-shadow: var(--shadow-lg);
}

.case-detail-image {
  overflow: hidden;
  background: var(--dark);
}

.case-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.case-detail-body {
  padding: 32px;
}

.case-detail-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
