﻿/* ================================================================
   PAKMADE — STATE-OF-THE-ART MARKETPLACE THEME
   Single file. Copy entire file.
   ----------------------------------------------------------------
   1. Reset + document shell
   2. Design tokens
   3. Typography system
   4. Buttons (unified)
   5. Section rhythm + titles
   6. Header (logo, nav, CTA)
   7. Navigation (desktop + mobile + dropdowns)
   8. Hero (composed scene)
   9. Cards (shared surface language)
  10. Trust strip
  11. Categories
  12. Products
  13. Testimonials
  14. Ecosystem
  15. CTA band
  16. Footer (dark system layer)
  17. Utilities (preloader, scroll-top, badges, mono)
   ================================================================ */


/* ================================================================
   1. RESET + DOCUMENT SHELL
   ================================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body > main,
body > #main {
  flex: 1 0 auto;
  margin-top: 0 !important;
}

body > footer,
#footer {
  margin-top: auto;
  flex-shrink: 0;
}

.scroll-top,
#scroll-top {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

img { max-width: 100%; height: auto; display: block; }


/* ================================================================
   2. DESIGN TOKENS
   ================================================================ */
:root {
  /* ---------- Fonts ---------- */
  --default-font: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI",
                  "Helvetica Neue", Arial, sans-serif;
  --display-font: "Plus Jakarta Sans", "Sora", "Poppins", system-ui, sans-serif;
  --nav-font:     "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --mono-font:    "DM Mono", "JetBrains Mono", ui-monospace, monospace;
  --heading-font: var(--display-font);   /* kept for backward compat */

  /* ---------- Brand: Pakistan-green ---------- */
  --background-color: #ffffff;
  --default-color:    #3d4a44;
  --heading-color:    #0a3d2e;
  --accent-color:     #0e7c5a;   /* emerald — primary */
  --accent-bright:    #3ecf8e;   /* bright emerald — for dark surfaces */
  --surface-color:    #ffffff;
  --surface-soft:     #f7fbf9;   /* card bg — one notch off page */
  --surface-tint:     #f0f7f2;   /* section tint */
  --contrast-color:   #ffffff;
  --line-color:       rgba(10, 61, 46, 0.08);
  --line-color-strong:rgba(10, 61, 46, 0.14);
  --shadow-sm:        0 1px 2px rgba(10, 61, 46, 0.05);
  --shadow-md:        0 4px 14px -4px rgba(10, 61, 46, 0.12);
  --shadow-lg:        0 24px 48px -24px rgba(10, 61, 46, 0.28);

  /* ---------- Gradient stops ---------- */
  --gradient-start: var(--accent-color);
  --gradient-mid:   #0b6350;
  --gradient-end:   var(--heading-color);

  /* ---------- Nav tokens (dark, scrolled) ---------- */
  --nav-color:                     rgba(255, 255, 255, 0.85);
  --nav-hover-color:               #ffffff;
  --nav-mobile-background-color:   #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color:            #3d4a44;
  --nav-dropdown-hover-color:      var(--accent-color);

  /* ---------- Transparent (un-scrolled) header ---------- */
  --nav-top-color:       #0a3d2e;
  --nav-top-hover-color: var(--accent-color);

  /* ---------- Footer (dark system layer) ---------- */
  --pf-bg:          #0a1a14;
  --pf-bg-deep:     #06110d;
  --pf-fg:          #e3efe7;
  --pf-fg-muted:    #7d9a8a;
  --pf-fg-dim:      #4a6659;
  --pf-accent:      var(--accent-bright);
  --pf-accent-soft: rgba(62, 207, 142, 0.12);
  --pf-line:        rgba(255, 255, 255, 0.07);
  --pf-line-strong: rgba(255, 255, 255, 0.14);

  /* ---------- Social brand hues ---------- */
  --brand-facebook:  #1877F2;
  --brand-instagram: #E1306C;
  --brand-youtube:   #FF0000;
  --brand-linkedin:  #0A66C2;
  --brand-whatsapp:  #25D366;
}

