/* ========================================
   重庆尧群环保科技有限公司 - 网站样式 v2
   大幅增强动画与视觉体验
   ======================================== */

:root {
  --primary: #0a6e3a;
  --primary-light: #0d8a4a;
  --primary-dark: #065229;
  --primary-glow: rgba(10, 110, 58, 0.4);
  --secondary: #00b4d8;
  --secondary-light: #48cae4;
  --accent: #c9a227;
  --accent-light: #e0b830;
  --dark: #0c0c1d;
  --dark-light: #1a1a2e;
  --gray-900: #212529;
  --gray-800: #343a40;
  --gray-700: #495057;
  --gray-600: #6c757d;
  --gray-500: #adb5bd;
  --gray-400: #ced4da;
  --gray-300: #dee2e6;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-dark: linear-gradient(160deg, #0c0c1d 0%, #0a2a1a 50%, #0c0c1d 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --gradient-mesh: radial-gradient(at 20% 30%, rgba(10,110,58,0.15) 0%, transparent 50%),
                   radial-gradient(at 80% 20%, rgba(0,180,216,0.1) 0%, transparent 50%),
                   radial-gradient(at 50% 80%, rgba(201,162,39,0.08) 0%, transparent 50%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.20);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; transition: var(--transition); cursor: none; }
button { cursor: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--primary); border-radius: 50%;
  pointer-events: none; z-index: 100000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  border: 2px solid rgba(10,110,58,0.5); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor-dot.hovering { width: 16px; height: 16px; background: var(--secondary); }
.cursor-ring.hovering { width: 60px; height: 60px; border-color: rgba(0,180,216,0.4); }

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ========== PRELOADER ========== */
#preloader {
  position: fixed; inset: 0; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-progress-ring { position: relative; width: 120px; height: 120px; margin: 0 auto 24px; }
.loader-progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loader-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 4; }
.loader-fill {
  fill: none; stroke: url(#loaderGrad); stroke-width: 4;
  stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 0.3s ease;
}
.loader-leaf {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--primary-light);
  animation: leafPulse 2s ease-in-out infinite;
}
@keyframes leafPulse {
  0%,100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(5deg); }
  50% { transform: scale(1) rotate(0deg); }
  75% { transform: scale(1.1) rotate(-5deg); }
}
.loader-text { font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.loader-percent-sign { font-size: 1rem; color: var(--gray-500); margin-left: 2px; }
.loader-brand { font-size: 0.85rem; color: var(--gray-500); letter-spacing: 0.3em; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 0; transition: var(--transition-smooth);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(24px) saturate(180%);
  padding: 10px 0; box-shadow: 0 1px 30px rgba(0,0,0,0.08);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 700; color: var(--white); transition: var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--dark); }
.logo-icon {
  font-size: 1.5rem; color: var(--primary-light);
  animation: leafFloat 4s ease-in-out infinite;
}
@keyframes leafFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(8deg); }
}
.nav-menu { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 18px; border-radius: var(--radius-xl);
  font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.8); transition: var(--transition); position: relative;
}
.navbar.scrolled .nav-link { color: var(--gray-700); }
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
  background: var(--gradient-primary); border-radius: 2px;
  transform: translateX(-50%); transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 20px; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--primary); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: var(--transition); border-radius: 2px;
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-dark); overflow: hidden;
}
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at 30% 50%, rgba(10,110,58,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(0,180,216,0.12) 0%, transparent 50%);
}

/* 浮动装饰球 */
.hero-orb {
  position: absolute; border-radius: 50%; z-index: 2;
  filter: blur(80px); opacity: 0.5; pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px; top: -10%; right: -5%;
  background: radial-gradient(circle, rgba(10,110,58,0.4), transparent 70%);
  animation: orbFloat1 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px; bottom: 5%; left: -8%;
  background: radial-gradient(circle, rgba(0,180,216,0.3), transparent 70%);
  animation: orbFloat2 10s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px; top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.2), transparent 70%);
  animation: orbFloat3 12s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 40px) scale(1.1); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 40px) scale(0.9); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.15); }
}

.hero-content { position: relative; z-index: 3; text-align: center; padding: 0 24px; }

