/* ═══════════════════════════════════════════════
   BLITZAR LABS — LANDING PAGE STYLES
   Paleta: Navy #1B2458 | Blue #2563EB | Steel #8BA3C7 | Light #E8ECF2
═══════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────── */
:root {
  --navy:        #1B2458;
  --navy-dark:   #0F1629;
  --blue:        #2563EB;
  --blue-mid:    #1d4ed8;
  --blue-light:  #60A5FA;
  --steel:       #8BA3C7;
  --steel-light: #b8cde3;
  --light:       #E8ECF2;
  --white:       #FFFFFF;
  --text-dark:   #0F1629;
  --text-muted:  #5A6A85;
  --green-wa:    #25D366;

  --font: 'Inter', system-ui, sans-serif;
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(27, 36, 88, 0.08);
  --shadow:    0 4px 24px rgba(27, 36, 88, 0.12);
  --shadow-lg: 0 8px 40px rgba(27, 36, 88, 0.18);
  --transition: 0.25s ease;
}

/* ─── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); }

/* ─── Container ─────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ─── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.45);
}
.btn--primary:hover {
  background: #1a56d6;
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(37, 99, 235, 0.55);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.22);
}

/* ─── Section Helpers ───────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header--light { color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-label--light {
  color: var(--steel-light);
  background: rgba(139, 163, 199, 0.18);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-dark);
  margin-bottom: 0.875rem;
}
.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Scroll Animations ─────────────────────── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 66px;
  background: rgba(11, 16, 34, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 163, 199, 0.12);
  transition: background var(--transition);
}
.header.scrolled {
  background: rgba(11, 16, 34, 0.98);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__logo-img {
  height: 38px;
  width: auto;
  border-radius: 6px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  background: rgba(139, 163, 199, 0.1);
  border: 1px solid rgba(139, 163, 199, 0.2);
  border-radius: 100px;
  padding: 0.2rem;
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
  opacity: 0.38;
}
.lang-btn .fi {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  display: block;
  background-size: cover;
}
.lang-btn:hover:not(.active) {
  opacity: 0.7;
}
.lang-btn.active {
  background: rgba(255, 255, 255, 0.13);
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, #1e3a8a 100%);
  overflow: hidden;
  padding-top: 66px;
}

/* Background abstract shapes */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-shape--1 {
  width: 700px; height: 700px;
  background: rgba(37, 99, 235, 0.18);
  top: -300px; right: -200px;
}
.hero-shape--2 {
  width: 450px; height: 450px;
  background: rgba(139, 163, 199, 0.12);
  bottom: -180px; left: -100px;
}
.hero-shape--3 {
  width: 250px; height: 250px;
  background: rgba(96, 165, 250, 0.1);
  top: 40%; right: 22%;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4.5rem 1.25rem 5rem;
}

.hero__badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: var(--steel-light);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero__title {
  font-size: clamp(2.1rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.hero__highlight {
  background: linear-gradient(90deg, #60A5FA, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--steel);
  max-width: 560px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

/* ─── Hero Scroll Arrow ─────────────────────── */
.hero__scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(139, 163, 199, 0.3);
  border-radius: 50%;
  color: rgba(139, 163, 199, 0.6);
  animation: arrow-bounce 2.2s ease-in-out infinite;
  transition: color var(--transition), border-color var(--transition);
}
.hero__scroll-arrow:hover {
  color: var(--white);
  border-color: rgba(139, 163, 199, 0.65);
}
.hero__scroll-arrow svg {
  width: 18px; height: 18px;
}
@keyframes arrow-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 1;   }
}

/* ═══════════════════════════════════════════════
   PAIN SECTION
═══════════════════════════════════════════════ */
.pain {
  padding: 5.5rem 0;
  background: var(--light);
}
.pain .section-header { margin-bottom: 2.5rem; }

.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pain__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pain__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.pain__icon {
  width: 52px; height: 52px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
}
.pain__icon svg {
  width: 26px; height: 26px;
}
.pain__card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.625rem;
}
.pain__card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.pain__stat {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.pain__stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238BA3C7' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.pain__stat-inner {
  position: relative;
  z-index: 1;
  padding: 2.75rem 2rem;
  text-align: center;
}
.pain__stat-number {
  font-size: clamp(1.875rem, 5vw, 2.875rem);
  font-weight: 800;
  color: var(--blue-light);
  margin-bottom: 0.875rem;
  line-height: 1.1;
}
.pain__stat-text {
  font-size: 1rem;
  color: var(--steel);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   AI HIGHLIGHT SECTION
═══════════════════════════════════════════════ */
.ai-section {
  padding: 5.5rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ai-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
}

.ai-section__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.ai-section__icon {
  width: 76px;
  height: 76px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--blue);
  animation: ai-pulse 3s ease-in-out infinite;
}
.ai-section__icon svg {
  width: 36px;
  height: 36px;
}