.light-background {
  --background-color: var(--surface-tint);
  --surface-color:    #ffffff;
}

.dark-background {
  --background-color: var(--heading-color);
  --default-color:    #ffffff;
  --heading-color:    #ffffff;
  --accent-color:     var(--accent-bright);
  --surface-color:    #062a20;
  --contrast-color:   var(--heading-color);
}


/* ================================================================
   3. TYPOGRAPHY SYSTEM
   ================================================================ */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: color-mix(in srgb, var(--accent-color), #000 15%); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  color: var(--heading-color);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: 42px; font-weight: 800; }
h2 { font-size: 34px; font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
h5 { font-size: 16px; font-weight: 700; }
h6 { font-size: 14px; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }
}

p { margin: 0 0 1em; }

/* Mono labels, prices, stats — the "POS terminal" tone */
.mono,
.price-mono,
.stat-number,
.badge-mono {
  font-family: var(--mono-font);
  font-feature-settings: "tnum" 1, "ss01" 1;
  letter-spacing: -0.01em;
}

.text-gradient {
  background: linear-gradient(135deg,
              var(--gradient-start) 0%,
              var(--gradient-mid)   50%,
              var(--gradient-end)   100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.transition-smooth { transition: all 0.25s ease; }


/* ================================================================
   4. BUTTONS (unified)
   ================================================================ */
.btn {
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 15px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary,
a.btn-primary {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 2px rgba(10, 61, 46, 0.2);
}
.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000 10%) !important;
  border-color: color-mix(in srgb, var(--accent-color), #000 10%) !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 16px -8px rgba(14, 124, 90, 0.5);
}

.btn-outline-primary,
a.btn-outline-primary {
  background: transparent !important;
  border: 1.5px solid var(--line-color-strong) !important;
  color: var(--heading-color) !important;
}
.btn-outline-primary:hover,
a.btn-outline-primary:hover {
  background: var(--surface-soft) !important;
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-icon-only { width: 40px; height: 40px; padding: 0; border-radius: 10px; }


/* ================================================================
   5. SECTIONS + TITLES
   ================================================================ */
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 96px 0;
  scroll-margin-top: 82px;
  overflow: clip;
  position: relative;
}
@media (max-width: 1199px) { section, .section { scroll-margin-top: 73px; } }
@media (max-width: 768px)  { section, .section { padding: 64px 0; } }

/* Soft gradient tint for the alternate sections */
section.light-background {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--accent-color), transparent 97%) 0%,
      color-mix(in srgb, var(--accent-color), transparent 94%) 100%);
}

/* Section-title block */
.section-title {
  text-align: center;
  padding-bottom: 56px;
  position: relative;
}
.section-title h2 {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 500;
  padding: 8px 16px;
  margin: 0 0 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
}
.section-title div {
  margin: 14px 0 0;
  font-family: var(--display-font);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  background: linear-gradient(135deg,
              var(--gradient-start) 0%,
              var(--gradient-mid)   50%,
              var(--gradient-end)   100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.section-title div .description-title {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--accent-color);
  color: var(--accent-color);
}
.section-title p {
  margin: 16px auto 0;
  max-width: 620px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  font-size: 15.5px;
}
@media (max-width: 768px) { .section-title div { font-size: 28px; } }

/* Page-title */
.page-title .heading {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line-color);
}
.page-title .heading h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.page-title nav {
  background-color: var(--surface-soft);
  padding: 16px 0;
  font-size: 14px;
  font-family: var(--mono-font);
  letter-spacing: 0.02em;
}
.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  gap: 0 4px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}


/* ================================================================
   6. HEADER
   ================================================================ */
#header.header {
  background-color: transparent;
  padding: 14px 0;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  z-index: 997;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

#header.header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background: linear-gradient(180deg,
              rgba(255, 255, 255, 0.94) 0%,
              rgba(255, 255, 255, 0.7)  60%,
              rgba(255, 255, 255, 0)    100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: -1;
}
html.scrolled #header.header::before { opacity: 0; }

html.scrolled #header.header {
  background-color: rgba(10, 61, 46, 0.95);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter:         saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06),
              0 8px 24px -12px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

