/* =============================================
   InfraAI — Main Stylesheet
   AI-Powered Infrastructure Monitoring
   ============================================= */

/* ─── 1. CSS VARIABLES ─────────────────────── */
:root {
  --primary:       #6366f1;
  --primary-dark:  #4f46e5;
  --primary-light: #818cf8;
  --secondary:     #8b5cf6;
  --accent:        #06b6d4;
  --accent-2:      #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;

  /* Light mode surfaces */
  --bg:            #f8faff;
  --bg-2:          #ffffff;
  --bg-3:          #f1f5f9;
  --text:          #0f172a;
  --text-2:        #475569;
  --text-3:        #94a3b8;
  --border:        #e2e8f0;
  --card-bg:       rgba(255,255,255,0.85);
  --nav-bg:        rgba(248,250,255,0.92);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.14);
  --shadow-glow:   0 0 30px rgba(99,102,241,0.25);

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

[data-theme="dark"] {
  --bg:        #070714;
  --bg-2:      #0d0d1f;
  --bg-3:      #121228;
  --text:      #f1f5f9;
  --text-2:    #94a3b8;
  --text-3:    #475569;
  --border:    rgba(255,255,255,0.08);
  --card-bg:   rgba(13,13,31,0.90);
  --nav-bg:    rgba(7,7,20,0.95);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.35);
}

/* ─── 2. RESET & BASE ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ─── 3. TYPOGRAPHY ────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-2); line-height: 1.75; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-2 {
  background: linear-gradient(135deg, var(--secondary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── 4. UTILITIES ─────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.12);
  color: var(--primary-light);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99,102,241,0.05);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* Glass card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Dot grid background */
.dot-grid {
  background-image: radial-gradient(circle, rgba(99,102,241,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Tags/badges */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(99,102,241,0.1);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-green  { background: rgba(16,185,129,0.1); color: var(--accent-2); }
.tag-cyan   { background: rgba(6,182,212,0.1);  color: var(--accent); }
.tag-orange { background: rgba(245,158,11,0.1); color: var(--warning); }
.tag-red    { background: rgba(239,68,68,0.1);  color: var(--danger); }

/* Divider */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 1.5rem auto;
}

/* ─── 5. NAVBAR ────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  height: 72px;
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(99,102,241,0.08);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-2);
  font-size: 1rem;
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99,102,241,0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  transform: translateY(-110%);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-links .nav-link {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.mobile-nav-actions {
  display: flex;
  gap: 0.75rem;
}

.mobile-nav-actions .btn { flex: 1; }

/* ─── 6. HERO SECTION ──────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

[data-theme="dark"] .hero {
  background: #070714;
}

/* Animated gradient orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: float 8s ease-in-out infinite;
}

[data-theme="dark"] .orb { opacity: 0.3; }

.orb-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: var(--secondary);
  top: 40%; left: 40%;
  animation-delay: 6s;
}

/* Dot grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-text { padding-right: 1rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

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

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-2);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-3);
  font-weight: 500;
}

.trust-item .check {
  width: 18px; height: 18px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--accent-2);
}

/* ─── 7. HERO VISUAL / DASHBOARD ──────────── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dashboard-card {
  width: 100%;
  max-width: 480px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: float-card 6s ease-in-out infinite;
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(99,102,241,0.06);
  border-bottom: 1px solid var(--border);
}

.dash-dots { display: flex; gap: 6px; }
.dash-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dash-dot.r { background: #ef4444; }
.dash-dot.y { background: #f59e0b; }
.dash-dot.g { background: #10b981; }

.dash-title-text {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
}

.dash-scan-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(16,185,129,0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.scan-dot {
  width: 6px; height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.dash-body { padding: 1.25rem; }

.dash-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.75rem;
}

.service-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.25rem; }

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(99,102,241,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.healthy  { background: var(--accent-2); box-shadow: 0 0 6px rgba(16,185,129,0.6); }
.status-dot.warning  { background: var(--warning);  box-shadow: 0 0 6px rgba(245,158,11,0.6); animation: pulse-dot 1.5s infinite; }
.status-dot.critical { background: var(--danger);   box-shadow: 0 0 6px rgba(239,68,68,0.6);  animation: pulse-dot 1s infinite; }

.service-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.service-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.service-status.healthy  { background: rgba(16,185,129,0.12); color: var(--accent-2); }
.service-status.warning  { background: rgba(245,158,11,0.12);  color: var(--warning); }
.service-status.critical { background: rgba(239,68,68,0.12);   color: var(--danger); }

.metric-list { display: flex; flex-direction: column; gap: 10px; }

.metric-item { display: flex; flex-direction: column; gap: 4px; }

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
}

.metric-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-mono);
}

.metric-bar {
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.5s ease;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.metric-fill.warn { background: linear-gradient(90deg, var(--warning), #fb923c); }
.metric-fill.good { background: linear-gradient(90deg, var(--accent-2), #34d399); }

.dash-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-footer-text {
  font-size: 0.78rem;
  color: var(--text-3);
}

.dash-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99,102,241,0.4);
  transition: all var(--transition);
  border: none;
}

.dash-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.55);
}

/* Floating mini-cards */
.float-badge {
  position: absolute;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--text);
}

.float-badge.badge-tl {
  top: -20px; left: -40px;
  animation: float-badge-1 5s ease-in-out infinite;
}

.float-badge.badge-br {
  bottom: -20px; right: -30px;
  animation: float-badge-2 6s ease-in-out infinite;
}

.float-badge-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.float-badge-icon.green { background: rgba(16,185,129,0.15); }
.float-badge-icon.cyan  { background: rgba(6,182,212,0.15); }

/* ─── 8. SLIDER ────────────────────────────── */
.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  animation: fadeIn 0.6s ease;
}

