/* ============================================
   AI Data Intelligence Limited
   Premium Light Mode Design System
   Top 1% AI Website Aesthetic
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Light Mode Colors */
  --bg-primary: #fafbff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0f4ff;
  --bg-glass: rgba(255, 255, 255, 0.7);
  
  /* Primary Accent - Electric Blue/Purple */
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #a855f7;
  --accent-light: #e0e7ff;
  
  /* Aurora Colors */
  --aurora-1: #6366f1;
  --aurora-2: #8b5cf6;
  --aurora-3: #ec4899;
  --aurora-4: #06b6d4;
  --aurora-5: #10b981;
  
  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-inverse: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  --gradient-aurora: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.15) 0%, 
    rgba(139, 92, 246, 0.15) 25%, 
    rgba(236, 72, 153, 0.1) 50%, 
    rgba(6, 182, 212, 0.1) 75%, 
    rgba(16, 185, 129, 0.1) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.2) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(236, 72, 153, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(99, 102, 241, 0.1) 0px, transparent 50%);
  
  /* Typography */
  --font-primary: 'Space Grotesk', 'Noto Sans TC', 'Noto Sans SC', system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.75rem;
  --font-size-5xl: 3.75rem;
  --font-size-6xl: 5rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
  --shadow-glow-pink: 0 0 60px rgba(236, 72, 153, 0.2);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Container */
  --container-max: 1280px;
  --container-narrow: 900px;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ---------- Animated Background ---------- */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: var(--bg-primary);
  overflow: hidden;
}

.animated-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mesh);
  animation: meshMove 20s ease-in-out infinite;
}

.animated-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  animation: floatBg 30s ease-in-out infinite;
}

@keyframes meshMove {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-2%, 2%) scale(1.02);
  }
  50% {
    transform: translate(2%, -1%) scale(0.98);
  }
  75% {
    transform: translate(-1%, -2%) scale(1.01);
  }
}

@keyframes floatBg {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(5%, 3%) rotate(2deg);
  }
  66% {
    transform: translate(-3%, 5%) rotate(-2deg);
  }
}

/* Floating Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  top: 10%;
  left: -5%;
  animation: orbFloat1 25s ease-in-out infinite;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--aurora-3), var(--aurora-4));
  top: 60%;
  right: -5%;
  animation: orbFloat2 20s ease-in-out infinite;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--aurora-4), var(--aurora-5));
  bottom: 10%;
  left: 30%;
  animation: orbFloat3 22s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  25% { transform: translate(50px, 30px) scale(1.1); opacity: 0.7; }
  50% { transform: translate(20px, 60px) scale(0.9); opacity: 0.5; }
  75% { transform: translate(40px, 20px) scale(1.05); opacity: 0.6; }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  33% { transform: translate(-40px, 40px) scale(1.1); opacity: 0.6; }
  66% { transform: translate(-20px, -30px) scale(0.95); opacity: 0.5; }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(60px, -40px) scale(1.15); opacity: 0.6; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

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

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease-in-out infinite;
}

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

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

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

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo img {
  height: 42px;
  width: auto;
  transition: transform var(--transition-base);
}

.logo:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text-main {
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text-sub {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--text-tertiary);
}

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

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-base);
  z-index: -1;
}

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

.nav-link:hover::before {
  opacity: 0.1;
  transform: scale(1);
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
}

.lang-switcher a {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  color: var(--text-tertiary);
  font-weight: 500;
  transition: all var(--transition-base);
}

.lang-switcher a:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.lang-switcher a.active {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.1);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.btn-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-base);
}

/* Animated button shine */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: rotate(45deg) translateX(-100%);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 100% { transform: rotate(45deg) translateX(-100%); }
  50% { transform: rotate(45deg) translateX(100%); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-glass);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

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

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-lg);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.card-icon-accent {
  background: var(--gradient-accent);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
}

.card-icon-secondary {
  background: var(--gradient-secondary);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.card h3 {
  margin-bottom: var(--space-md);
  font-size: var(--font-size-xl);
}

.card p {
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--space-5xl) + 80px) var(--space-xl) var(--space-5xl);
  position: relative;
  overflow: hidden;
}

