/* ==========================================================================
   Dark Matrix Solutions - Clean, Modern & High-Impact Business Stylesheet
   Theme: Light Theme (Soft Neutral) + Blue & Cyan Poster Accents
   Audience: Local & Growing Business Owners (Simple, Trustworthy, Fast)
   ========================================================================== */

:root {
  /* Soft Neutral Palette */
  --bg-main: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-subtle: #F1F5F9;

  /* Frosted Glass - Increased Transparency */
  --glass-bg: rgba(255, 255, 255, 0.48);
  --glass-border: rgba(226, 232, 240, 0.75);
  --glass-blur: 14px;
  --glass-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.04);

  /* Poster Brand Colors */
  --blue-primary: #0062FF;
  --blue-hover: #004ecc;
  --cyan-accent: #00B4D8;
  --brand-gradient: linear-gradient(135deg, #005BEA 0%, #00C6FB 100%);
  --brand-gradient-hover: linear-gradient(135deg, #004ecc 0%, #00b4d8 100%);

  /* Text Colors */
  --text-dark: #0F172A;
  --text-body: #1E293B;
  --text-muted: #475569;
  --text-light: #94A3B8;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-text: 'Plus Jakarta Sans', sans-serif;

  /* Border Radii */
  --radius-card: 16px;
  --radius-btn: 9999px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-text);
  font-weight: 500;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Subtle Poster Geometric Accents (Clean, Light, Not Distracting)
   -------------------------------------------------------------------------- */
.bg-accents {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.accent-slice-top {
  position: absolute;
  top: 0;
  right: -50px;
  width: 380px;
  height: 240px;
  background: linear-gradient(135deg, transparent 40%, rgba(0, 98, 255, 0.06) 41%, rgba(0, 180, 216, 0.1) 70%, transparent 71%);
  transform: skewX(-20deg);
}

.accent-slice-bottom {
  position: absolute;
  bottom: 0;
  left: -60px;
  width: 350px;
  height: 220px;
  background: linear-gradient(135deg, transparent 35%, rgba(0, 98, 255, 0.05) 36%, rgba(0, 180, 216, 0.08) 65%, transparent 66%);
  transform: skewY(15deg);
}

/* --------------------------------------------------------------------------
   Revolving Dual Glowing Lights (Noticeable Opposite Violet & Purple in Orbit)
   -------------------------------------------------------------------------- */
.revolving-glow-system {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.revolving-orbit {
  position: relative;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  animation: rotateDualGlow 18s linear infinite;
  will-change: transform;
}

@keyframes rotateDualGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.glow-orb {
  position: absolute;
  top: 50%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(80px);
  transform: translateY(-50%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Violet light - slightly to the left from center (softened little bit as requested) */
.glow-violet {
  left: -80px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.72) 0%, rgba(139, 92, 246, 0.5) 35%, rgba(167, 139, 250, 0.2) 65%, transparent 78%);
  opacity: 0.42; /* Softened slightly for balanced harmony */
}

/* Purple light - slightly to the right, toned down a little bit as requested */
.glow-purple {
  right: -80px;
  background: radial-gradient(circle, rgba(200, 50, 220, 0.68) 0%, rgba(217, 70, 239, 0.45) 35%, rgba(232, 121, 249, 0.18) 65%, transparent 78%);
  opacity: 0.38; /* Softened slightly for balanced harmony */
}

/* --------------------------------------------------------------------------
   Container & Section Common
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-impact {
  background: rgba(241, 245, 249, 0.45);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--blue-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.22;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 6px 0;
  font-size: 0.78rem;
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--text-body);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-link {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.top-link:hover {
  color: var(--blue-primary);
}

.top-sep {
  color: #CBD5E1;
}

/* --------------------------------------------------------------------------
   Header / Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 12px;
  z-index: 100;
  padding: 0 16px;
  margin-bottom: 20px;
}

.nav-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 25px -5px rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-btn);
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(241, 245, 249, 0.65);
  padding: 4px 6px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(226, 232, 240, 0.7);
}

.nav-item {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-item:hover {
  color: var(--blue-primary);
}

/* Active Selected Section Indicator */
.nav-item.active {
  color: var(--blue-primary);
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 98, 255, 0.12), 0 1px 3px rgba(15, 23, 42, 0.04);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-text);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-btn);
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-whatsapp-sm {
  background: #25D366;
  color: #FFFFFF;
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-whatsapp-sm:hover {
  background: #20BA5A;
  transform: translateY(-1px);
}

.btn-primary-sm {
  background: var(--brand-gradient);
  color: #FFFFFF;
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-primary-sm:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-1px);
}

.btn-whatsapp-lg {
  background: #25D366;
  color: #FFFFFF;
  padding: 13px 26px;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp-lg:hover {
  background: #20BA5A;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.38);
  transform: translateY(-2px);
}

.btn-call-lg {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--glass-border);
  padding: 13px 26px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.btn-call-lg:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Hero Section (Clean, Bold, Focused)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 40px 0 60px 0;
  text-align: center;
}

.hero-center-content {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  text-decoration: none;
}

.hero-brand-logo {
  height: 98px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transform: translateZ(0);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), filter 0.32s ease;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0, 98, 255, 0.08));
}