/* Hero Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8); font-size: 0.85rem; font-weight: 500;
  margin-bottom: 28px; backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(30px); animation: heroReveal 0.7s 0.5s ease forwards;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary-light);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(13,138,74,0.6); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(13,138,74,0); }
}

/* Hero Title */
.hero-title { margin-bottom: 24px; }
.hero-title-line {
  display: block; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900;
  color: var(--white); letter-spacing: 0.06em; line-height: 1.15;
  overflow: hidden;
}
.hero-title-line.accent {
  background: linear-gradient(135deg, #0d8a4a 0%, #00b4d8 50%, #48cae4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  background-size: 200% auto;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* 文字拆分动画 */
.split-char {
  display: inline-block; opacity: 0; transform: translateY(100%) rotateX(-80deg);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.split-char.revealed { opacity: 1; transform: translateY(0) rotateX(0deg); }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem); color: rgba(255,255,255,0.6);
  font-weight: 300; letter-spacing: 0.3em; margin-bottom: 16px;
}
.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem); color: rgba(255,255,255,0.45);
  margin-bottom: 44px; letter-spacing: 0.1em;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
.animate-up {
  opacity: 0; transform: translateY(40px);
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.8s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.2s; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: var(--radius-xl);
  font-size: 0.95rem; font-weight: 600; border: 2px solid transparent;
  transition: var(--transition-smooth); position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: var(--gradient-primary); color: var(--white);
  box-shadow: 0 4px 24px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-3px); box-shadow: 0 8px 40px var(--primary-glow);
}
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
}
.btn-block { width: 100%; justify-content: center; }
.btn-arrow {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ========== SCROLL HINT ========== */
.hero-scroll-hint {
  position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); z-index: 3;
}
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-text {
  font-size: 0.65rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.4); font-weight: 600;
}
.scroll-line {
  width: 1px; height: 50px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
  animation: scrollLineMove 2s ease-in-out infinite;
}
@keyframes scrollLineMove {
  0% { top: -100%; } 100% { top: 200%; }
}

/* ========== WAVE DIVIDERS ========== */
.wave-divider {
  position: relative; width: 100%; line-height: 0; overflow: hidden;
}
.wave-divider svg { width: 100%; height: auto; display: block; }
.wave-hero { position: absolute; bottom: -1px; left: 0; z-index: 4; }
.wave-hero svg { height: 80px; }
.wave-hero .wave-path { fill: var(--gray-100); }
.wave-stats { margin-top: -1px; }
.wave-stats .wave-path { fill: var(--dark); }
.wave-stats svg { height: 60px; }
.wave-services-top { margin-bottom: -1px; background: var(--dark); }
.wave-services-top .wave-path { fill: var(--white); }
.wave-services-top svg { height: 60px; }

/* ========== MARQUEE ========== */
.marquee-section {
  padding: 20px 0; background: var(--gray-100); overflow: hidden;
  border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-content {
  display: flex; align-items: center; gap: 40px; padding: 0 20px;
  white-space: nowrap;
}
.marquee-content span {
  font-size: 1.1rem; font-weight: 700; color: var(--gray-600);
  letter-spacing: 0.05em;
}
.marquee-dot { color: var(--primary) !important; font-size: 0.8rem !important; opacity: 0.4; }

/* ========== SECTIONS ========== */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.4em; color: var(--primary); text-transform: uppercase;
  margin-bottom: 12px; position: relative;
}
.section-tag::before, .section-tag::after {
  content: ''; position: absolute; top: 50%; width: 30px; height: 1px;
  background: var(--gradient-primary);
}
.section-tag::before { right: calc(100% + 12px); }
.section-tag::after { left: calc(100% + 12px); }
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: var(--dark); margin-bottom: 16px;
}
.section-divider {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px;
}
.section-divider::before, .section-divider::after {
  content: ''; width: 40px; height: 2px; background: var(--gradient-primary); border-radius: 2px;
}
.section-divider i { color: var(--primary); font-size: 0.9rem; }
.section-desc { font-size: 1.05rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* ========== ABOUT ========== */
.about { background: var(--gray-100); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image-placeholder {
  width: 100%; aspect-ratio: 4/3; background: var(--gradient-dark);
  border-radius: var(--radius-lg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: rgba(255,255,255,0.6); font-size: 1rem; position: relative; overflow: hidden;
}
.about-image-placeholder i { font-size: 3rem; color: var(--primary-light); z-index: 1; }
.about-image-placeholder::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
  background-size: 200% 200%; animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: -200% -200%; }
  100% { background-position: 200% 200%; }
}
.about-image-border {
  position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 3px solid var(--primary); border-radius: var(--radius-lg);
  opacity: 0.2; z-index: -1; transition: var(--transition-slow);
}
.about-image-wrapper:hover .about-image-border { top: 12px; left: 12px; right: -12px; bottom: -12px; opacity: 0.4; }
.about-heading { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; line-height: 1.4; }
.about-text { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 16px; text-indent: 2em; }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.about-feature {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: var(--radius-md);
  transition: var(--transition);
}
.about-feature:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateX(8px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem; flex-shrink: 0;
  transition: var(--transition-smooth);
}
.about-feature:hover .feature-icon { transform: scale(1.1) rotate(10deg); box-shadow: var(--shadow-glow); }
.feature-info h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.feature-info p { font-size: 0.85rem; color: var(--gray-600); }

/* ========== STATS ========== */
.stats-section {
  background: var(--gradient-dark); padding: 80px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-mesh); opacity: 0.5;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; z-index: 1; }