/* Logo */
.header .logo {
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header .logo img {
  max-height: 38px;
  border-radius: 20%;
}
.logo-text { line-height: 1.05; }
.logo-text .sitename {
  font-family: var(--display-font);
  
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1.05;
  color: var(--heading-color);
}
.logo-text .sitename-tagline {
  display: block;
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
  color: color-mix(in srgb, var(--heading-color), transparent 25%);
}
html.scrolled #header.header .logo-text .sitename { color: #ffffff; }
html.scrolled #header.header .logo-text .sitename-tagline {
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 576px) {
  .logo-text .sitename { font-size: 18px; }
  .logo-text .sitename-tagline { font-size: 9px; }
}

/* Header CTA */
.header .btn-getstarted {
  font-family: var(--display-font);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  background: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--accent-color), #000 15%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 2px 6px rgba(10, 61, 46, 0.2);
  transition: all 0.2s ease;
  display: inline-block;
}
.header .btn-getstarted:hover {
  background: color-mix(in srgb, var(--accent-color), #000 10%);
  color: var(--contrast-color);
  transform: translateY(-1px);
}
@media (max-width: 1200px) {
  .header .logo           { order: 1; }
  .header .btn-getstarted { order: 2; margin: 0 12px 0 0; padding: 7px 14px; font-size: 12.5px; }
  .header .navmenu        { order: 3; }
}


/* ================================================================
   7. NAVIGATION
   ================================================================ */

/* Mobile toggle */
.mobile-nav-toggle {
  font-size: 26px;
  line-height: 0;
  margin-right: 8px;
  cursor: pointer;
  transition: color 0.3s;
  color: var(--nav-top-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.mobile-nav-toggle:hover { background: var(--surface-soft); }
html.scrolled .mobile-nav-toggle { color: #ffffff; }
html.scrolled .mobile-nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Desktop nav ---------- */
@media (min-width: 1200px) {
  .navmenu { padding: 0; }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
  }
  .navmenu > ul > li {
    position: relative;
    white-space: nowrap;
    padding: 8px 12px;
  }
  .navmenu > ul > li:last-child { padding-right: 0; }

  .navmenu a,
  .navmenu a:focus {
    font-family: var(--nav-font);
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--nav-top-color);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 4px;
    position: relative;
    transition: color 0.18s ease;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 11px;
    line-height: 0;
    transition: transform 0.2s ease;
  }
  .navmenu > ul > li > a:hover i,
  .navmenu > ul > li.active > a i { transform: rotate(180deg); }

  .navmenu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 0;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }
  .navmenu > ul > li > a:hover::after,
  .navmenu > ul > li.active > a::after { transform: scaleX(1); }
  .navmenu > ul > li > a:hover,
  .navmenu > ul > li.active > a { color: var(--nav-top-hover-color); }

  /* Scrolled state */
  html.scrolled .navmenu a,
  html.scrolled .navmenu a:focus { color: var(--nav-color); }
  html.scrolled .navmenu > ul > li > a:hover,
  html.scrolled .navmenu > ul > li.active > a { color: var(--nav-hover-color); }

  /* Dropdowns */
  .navmenu .dropdown ul {
    margin: 0;
    padding: 8px;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 50%;
    top: 130%;
    transform: translateX(-50%) translateY(-6px);
    opacity: 0;
    transition: all 0.22s ease;
    border-radius: 12px;
    z-index: 99;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 24px 48px -16px rgba(10, 61, 46, 0.22),
      0 2px 8px rgba(10, 61, 46, 0.06);
    border: 1px solid var(--line-color);
    min-width: 240px;
    gap: 2px;
    flex-direction: column;
  }
  .navmenu .dropdown ul li { min-width: 220px; display: block; }
  .navmenu .dropdown ul a {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: var(--nav-dropdown-color);
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .navmenu .dropdown ul a i { font-size: 12px; opacity: 0.7; }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background: color-mix(in srgb, var(--accent-color), transparent 94%);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: calc(100% + 6px);
    transform: translateY(-6px);
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    visibility: visible;
    transform: translateY(0);
  }

  /* Dropdown divider */
  .navmenu .dropdown ul li.dropdown-divider {
    display: block;
    height: 1px;
    min-height: 1px;
    margin: 6px 4px;
    padding: 0;
    background: var(--line-color);
    border: none;
    pointer-events: none;
    list-style: none;
    font-size: 0;
    line-height: 0;
  }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 1199px) {
  .navmenu { padding: 0; z-index: 9997; }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 68px 16px 16px 16px;
    padding: 12px;
    margin: 0;
    border-radius: 16px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid var(--line-color);
    box-shadow: 0 24px 48px -16px rgba(10, 61, 46, 0.25);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 14px;
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    background: var(--surface-soft);
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-color);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 6px 0 6px 10px;
    margin: 6px 0 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-left: 2px solid var(--line-color-strong);
    border-radius: 0;
  }
  .navmenu .dropdown > .dropdown-active { display: block; }
  .mobile-nav-active { overflow: hidden; }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 28px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
    background: rgba(10, 61, 46, 0.15);
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(10, 20, 15, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu > ul { display: block; }
}


