/* ============================================
   THEME SYSTEM - TWO COMPLETELY UNIQUE THEMES
   ============================================ */
:root {
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

/* ═══════════════════════════════════════════
   DARK THEME: "VIVID DEPTHS"
   Deep ocean with vivid blue, purple & indigo aurora effects
   ═══════════════════════════════════════════ */
[data-theme="dark"] {
  --bg-primary: #050A18;
  --bg-secondary: #0A1228;
  --bg-tertiary: #101C3A;
  --bg-card: rgba(10, 18, 40, 0.55);
  --bg-card-hover: rgba(16, 28, 58, 0.75);
  --bg-glass: rgba(5, 10, 24, 0.45);
  --text-primary: #EEF2FF;
  --text-secondary: #7090E0;
  --text-muted: #4868B0;
  --border: rgba(59, 130, 246, 0.1);
  --border-hover: rgba(59, 130, 246, 0.3);
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.5);
  --nav-bg: rgba(5, 10, 24, 0.7);
  --accent-1: #3B82F6;
  --accent-2: #A855F7;
  --accent-3: #818CF8;
  --accent-4: #C084FC;
  --gradient-hero: linear-gradient(135deg, #3B82F6 0%, #A855F7 40%, #818CF8 70%, #C084FC 100%);
  --gradient-card: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(168,85,247,0.06));
  --glow-1: rgba(59, 130, 246, 0.35);
  --glow-2: rgba(168, 85, 247, 0.3);
  --noise-opacity: 0.03;
  --aurora-opacity: 1;
  --card-blur: 16px;
  --divider-fill: #050A18;
}

/* ═══════════════════════════════════════════
   LIGHT THEME: "PRISM VIVID"
   Frosted glass with vivid blue & purple prism refractions
   ═══════════════════════════════════════════ */
[data-theme="light"] {
  --bg-primary: #EEF0FA;
  --bg-secondary: #F5F6FC;
  --bg-tertiary: #DCE0F4;
  --bg-card: rgba(245, 246, 252, 0.7);
  --bg-card-hover: rgba(220, 224, 244, 0.6);
  --bg-glass: rgba(238, 240, 250, 0.6);
  --text-primary: #0A0E30;
  --text-secondary: #2A3470;
  --text-muted: #4A50A0;
  --border: rgba(59, 130, 246, 0.1);
  --border-hover: rgba(59, 130, 246, 0.25);
  --shadow: 0 8px 40px rgba(59, 130, 246, 0.1);
  --shadow-lg: 0 24px 80px rgba(59, 130, 246, 0.14);
  --nav-bg: rgba(238, 240, 250, 0.75);
  --accent-1: #2563EB;
  --accent-2: #7C3AED;
  --accent-3: #6366F1;
  --accent-4: #9333EA;
  --gradient-hero: linear-gradient(135deg, #2563EB 0%, #7C3AED 40%, #6366F1 70%, #9333EA 100%);
  --gradient-card: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(124,58,237,0.03));
  --glow-1: rgba(37, 99, 235, 0.15);
  --glow-2: rgba(124, 58, 237, 0.12);
  --noise-opacity: 0.015;
  --aurora-opacity: 0.5;
  --card-blur: 20px;
  --divider-fill: #EEF0FA;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.6s ease, color 0.4s ease;
  cursor: none;
}
@media (max-width: 768px) { body { cursor: auto; } }
a { text-decoration: none; color: inherit; cursor: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  width: 20px; height: 20px;
  border: 2px solid var(--accent-1);
  border-radius: 50%; position: fixed;
  pointer-events: none; z-index: 9999;
  transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.1s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 50px; height: 50px;
  border-color: var(--accent-2);
  background: rgba(59,130,246,0.1);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent-1);
  border-radius: 50%; position: fixed;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
@media (max-width: 768px) { .cursor, .cursor-dot { display: none; } }

/* ============================================
   NOISE OVERLAY
   ============================================ */
.noise-overlay {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   AURORA BACKGROUND (DARK) / PRISM (LIGHT)
   ============================================ */
.aurora-container {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
  opacity: var(--aurora-opacity);
  transition: opacity 0.6s ease;
}
.aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.aurora-blob:nth-child(1) {
  width: 600px; height: 400px; top: -10%; left: -5%;
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(168,85,247,0.2));
  animation: auroraMove1 18s infinite;
}
.aurora-blob:nth-child(2) {
  width: 500px; height: 500px; top: 30%; right: -10%;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(129,140,248,0.15));
  animation: auroraMove2 22s infinite;
}
.aurora-blob:nth-child(3) {
  width: 700px; height: 350px; bottom: -5%; left: 20%;
  background: linear-gradient(135deg, rgba(129,140,248,0.2), rgba(192,132,252,0.12));
  animation: auroraMove3 25s infinite;
}
.aurora-blob:nth-child(4) {
  width: 400px; height: 400px; top: 50%; left: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  animation: auroraMove4 20s infinite;
}
@keyframes auroraMove1 {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  25% { transform: translate(80px,40px) rotate(10deg) scale(1.1); }
  50% { transform: translate(40px,80px) rotate(-5deg) scale(0.9); }
  75% { transform: translate(-40px,20px) rotate(5deg) scale(1.05); }
}
@keyframes auroraMove2 {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  33% { transform: translate(-60px,50px) rotate(-8deg) scale(1.15); }
  66% { transform: translate(40px,-30px) rotate(12deg) scale(0.85); }
}
@keyframes auroraMove3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px,-40px) scale(1.2); }
}
@keyframes auroraMove4 {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%,-50%) scale(1.5); opacity: 0.2; }
}