.slide.active { display: block; }

.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: var(--text-3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.slider-dot.active {
  width: 28px;
  background: var(--primary);
}

.slider-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 1rem;
  transition: all var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.05);
}

/* ─── 9. STATS SECTION ─────────────────────── */
.stats-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { padding: 1.5rem; }

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span { color: var(--text); }

.stat-label {
  font-size: 0.9rem;
  color: var(--text-2);
  font-weight: 500;
}

/* ─── 10. FEATURES SECTION ─────────────────── */
.features-section {
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,0.2);
}

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

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: rgba(99,102,241,0.1);
}

.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.feature-card p  { font-size: 0.92rem; line-height: 1.7; }

/* ─── 11. HOW IT WORKS ─────────────────────── */
.how-section {
  background: var(--bg-2);
}

[data-theme="dark"] .how-section { background: #0d0d1f; }

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
  position: relative;
  z-index: 2;
}

.step-icon-bg {
  position: absolute;
  top: -4px; left: -4px;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(99,102,241,0.3);
  animation: pulse-ring 2s ease-out infinite;
}

.step-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.88rem; }

/* ─── 12. TESTIMONIALS ─────────────────────── */
.testimonials-section { background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

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

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

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

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name  { font-size: 0.92rem; font-weight: 700; }
.author-title { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }

/* ─── 13. PRICING ──────────────────────────── */
.pricing-section {
  background: var(--bg-2);
}

[data-theme="dark"] .pricing-section { background: #0d0d1f; }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
}

.toggle-switch {
  width: 52px; height: 28px;
  background: var(--border);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-switch.active { background: var(--primary); }

.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.toggle-switch.active .toggle-knob { transform: translateX(24px); }

.save-badge {
  background: rgba(16,185,129,0.12);
  color: var(--accent-2);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.12));
  border-color: rgba(99,102,241,0.4);
  transform: scale(1.04);
  box-shadow: var(--shadow-glow);
}

