﻿/* ============================================================
   AnvIQ Labs â€” styles.css
   Light-mode design inspired by alphadna.ai:
   Lavender surface (#eef1fc), dark navy headings,
   blue + cyan accent system, pill buttons, clean white cards.
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: #eef1fc;
  color: #475569;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: #eef1fc; }
::-webkit-scrollbar-thumb  { background: #bfdbfe; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #93c5fd; }

/* ============================================================
   SECTION ALTERNATION
   ============================================================ */
.section-alt { background-color: #ffffff; }

/* ============================================================
   HERO â€” SOFT BACKGROUND BLOBS
   ============================================================ */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 640px; height: 640px;
  top: -160px; right: -80px;
  background: rgba(191, 219, 254, 0.55);
}
.hero-blob-2 {
  width: 420px; height: 420px;
  bottom: -80px; left: -60px;
  background: rgba(186, 230, 253, 0.4);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar { background: transparent; }

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  color: #1e293b;
  background-color: rgba(0, 0, 0, 0.05);
}
.nav-link.active {
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.09);
  font-weight: 600;
}

.mobile-nav-link {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.18s, background-color 0.18s;
}
.mobile-nav-link:hover { color: #1e293b; background: rgba(0, 0, 0, 0.04); }

/* ---------- Logo mark ---------- */
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark span {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1;
}

/* ============================================================
   BUTTONS â€” pill shaped like AlphaDNA
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid #2563eb;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
  cursor: pointer;
  line-height: 1.4;
}
.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #2563eb;
  font-weight: 600;
  border-radius: 9999px;
  border: 1.5px solid #93c5fd;
  transition: all 0.2s;
  text-align: center;
  cursor: pointer;
  line-height: 1.4;
}
.btn-ghost:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-overline {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0284c7;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #0f172a;
}

/* Gradient accent â€” hero headline only */
.accent-text {
  background: linear-gradient(120deg, #2563eb 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   PLATFORM CARD â€” light mode
   ============================================================ */
.platform-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.06),
    0 32px 80px rgba(15, 23, 42, 0.14),
    0 8px 24px rgba(37, 99, 235, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
}
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(239, 246, 255, 0.55) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.375rem;
  background: linear-gradient(135deg, #f0f5ff 0%, #f8faff 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  z-index: 1;
}

.window-dots { display: flex; gap: 6px; flex-shrink: 0; }
.window-dots span { box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.14); }

.platform-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-right: 48px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #059669;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.10) 0%, rgba(16, 185, 129, 0.07) 100%);
  border: 1px solid rgba(5, 150, 105, 0.22);
  padding: 3px 10px;
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.12);
}

.platform-body {
  padding: 1.25rem 1.375rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  background: rgba(248, 250, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.7);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.metric-row:hover {
  border-color: rgba(147, 197, 253, 0.75);
  background: rgba(239, 246, 255, 0.65);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.07);
}

.metric-header { display: flex; justify-content: space-between; align-items: center; }
.metric-name  { font-size: 0.8125rem; font-weight: 500; color: #334155; }
.metric-value {
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-sub   { font-size: 0.6875rem; color: #94a3b8; }

.metric-trend {
  font-size: 0.625rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.18);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: rgba(226, 232, 240, 0.9);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 65%, #7dd3fc 100%);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.38);
  transition: width 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
  animation: shimmer 2.6s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-80px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateX(320px); opacity: 0; }
}

.platform-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.5rem 0.25rem;
  border-top: 1px solid #e9eef6;
  margin-top: 0.25rem;
}
.platform-stat { text-align: center; flex: 1; }
.platform-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #1e293b;
  line-height: 1.1;
  margin-bottom: 3px;
}
.platform-stat-label { font-size: 0.625rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.08em; }
.platform-divider { width: 1px; align-self: stretch; background: #e9eef6; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e2e8f0;
}
.principle-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.1em;
  padding-top: 2px;
  flex-shrink: 0;
  width: 22px;
}

.about-card {
  padding: 1.5rem;
  border-radius: 0.875rem;
  background: #f8faff;
  border: 1px solid #e2e8f0;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.about-card:hover { border-color: #93c5fd; box-shadow: 0 4px 16px rgba(37, 99, 235, 0.07); }

/* ============================================================
   CAPABILITIES — unified user-friendly tiles
   ============================================================ */
.capability-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  cursor: pointer;
}
.capability-card:hover { 
  border-color: #bfdbfe;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
  transform: translateY(-4px);
}