/* Light theme prism effect */
[data-theme="light"] .aurora-blob:nth-child(1) {
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(124,58,237,0.08));
}
[data-theme="light"] .aurora-blob:nth-child(2) {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(99,102,241,0.06));
}
[data-theme="light"] .aurora-blob:nth-child(3) {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(147,51,234,0.05));
}
[data-theme="light"] .aurora-blob:nth-child(4) {
  background: radial-gradient(circle, rgba(37,99,235,0.06), transparent 70%);
}

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); position: relative; z-index: 2; }
.container-wide { max-width: 1600px; }
.section { padding: 140px 0; position: relative; }
.section-header { margin-bottom: 72px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--accent-2); margin-bottom: 20px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.15);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 560px; line-height: 1.8;
}
.gradient-text {
  background: var(--gradient-hero);
  background-size: 300% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 6s ease infinite;
}
@keyframes gradientFlow {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Wave Section Divider */
.wave-divider {
  position: absolute; bottom: -2px; left: 0; width: 100%;
  line-height: 0; z-index: 3;
}
.wave-divider svg { width: 100%; height: auto; }
.wave-divider-top { top: -2px; bottom: auto; transform: rotate(180deg); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-60px); }
.reveal-left.visible { transform: translateX(0); }
.reveal-right { transform: translateX(60px); }
.reveal-right.visible { transform: translateX(0); }
.reveal-scale { transform: scale(0.9); }
.reveal-scale.visible { transform: scale(1); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ============================================
   GLASS CARD BASE
   ============================================ */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--card-blur));
  -webkit-backdrop-filter: blur(var(--card-blur));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-card); opacity: 0;
  transition: opacity 0.5s ease;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 40px var(--glow-1);
  transform: translateY(-8px);
}

/* 3D Tilt Container */
.tilt-card { transform-style: preserve-3d; perspective: 1000px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 14px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  border: none; cursor: none; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.btn-glow {
  background: var(--gradient-hero); background-size: 200% auto;
  color: #fff; animation: gradientFlow 4s ease infinite;
}
.btn-glow::before {
  content: ''; position: absolute; inset: -2px;
  background: var(--gradient-hero); background-size: 200% auto;
  border-radius: 16px; z-index: -1; filter: blur(12px); opacity: 0.5;
  animation: gradientFlow 4s ease infinite;
  transition: opacity 0.3s;
}
.btn-glow:hover::before { opacity: 0.8; }
.btn-glow:hover { transform: translateY(-3px) scale(1.02); }

.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-glass:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  min-height: 72px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

/* Logo — CSS Text Wordmark */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1;
  gap: 6px;
  transition: opacity 0.3s ease;
}
.nav-logo:hover { opacity: 0.85; }
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
  flex-shrink: 0;
}
.navbar.scrolled .logo-icon { width: 30px; height: 30px; border-radius: 7px; }
.footer-about .logo-icon { width: 32px; height: 32px; border-radius: 8px; }
.logo-total {
  font-weight: 500;
  color: var(--text-primary);
}
.logo-cloud {
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-ai {
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar.scrolled .nav-logo { font-size: 1.45rem; }
.footer-about .nav-logo {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-link.active {
  color: var(--accent-1);
  background: rgba(123,97,255,0.08);
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Theme Toggle — Morphing Sun/Moon */
.theme-toggle {
  width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  cursor: none; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.theme-toggle:hover {
  border-color: var(--border-hover);
  transform: rotate(30deg) scale(1.05);
  box-shadow: 0 0 20px var(--glow-1);
}
.toggle-icon {
  font-size: 20px; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
[data-theme="dark"] .toggle-icon { transform: rotate(0deg); }
[data-theme="light"] .toggle-icon { transform: rotate(360deg); }

/* Mobile */
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg-card);
  cursor: pointer; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: all var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-primary);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav.active { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  color: var(--text-primary); transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent-1); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg-card);
  cursor: pointer; font-size: 20px; color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}
.hero-content { position: relative; z-index: 2; }

/* Hero Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px 8px 12px; border-radius: 100px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 12px #3B82F6;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(59,130,246,0); }
}

/* Hero Tagline */
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--text-muted) 0%,
    var(--accent-1) 25%,
    #A855F7 50%,
    var(--accent-1) 75%,
    var(--text-muted) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: taglineShimmer 4s ease-in-out infinite, fadeInDown 1s ease 0.3s both;
  position: relative;
  display: inline-block;
}
.hero-tagline span {
  background: linear-gradient(135deg, #3B82F6, #A855F7, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
@keyframes taglineShimmer {
  0% { background-position: 100% 0; }
  50% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* Hero Title */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span {
  display: inline-block;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero h1 .line:nth-child(2) span { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.2s; }
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 520px; margin-bottom: 40px; line-height: 1.8;
  animation: fadeInDown 0.8s ease 0.3s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInDown 0.8s ease 0.4s both;
}

/* Hero Stats */
.hero-stats {
  display: flex; gap: 40px; margin-top: 64px;
  animation: fadeInDown 0.8s ease 0.5s both;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
  line-height: 1;
}
.hero-stat-value .counter { display: inline; }
.hero-stat-label {
  font-size: 13px; color: var(--text-muted);
  margin-top: 6px; font-weight: 500;
}

/* Hero Visual — Solar System */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.orb-container {
  width: min(520px, 42vw); height: min(520px, 42vw); position: relative;
  animation: orbFloat 8s ease-in-out infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(2deg); }
  75% { transform: translateY(10px) rotate(-1deg); }
}

/* Sun core */
.orb-core {
  position: absolute; top: 50%; left: 50%;
  width: 140px; height: 140px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, #FFF7AE 0%, #FFD93D 20%, #FF9D00 50%, #FF6B00 75%, #E04800 100%);
  box-shadow:
    0 0 30px rgba(255,180,0,0.6),
    0 0 80px rgba(255,140,0,0.4),
    0 0 160px rgba(255,100,0,0.25),
    0 0 240px rgba(255,60,0,0.12),
    inset 0 0 30px rgba(255,255,255,0.3);
  animation: sunPulse 4s ease-in-out infinite;
}
/* Sun corona glow */
.orb-core::before {
  content: ''; position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,0,0.3) 0%, rgba(255,120,0,0.1) 50%, transparent 70%);
  animation: coronaPulse 3s ease-in-out infinite alternate;
}
/* Sun surface texture */
.orb-core::after {
  content: ''; position: absolute; top: 5%; left: 5%; width: 90%; height: 90%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.25) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(255,200,50,0.15) 0%, transparent 40%);
}
@keyframes sunPulse {
  0%,100% { box-shadow: 0 0 30px rgba(255,180,0,0.6), 0 0 80px rgba(255,140,0,0.4), 0 0 160px rgba(255,100,0,0.25), 0 0 240px rgba(255,60,0,0.12), inset 0 0 30px rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 40px rgba(255,180,0,0.7), 0 0 100px rgba(255,140,0,0.5), 0 0 180px rgba(255,100,0,0.3), 0 0 280px rgba(255,60,0,0.15), inset 0 0 40px rgba(255,255,255,0.35); transform: translate(-50%,-50%) scale(1.03); }
}
@keyframes coronaPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* Blinking stars */
.orb-stars { position: absolute; inset: 0; pointer-events: none; }
.orb-star {
  position: absolute; border-radius: 50%;
  background: #fff;
  animation: starBlink var(--blink-dur, 3s) ease-in-out infinite alternate;
  animation-delay: var(--blink-delay, 0s);
}
.orb-star::after {
  content: ''; position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8), transparent 70%);
}
@keyframes starBlink {
  0%   { opacity: 0.15; transform: scale(0.6); }
  50%  { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.3; transform: scale(0.8); }
}