@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.18); }
  50%       { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
}

.ai-section__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.375rem;
}

.ai-section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.18;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.ai-section__accent {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-section__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════ */
.services {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.services .section-header { margin-bottom: 2.5rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 163, 199, 0.14);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.3);
}

.service-card__icon {
  width: 50px; height: 50px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-light);
  transition: background var(--transition);
}
.service-card:hover .service-card__icon {
  background: rgba(37, 99, 235, 0.32);
}
.service-card__icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--steel);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   DIFFERENTIALS SECTION
═══════════════════════════════════════════════ */
.differentials {
  padding: 5.5rem 0;
  background: var(--white);
}

.diff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.diff__card {
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.diff__card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.2);
}

.diff__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  margin: 0 auto 1.125rem;
  color: var(--blue);
}
.diff__icon-wrap svg {
  width: 26px; height: 26px;
}

.diff__card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.625rem;
}
.diff__card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   CLIENTS SECTION
═══════════════════════════════════════════════ */
.clients {
  padding: 5rem 0;
  background: var(--light);
}

.clients__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  padding-top: 0.5rem;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.client-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.client-logo img {
  max-height: 64px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.88;
  transition: filter var(--transition), opacity var(--transition);
}
.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════ */
.cta-final {
  position: relative;
  padding: 6.5rem 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 45%, var(--navy) 100%);
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(40px);
}
.cta-shape--1 {
  width: 500px; height: 500px;
  top: -250px; left: -100px;
}
.cta-shape--2 {
  width: 350px; height: 350px;
  bottom: -175px; right: -50px;
}

.cta-final__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.18;
}
.cta-final p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--navy-dark);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(139, 163, 199, 0.1);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}
.footer__logo {
  height: 34px;
  width: auto;
  border-radius: 5px;
  opacity: 0.9;
}
.footer__copy {
  font-size: 0.875rem;
  color: var(--steel);
}
.footer__contact {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue-light);
  transition: color var(--transition);
}
.footer__contact:hover { color: var(--white); }

/* ═══════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
═══════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 58px; height: 58px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .diff__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pain__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pain__grid .pain__card:last-child {
    grid-column: 1 / -1;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .pain__grid {
    grid-template-columns: 1fr;
  }
  .pain__grid .pain__card:last-child {
    grid-column: auto;
    max-width: none;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .diff__grid {
    grid-template-columns: 1fr 1fr;
  }
  .clients__grid {
    gap: 1.25rem 1.75rem;
  }
  .client-logo img {
    max-height: 52px;
    max-width: 120px;
  }
  .hero__content {
    padding: 3rem 1.25rem 4rem;
  }
  .hero__title {
    gap: 0.1rem;
  }
  .btn {
    width: 100%;
    max-width: 340px;
  }
  .cta-final {
    padding: 4.5rem 0;
  }
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 400px) {
  .diff__grid {
    grid-template-columns: 1fr;
  }
}
