/* ========================================
   YuHai Technology - Design System
   Ocean-themed premium corporate website
   ======================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Ocean Palette */
  --color-abyss: #050d1a;         /* Deepest background */
  --color-deep-navy: #0a1628;     /* Primary dark background */
  --color-navy: #0f2140;          /* Secondary dark */
  --color-ocean: #0d47a1;         /* Primary blue */
  --color-marine: #1565c0;        /* Accent blue */
  --color-teal: #00897b;          /* Teal accent */
  --color-cyan: #00e5ff;          /* Bright cyan highlight */
  --color-aqua: #00bcd4;          /* Secondary cyan */
  --color-light-cyan: #b2ebf2;    /* Light text accent */
  --color-foam: #e0f7fa;          /* Lightest accent */
  --color-gold: #ffd54f;          /* Premium gold accent */

  /* Neutral Palette */
  --color-white: #ffffff;
  --color-ghost: rgba(255, 255, 255, 0.87);
  --color-mist: rgba(255, 255, 255, 0.6);
  --color-faded: rgba(255, 255, 255, 0.38);

  /* Glassmorphism */
  --glass-bg: rgba(15, 33, 64, 0.45);
  --glass-border: rgba(0, 229, 255, 0.12);
  --glass-blur: 20px;

  /* Gradients */
  --gradient-ocean: linear-gradient(135deg, #0a1628 0%, #0d47a1 50%, #00897b 100%);
  --gradient-glow: linear-gradient(135deg, #00e5ff 0%, #00897b 100%);
  --gradient-surface: linear-gradient(180deg, #0a1628 0%, #0f2140 100%);
  --gradient-card: linear-gradient(145deg, rgba(13, 71, 161, 0.15) 0%, rgba(0, 137, 123, 0.08) 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-abyss);
  color: var(--color-ghost);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection Styling */
::selection {
  background: rgba(0, 229, 255, 0.3);
  color: var(--color-white);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-mist);
  max-width: 600px;
  line-height: 1.8;
}

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

/* --- Animated Background Particles (Canvas Layer) --- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(5, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-white);
}

.nav-logo img {
  height: 44px;
  width: auto;
  transform: translateY(2px);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex;
  align-items: baseline;
  letter-spacing: 0.5px;
}

.nav-logo-text .brand-core {
  font-weight: 700;
  color: var(--color-white);
}

.nav-logo-text .brand-suffix {
  font-weight: 300;
  color: var(--color-cyan);
  margin-left: 6px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-mist);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-glow);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--color-cyan);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 28px !important;
  background: var(--gradient-glow) !important;
  border-radius: 50px;
  color: var(--color-abyss) !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth) !important;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.25);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.4) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 13, 26, 0.4) 0%,
    rgba(5, 13, 26, 0.6) 50%,
    rgba(5, 13, 26, 0.95) 100%
  );
}

/* Animated wave overlay at the bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero .container {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-light-cyan);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero-title .line {
  display: block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--color-mist);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-glow);
  border: none;
  border-radius: 50px;
  color: var(--color-abyss);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(0, 229, 255, 0.5);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 50px;
  color: var(--color-cyan);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--color-cyan);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--color-faded);
  margin-top: 4px;
}

/* --- About Section --- */
.about {
  position: relative;
  padding: var(--section-padding);
  z-index: 1;
  background: var(--color-abyss);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Decorative glow ring behind about image */
.about-image::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: var(--gradient-glow);
  opacity: 0.2;
  z-index: -1;
}

.about-text .section-subtitle {
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--color-faded);
  line-height: 1.5;
}

/* --- Services Section --- */
.services {
  position: relative;
  padding: var(--section-padding);
  z-index: 1;
  background: var(--gradient-surface);
}

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

.services .section-header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 32px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: var(--transition-smooth);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: rgba(0, 229, 255, 0.15);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.15);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-cyan);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-mist);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-cyan);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.service-link:hover {
  gap: 10px;
}

/* --- Technology Section --- */
.technology {
  position: relative;
  padding: var(--section-padding);
  z-index: 1;
  background: var(--color-abyss);
  overflow: hidden;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-visual {
  position: relative;
}

.tech-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-elevated);
}

/* Animated ring around tech visual */
.tech-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 50%;
  animation: techRingSpin 20s linear infinite;
}

.tech-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-cyan);
}

.tech-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: var(--transition-smooth);
}

.tech-item:hover {
  border-color: rgba(0, 229, 255, 0.2);
  background: rgba(15, 33, 64, 0.6);
}

.tech-item-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-abyss);
}

.tech-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.tech-item p {
  font-size: 0.88rem;
  color: var(--color-mist);
  line-height: 1.6;
}

/* --- Metrics / Impact Section --- */
.metrics {
  position: relative;
  padding: 100px 0;
  z-index: 1;
  background: var(--gradient-ocean);
  overflow: hidden;
}

.metrics::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='%2300e5ff' fill-opacity='0.04'%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");
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

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

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-number span {
  color: var(--color-gold);
}

.metric-label {
  font-size: 0.95rem;
  color: var(--color-light-cyan);
  font-weight: 500;
}

/* --- Partners Section --- */
.partners {
  position: relative;
  padding: 80px 0;
  z-index: 1;
  background: var(--color-deep-navy);
  border-top: 1px solid rgba(0, 229, 255, 0.06);
  border-bottom: 1px solid rgba(0, 229, 255, 0.06);
}

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

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 1px;
  transition: transform 0.3s ease;
  cursor: default;
}

.partner-logo:hover {
  transform: translateY(-3px);
}

/* --- Testimonials Section --- */
.testimonials {
  position: relative;
  padding: var(--section-padding);
  z-index: 1;
  background: var(--color-abyss);
}

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

.testimonials .section-header .section-subtitle {
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-mist);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-abyss);
  font-size: 1.1rem;
}

.testimonial-author-info h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
}

.testimonial-author-info p {
  font-size: 0.8rem;
  color: var(--color-faded);
}

/* --- Case Feature Block (Use Cases Section) --- */
.case-feature {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.case-feature h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.case-feature .case-icon {
  font-size: 1.25rem;
}

.case-feature p {
  font-size: 0.85rem;
  color: var(--color-mist);
  line-height: 1.6;
}

/* --- CTA / Contact Section --- */
.cta {
  position: relative;
  padding: var(--section-padding);
  z-index: 1;
  background: var(--gradient-surface);
  overflow: hidden;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 20px;
}

.cta-content .section-subtitle {
  margin: 0 auto 40px;
  text-align: center;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Decorative glowing circles */
.cta-glow-1,
.cta-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.cta-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 229, 255, 0.08);
  top: -100px;
  right: -100px;
}

.cta-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 137, 123, 0.1);
  bottom: -80px;
  left: -80px;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--color-abyss);
  border-top: 1px solid rgba(0, 229, 255, 0.06);
}

.footer-main {
  padding: 80px 0 40px;
}

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

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-faded);
  max-width: 300px;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-mist);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--color-cyan);
  border-color: rgba(0, 229, 255, 0.3);
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--color-faded);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-faded);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--color-faded);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-cyan);
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes techRingSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

/* Scroll-triggered animation class */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .about-grid,
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  .hero-stats {
    gap: 32px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  /* Mobile nav */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    right: 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

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

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

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

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

  .footer-bottom .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .partner-logos {
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

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