/* Orbit rings */
.orb-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid;
  transform: translate(-50%, -50%);
}
.orb-ring:nth-child(3) {
  width: 220px; height: 220px;
  border-color: rgba(255,200,100,0.25);
  animation: ringRotate 14s linear infinite;
}
.orb-ring:nth-child(4) {
  width: 300px; height: 300px;
  border-color: rgba(255,180,80,0.2);
  animation: ringRotate 22s linear infinite reverse;
}
.orb-ring:nth-child(5) {
  width: 380px; height: 380px;
  border-color: rgba(255,160,60,0.16);
  animation: ringRotate 32s linear infinite;
}
.orb-ring:nth-child(6) {
  width: 460px; height: 460px;
  border-color: rgba(255,140,40,0.12);
  animation: ringRotate 44s linear infinite reverse;
}
@keyframes ringRotate { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Orbiting planets */
.orbit-planet {
  position: absolute; border-radius: 50%;
  box-shadow: 0 0 12px currentColor, 0 0 24px currentColor;
}
/* Planet trailing glow */
.orbit-planet::after {
  content: ''; position: absolute; top: 50%; right: 100%;
  width: 30px; height: 2px; border-radius: 2px;
  transform: translateY(-50%);
  background: linear-gradient(to left, currentColor, transparent);
  opacity: 0.5;
}
/* Ring 1 — Azure */
.planet-azure {
  width: 16px; height: 16px;
  background: radial-gradient(circle at 35% 35%, #4FC3F7, #0078D4);
  color: rgba(0,120,212,0.4);
  top: -8px; left: 50%;
}
/* Ring 2 — AWS + Docker */
.planet-aws {
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, #FFCC80, #FF9900);
  color: rgba(255,153,0,0.4);
  top: 50%; right: -7px;
}
.planet-docker {
  width: 10px; height: 10px;
  background: radial-gradient(circle at 35% 35%, #4FC3F7, #2496ED);
  color: rgba(36,150,237,0.4);
  bottom: -5px; left: 30%;
}
/* Ring 3 — GCP + Terraform */
.planet-gcp {
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, #81C784, #34A853);
  color: rgba(52,168,83,0.4);
  bottom: -7px; left: 50%;
}
.planet-terraform {
  width: 10px; height: 10px;
  background: radial-gradient(circle at 35% 35%, #B39DDB, #7B42BC);
  color: rgba(123,66,188,0.4);
  top: 20%; left: -5px;
}
/* Ring 4 — Kubernetes + Cloudflare + Alibaba */
.planet-k8s {
  width: 12px; height: 12px;
  background: radial-gradient(circle at 35% 35%, #64B5F6, #326CE5);
  color: rgba(50,108,229,0.4);
  top: -6px; left: 35%;
}
.planet-cloudflare {
  width: 10px; height: 10px;
  background: radial-gradient(circle at 35% 35%, #FFCC80, #F6821F);
  color: rgba(246,130,31,0.4);
  top: 50%; right: -5px;
}
.planet-alibaba {
  width: 11px; height: 11px;
  background: radial-gradient(circle at 35% 35%, #FFAB91, #FF6A00);
  color: rgba(255,106,0,0.4);
  bottom: 20%; left: -5px;
}

/* ============================================
   MARQUEE / TRUSTED
   ============================================ */
.marquee-section {
  padding: 48px 0; position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 64px; width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 600; color: var(--text-muted);
  white-space: nowrap; opacity: 0.5;
  transition: opacity var(--transition);
  display: flex; align-items: center; gap: 12px;
}
.marquee-item:hover { opacity: 1; }
.marquee-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-1); opacity: 0.5;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 44px 36px; border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
/* Animated border gradient */
.service-card::after {
  content: ''; position: absolute; top: -1px; left: -1px;
  right: -1px; bottom: -1px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  background-size: 300% 300%;
  border-radius: inherit; z-index: -1;
  opacity: 0; transition: opacity 0.5s ease;
  animation: borderRotate 4s linear infinite;
}
.service-card:hover::after { opacity: 1; }
@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.service-card-inner {
  position: relative; z-index: 1;
  background: var(--bg-card);
  backdrop-filter: blur(var(--card-blur));
  border-radius: calc(var(--radius-lg) - 1px);
  margin: -43px -35px; padding: 44px 36px;
}
.service-card:hover .service-card-inner {
  background: var(--bg-card-hover);
}

.service-icon-wrap {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 28px;
  position: relative;
}
.service-icon-wrap.c1 { background: rgba(59,130,246,0.15); }
.service-icon-wrap.c2 { background: rgba(168,85,247,0.15); }
.service-icon-wrap.c3 { background: rgba(129,140,248,0.15); }
.service-icon-wrap.c4 { background: rgba(192,132,252,0.15); }
.service-icon-wrap.c5 { background: rgba(37,99,235,0.15); }
.service-icon-wrap.c6 { background: rgba(124,58,237,0.15); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75;
  margin-bottom: 20px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
  padding: 4px 14px; border-radius: 100px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--accent-2);
  background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.12);
}
.service-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-1);
  transition: color 0.3s, transform 0.3s;
}
.service-card:hover .service-link {
  color: var(--accent-2);
  transform: translateX(4px);
}
a.service-card { display: block; text-decoration: none; color: inherit; }

/* ============================================
   SERVICE DETAIL MODAL
   ============================================ */
.service-card { cursor: pointer; }
.service-detail-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  animation: otpFadeIn 0.3s ease;
  padding: 20px;
  overflow-y: auto;
  cursor: pointer;
}
.service-detail-modal { cursor: default; }
.service-detail-modal {
  max-width: 860px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 48px 44px;
  position: relative;
  animation: otpSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
}
.service-detail-modal::-webkit-scrollbar { width: 4px; }
.service-detail-modal::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 4px; }
.sdm-close {
  position: sticky; top: 0; float: right;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary); font-size: 22px;
  cursor: pointer; transition: all 0.3s ease;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.sdm-close:hover { color: #fff; background: rgba(239,68,68,0.7); border-color: rgba(239,68,68,0.8); transform: rotate(90deg); }
.sdm-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.sdm-icon {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; flex-shrink: 0;
}
.sdm-header h2 {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700;
  letter-spacing: -0.02em; margin: 0;
}
.sdm-header p {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
  margin: 8px 0 0 0;
}
.sdm-section {
  margin-bottom: 32px;
}
.sdm-section-title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
  color: var(--text-primary);
}
.sdm-section-title .sdm-title-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; background: rgba(59,130,246,0.12);
}
.sdm-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.sdm-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 18px;
  position: relative; transition: all var(--transition);
}
.sdm-step:hover {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px var(--glow-1);
}
.sdm-step-num {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.sdm-step h4 {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 6px;
}
.sdm-step p {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin: 0;
}
.sdm-arch {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  font-family: var(--mono); font-size: 13px; line-height: 2;
  color: var(--text-secondary); overflow-x: auto;
  white-space: pre; position: relative;
}
.sdm-arch-label {
  position: absolute; top: 10px; right: 14px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  color: var(--accent-2); text-transform: uppercase; letter-spacing: 1px;
}
/* Visual Architecture Diagram */
.arch-visual {
  background: linear-gradient(180deg, rgba(15,23,42,0.95), rgba(15,23,42,0.8));
  border: 1px solid var(--border); border-radius: 14px;
  padding: 40px 32px; display: flex; flex-direction: column;
  align-items: center; gap: 0;
}
[data-theme="light"] .arch-visual {
  background: linear-gradient(180deg, rgba(248,250,252,0.95), rgba(241,245,249,0.9));
}
.arch-arrow {
  display: flex; flex-direction: column; align-items: center; padding: 6px 0;
}
.arch-arrow-line {
  width: 2px; height: 28px;
  background: linear-gradient(180deg, #3B82F6, #60A5FA);
}
.arch-arrow-head {
  width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-top: 9px solid #60A5FA;
}
/* People illustration at top */
.arch-people {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 0; margin-bottom: 12px; font-size: 52px; line-height: 1;
}
.arch-box {
  border: 1.5px solid rgba(96,165,250,0.3); border-radius: 10px;
  padding: 20px 24px; width: 100%; max-width: 580px;
  text-align: center; position: relative;
  background: rgba(30,58,138,0.08);
  transition: all var(--transition);
}
[data-theme="light"] .arch-box {
  background: rgba(59,130,246,0.04);
  border-color: rgba(59,130,246,0.2);
}
.arch-box:hover {
  border-color: rgba(96,165,250,0.5);
  box-shadow: 0 0 24px rgba(59,130,246,0.1);
}
.arch-box-title {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: #93C5FD; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 10px;
}
[data-theme="light"] .arch-box-title { color: #2563EB; }
.arch-box-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; margin-bottom: 10px; flex-wrap: wrap;
}
.arch-logo {
  width: 40px; height: 40px; object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.3s;
}
.arch-logo:hover { transform: scale(1.15) translateY(-2px); }
.arch-logo-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.arch-logo-label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: rgba(148,163,184,0.8); text-align: center;
}
[data-theme="light"] .arch-logo-label { color: #64748B; }
.arch-box-desc {
  font-size: 12px; color: rgba(148,163,184,0.7); line-height: 1.7;
}
[data-theme="light"] .arch-box-desc { color: #64748B; }
/* Dashed container for Web App Layer */
.arch-webapp-container {
  border: 1.5px dashed rgba(96,165,250,0.3); border-radius: 10px;
  padding: 20px; width: 100%; max-width: 580px;
  background: rgba(30,58,138,0.04);
}
[data-theme="light"] .arch-webapp-container {
  background: rgba(59,130,246,0.02); border-color: rgba(59,130,246,0.2);
}
.arch-webapp-title {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: #93C5FD; text-transform: uppercase;
  letter-spacing: 1.5px; text-align: center; margin-bottom: 16px;
}
[data-theme="light"] .arch-webapp-title { color: #2563EB; }
.arch-webapp-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.arch-webapp-half {
  border: 1px dashed rgba(96,165,250,0.2); border-radius: 8px;
  padding: 16px 12px; text-align: center;
}
.arch-webapp-half-title {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: rgba(148,163,184,0.8); margin-top: 8px;
}
/* Feature checklist below web app */
.arch-features {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  justify-content: center; padding: 0 8px;
}
.arch-feature {
  font-size: 12px; color: rgba(148,163,184,0.8);
  display: flex; align-items: center; gap: 5px;
}
.arch-feature::before {
  content: '✓'; color: #60A5FA; font-weight: 700; font-size: 13px;
}
/* API layer bullet list */
.arch-api-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 24px; text-align: left;
}
.arch-api-item {
  font-size: 12px; color: rgba(148,163,184,0.8);
  display: flex; align-items: center; gap: 8px;
}
.arch-api-item img { width: 24px; height: 24px; }
.arch-api-bullet {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(148,163,184,0.8);
}
.arch-api-bullet::before {
  content: '•'; color: #60A5FA; font-size: 16px; font-weight: 700;
}
/* Data layer with accent glow */
.arch-box.data-layer {
  border-color: rgba(96,165,250,0.5);
  box-shadow: inset 3px 0 0 #60A5FA, 0 0 20px rgba(59,130,246,0.08);
}
.arch-data-logos {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
}
.arch-data-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.arch-data-item img { width: 44px; height: 44px; object-fit: contain; }
.arch-data-label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: rgba(148,163,184,0.7); text-align: center; max-width: 80px;
}
/* CAF Flow Diagram */
.caf-flow-box {
  border: 1.5px solid rgba(96,165,250,0.3); border-radius: 10px;
  padding: 24px; width: 100%; max-width: 580px;
  background: rgba(30,58,138,0.08);
}
[data-theme="light"] .caf-flow-box {
  background: rgba(59,130,246,0.04); border-color: rgba(59,130,246,0.2);
}
.caf-flow-row {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.caf-flow-row + .caf-flow-row { margin-top: 16px; }
.caf-flow-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 80px;
}
.caf-flow-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: rgba(30,58,138,0.15);
  border: 1px solid rgba(96,165,250,0.15);
  transition: all var(--transition);
}
.caf-flow-icon:hover {
  background: rgba(59,130,246,0.2); transform: translateY(-2px);
}
.caf-flow-icon img { width: 32px; height: 32px; }
.caf-flow-label {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: rgba(148,163,184,0.9); text-align: center;
}
[data-theme="light"] .caf-flow-label { color: #475569; }
.caf-flow-arrow {
  color: #60A5FA; font-size: 20px; font-weight: 700;
  display: flex; align-items: center;
}
.caf-flow-divider {
  width: 100%; border: none;
  border-top: 1.5px dashed rgba(96,165,250,0.2);
  margin: 16px 0;
}
/* Governance pillars row */
.caf-pillars {
  display: flex; justify-content: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.caf-pillar {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 70px;
}
.caf-pillar-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: rgba(30,58,138,0.12);
  border: 1px solid rgba(96,165,250,0.12);
  transition: all var(--transition);
}
.caf-pillar-icon:hover {
  background: rgba(59,130,246,0.2); transform: translateY(-2px);
}
.caf-pillar-icon img { width: 28px; height: 28px; }
.caf-pillar-label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: rgba(148,163,184,0.8); text-align: center;
}
.caf-checklist {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px 32px; text-align: left; padding: 0 16px;
}
.caf-check {
  font-size: 12px; color: rgba(148,163,184,0.8);
  display: flex; align-items: center; gap: 6px;
}
.caf-check::before {
  content: '✓'; color: #60A5FA; font-weight: 700; font-size: 13px;
}
/* Landing Zone items */
.caf-landing-items {
  display: flex; justify-content: center; gap: 18px;
  flex-wrap: wrap;
}
.caf-landing-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 70px;
}
.caf-landing-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: rgba(30,58,138,0.12);
  border: 1px solid rgba(96,165,250,0.12);
  transition: all var(--transition);
}
.caf-landing-icon:hover {
  background: rgba(59,130,246,0.2); transform: translateY(-2px);
}
.caf-landing-icon img { width: 28px; height: 28px; }
.caf-landing-label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: rgba(148,163,184,0.8); text-align: center; max-width: 80px;
}
/* Migration side-by-side layout */
.mig-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; width: 100%; max-width: 580px;
}
.mig-half {
  border: 1.5px solid rgba(96,165,250,0.25); border-radius: 10px;
  padding: 16px; background: rgba(15,23,42,0.3);
}
[data-theme="light"] .mig-half { background: rgba(241,245,249,0.5); border-color: rgba(59,130,246,0.15); }
.mig-half-title {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: #93C5FD; text-transform: uppercase;
  letter-spacing: 1.5px; text-align: center; margin-bottom: 4px;
}
[data-theme="light"] .mig-half-title { color: #2563EB; }
.mig-half-subtitle {
  font-size: 11px; color: rgba(148,163,184,0.7);
  text-align: center; margin-bottom: 12px;
}
.mig-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.mig-row:last-child { margin-bottom: 0; }
.mig-arrow-col {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 24px;
}
.mig-arrow-right {
  font-size: 20px; color: rgba(96,165,250,0.5);
}
/* Cloud Infra - Region Split */
.infra-regions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; width: 100%; max-width: 580px;
}
.infra-region {
  border: 1.5px solid rgba(96,165,250,0.3); border-radius: 10px;
  padding: 20px 16px; text-align: center;
  background: rgba(30,58,138,0.08);
}
[data-theme="light"] .infra-region {
  background: rgba(59,130,246,0.04); border-color: rgba(59,130,246,0.2);
}
.infra-region-title {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: #93C5FD; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 10px;
}
[data-theme="light"] .infra-region-title { color: #2563EB; }
.infra-region-desc {
  font-size: 12px; color: rgba(148,163,184,0.8); line-height: 1.5;
}
/* Cloud Infra - Bottom 4-grid */
.infra-bottom-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; width: 100%; max-width: 580px;
}
.infra-bottom-item {
  border: 1.5px dashed rgba(96,165,250,0.3); border-radius: 10px;
  padding: 16px 8px; text-align: center;
  background: rgba(30,58,138,0.05);
}
[data-theme="light"] .infra-bottom-item {
  background: rgba(59,130,246,0.03); border-color: rgba(59,130,246,0.2);
}
.infra-bottom-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; font-size: 22px;
  background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2);
}
.infra-bottom-title {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: #93C5FD; margin-bottom: 4px;
}
[data-theme="light"] .infra-bottom-title { color: #2563EB; }
.infra-bottom-desc {
  font-size: 10px; color: rgba(148,163,184,0.7); line-height: 1.4;
}
/* Arrow that splits into two */
.arch-arrow-split {
  display: flex; justify-content: center; gap: 0; padding: 6px 0;
  width: 100%; max-width: 580px; position: relative;
}
.arch-arrow-split::before {
  content: ''; position: absolute; top: 0;
  left: 50%; width: 2px; height: 14px;
  background: linear-gradient(180deg, #3B82F6, #60A5FA);
  transform: translateX(-50%);
}
.arch-arrow-split::after {
  content: ''; position: absolute; top: 14px;
  left: 25%; right: 25%; height: 2px;
  background: #60A5FA;
}
.arch-arrow-split-left, .arch-arrow-split-right {
  flex: 1; display: flex; flex-direction: column; align-items: center;
}
.arch-arrow-split-left::after, .arch-arrow-split-right::after {
  content: ''; width: 2px; height: 14px; background: #60A5FA;
}
.arch-arrow-split-head {
  width: 0; height: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 8px solid #60A5FA;
}
/* Arrow that merges from two */
.arch-arrow-merge {
  display: flex; justify-content: center; gap: 0; padding: 6px 0;
  width: 100%; max-width: 580px; position: relative;
}
.arch-arrow-merge-left, .arch-arrow-merge-right {
  flex: 1; display: flex; flex-direction: column; align-items: center;
}
.arch-arrow-merge-left::before, .arch-arrow-merge-right::before {
  content: ''; width: 2px; height: 14px; background: #60A5FA;
}
.arch-arrow-merge::before {
  content: ''; position: absolute; top: 20px;
  left: 25%; right: 25%; height: 2px;
  background: #60A5FA;
}
.arch-arrow-merge::after {
  content: ''; position: absolute; bottom: 0;
  left: 50%; width: 2px; height: 14px;
  background: #60A5FA; transform: translateX(-50%);
}
.arch-arrow-merge-head {
  width: 0; height: 0; position: absolute; bottom: -2px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 8px solid #60A5FA;
}
@media (max-width: 580px) {
  .infra-bottom-grid { grid-template-columns: repeat(2, 1fr); }
  .infra-regions { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .arch-visual { padding: 24px 16px; }
  .arch-box { padding: 16px; }
  .arch-webapp-split { grid-template-columns: 1fr; }
  .arch-api-grid { grid-template-columns: 1fr; }
  .arch-logo { width: 32px; height: 32px; }
  .arch-people { font-size: 40px; }
  .caf-flow-row { gap: 8px; }
  .caf-flow-icon { width: 44px; height: 44px; font-size: 22px; }
  .caf-pillars { gap: 10px; }
  .caf-checklist { grid-template-columns: 1fr; }
  .caf-landing-items { gap: 12px; }
  .mig-split { grid-template-columns: 1fr; }
}

.sdm-tech-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.sdm-tech {
  padding: 8px 18px; border-radius: 100px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--accent-1); background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  transition: all var(--transition);
}
.sdm-tech:hover { background: rgba(59,130,246,0.15); }
.sdm-deploy-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.sdm-deploy-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 20px;
  transition: all var(--transition);
}
.sdm-deploy-card:hover {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.08);
}
.sdm-deploy-card h4 {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.sdm-deploy-card p {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin: 0;
}
.sdm-cta {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 768px) {
  .service-detail-modal { padding: 36px 24px; }
  .sdm-header { flex-direction: column; text-align: center; }
  .sdm-header h2 { font-size: 1.4rem; }
  .sdm-steps { grid-template-columns: 1fr 1fr; }
  .sdm-deploy-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .service-detail-modal { padding: 28px 18px; }
  .sdm-steps { grid-template-columns: 1fr; }
}

/* ============================================
   PLATFORMS — Premium Cards
   ============================================ */
.platforms-flex {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.platform-hex {
  padding: 40px 28px 36px; text-align: center;
  border-radius: 20px; position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s cubic-bezier(0.22,1,0.36,1), border-color 0.5s ease;
}
.platform-hex::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity 0.5s ease;
}
.platform-hex:hover {
  transform: translateY(-8px);
  border-color: transparent;
}
.platform-hex:hover::before { opacity: 1; }
.p-azure::before { background: linear-gradient(90deg, #0078D4, #00BCF2); }
.p-aws::before { background: linear-gradient(90deg, #FF9900, #FFB84D); }
.p-gcp::before { background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC04, #34A853); }
.p-alibaba::before { background: linear-gradient(90deg, #FF6A00, #FFB800); }
.p-azure:hover { box-shadow: 0 20px 50px rgba(0,120,212,0.2), 0 0 0 1px rgba(0,120,212,0.3); }
.p-aws:hover { box-shadow: 0 20px 50px rgba(255,153,0,0.2), 0 0 0 1px rgba(255,153,0,0.3); }
.p-gcp:hover { box-shadow: 0 20px 50px rgba(66,133,244,0.2), 0 0 0 1px rgba(66,133,244,0.3); }
.p-alibaba:hover { box-shadow: 0 20px 50px rgba(255,106,0,0.2), 0 0 0 1px rgba(255,106,0,0.3); }

/* Platform logo */
.platform-hex .platform-logo {
  width: 72px; height: 72px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.platform-hex .platform-logo img {
  width: 64px; height: 64px; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.platform-hex:hover .platform-logo img {
  transform: scale(1.12);
}
/* Glow ring behind logo */
.platform-hex .platform-logo::after {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  filter: blur(16px);
}
.platform-hex:hover .platform-logo::after {
  opacity: 0.4; transform: scale(1.1);
}
.p-azure .platform-logo::after { background: #0078D4; }
.p-aws .platform-logo::after { background: #FF9900; }
.p-gcp .platform-logo::after { background: #4285F4; }
.p-alibaba .platform-logo::after { background: #FF6A00; }

.platform-hex h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  margin-bottom: 16px; letter-spacing: -0.01em;
}
/* Service tags */
.platform-tags {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}
.platform-tags span {
  font-size: 0.72rem; font-weight: 500;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.platform-hex:hover .platform-tags span {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-primary);
}
/* Clickable card + explore label */
.platform-hex[data-platform] { cursor: pointer; }
.platform-explore {
  display: inline-block; margin-top: 16px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}
.platform-hex:hover .platform-explore {
  color: var(--accent-1); letter-spacing: 0.5px;
}

/* ─── Platform Detail Modal ─── */
.pdm-header {
  display: flex; align-items: center; gap: 24px; margin-bottom: 32px;
  padding-bottom: 28px; border-bottom: 1px solid var(--border);
}
.pdm-logo { width: 72px; height: 72px; flex-shrink: 0; }
.pdm-logo img { width: 100%; height: 100%; object-fit: contain; }
.pdm-header h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.pdm-header p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5; }

.pdm-section { margin-bottom: 32px; }
.pdm-section-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
  color: var(--text-primary);
}
.pdm-section-title .pdm-icon { font-size: 1.1rem; }

.pdm-why {
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7;
  padding: 20px 24px; border-radius: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
}

/* Expertise grid */
.pdm-expertise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.pdm-exp-card {
  padding: 20px 16px; border-radius: 14px; text-align: center;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pdm-exp-card:hover {
  border-color: rgba(96,165,250,0.3); transform: translateY(-2px);
}
.pdm-exp-icon { font-size: 1.5rem; margin-bottom: 10px; }
.pdm-exp-card h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.pdm-exp-card p { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; }

/* Certifications */
.pdm-certs {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pdm-cert {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 500; color: var(--text-primary);
}
.pdm-cert-icon { font-size: 1.1rem; }

/* Services pills */
.pdm-services {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pdm-services span {
  font-size: 0.78rem; font-weight: 500;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
}

/* CTA */
.pdm-cta {
  text-align: center; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .pdm-header { flex-direction: column; text-align: center; gap: 16px; }
  .pdm-expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .pdm-certs { justify-content: center; }
}

/* ============================================
   ABOUT — Split Layout
   ============================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.about-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  position: sticky; top: 120px;
}
.metric-card {
  padding: 32px; text-align: center;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700;
  margin-bottom: 6px;
}
.metric-value.g1 { color: #3B82F6; }
.metric-value.g2 { color: #A855F7; }
.metric-value.g3 { color: #818CF8; }
.metric-value.g4 { color: #C084FC; }
.metric-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.about-features { display: flex; flex-direction: column; gap: 24px; }
.about-feature {
  display: flex; gap: 20px; padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--card-blur));
  transition: all var(--transition);
}
.about-feature:hover {
  border-color: var(--border-hover);
  transform: translateX(8px);
  box-shadow: var(--shadow);
}
.about-feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gradient-hero); background-size: 200% auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  animation: gradientFlow 6s ease infinite;
}
.about-feature h4 { font-family: var(--font-display); font-weight: 600; margin-bottom: 6px; }
.about-feature p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   PROCESS — Connected Steps
   ============================================ */
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
  max-width: 960px; margin: 0 auto;
}
.process-steps::before {
  content: ''; position: absolute; top: 52px;
  left: calc(16.67% + 26px); right: calc(16.67% + 26px);
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #A855F7, #818CF8);
  opacity: 0.3;
}
.process-step { text-align: center; padding: 0 20px; position: relative; }
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  background: var(--bg-card); border: 2px solid var(--border);
  backdrop-filter: blur(12px); z-index: 2; position: relative;
  transition: all var(--transition);
}
.process-step:hover .step-number {
  background: var(--gradient-hero); background-size: 200% auto;
  color: #fff; border-color: transparent;
  box-shadow: 0 0 30px var(--glow-1);
  transform: scale(1.15);
}
.process-step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.process-step p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   TESTIMONIALS — Staggered Cards
   ============================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; align-items: stretch;
}
.testimonial-card { padding: 40px; display: flex; flex-direction: column; height: 100%; }
.testimonial-stars {
  display: flex; gap: 4px; margin-bottom: 20px;
}
.star { color: #FBBF24; font-size: 16px; }
.testimonial-text {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 28px;
  font-style: italic; position: relative;
  padding-left: 20px; border-left: 2px solid var(--accent-1);
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   PRICING — Featured Glow
   ============================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; align-items: start;
}
.pricing-card { padding: 44px 36px; }
.pricing-card.featured {
  border-color: var(--accent-1);
  box-shadow: 0 0 60px var(--glow-1);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 20px; border-radius: 100px;
  background: var(--gradient-hero); background-size: 200% auto;
  color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; animation: gradientFlow 4s ease infinite;
}
.pricing-label {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent-2); margin-bottom: 12px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 8px;
}
.pricing-amount span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.pricing-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.pricing-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-secondary);
}
.pricing-check { color: var(--accent-2); font-weight: 700; font-size: 16px; }

/* ============================================
   BLOG — Clean Card Grid
   ============================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s cubic-bezier(0.22,1,0.36,1),
              border-color 0.4s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(96,165,250,0.2);
  border-color: rgba(96,165,250,0.3);
}
[data-theme="light"] .blog-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(59,130,246,0.15);
}
/* Thumbnail with real image */
.blog-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
}
.blog-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.blog-card:hover .blog-thumb img { transform: scale(1.08); }
.blog-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.blog-category {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 14px; border-radius: 100px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff;
  background: rgba(59,130,246,0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(96,165,250,0.3);
}
.blog-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.blog-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent-1); opacity: 0.6;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  line-height: 1.45; margin-bottom: 10px;
  letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.3s ease;
}
.blog-card:hover h3 { color: #60A5FA; }
[data-theme="light"] .blog-card:hover h3 { color: #2563EB; }
.blog-card p {
  font-size: 0.875rem; color: var(--text-secondary);
  line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.blog-read {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: 13px; font-weight: 600;
  color: var(--accent-1); transition: gap 0.3s ease, color 0.3s ease;
}
.blog-card:hover .blog-read { gap: 14px; }

/* ============================================
   CTA — Gradient Box
   ============================================ */
.cta-box {
  padding: 100px 60px; border-radius: var(--radius-lg);
  background: var(--gradient-hero); background-size: 300% auto;
  animation: gradientFlow 8s ease infinite;
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='1' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E");
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: #fff;
  margin-bottom: 20px; position: relative;
}
.cta-box p {
  font-size: 1.1rem; color: rgba(255,255,255,0.8);
  max-width: 550px; margin: 0 auto 40px; position: relative;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; position: relative; }
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 14px;
  background: #fff; color: var(--accent-1);
  font-weight: 700; font-size: 15px;
  border: none; cursor: none; transition: all var(--transition);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 14px;
  background: transparent; color: #fff;
  font-weight: 600; font-size: 15px;
  border: 2px solid rgba(255,255,255,0.25); cursor: none;
  transition: all var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block; font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-bottom: 10px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 16px 20px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  color: var(--text-primary); font-family: var(--font); font-size: 15px;
  transition: all var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 4px var(--glow-1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; }
.form-group option { background: var(--bg-secondary); }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; gap: 16px; padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  backdrop-filter: blur(var(--card-blur));
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--border-hover); transform: translateX(6px); }
.contact-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gradient-hero); background-size: 200% auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  animation: gradientFlow 6s ease infinite;
}
.contact-card h4 { font-family: var(--font-display); font-weight: 600; margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 2;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-about p { font-size: 0.9rem; color: var(--text-secondary); margin-top: 16px; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 14px; font-weight: 600;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gradient-hero); color: #fff;
  border-color: transparent; transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--glow-1);
}
.footer-col h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-secondary);
  padding: 6px 0; transition: all var(--transition);
}
.footer-col a:hover { color: var(--accent-1); transform: translateX(4px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  padding: 32px 20px 28px;
  border-radius: var(--radius);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent-1);
  box-shadow: 0 0 20px var(--glow-1);
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.team-card .team-role {
  font-size: 0.82rem;
  color: var(--accent-1);
  font-weight: 500;
  margin-bottom: 10px;
}
.team-card .team-bio {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-desc { max-width: 640px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid, .testimonials-grid, .blog-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .platforms-flex { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .platform-hex { width: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .process-steps::before { }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar { min-height: 64px; }
  .navbar.scrolled { min-height: 60px; }
  .nav-logo { font-size: 1.35rem; }
  .navbar.scrolled .nav-logo { font-size: 1.25rem; }
  .footer-about .nav-logo { font-size: 1.25rem; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .services-grid, .testimonials-grid, .blog-grid, .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-flex { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .platform-hex { width: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stat { flex: 0 0 calc(50% - 12px); }
  .section { padding: 100px 0; }
  .cta-box { padding: 60px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
}

/* ============================================
   OTP VERIFICATION MODAL
   ============================================ */
.otp-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  animation: otpFadeIn 0.3s ease;
  padding: 20px;
}
.otp-modal {
  max-width: 440px; width: 100%;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  animation: otpSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.otp-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  color: var(--text-secondary); font-size: 24px;
  cursor: pointer; transition: color 0.3s;
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.otp-close:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.otp-icon { font-size: 48px; margin-bottom: 16px; }
.otp-inputs {
  display: flex; gap: 10px; justify-content: center; margin-top: 8px;
}
.otp-digit {
  width: 52px; height: 60px; text-align: center;
  font-family: var(--mono); font-size: 24px; font-weight: 600;
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 14px; color: var(--text-primary);
  outline: none; transition: all var(--transition);
}
.otp-digit:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 4px var(--glow-1);
}
.otp-digit.filled { border-color: var(--accent-2); }
.otp-digit.error { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,0.15); }
.otp-digit.success { border-color: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,0.15); }
@keyframes otpFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes otpSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes otpShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.otp-inputs.shake { animation: otpShake 0.4s ease; }
@media (max-width: 480px) {
  .otp-modal { padding: 36px 24px; }
  .otp-digit { width: 44px; height: 52px; font-size: 20px; }
  .otp-inputs { gap: 6px; }
}

/* ============================================
   WOW FACTOR ENHANCEMENTS
   ============================================ */

/* Animated grid background for hero */
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
}
[data-theme="light"] .hero-grid-bg {
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
}

/* Floating particle canvas */
#particleCanvas {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
}

/* Glowing accent line under nav */
.navbar::after {
  content: ''; position: absolute; bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), var(--accent-3), transparent);
  opacity: 0; transition: opacity 0.4s ease;
}
.navbar.scrolled::after { opacity: 0.5; }

/* Animated border on service cards - enhanced glow */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(59,130,246,0.15), 0 0 40px rgba(168,85,247,0.08);
}

/* Glass card shimmer effect */
.glass-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 55%, transparent 60%);
  background-size: 250% 100%;
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
[data-theme="light"] .glass-card::before {
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 45%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.2) 55%, transparent 60%);
  background-size: 250% 100%;
}
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--gradient-hero); background-size: 300% auto;
  animation: gradientFlow 6s ease infinite;
  z-index: 10001; width: 0;
  transition: width 0.1s linear;
}