.cap-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}
.capability-card:hover .cap-icon { 
  background: #2563eb; 
  border-color: #2563eb; 
  color: #ffffff;
}
.cap-icon svg { transition: color 0.3s; }
.capability-card:hover .cap-icon svg { color: #ffffff; }

.capability-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.625rem;
}
.capability-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.capability-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

/* ============================================================
   INDUSTRIES — user friendly grid
   ============================================================ */
.industry-card {
  padding: 2rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  cursor: pointer;
}
.industry-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
  transform: translateY(-4px);
}
.industry-card.industry-cta-card {
  border-color: #bfdbfe;
  background: #f8faff;
  cursor: default;
}
.industry-card.industry-cta-card:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.04);
}

.industry-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin-bottom: 1.25rem;
}
.industry-card:hover .industry-icon-wrap { 
  background: #2563eb; 
  border-color: #2563eb; 
  color: #ffffff;
}
.industry-icon-wrap svg { transition: color 0.3s; }
.industry-card:hover .industry-icon-wrap svg { color: #ffffff; }

.industry-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.625rem;
}
.industry-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.industry-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
  margin-top: auto;
  transition: gap 0.3s, color 0.3s;
}
.industry-card:hover .industry-cta { 
  gap: 10px; 
  color: #1d4ed8; 
}

/* ============================================================
   RESEARCH
   ============================================================ */
.research-pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e2e8f0;
}

.pillar-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 1px;
}

.process-step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  cursor: pointer;
}
.process-step-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
  transform: translateY(-4px);
}
.process-step-card:hover .step-header i {
  color: #2563eb;
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #bfdbfe;
  letter-spacing: 0.12em;
  padding-top: 3px;
  flex-shrink: 0;
  width: 22px;
}
.step-content { flex: 1; }
.step-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.375rem; }
.step-title { font-size: 0.9375rem; font-weight: 600; color: #0f172a; }
.step-desc { font-size: 0.875rem; color: #64748b; line-height: 1.6; }

/* ============================================================
   STATS â€” white card on lavender section
   ============================================================ */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.stat-block {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.stat-divider {
  width: 1px;
  align-self: stretch;
  background: #e2e8f0;
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.8125rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-card {
  padding: 2rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  cursor: pointer;
}
.why-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
  transform: translateY(-4px);
}

.why-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}
.why-card:hover .why-icon { 
  background: #2563eb; 
  border-color: #2563eb; 
  color: #ffffff;
}
.why-icon svg { transition: color 0.3s; }
.why-card:hover .why-icon svg { color: #ffffff; }

.why-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 700; color: #1e293b; margin-bottom: 0.625rem; }
.why-desc  { font-size: 0.9rem; color: #64748b; line-height: 1.65; flex-grow: 1; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-form-card {
  background: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.form-group { display: flex; flex-direction: column; }
.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 0.375rem;
}
.form-input {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
.form-input option { background: white; color: #1e293b; }

.contact-info-row { display: flex; align-items: center; gap: 1rem; }
.contact-info-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-label  { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; margin-bottom: 2px; }
.contact-info-value  { font-size: 0.9375rem; font-weight: 500; color: #1e293b; }

/* ============================================================
   FOOTER â€” dark footer for contrast (like AlphaDNA footer)
   ============================================================ */
.footer-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-link {
  font-size: 0.875rem;
  color: #64748b;
  transition: color 0.2s;
}
.footer-link:hover { color: #e2e8f0; }

/* ============================================================
   SOCIAL ICONS â€” light page version
   ============================================================ */
.social-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.social-icon:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #2563eb;
  transform: translateY(-1px);
}

/* Dark footer social icons */
.social-icon-dark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
}
.social-icon-dark:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
  color: #60a5fa;
  transform: translateY(-1px);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-element {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-element.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .stat-block { min-width: 50%; border-bottom: 1px solid #e2e8f0; }
  .stat-divider { display: none; }
  .contact-form-card { padding: 1.25rem; }
  .platform-title { display: none; }
}
@media (max-width: 480px) {
  .stats-row { flex-direction: column; }
  .stat-block { width: 100%; }
}