.stat-item { text-align: center; position: relative; }
.stat-item::after {
  content: ''; position: absolute; top: 20%; right: 0; width: 1px; height: 60%;
  background: linear-gradient(transparent, rgba(255,255,255,0.1), transparent);
}
.stat-item:last-child::after { display: none; }
.stat-icon {
  font-size: 2rem; color: var(--primary-light); margin-bottom: 12px;
  transition: var(--transition-smooth);
}
.stat-item:hover .stat-icon { transform: scale(1.2); color: var(--secondary); }
.stat-number { font-size: 3.5rem; font-weight: 900; color: var(--white); line-height: 1; display: inline; }
.stat-unit { font-size: 1.5rem; font-weight: 700; color: var(--primary-light); display: inline; }
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ========== SERVICES ========== */
.services { background: var(--white); }
.services-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 24px; border: 2px solid var(--gray-300); border-radius: var(--radius-xl);
  background: var(--white); color: var(--gray-600); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition-smooth); position: relative; overflow: hidden;
}
.tab-btn::before {
  content: ''; position: absolute; inset: 0; background: var(--gradient-primary);
  opacity: 0; transition: opacity 0.3s; z-index: 0;
}
.tab-btn span { position: relative; z-index: 1; }
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--gradient-primary); border-color: transparent; color: var(--white); }
.tab-btn.active::before { opacity: 1; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-md); padding: 36px 24px;
  text-align: center; position: relative; overflow: hidden;
  border: 1px solid var(--gray-200); transition: var(--transition-smooth);
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,110,58,0.03), rgba(0,180,216,0.03));
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-12px); box-shadow: 0 20px 60px rgba(10,110,58,0.12);
  border-color: transparent;
}
.service-icon-wrap {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(10,110,58,0.08) 0%, rgba(0,180,216,0.08) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--primary); transition: var(--transition-smooth);
  position: relative;
}
.service-card:hover .service-icon-wrap {
  background: var(--gradient-primary); color: var(--white);
  transform: scale(1.15) rotate(8deg); box-shadow: var(--shadow-glow);
}
.service-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; }
.service-hover-bar {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--gradient-primary); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover .service-hover-bar { transform: scaleX(1); }

/* ========== TECHNOLOGY ========== */
.technology { background: var(--gray-100); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 80px; }
.tech-card { perspective: 1000px; }
.tech-card-inner {
  background: var(--white); border-radius: var(--radius-md); padding: 40px 24px;
  text-align: center; position: relative; overflow: hidden;
  transition: var(--transition-smooth); box-shadow: var(--shadow-sm);
}
.tech-card-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-primary); transform: scaleX(0); transition: transform 0.4s;
}
.tech-card-inner:hover::before { transform: scaleX(1); }
.tech-card-inner:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.tech-number {
  position: absolute; top: 8px; right: 14px; font-size: 3.5rem; font-weight: 900;
  color: rgba(10,110,58,0.04); line-height: 1; transition: var(--transition);
}
.tech-card-inner:hover .tech-number { color: rgba(10,110,58,0.08); }
.tech-icon-wrap {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white); transition: var(--transition-smooth);
}
.tech-card-inner:hover .tech-icon-wrap { transform: rotate(360deg) scale(1.1); box-shadow: var(--shadow-glow); }
.tech-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.tech-desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; }