/* Magnetic hover on buttons */
.btn-glow {
  position: relative; overflow: hidden;
}
.btn-glow::after {
  content: ''; position: absolute;
  width: 200%; height: 200%;
  top: -50%; left: -200%;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.15) 50%, transparent 80%);
  transition: left 0.6s ease;
}
.btn-glow:hover::after {
  left: 100%;
}

/* Floating badges animation for stats */
.hero-stat {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.hero-stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

/* Section divider glow lines */
.glow-divider {
  width: 100%; height: 1px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), transparent);
  opacity: 0.3;
}

/* Animated background for CTA */
.cta-box { position: relative; overflow: hidden; }
.cta-box::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-4), var(--accent-1));
  background-size: 400% 400%;
  animation: borderRotate 6s linear infinite;
  border-radius: inherit; z-index: -1;
}

/* ============================================
   CHATBOT WIDGET
   ============================================ */
.chat-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gradient-hero); background-size: 200% auto;
  animation: gradientFlow 6s ease infinite;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(59,130,246,0.3), 0 0 60px rgba(168,85,247,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(59,130,246,0.4), 0 0 80px rgba(168,85,247,0.2);
}
.chat-fab svg { width: 28px; height: 28px; fill: #fff; }
.chat-fab .chat-fab-close { display: none; font-size: 28px; color: #fff; line-height: 1; }
.chat-fab.open svg { display: none; }
.chat-fab.open .chat-fab-close { display: block; }
.chat-fab-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--accent-1);
  animation: chatPulse 2s ease-in-out infinite;
}
@keyframes chatPulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}