/* Hero Aurora Effect */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-aurora::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(99, 102, 241, 0.15) 0deg,
    rgba(139, 92, 246, 0.1) 60deg,
    rgba(236, 72, 153, 0.1) 120deg,
    rgba(6, 182, 212, 0.1) 180deg,
    rgba(16, 185, 129, 0.1) 240deg,
    rgba(99, 102, 241, 0.15) 300deg,
    rgba(99, 102, 241, 0.15) 360deg
  );
  animation: auroraRotate 30s linear infinite;
}

@keyframes auroraRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--accent-primary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
}

.hero h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero p {
  font-size: var(--font-size-xl);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* Floating Particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.3;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation: particleFloat 15s ease-in-out infinite; }
.particle:nth-child(2) { left: 20%; top: 80%; animation: particleFloat 18s ease-in-out infinite 2s; }
.particle:nth-child(3) { left: 60%; top: 30%; animation: particleFloat 20s ease-in-out infinite 4s; }
.particle:nth-child(4) { left: 80%; top: 70%; animation: particleFloat 17s ease-in-out infinite 1s; }
.particle:nth-child(5) { left: 90%; top: 10%; animation: particleFloat 22s ease-in-out infinite 3s; }
.particle:nth-child(6) { left: 40%; top: 50%; animation: particleFloat 19s ease-in-out infinite 5s; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25% { transform: translate(30px, -40px) scale(1.5); opacity: 0.6; }
  50% { transform: translate(-20px, -60px) scale(1); opacity: 0.3; }
  75% { transform: translate(40px, -30px) scale(1.3); opacity: 0.5; }
}

/* ---------- Page Header ---------- */
.page-header {
  padding: calc(var(--space-5xl) + 100px) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 102, 241, 0.1), transparent);
  pointer-events: none;
}

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

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

.page-header p {
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Features Section ---------- */
.features {
  background: transparent;
}

.features-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.features-header h2 {
  margin-bottom: var(--space-md);
}

/* ---------- Stats Section ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
  background: var(--bg-glass);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

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

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  animation: ctaGlow 10s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: var(--bg-glass);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(20px);
}

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

.cta-section p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
}

/* ---------- Why Us Section ---------- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.why-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg-glass);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.why-item:hover {
  transform: translateX(8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  transition: all var(--transition-base);
}

.why-item:hover .why-icon {
  transform: rotate(-10deg) scale(1.1);
}

.why-content h4 {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.why-content p {
  font-size: var(--font-size-sm);
}

/* ---------- Industry Cards ---------- */
.industry-card {
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.industry-card:hover::after {
  transform: scaleX(1);
}

/* ---------- Values List ---------- */
.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.value-item {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: var(--bg-glass);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.value-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}

.value-number {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-inverse);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

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

/* ---------- Blog/Insights Cards ---------- */
.insight-card {
  display: flex;
  flex-direction: column;
}

.insight-category {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  width: fit-content;
}

.insight-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.insight-card:hover h3 {
  color: var(--accent-primary);
}

.insight-date {
  margin-top: auto;
  padding-top: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

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

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--bg-glass);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all var(--transition-base);
}

.contact-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(8px);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.contact-item h4 {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.contact-item p {
  color: var(--text-primary);
  font-weight: 500;
}

.contact-cta {
  background: var(--bg-glass);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  opacity: 0.5;
  animation: ctaGlow 8s ease-in-out infinite;
}

.contact-cta > * {
  position: relative;
  z-index: 1;
}

.contact-cta h3 {
  margin-bottom: var(--space-md);
}

.contact-cta p {
  margin-bottom: var(--space-xl);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  padding: var(--space-4xl) 0 var(--space-xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.footer-col h4 {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-col a {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-bottom p {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

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

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-5 { animation-delay: 0.5s; opacity: 0; }

/* Stagger children animation */
.stagger-children > * {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.5s; }

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 3rem;
    --font-size-4xl: 2.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: var(--shadow-lg);
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: var(--space-md);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: auto;
    padding: calc(var(--space-5xl) + 60px) var(--space-md) var(--space-4xl);
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .card-grid,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  .stat-item {
    padding: var(--space-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: none;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .value-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .why-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .orb-1, .orb-2, .orb-3 {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .hero h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero p {
    font-size: var(--font-size-base);
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .lang-switcher {
    font-size: var(--font-size-xs);
  }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-auto { margin-top: auto; }

.hidden { display: none; }

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

/* Glassmorphism utility */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Gradient border */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Hover lift effect */
.hover-lift {
  transition: all var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Scroll reveal placeholder */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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