/* ================================================================
   8. HERO — composed scene
   ================================================================ */
.hero {
  position: relative;
  padding-top: 20px;
  padding-bottom: 40px;
  background-color: var(--background-color);
  overflow: hidden;
}

/* Grid-paper background (subtle, sits behind everything) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(10, 61, 46, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 61, 46, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Radial glow behind hero object */
.hero::after {
  content: "";
  position: absolute;
  right: -200px;
  top: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle,
              color-mix(in srgb, var(--accent-color), transparent 78%) 0%,
              color-mix(in srgb, var(--accent-color), transparent 94%) 40%,
              transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container { position: relative; z-index: 1; }

/* Eyebrow badge */
.hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line-color);
  font-family: var(--mono-font);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--heading-color);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero .hero-eyebrow .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
}

/* Headline */
.hero h1 {
  font-family: var(--display-font);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--heading-color);
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg,
              var(--gradient-start) 0%,
              var(--gradient-mid)   50%,
              var(--gradient-end)   100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 1200px) { .hero h1 { font-size: 52px; } }
@media (max-width: 992px)  { .hero h1 { font-size: 44px; } }
@media (max-width: 768px)  { .hero h1 { font-size: 36px; letter-spacing: -0.03em; } }

.hero .hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  max-width: 540px;
  margin: 0 0 32px;
}

/* Search — the single most visible control */
.hero .hero-search {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1.5px solid var(--line-color-strong);
  border-radius: 14px;
  padding: 6px;
  max-width: 560px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 12px 32px -16px rgba(10, 61, 46, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 18px;
}
.hero .hero-search:focus-within {
  border-color: var(--accent-color);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 88%),
    0 12px 32px -16px rgba(10, 61, 46, 0.3);
}
.hero .hero-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--default-font);
  font-size: 15px;
  color: var(--default-color);
  padding: 10px 14px;
}
.hero .hero-search input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 55%);
}
.hero .hero-search .btn {
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
  margin-left: 4px;
}