.chat-window {
  position: fixed; bottom: 100px; right: 28px; z-index: 9997;
  width: 380px; max-height: 520px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
  animation: chatSlideUp 0.3s ease;
}
.chat-window.open { display: flex; }
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
  padding: 18px 20px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.chat-header-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
}
.chat-header-text h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 600; margin: 0;
}
.chat-header-text span {
  font-size: 11px; color: var(--text-muted);
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  max-height: 340px; min-height: 200px;
}
.chat-msg {
  max-width: 85%; padding: 12px 16px;
  border-radius: 16px; font-size: 13px; line-height: 1.6;
  animation: chatMsgIn 0.3s ease;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  align-self: flex-end;
  background: var(--accent-1);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-quick-btns {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.chat-quick-btn {
  padding: 6px 14px; border-radius: 100px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--accent-1); font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.2s ease;
}
.chat-quick-btn:hover {
  background: rgba(59,130,246,0.1); border-color: var(--accent-1);
}
.chat-input-area {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}
.chat-input {
  flex: 1; padding: 10px 16px;
  border-radius: 100px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 13px;
  outline: none; transition: border-color 0.3s;
}
.chat-input:focus { border-color: var(--accent-1); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-1); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.chat-send:hover { background: var(--accent-2); }
.chat-send svg { width: 18px; height: 18px; fill: #fff; }
.chat-typing { display: flex; gap: 4px; padding: 8px 0; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}
@media (max-width: 480px) {
  .chat-window { right: 12px; left: 12px; width: auto; bottom: 90px; }
  .chat-fab { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#3B82F6, #A855F7);
  border-radius: 3px;
}