.pricing-card:hover:not(.featured) {
  border-color: rgba(99,102,241,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: var(--radius-full);
  padding: 6px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-plan  { font-size: 0.82rem; font-weight: 700; color: var(--primary-light); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 1rem 0;
  line-height: 1;
}
.price-currency { font-size: 1.2rem; font-weight: 700; margin-top: 8px; }
.price-amount   { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); }
.price-period   { font-size: 0.85rem; color: var(--text-3); align-self: flex-end; margin-bottom: 6px; }

.pricing-desc { font-size: 0.9rem; color: var(--text-2); margin-bottom: 2rem; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.check-icon {
  width: 18px; height: 18px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  color: var(--accent-2);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.x-icon {
  width: 18px; height: 18px;
  background: rgba(100,100,120,0.1);
  border-radius: 50%;
  color: var(--text-3);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── 14. FAQ ───────────────────────────────── */
.faq-section { background: var(--bg); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.open { border-color: rgba(99,102,241,0.3); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}

.faq-q-text {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(99,102,241,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  flex-shrink: 0;
  font-weight: 300;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }

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

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

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* ─── 15. CTA BANNER ───────────────────────── */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

.cta-section h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── 16. FOOTER ───────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

[data-theme="dark"] .footer { background: #07070e; }

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

.footer-brand p {
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 260px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-links h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.85rem; }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color var(--transition);
}

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

/* ─── 17. PAGE HERO ─────────────────────────── */
.page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .page-hero { background: #07070e; }

.page-hero .orb-1 { opacity: 0.12; }
.page-hero .orb-2 { opacity: 0.08; }

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

.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p  { font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 2rem;
}

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

/* ─── 18. TEAM ──────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,0.2);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
}

.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role    { font-size: 0.85rem; color: var(--primary-light); font-weight: 600; margin-bottom: 0.75rem; }
.team-bio     { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }

.team-socials { display: flex; gap: 0.5rem; justify-content: center; }
.team-social  {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: rgba(99,102,241,0.08);
  color: var(--text-2);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.team-social:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Mission/Vision */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

.mission-card {
  padding: 3rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.mission-card.mission {
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(99,102,241,0.25);
}

.mission-card.vision {
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(16,185,129,0.08));
  border: 1px solid rgba(6,182,212,0.25);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.mission-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.mission-card p  { line-height: 1.8; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.2);
  box-shadow: var(--shadow-md);
}

.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.85rem; }

/* ─── 19. JOBS/CAREERS ─────────────────────── */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.perk-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition);
}

.perk-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.perk-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(99,102,241,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-card h4 { font-size: 0.97rem; margin-bottom: 4px; }
.perk-card p  { font-size: 0.85rem; }

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition);
}

.job-card:hover {
  border-color: rgba(99,102,241,0.3);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.job-dept-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99,102,241,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.job-info { flex: 1; }

.job-title   { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }

.job-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.job-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
}

.job-actions { display: flex; gap: 0.75rem; align-items: center; }

/* ─── 20. PROJECTS ─────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.project-card-header {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-industry {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99,102,241,0.15);
  border-radius: var(--radius-full);
  padding: 5px 12px;
}

.project-icon-big { font-size: 2.5rem; }

.project-card-body { padding: 2rem; }
.project-card h3   { font-size: 1.2rem; margin-bottom: 0.75rem; }
.project-card p    { font-size: 0.92rem; margin-bottom: 1.5rem; }

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(99,102,241,0.05);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.project-metric { text-align: center; }
.metric-num  { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.metric-desc { font-size: 0.75rem; color: var(--text-3); margin-top: 2px; }

/* Before / After */
.before-after-section { background: var(--bg-3); }

[data-theme="dark"] .before-after-section { background: var(--bg-3); }

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ba-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.ba-card.before {
  background: rgba(239,68,68,0.05);
  border-color: rgba(239,68,68,0.2);
}

.ba-card.after {
  background: rgba(16,185,129,0.05);
  border-color: rgba(16,185,129,0.2);
}

.ba-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.ba-card.before .ba-label { color: var(--danger); }
.ba-card.after  .ba-label { color: var(--accent-2); }

.ba-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.ba-item:last-child { border-bottom: none; }
.ba-item-icon { font-size: 1rem; margin-top: 1px; }

/* ─── 21. CONTACT ───────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: rgba(99,102,241,0.1);
}

.contact-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 0.88rem; }
.contact-card a  { color: var(--primary); }

.contact-form-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.92rem;
  transition: all var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.form-input.error, .form-textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

.form-textarea { resize: vertical; min-height: 140px; }

.form-error {
  font-size: 0.78rem;
  color: var(--danger);
  display: none;
  gap: 4px;
  align-items: center;
}

.form-error.visible { display: flex; }

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-md);
  color: var(--accent-2);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

.form-success.visible { display: block; }

/* ─── 22. PRODUCT PAGE ─────────────────────── */
.product-steps {
  position: relative;
  padding: 2rem 0;
}

.product-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.product-step:last-child { border-bottom: none; }

.product-step.reverse { direction: rtl; }
.product-step.reverse > * { direction: ltr; }

.product-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99,102,241,0.1);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: 1rem;
}

.product-step h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.product-step p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
}