/* Trust meta line */
.hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  font-family: var(--mono-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.hero .hero-meta .item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero .hero-meta .item i {
  color: var(--accent-color);
  font-size: 14px;
}

/* Stats strip — a single bordered band, not 3 free-floating numbers */
.hero .hero-stats {
  display: inline-flex;
  border: 1px solid var(--line-color);
  border-radius: 14px;
  background: var(--surface-soft);
  overflow: hidden;
  flex-wrap: wrap;
}
.hero .hero-stats .stat-item {
  padding: 16px 24px;
  border-right: 1px solid var(--line-color);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero .hero-stats .stat-item:last-child { border-right: none; }
.hero .hero-stats .stat-value {
  font-family: var(--mono-font);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  line-height: 1;
}
.hero .hero-stats .stat-label {
  font-family: var(--display-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

/* Hero image — offset, floating trust chip */
.hero .hero-visual {
  position: relative;
  padding: 20px 20px 20px 0;
}
.hero .hero-visual .visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 40px 80px -32px rgba(10, 61, 46, 0.35),
    0 8px 24px -8px rgba(10, 61, 46, 0.15);
  background: linear-gradient(135deg, #e8f2ec 0%, #f7fbf9 100%);
  aspect-ratio: 4 / 3.4;
}
.hero .hero-visual .visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .hero-visual .float-card {
  position: absolute;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-color);
  box-shadow: 0 16px 32px -16px rgba(10, 61, 46, 0.28);
}
.hero .hero-visual .float-card .float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.hero .hero-visual .float-card .float-title {
  font-family: var(--display-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
  margin: 0 0 2px;
}
.hero .hero-visual .float-card .float-sub {
  font-family: var(--mono-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}
.hero .hero-visual .float-card.top-right {
  top: 0;
  right: 0;
  transform: translate(10px, -10px);
}
.hero .hero-visual .float-card.bottom-left {
  bottom: 0;
  left: 0;
  transform: translate(-10px, 10px);
}
@media (max-width: 992px) {
  .hero { padding-top: 120px; padding-bottom: 80px; }
  .hero .hero-visual { margin-top: 40px; padding: 0; }
  .hero .hero-visual .float-card { display: none; }
}


/* ================================================================
   9. TRUST STRIP — 3 cards with icon, mono label, short text
   ================================================================ */
.trust-strip {
  padding: 40px 0 80px;
}
.trust-strip .trust-card {
  background: var(--surface-color);
  border: 1px solid var(--line-color);
  border-radius: 16px;
  padding: 26px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.trust-strip .trust-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.trust-strip .trust-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 75%);
  box-shadow: var(--shadow-md);
}
.trust-strip .trust-card:hover::after { transform: scaleX(1); }

.trust-strip .trust-card .trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.trust-strip .trust-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.trust-strip .trust-card p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.55;
  margin: 0;
}


/* ================================================================
   10. CATEGORY GRID
   ================================================================ */
.category-grid .cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface-color);
  border: 1px solid var(--line-color);
  border-radius: 14px;
  height: 100%;
  transition: all 0.22s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.category-grid .cat-card:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  background: var(--surface-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.category-grid .cat-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: background 0.2s ease, color 0.2s ease;
}
.category-grid .cat-card:hover .cat-icon {
  background: var(--accent-color);
  color: #fff;
}
.category-grid .cat-name {
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}
.category-grid .cat-count {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}


/* ================================================================
   11. PRODUCT GRID
   ================================================================ */
.product-card {
  background: var(--surface-color);
  border: 1px solid var(--line-color);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  box-shadow: var(--shadow-lg);
}
.product-card .product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-soft);
}
.product-card .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }

.product-card .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--heading-color);
  font-family: var(--mono-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px -4px rgba(10, 61, 46, 0.15);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.product-card .product-badge i { color: var(--accent-color); font-size: 11px; }

.product-card .product-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-card .product-title {
  font-family: var(--display-font);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .product-seller {
  font-size: 12.5px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}
.product-card .product-seller a {
  color: var(--accent-color);
  font-weight: 600;
}
.product-card .product-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--mono-font);
  font-size: 12px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.product-card .product-rating i { color: #f0b429; font-size: 12px; }
.product-card .product-rating .review-count { margin-left: 4px; opacity: 0.7; }

.product-card .product-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-color);
}
.product-card .price {
  font-family: var(--mono-font);
  font-size: 18px;
  font-weight: 500;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}
.product-card .price .currency {
  font-size: 13px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 2px;
}
.product-card .product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-color);
  color: #fff;
  font-size: 15px;
  border: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.product-card:hover .product-cta {
  background: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: scale(1.05);
}


/* ================================================================
   12. TESTIMONIALS
   ================================================================ */