.hero-brand-logo:hover,
.hero-logo-wrap:hover .hero-brand-logo {
  transform: scale(1.08);
  filter: drop-shadow(0 0 20px rgba(0, 98, 255, 0.48)) drop-shadow(0 4px 14px rgba(0, 98, 255, 0.28));
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.hero-subtext {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--text-body);
  max-width: 640px;
  line-height: 1.62;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-quick-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-body);
}

.q-icon {
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Frosted Glass Base Style
   -------------------------------------------------------------------------- */
.frosted-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-card);
}

/* --------------------------------------------------------------------------
   Solutions Grid & MODERATE Hover Effect (Requested: Only on services boxes)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  perspective: 1200px;
}

/* Short, compact services boxes with 3D Corner Tilt Effect */
.service-box {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.04);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.08s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
  will-change: transform;
  cursor: pointer;
}

.service-icon-wrap {
  margin-bottom: 14px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 98, 255, 0.1) 0%, rgba(0, 180, 216, 0.15) 100%);
  border: 1px solid rgba(0, 98, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.service-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 10px;
  display: block;
}

.service-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-action-link:hover {
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Impact & Benefits Grid (5 Pillars from Page 3 of PDF)
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.benefit-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.08s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
  will-change: transform;
  cursor: pointer;
}

.benefit-card:nth-child(4),
.benefit-card:nth-child(5) {
  /* Last two cards align neatly */
}

.benefit-num {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--cyan-accent);
  margin-bottom: 10px;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 98, 255, 0.08);
  border: 1px solid rgba(0, 98, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.benefit-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Simple & Clean Contact Section
   -------------------------------------------------------------------------- */
.contact-cta-box {
  padding: 40px 32px;
  text-align: center;
}

.contact-cta-content {
  max-width: 740px;
  margin: 0 auto;
}

.contact-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-cta-subtext {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 28px;
}

.contact-pill-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-pill {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  text-align: left;
  transition: all 0.2s ease;
}

.contact-pill:hover {
  border-color: rgba(0, 98, 255, 0.35);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}

.cp-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 98, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  flex-shrink: 0;
}

.cp-whatsapp .cp-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
}

.cp-text {
  display: flex;
  flex-direction: column;
}

.cp-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cp-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   Footer & Subtle UNHIGHLIGHTED Team Section
   -------------------------------------------------------------------------- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  padding: 40px 0 20px 0;
  margin-top: 20px;
}

.footer-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.footer-left {
  max-width: 440px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.footer-contact-line {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Team section: Strictly UNHIGHLIGHTED as requested */
.footer-team {
  text-align: left;
}

.team-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-link {
  font-size: 0.85rem;
  color: var(--text-muted); /* Deliberately plain and unhighlighted */
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-link:hover {
  color: var(--blue-primary);
  text-decoration: underline;
}

.team-name {
  font-size: 0.85rem;
  color: var(--text-muted); /* Same plain unhighlighted text */
}

.footer-bottom {
  padding-top: 16px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-light);
}

.footer-insta-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-insta-link:hover {
  color: var(--blue-primary);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-wa:hover {
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   MOBILE OPTIMIZATIONS (Lag-Free & Smooth on All Phones)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --glass-blur: 6px;
  }

  .frosted-glass,
  .nav-container {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    transform: translateZ(0); /* Hardware accelerated */
  }

  .nav-menu {
    display: none; /* Keep header super clean on mobile */
  }

  .nav-container {
    padding: 6px 14px;
  }

  .brand-logo {
    height: 38px;
  }

  .btn-whatsapp-sm,
  .btn-primary-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .top-bar-container {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
  }

  .section {
    padding: 44px 0;
  }

  .hero-section {
    padding: 26px 0 38px 0;
  }

  .hero-brand-logo {
    height: 74px;
    margin-bottom: 4px;
  }

  .hero-heading {
    font-size: clamp(1.55rem, 5vw, 1.95rem);
    line-height: 1.2;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-pill-list {
    grid-template-columns: 1fr;
  }

  .contact-cta-box {
    padding: 28px 18px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* Responsive revolving glow on mobile - clearly visible & vibrant */
  .revolving-orbit {
    width: 330px;
    height: 330px;
  }

  .glow-orb {
    width: 280px;
    height: 280px;
    filter: blur(50px);
  }

  .glow-violet {
    left: -35px;
    opacity: 0.42;
  }

  .glow-purple {
    right: -35px;
    opacity: 0.38;
  }
}