.product-feature .check-icon { flex-shrink: 0; }

.product-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.visual-header {
  padding: 1rem 1.25rem;
  background: rgba(99,102,241,0.07);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.visual-dots { display: flex; gap: 6px; }
.visual-dot  { width: 10px; height: 10px; border-radius: 50%; }
.visual-dot.r { background: #ef4444; } .visual-dot.y { background: #f59e0b; } .visual-dot.g { background: #10b981; }
.visual-label { font-size: 0.8rem; color: var(--text-3); font-family: var(--font-mono); }

.visual-body { padding: 1.5rem; font-family: var(--font-mono); font-size: 0.82rem; }

.scan-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: var(--text-2);
}

.scan-line .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.scan-line .dot.g { background: var(--accent-2); }
.scan-line .dot.b { background: var(--primary); }
.scan-line .dot.y { background: var(--warning); }

.scan-progress {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.scan-bar {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.scan-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  animation: scan-progress 3s ease-in-out infinite;
}

.scan-label { font-size: 0.75rem; color: var(--text-3); }

/* Integrations */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.integration-card {
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

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

.integration-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.integration-name { font-size: 0.78rem; font-weight: 600; color: var(--text-2); }

/* ─── 23. ANIMATIONS ───────────────────────── */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.95); }
}

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

@keyframes float-badge-1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(8px, -10px); }
}

@keyframes float-badge-2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-8px, 10px); }
}

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

@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  80%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scan-progress {
  0%   { width: 0%; }
  70%  { width: 100%; }
  100% { width: 100%; }
}

@keyframes counter-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.reveal-left  { transform: translateX(-28px); }
.reveal.reveal-right { transform: translateX(28px); }
.reveal.reveal-scale { transform: scale(0.95) translateY(10px); }

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

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children > *:nth-child(6) { transition-delay: 400ms; }

/* ─── 24. RESPONSIVE ───────────────────────── */
@media (max-width: 1024px) {
  .hero-content        { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual         { display: none; }
  .features-grid       { grid-template-columns: repeat(2, 1fr); }
  .steps-container     { grid-template-columns: repeat(2, 1fr); }
  .steps-container::before { display: none; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-grid        { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
  .projects-grid       { grid-template-columns: 1fr; }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid   { grid-template-columns: repeat(3, 1fr); }
  .product-step        { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-step.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .section          { padding: 4rem 0; }
  .nav-links        { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger        { display: flex; }

  .hero-title       { font-size: 2.4rem; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .features-grid    { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
  .contact-layout   { grid-template-columns: 1fr; }
  .form-grid        { grid-template-columns: 1fr; }
  .form-group.full  { grid-column: 1; }
  .footer-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .mission-grid     { grid-template-columns: 1fr; }
  .perks-grid       { grid-template-columns: 1fr; }
  .job-card         { flex-direction: column; align-items: flex-start; }
  .job-actions      { width: 100%; }
  .job-actions .btn { flex: 1; }
  .values-grid      { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-container  { grid-template-columns: 1fr; }
  .hero-actions     { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions      { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .stats-grid       { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust       { gap: 0.5rem; }
  .pricing-grid     { max-width: 100%; }
  .project-metrics  { grid-template-columns: 1fr; gap: 0.75rem; }
}