.testimonial-card {
  background: var(--surface-color);
  border: 1px solid var(--line-color);
  border-radius: 16px;
  padding: 26px 26px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent-color), transparent 75%);
}
.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 0.7;
  color: color-mix(in srgb, var(--accent-color), transparent 70%);
  height: 24px;
}
.testimonial-card .quote-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--default-color);
  margin: 0;
  flex: 1;
}
.testimonial-card .quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-color);
}
.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-bright));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card .author-meta {
  min-width: 0;
}
.testimonial-card .author-name {
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
  margin: 0;
}
.testimonial-card .author-role {
  font-family: var(--mono-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 2px 0 0;
}
.testimonial-card .rating-stars {
  display: flex;
  gap: 2px;
  color: #f0b429;
  font-size: 12px;
}


/* ================================================================
   13. ECOSYSTEM + CTA BAND
   ================================================================ */
.ecosystem-band {
  padding: 96px 0;
}
.ecosystem-band .eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line-color);
  font-family: var(--mono-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--heading-color);
  transition: all 0.2s ease;
}
.ecosystem-band .eco-pill i { color: var(--accent-color); font-size: 13px; }
.ecosystem-band .eco-pill:hover {
  background: #fff;
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

.cta-band {
  padding: 80px 0;
}
.cta-band .cta-card {
  background:
    radial-gradient(ellipse at 100% 0%,
      color-mix(in srgb, var(--accent-bright), transparent 75%) 0%,
      transparent 55%),
    linear-gradient(135deg,
      var(--gradient-end) 0%,
      var(--gradient-mid) 100%);
  border-radius: 24px;
  padding: 56px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band .cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at right, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at right, #000 30%, transparent 75%);
  pointer-events: none;
}
.cta-band .cta-card h2 {
  color: #fff;
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
  position: relative;
}
.cta-band .cta-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 560px;
  position: relative;
}
.cta-band .cta-card .btn {
  position: relative;
  background: #fff !important;
  color: var(--heading-color) !important;
  border: none;
  font-weight: 700;
}
.cta-band .cta-card .btn:hover {
  background: rgba(255, 255, 255, 0.92) !important;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .cta-band .cta-card { padding: 40px 28px; }
  .cta-band .cta-card h2 { font-size: 26px; }
}


/* ================================================================
   14. FOOTER — dark system layer
   ================================================================ */
.pm-footer {
  position: relative;
  background: var(--pf-bg);
  color: var(--pf-fg);
  font-family: var(--default-font);
  font-size: 14px;
  padding: 0;
  margin: 0;
}
.pm-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg,
              var(--accent-color) 0%,
              var(--pf-accent)    50%,
              transparent 100%);
  opacity: 0.9;
}
.pm-footer::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 340px;
  background: radial-gradient(ellipse at 50% 0%,
              rgba(62, 207, 142, 0.10) 0%,
              rgba(62, 207, 142, 0.03) 35%,
              transparent 70%);
  pointer-events: none;
}

/* Layer 1 — brand band */
.pm-footer .pm-footer-brand {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--pf-line);
  position: relative;
  z-index: 1;
}
.pm-footer .pm-footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pf-fg);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.pm-footer .pm-footer-wordmark:hover { opacity: 0.85; }
.pm-footer .pm-footer-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), var(--pf-accent));
  color: #021a19;
  font-size: 20px;
  box-shadow: 0 8px 24px -8px rgba(62, 207, 142, 0.5);
}
.pm-footer .pm-footer-brand-name {
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--pf-fg);
  line-height: 1;
}
.pm-footer .pm-footer-tagline {
  font-size: 13.5px;
  color: var(--pf-fg-muted);
  margin-top: 14px;
}
.pm-footer .pm-footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
@media (min-width: 992px) {
  .pm-footer .pm-footer-pills { justify-content: flex-end; }
}
.pm-footer .pm-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pf-line-strong);
  color: var(--pf-fg);
  font-family: var(--mono-font);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.pm-footer .pm-pill i { color: var(--pf-accent); font-size: 13px; }
.pm-footer .pm-pill:hover {
  background: var(--pf-accent-soft);
  border-color: rgba(62, 207, 142, 0.35);
}