/* ========== PROCESS ========== */
.process-section { text-align: center; }
.process-title { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 56px; }
.process-timeline {
  display: flex; align-items: flex-start; justify-content: center;
  position: relative; padding: 0 20px;
}
.process-line-bg {
  position: absolute; top: 30px; left: 12%; right: 12%; height: 3px;
  background: var(--gray-300); border-radius: 3px; z-index: 0;
}
.process-line-fill {
  width: 0; height: 100%; background: var(--gradient-primary);
  border-radius: 3px; transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-step {
  flex: 1; text-align: center; position: relative; z-index: 1;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-step.active { opacity: 1; transform: translateY(0); }
.step-circle {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; transition: var(--transition-smooth); position: relative;
}
.step-circle::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid transparent; transition: var(--transition-smooth);
}
.process-step.active .step-circle {
  background: var(--gradient-primary); border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.process-step.active .step-circle::after { border-color: rgba(10,110,58,0.2); }
.step-circle span { font-size: 1.1rem; font-weight: 700; color: var(--gray-400); transition: var(--transition); }
.process-step.active .step-circle span { color: var(--white); }
.step-label { font-size: 0.95rem; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.step-desc { font-size: 0.78rem; color: var(--gray-500); max-width: 120px; margin: 0 auto; line-height: 1.4; }

/* ========== CASES ========== */
.cases { background: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { border-radius: var(--radius-md); overflow: hidden; position: relative; }
.case-image { position: relative; overflow: hidden; }
.case-image-placeholder {
  width: 100%; aspect-ratio: 16/10; background: var(--gradient-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,0.2);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-card:hover .case-image-placeholder { transform: scale(1.08); }
.case-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  transform: translateY(20px); opacity: 0.8;
  transition: var(--transition-smooth);
}
.case-card:hover .case-overlay { transform: translateY(0); opacity: 1; }
.case-category {
  display: inline-block; padding: 4px 14px; background: var(--primary);
  color: var(--white); border-radius: var(--radius-xl); font-size: 0.75rem; font-weight: 600; margin-bottom: 10px;
}
.case-title { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.case-desc { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ========== CONTACT ========== */
.contact { background: var(--gray-100); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-heading { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; line-height: 1.4; }
.contact-text { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; border-radius: var(--radius-md); transition: var(--transition);
}
.contact-item:hover { background: var(--white); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem; flex-shrink: 0;
}
.contact-content h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.contact-content p { font-size: 0.9rem; color: var(--gray-600); }
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.contact-form-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-primary);
}
.form-group { margin-bottom: 16px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 0.9rem; font-family: inherit;
  color: var(--dark); 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 rgba(10,110,58,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ========== FOOTER ========== */
.footer { background: var(--dark); padding: 64px 0 0; color: rgba(255,255,255,0.7); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 16px;
}
.footer-logo i { color: var(--primary-light); font-size: 1.4rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 1.1rem; transition: var(--transition-smooth);
}
.social-link:hover { background: var(--primary); color: var(--white); transform: translateY(-4px) scale(1.1); }
.footer-links h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.footer-links a, .footer-links p {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 10px; transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; width: 50px; height: 50px;
  border-radius: 50%; background: var(--gradient-primary); color: var(--white);
  border: none; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--transition-smooth); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.05); box-shadow: var(--shadow-glow); }

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-50px); }
.reveal-left.revealed { transform: translateX(0); }
.reveal-right { transform: translateX(50px); }
.reveal-right.revealed { transform: translateX(0); }
.reveal-scale { transform: scale(0.9); }
.reveal-scale.revealed { transform: scale(1); }

/* Staggered delays for grid children */
.services-grid .service-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card.reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card.reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card.reveal:nth-child(6) { transition-delay: 0.3s; }
.services-grid .service-card.reveal:nth-child(7) { transition-delay: 0.35s; }
.services-grid .service-card.reveal:nth-child(8) { transition-delay: 0.4s; }
.services-grid .service-card.reveal:nth-child(9) { transition-delay: 0.45s; }
.services-grid .service-card.reveal:nth-child(10) { transition-delay: 0.5s; }
.services-grid .service-card.reveal:nth-child(11) { transition-delay: 0.55s; }
.services-grid .service-card.reveal:nth-child(12) { transition-delay: 0.6s; }

.tech-grid .tech-card.reveal:nth-child(1) { transition-delay: 0.1s; }
.tech-grid .tech-card.reveal:nth-child(2) { transition-delay: 0.2s; }
.tech-grid .tech-card.reveal:nth-child(3) { transition-delay: 0.3s; }
.tech-grid .tech-card.reveal:nth-child(4) { transition-delay: 0.4s; }

.stats-grid .stat-item.reveal:nth-child(1) { transition-delay: 0.1s; }
.stats-grid .stat-item.reveal:nth-child(2) { transition-delay: 0.2s; }
.stats-grid .stat-item.reveal:nth-child(3) { transition-delay: 0.3s; }
.stats-grid .stat-item.reveal:nth-child(4) { transition-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--white); flex-direction: column; padding: 80px 32px 32px;
    box-shadow: var(--shadow-xl); transition: var(--transition);
  }
  .nav-menu.open { right: 0; }
  .nav-link { color: var(--gray-700); padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
  .nav-link:hover, .nav-link.active { color: var(--primary); background: transparent; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cases-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-timeline { flex-direction: column; align-items: center; gap: 20px; }
  .process-line-bg { display: none; }
  .section { padding: 64px 0; }
  .hero-orb { display: none; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 24px; }
}