/* Layer 2 — link grid */
.pm-footer .pm-footer-grid {
  padding: 56px 0 64px;
  position: relative;
  z-index: 1;
}
.pm-footer .pm-footer-heading {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pf-fg-dim);
  margin: 0 0 20px;
}
.pm-footer .pm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
}
.pm-footer .pm-footer-links li { margin-bottom: 12px; }
.pm-footer .pm-footer-links a {
  color: var(--pf-fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.pm-footer .pm-footer-links a:hover { color: var(--pf-accent); }

.pm-footer .pm-footer-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  font-size: 13.5px;
}
.pm-footer .pm-footer-ecosystem-grid a {
  color: var(--pf-fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  position: relative;
  padding-left: 14px;
}
.pm-footer .pm-footer-ecosystem-grid a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pf-fg-dim);
  transform: translateY(-50%);
  transition: background 0.15s ease;
}
.pm-footer .pm-footer-ecosystem-grid a:hover { color: var(--pf-fg); }
.pm-footer .pm-footer-ecosystem-grid a:hover::before { background: var(--pf-accent); }

/* Layer 3 — legal strip */
.pm-footer .pm-footer-legal {
  background: var(--pf-bg-deep);
  border-top: 1px solid var(--pf-line);
  padding: 22px 0;
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--pf-fg-dim);
  position: relative;
  z-index: 1;
}
.pm-footer .pm-footer-legal-links a {
  color: var(--pf-fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.pm-footer .pm-footer-legal-links a:hover { color: var(--pf-accent); }
.pm-footer .pm-sep {
  color: var(--pf-fg-dim);
  margin: 0 8px;
  opacity: 0.6;
}
.pm-footer .pm-footer-copyright { color: var(--pf-fg-dim); font-size: 12px; }

.pm-footer .pm-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pf-fg-muted);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(62, 207, 142, 0.06);
  border: 1px solid rgba(62, 207, 142, 0.15);
  font-size: 11.5px;
}
.pm-footer .pm-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pf-accent);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.18);
  position: relative;
}
.pm-footer .pm-status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--pf-accent);
  opacity: 0;
  animation: pm-status-pulse 2.4s ease-out infinite;
}
@keyframes pm-status-pulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  70%  { transform: scale(2.2); opacity: 0;   }
  100% { transform: scale(2.2); opacity: 0;   }
}


/* ================================================================
   15. SOCIAL LINKS — branded chips
   ================================================================ */
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--pf-line-strong);
  color: var(--pf-fg-muted);
}
.social-links a:hover {
  transform: translateY(-2px);
  color: #fff;
}
/* Brand tints on hover */
.social-links a.facebook:hover  { background: var(--brand-facebook);  border-color: var(--brand-facebook);  }
.social-links a.instagram:hover { background: var(--brand-instagram); border-color: var(--brand-instagram); }
.social-links a.youtube:hover   { background: var(--brand-youtube);   border-color: var(--brand-youtube);   }
.social-links a.linkedin:hover  { background: var(--brand-linkedin);  border-color: var(--brand-linkedin);  }
.social-links a.whatsapp:hover  { background: var(--brand-whatsapp);  border-color: var(--brand-whatsapp);  }
.social-links a:hover i { color: #fff; }

/* On light contexts (outside the footer), flip to soft fill style */
.social-links.light a {
  background: var(--surface-soft);
  border: 1px solid var(--line-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.social-links.light a:hover { color: #fff; }


/* ================================================================
   16. UTILITIES
   ================================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}
@keyframes animate-preloader {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  background: var(--accent-color);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px -8px rgba(14, 124, 90, 0.5);
}
.scroll-top i { font-size: 22px; color: #fff; line-height: 0; }
.scroll-top:hover { background: color-mix(in srgb, var(--accent-color), #000 10%); color: #fff; }
.scroll-top.active { visibility: visible; opacity: 1; }

/* Register captcha */
.register-captcha {
  background: var(--heading-color);
  color: #fcd34d;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--mono-font);
  font-weight: 500;
  letter-spacing: 6px;
  font-size: 1.1rem;
  user-select: none;
}

/* Responsive utilities */
@media (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0s !important; }
}