/* =========================================================
   01. RESET
========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   02. ROOT VARIABLES
========================================================= */
:root {
  --_colors---black: #242424;
  --_colors---black-shade: #313131;
  --_colors---white: #ffffff;
  --_colors---white-shade: #b4b4b4;
  --_colors---green: #d1e09e;
  --_colors---light-green: #f7ffdb;
  --_colors---dark-green: #567000;
  --_colors---dark-grey: #4d4d4d;
  --_colors---grey: #989898;
  --_fonts---inter: Inter, sans-serif;

  --body: 0.875rem;
  --body-large: 1rem;
  --body-small: 0.75rem;
  --body-extra-large: 2.25rem;
  --h1: 4.5rem;
  --h2: 3rem;
  --h3: 1.5rem;
  --h4: 1.25rem;
  --h5: 1rem;
  --h6: 1rem;

  --_spacing---section-padding-top: 4.5rem;
  --_spacing---section-padding-left-and-right: 3.75rem;
}

/* =========================================================
   03. BASE / GLOBAL
========================================================= */
body {
  font-family: var(--_fonts---inter);
  background-color: var(--_colors---black);
  color: var(--_colors---white);
  font-size: var(--body);
  line-height: 140%;
  min-height: 100vh;
}

img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
  border: 0;
}

a {
  color: var(--_colors---white-shade);
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--_colors---white);
}

p {
  color: var(--_colors---white-shade);
  margin-bottom: 0;
}

h1 {
  font-size: var(--h1);
  letter-spacing: -4px;
  margin: 0;
  font-weight: 400;
  line-height: 120%;
}

h2 {
  font-size: var(--h2);
  letter-spacing: -1.7px;
  margin: 0;
  font-weight: 400;
  line-height: 120%;
}

h3 {
  font-size: var(--h3);
  margin: 0;
  font-weight: 400;
  line-height: 120%;
}

h4 {
  font-size: var(--h4);
  margin: 0;
  font-weight: 400;
  line-height: 120%;
}

h5 {
  font-size: var(--h5);
  margin: 0;
  font-weight: 600;
  line-height: 120%;
}

h6 {
  font-size: var(--h6);
  margin: 0;
  font-weight: 400;
  line-height: 130%;
}

/* =========================================================
   04. UTILITY
========================================================= */
.page-content-wrapper {
  position: relative;
  min-height: 100vh;
}

.small-text {
  font-size: var(--body-small);
}

.large-text {
  font-size: var(--body-large);
  line-height: 130%;
}

.grey-text {
  color: var(--_colors---grey);
}

/* =========================================================
   05. SHARED BUTTON TEXT ANIMATION
========================================================= */
.button-text-wrapper {
  overflow: hidden;
  position: relative;
  max-height: 1.25rem;
}

.button-text {
  display: block;
  transition: transform 0.3s ease;
  line-height: 1.25rem;
}

.nav-button:hover .button-text,
.primary-button:hover .button-text {
  transform: translateY(-100%);
}

/* =========================================================
   06. NAVBAR
========================================================= */
.navbar {
  background-color: transparent;
  width: 100%;
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  background-color: var(--_colors---black-shade);
  outline: 4px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  max-width: 874px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  margin-right: auto;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 40px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-right: auto;
}

.nav-link {
  color: var(--_colors---white-shade);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.w--current {
  color: var(--_colors---white);
}

.nav-button {
  background-color: var(--_colors---white);
  color: var(--_colors---black);
  border-radius: 100px;
  padding: 0.75rem 1.125rem;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-button:hover {
  box-shadow: 0 0 8px 0 var(--_colors---green);
  color: var(--_colors---black);
}

/* =========================================================
   07. MOBILE MENU BUTTON
========================================================= */
.menu-button {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  background: transparent;
  border: none;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
}

.menu-icon {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.menu-line {
  width: 100%;
  height: 2px;
  background-color: var(--_colors---white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-button.active .menu-line-1 {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.active .menu-line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.menu-button.active .menu-line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   08. MOBILE OVERLAY
========================================================= */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}



/* Hide desktop dashboard button on mobile */
@media (max-width: 767px) {
  .nav-button {
    display: none;
  }
}

/* Show mobile-only links only in mobile menu */
.mobile-only {
  display: none;
}

@media (max-width: 767px) {
  .mobile-only {
    display: block;
  }
}

/* =========================================================
   09. SHARED SECTION / DASHED LINES / DIVIDERS
========================================================= */
.section {
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: var(--_spacing---section-padding-top) var(--_spacing---section-padding-left-and-right);
}

.content-container,
.small-testimonial-wrapper,
.stats-grid,
.home-hero-content-container {
  position: relative;
  z-index: 2;
}

.section-dashed-lines-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-dashed-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.16) 0 8px,
    transparent 8px 16px
  );
  background-repeat: repeat-y;
  background-size: 1px 16px;
}

.section-dashed-line:first-child {
  left: 25%;
  transform: translateX(-1px);
}

.section-dashed-line:last-child {
  right: 25%;
  transform: translateX(1px);
}

.section-divider-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  display: grid;
  grid-template-columns: 0.25fr minmax(0, 3.5fr) 0.25fr;
  z-index: 1;
  pointer-events: none;
}

.section-divider-wrapper.top {
  top: 0;
}

.section-divider-wrapper.bottom {
  top: auto;
  bottom: 0;
}

.section-divider {
  grid-column: 2;
  width: calc(100% - 2px);
  margin-left: 1px;
  margin-right: 1px;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.16) 0 8px,
    transparent 8px 16px
  );
}

/* =========================================================
   10. CONTENT CONTAINER / HEADINGS
========================================================= */
.content-container {
  gap: 1rem;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 914px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  display: flex;
}

.section-heading {
  text-align: center;
  max-width: 750px;
}

/* =========================================================
   11. TAG / BADGE
========================================================= */
.section-tag-wrapper {
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}

.section-tag-background {
  z-index: 0;
  background-color: var(--_colors---green);
  filter: blur(15px);
  border-radius: 50px;
  width: 0;
  height: 12px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20%;
  padding-right: 20%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
}

.section-tag-rectangle {
  z-index: 2;
  background-color: var(--_colors---green);
  border-radius: 50px;
  width: 0;
  height: 4px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20%;
  padding-right: 20%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-2px);
}

.section-tag-content {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.25rem 0.75rem 0.25rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
}

.section-tag-highlighted {
  border: 1px solid var(--_colors---grey);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
}

.section-tag-content.no-highlight {
  padding: 0.25rem 0.75rem;
}

/* =========================================================
   12. PRIMARY BUTTON
========================================================= */
.primary-button {
  background-color: var(--_colors---white);
  color: var(--_colors---black);
  border-radius: 100px;
  padding: 0.75rem 1.125rem;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--body);
  font-weight: 500;
  cursor: pointer;
}

.primary-button:hover {
  box-shadow: 0 0 8px 0 var(--_colors---green);
  color: var(--_colors---black);
}

/* =========================================================
   13. SHARED CARD SYSTEM
========================================================= */
.grey-card-wrapper {
  background-color: rgba(55, 55, 55, 0.25);
  background-image: linear-gradient(143deg, var(--_colors---dark-grey) 65%, var(--_colors---green));
  border-radius: 18px;
  padding: 4px;
  position: relative;
  overflow: hidden;
}

.grey-card-wrapper.glow-bottom-left {
  background-image: linear-gradient(232deg, var(--_colors---dark-grey) 65%, var(--_colors---green));
}

.grey-card-wrapper.glow-bottom-right {
  background-image: linear-gradient(151deg, var(--_colors---dark-grey) 70%, var(--_colors---green));
}

.grey-card-wrapper.glow-top {
  background-image: linear-gradient(4deg, var(--_colors---dark-grey) 65%, var(--_colors---green));
  min-height: 192px;
}

.grey-card-content {
  z-index: 1;
  gap: 2rem;
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  background-color: rgba(36, 36, 36, 0.75);
  border-radius: 14px;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0.875rem 1.875rem 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.grey-card-content.large {
  gap: 2rem;
  flex-flow: row;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  height: 100%;
  padding-top: 3rem;
  display: grid;
}

.grey-card-content.has-bottom-padding {
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 1.875rem;
}

.grey-card-text-wrapper {
  gap: 0.5rem;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  display: flex;
}

.grey-card-text-wrapper.large {
  justify-content: flex-start;
  align-items: flex-start;
}

.grey-card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.grey-card-image-large {
  align-self: end;
  justify-self: end;
  margin-left: auto;
  margin-right: -1rem;
}

/* =========================================================
   14. STATS / NUMBERS
========================================================= */
.stats-grid {
  grid-column-gap: 0;
  grid-row-gap: 6rem;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  display: grid;
}

.stats-numbers-wrapper {
  gap: 0.5rem;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.stats-counter-wrapper {
  gap: 0;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
  overflow: hidden;
}

.extra-large-text {
  font-size: var(--body-extra-large);
  letter-spacing: -1px;
  line-height: 130%;
  font-weight: 400;
  color: var(--_colors---white);
}

/* =========================================================
   15. FEATURES HERO SECTION
========================================================= */
.features-hero-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 10vw 3.75rem 3.75rem;
  position: relative;
  overflow: hidden;
}

.left-aligned-hero-content-container {
  position: relative;
  z-index: 2;
  max-width: 874px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  width: 100%;
}

.hero-heading-wrapper {
  max-width: 654px;
}

.hero-pragraph {
  max-width: 484px;
  margin-bottom: 3rem;
}

.loved-by-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.hero-background-wrapper.features {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  perspective-origin: 0%;
  transform-origin: 0%;
  background-image: url("../images/hero-background-wrapper-features.svg");
  background-position: 0% 0%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* =========================================================
   16. FEATURES PAGE GRID SECTION
========================================================= */
.features-page-grid {
  width: 100%;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.feature-full {
  grid-column: span 6;
}

.feature-half {
  grid-column: span 3;
}

.feature-third {
  grid-column: span 2;
}

.feature-grid-image {
  max-width: 100%;
  height: auto;
}

.grey-card-wrapper.numbers .grey-card-content {
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 1.875rem;
}

.grey-card-wrapper.numbers .grey-card-text-wrapper {
  justify-content: center;
  align-items: flex-start;
  height: auto;
}

.grey-card-wrapper.numbers .stats-counter-wrapper {
  margin-bottom: 0.4rem;
}

/* =========================================================
   17. FAQ SECTION
========================================================= */
.faq-grid {
  width: 100%;
  max-width: 650px;
  margin-top: 3.75rem;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.25rem;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-wrapper {
  background-color: var(--_colors---black-shade);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.faq-wrapper:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--_colors---white);
  cursor: pointer;
  padding: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font: inherit;
}

.faq-question-text {
  color: var(--_colors---white);
  font-size: 1rem;
  line-height: 140%;
}

.plus-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.plus-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background-color: var(--_colors---white);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.plus-vertical {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-paragraph {
  padding: 0 1.125rem 1.125rem;
  color: var(--_colors---white-shade);
  font-size: 0.95rem;
  line-height: 150%;
}

.faq-wrapper.active .faq-answer {
  max-height: 200px;
}

.faq-wrapper.active .plus-vertical {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.small-cta-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 5rem;
  text-align: center;
}

/* =========================================================
   18. CTA + FOOTER WRAPPER
========================================================= */
.cta-and-footer-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-background-wrapper.cta {
  z-index: -1;
  filter: blur(90px);
  pointer-events: none;
  background-image: url("../images/hero-background-wrapper-features.svg");
  background-position: 50% 0;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  inset: 15% 0% -20%;
}

/* =========================================================
   19. CTA SECTION
========================================================= */
.zoflo-cta-section {
  position: relative;
  overflow: hidden;
}

.section-heading-paragraph {
  max-width: 540px;
  text-align: center;
  color: var(--_colors---white-shade);
}

.cta-button-wrapper {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}

.home-hero-graphics-wrapper {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.home-hero-graphic {
  position: absolute;
  z-index: 2;
}

.zoflo-cta-section .home-hero-graphic.cta {
  top: 16%;
  left: 6%;
  width: 150px;
}

.zoflo-cta-section .home-hero-graphic.bottom-right {
  right: 5%;
  bottom: 10%;
  width: 150px;
}

/* =========================================================
   20. FOOTER
========================================================= */
.footer {
  position: relative;
  padding: var(--_spacing---section-padding-top) var(--_spacing---section-padding-left-and-right);
}

.footer-wrapper {
  max-width: 914px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem;
  border-radius: 18px;
  background-color: var(--_colors---black-shade);
  outline: 4px solid rgba(255, 255, 255, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 0.5fr 0.5fr;
  gap: 1rem;
}

.footer-grid-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  width: auto;
  height: 35px;
}

.footer-large-text {
  color: var(--_colors---white);
  font-size: 1.5rem;
  line-height: 130%;
  letter-spacing: -0.5px;
  max-width: 260px;
}

.footer-button-wrapper {
  margin-top: 0.5rem;
}

.footer-heading {
  color: var(--_colors---white);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--_colors---white-shade);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--_colors---white);
}

.footer-flex {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-flex-credits {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-flex-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* =========================================================
   21. SCROLL / LOAD ANIMATIONS
========================================================= */
.reveal-up,
.pop-in {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.reveal-up {
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.pop-in {
  transform: translateY(10px) scale(0.94);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.is-visible,
.pop-in.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

.grey-card-wrapper,
.faq-wrapper,
.footer-wrapper {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.faq-wrapper:hover {
  transform: translateY(-2px);
}

/* =========================================================
   22. SMALL TESTIMONIAL SECTION
========================================================= */
.small-testimonial-wrapper {
  gap: 1rem;
  text-align: center;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 626px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.small-testimonials-text {
  font-size: var(--h3);
  letter-spacing: -0.5px;
  line-height: 130%;
  color: var(--_colors---white);
}

.small-testimonial-wrapper img {
  width: 28px;
  height: auto;
  opacity: 0.6;
}

.small-testimonial-wrapper p {
  color: var(--_colors---grey);
  font-size: var(--body);
}

/* =========================================================
   23. WHY CHOOSE SECTION
========================================================= */
.why-choose-zoflo-grid {
  width: 100%;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.zoflo-why-choose-section .grey-card-wrapper.numbers {
  background-color: var(--_colors---dark-grey);
  background-image: none;
  text-align: left;
}

.zoflo-why-choose-section .grey-card-wrapper.numbers .grey-card-content {
  background-color: rgba(36, 36, 36, 0.75);
}

.zoflo-why-choose-section .grey-card-text-wrapper {
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
}

.zoflo-why-choose-section .grey-card-text-wrapper h3 {
  color: var(--_colors---white);
}

.zoflo-why-choose-section .grey-card-text-wrapper p {
  color: var(--_colors---white-shade);
  max-width: 360px;
}

/* =========================================================
   24. HOW IT WORKS SECTION
========================================================= */
.section-heading-left-aligned {
  gap: 1rem;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
  width: 100%;
}

.section-heading.left-aligned {
  text-align: left;
  max-width: 860px;
}

.how-it-works-grid {
  width: 100%;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 1.5rem;
  align-items: start;
  min-height: 520px;
  position: relative;
}

.zoflo-how-it-works-section .grey-card-wrapper.numbers {
  background-color: var(--_colors---dark-grey);
  background-image: none;
  text-align: left;
}

.zoflo-how-it-works-section .grey-card-wrapper.numbers .grey-card-content {
  background-color: rgba(36, 36, 36, 0.75);
}

.how-step-card {
  max-width: 292px;
  width: 100%;
}

.how-step-card .grey-card-content {
  min-height: 168px;
}

.step-1 {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.step-2 {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  align-self: center;
}

.step-3 {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
}

.grey-card-sub-heading {
  color: var(--_colors---grey);
  font-size: 0.75rem;
  line-height: 130%;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.how-it-works-progress-bar {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.grey-line {
  width: 1px;
  height: 100%;
  background-color: var(--_colors---dark-grey);
  margin-left: auto;
  margin-right: auto;
}

.how-it-works-green-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background-color: #9fbc27;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 4px rgba(159, 188, 39, 0.18),
    0 0 12px rgba(159, 188, 39, 0.35);
  z-index: 2;
}

/* =========================================================
   25. RESPONSIVE
========================================================= */
@media screen and (min-width: 1280px) {
  .section-dashed-line:first-child {
    left: 16.666%;
  }

  .section-dashed-line:last-child {
    right: 16.666%;
  }

  .section-divider-wrapper {
    grid-template-columns: 0.25fr minmax(0, 1fr) 0.25fr;
  }

  .features-hero-section {
    padding-top: 10.5vw;
  }
}

@media screen and (max-width: 991px) {
  :root {
    --_spacing---section-padding-top: 3rem;
    --_spacing---section-padding-left-and-right: 2rem;
  }

  .nav-menu {
    gap: 1.25rem;
  }

  .nav-container {
    max-width: 100%;
  }

  .features-hero-section {
    padding-top: 20vw;
  }

  .features-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-full,
  .feature-half,
  .feature-third {
    grid-column: span 1;
  }

  .grey-card-content.large {
    gap: 1rem;
    grid-template-columns: 1fr 0.75fr;
    padding-top: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }

  .zoflo-cta-section .home-hero-graphic.cta {
    top: 15%;
    left: 4%;
    width: 74px;
  }

  .zoflo-cta-section .home-hero-graphic.bottom-right {
    right: 4%;
    bottom: 10%;
    width: 90px;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr 80px 1fr;
    min-height: 480px;
  }

  .how-step-card {
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --h1: 4rem;
    --h2: 2.75rem;
    --h3: 1.25rem;
    --h4: 1.15rem;
    --body-extra-large: 1.5rem;
    --_spacing---section-padding-top: 3rem;
    --_spacing---section-padding-left-and-right: 2rem;
  }

  .navbar {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0.5rem;
  }

  .nav-container {
    max-width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    border-radius: 100px;
  }

  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    flex-shrink: 0;
  }

  .nav-button {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: var(--_colors---black-shade);
    border-radius: 18px;
    outline: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    padding: 0.75rem 1.25rem;
    margin-right: 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
    z-index: 1001;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .section-divider-wrapper {
    grid-template-columns: 0.22fr minmax(0, 1fr) 0.22fr;
  }

  .features-hero-section {
    min-height: 100svh;
    padding-top: 9.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
  }

  .left-aligned-hero-content-container {
    max-width: 100%;
    gap: 1.25rem;
    margin-left : 25px;
  }

  .hero-heading-wrapper {
    max-width: 320px;
    font-size: 4rem;
    line-height: 1.05;
    letter-spacing: -2.5px;
  }

  .hero-pragraph {
    max-width: 320px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .loved-by-wrapper {
    gap: 0.55rem;
    flex-wrap: wrap;
  }

  .loved-by-wrapper img {
    max-width: 78px;
  }

  .hero-background-wrapper.features {
    filter: blur(70px);
    background-position: 10% 0%;
    opacity: 0.95;
  }

  .features-page-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .feature-full,
  .feature-half,
  .feature-third {
    grid-column: span 1;
  }

  .grey-card-content.large {
    grid-template-columns: 1fr;
    padding-top: 1.875rem;
  }

  .grey-card-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.75rem;
  }

  .why-choose-zoflo-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    gap: 1rem;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-top: 2rem;
    gap: 1rem;
    min-height: auto;
  }

  .how-it-works-progress-bar {
    display: none;
  }

  .step-1,
  .step-2,
  .step-3 {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    align-self: auto;
  }

  .how-step-card {
    max-width: 100%;
  }

  .how-step-card .grey-card-content {
    min-height: auto;
  }

  .faq-grid {
    margin-top: 2rem;
  }

  .faq-column {
    gap: 1rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question-text {
    font-size: 0.95rem;
  }

  .faq-paragraph {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .small-cta-wrapper {
    margin-top: 3rem;
  }

  .hero-background-wrapper.cta {
    inset: 22% 0% -18%;
  }

  .section-heading-paragraph {
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .cta-button-wrapper {
    margin-top: 0.5rem;
  }

  .zoflo-cta-section .home-hero-graphic.cta {
    top: 14%;
    left: 3%;
    width: 56px;
    transform: rotate(-6deg);
  }

  .zoflo-cta-section .home-hero-graphic.bottom-right {
    right: 3%;
    bottom: 12%;
    width: 68px;
    transform: rotate(-8deg);
  }

  .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-wrapper {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-large-text {
    font-size: 1.25rem;
    max-width: none;
  }

  .footer-flex {
    margin-top: 2.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 479px) {
  :root {
    --body: 0.75rem;
    --h1: 3rem;
    --h2: 2.25rem;
    --h3: 1.25rem;
    --h4: 1.15rem;
    --body-large: 0.875rem;
    --body-small: 0.6rem;
    --body-extra-large: 1.125rem;
    --_spacing---section-padding-top: 2rem;
    --_spacing---section-padding-left-and-right: 1.25rem;
  }

  h1 {
    letter-spacing: -2px;
  }

  h2 {
    letter-spacing: -1px;
  }

  .navbar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 0.25rem;
  }

  .nav-container {
    padding: 0.5rem 0.625rem 0.5rem 0.75rem;
  }

  .brand-logo {
    width: auto;
    height: 40px;
  }

  .nav-menu {
    padding: 0.75rem 1rem;
    border-radius: 16px;
  }

  .nav-link {
    font-size: 0.9375rem;
    padding: 0.875rem 0;
  }

  .section-divider-wrapper {
    grid-template-columns: 25px minmax(0, 1fr) 25px;
  }

  .section-dashed-line:first-child {
    left: 25px;
  }

  .section-dashed-line:last-child {
    right: 25px;
  }

  .features-hero-section {
    min-height: 100svh;
    padding-top: 7.5rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    padding-bottom: 1.5rem;
  }

  .hero-heading-wrapper {
    max-width: 300px;
    font-size: 3.35rem;
    line-height: 1.05;
    letter-spacing: -2px;
  }

  .hero-pragraph {
    max-width: 290px;
    margin-bottom: 1.8rem;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .loved-by-wrapper {
    gap: 0.45rem;
  }

  .loved-by-wrapper img {
    max-width: 72px;
  }

  .hero-background-wrapper.features {
    filter: blur(60px);
    background-position: 12% 0%;
    opacity: 0.95;
  }

  .features-page-grid {
    gap: 1rem;
  }

  .grey-card-content.large {
    gap: 2rem;
    padding-top: 1.25rem;
  }

  .grey-card-sub-heading {
    font-size: 0.68rem;
  }

  .faq-question {
    padding: 0.95rem;
    gap: 0.75rem;
  }

  .faq-question-text {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .faq-paragraph {
    padding: 0 0.95rem 0.95rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .plus-icon {
    width: 16px;
    height: 16px;
  }

  .plus-line {
    width: 12px;
  }

  .hero-background-wrapper.cta {
    inset: 26% 0% -14%;
  }

  .section-heading-paragraph {
    max-width: 290px;
    font-size: 0.9rem;
  }

  .zoflo-cta-section .home-hero-graphic.cta {
    top: 15%;
    left: 2%;
    width: 48px;
    transform: rotate(-6deg);
  }

  .zoflo-cta-section .home-hero-graphic.bottom-right {
    right: 2%;
    bottom: 13%;
    width: 58px;
    transform: rotate(-8deg);
  }

  .footer {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    padding-bottom: 3rem;
  }

  .footer-wrapper {
    padding: 1.25rem;
    border-radius: 14px;
  }

  .footer-large-text {
    font-size: 1.125rem;
  }

  .footer-flex-credits {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .pop-in,
  .button-text {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   26. SECURITY GRID SECTION
========================================================= */
.security-grid {
  width: 100%;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.security-card {
  background: var(--_colors---black-shade);
  border-radius: 20px;
  padding: 1.75rem;
  transition: transform 0.2s ease, background 0.2s ease;
  text-align: left;
}

.security-card:hover {
  transform: translateY(-4px);
  background: #3a3a3a;
}

.security-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.security-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--_colors---white);
  font-weight: 500;
}

.security-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--_colors---white-shade);
}

@media screen and (max-width: 991px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .security-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    gap: 1rem;
  }

  .security-card {
    padding: 1.5rem;
  }

  .security-card h3 {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 479px) {
  .security-card {
    padding: 1.25rem;
  }

  .security-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
}


/* =========================================================
   27. REDESIGNED FEATURE CARDS
========================================================= */
.feature-cards-grid {
  width: 100%;
  /* margin-top: 4rem; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-card {
  background-color: var(--_colors---black-shade);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.feature-card:hover {
  border-color: rgba(209, 224, 158, 0.14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.feature-card--full {
  grid-column: 1 / -1;
}

/* Card tag */
.feature-card__tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--_colors---green);
  background-color: rgba(209, 224, 158, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

/* Card header */
.feature-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(209, 224, 158, 0.07);
  border-radius: 10px;
  color: var(--_colors---green);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--_colors---white);
  line-height: 1.35;
}

.feature-card__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--_colors---white-shade);
}

.feature-card__body {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--_colors---grey);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ---- SETTLEMENT TABLE ---- */
.settlement-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.settlement-table__row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.4fr 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  color: var(--_colors---white-shade);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 0.15s ease;
}

.settlement-table__row:last-child {
  border-bottom: none;
}

.settlement-table__row:not(.settlement-table__row--header):hover {
  background-color: rgba(209, 224, 158, 0.03);
}

.settlement-table__row--header {
  background-color: rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--_colors---grey);
  border-radius: 10px 10px 0 0;
}





/* ---- PILLS ---- */
.pill {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

.pill--green {
  color: var(--_colors---green);
  background-color: rgba(209, 224, 158, 0.1);
  border: 1px solid rgba(209, 224, 158, 0.15);
}

.pill--default {
  color: var(--_colors---white-shade);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill--chain {
  color: var(--_colors---white-shade);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
}

/* ---- CHAIN GROUP ---- */
.chain-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chain-group__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--_colors---grey);
}

.chain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ---- CHECK LIST ---- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--_colors---white-shade);
}

.check-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(209, 224, 158, 0.1);
  color: var(--_colors---green);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 0.05rem;
}

.check-list li strong {
  color: var(--_colors---white);
}

/* ---- FEATURE LIST ---- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--_colors---white-shade);
}

.feature-list__marker {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background-color: var(--_colors---green);
  border-radius: 50%;
  margin-top: 0.45rem;
}

.feature-list li strong {
  color: var(--_colors---white);
}

/* ---- KPI STRIP (inherited from original) ---- */
.grey-card-wrapper.numbers .grey-card-content {
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 1.875rem;
}

.grey-card-wrapper.numbers .grey-card-text-wrapper {
  justify-content: center;
  align-items: flex-start;
  height: auto;
}

.grey-card-wrapper.numbers .stats-counter-wrapper {
  margin-bottom: 0.4rem;
}

/* =========================================================
   28. RESPONSIVE — FEATURE CARDS
========================================================= */
@media screen and (max-width: 991px) {
  .feature-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card--full {
    grid-column: 1 / -1;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .feature-cards-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .feature-card--full {
    grid-column: auto;
  }

  .feature-card {
    padding: 1.5rem;
    gap: 0.85rem;
  }

  .feature-card__title {
    font-size: 1.05rem;
  }

  .settlement-table__row {
    grid-template-columns: 0.7fr 0.9fr 1.3fr 0.9fr;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .settlement-table__row--header {
    font-size: 0.62rem;
  }

  .pill {
    font-size: 0.66rem;
    padding: 0.15rem 0.5rem;
  }

  .pill--chain {
    font-size: 0.72rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 479px) {
  .feature-card {
    padding: 1.25rem;
  }

  .feature-card__icon {
    width: 34px;
    height: 34px;
  }

  .feature-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-card__title {
    font-size: 1rem;
  }

  .settlement-table__row {
    grid-template-columns: 0.65fr 0.85fr 1.2fr 0.85fr;
    font-size: 0.68rem;
    padding: 0.45rem 0.6rem;
    gap: 0.35rem;
  }

  .pill {
    font-size: 0.6rem;
    padding: 0.12rem 0.4rem;
  }

  .pill--chain {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
  }

  .chain-pills {
    gap: 0.3rem;
  }
}


/* ---- KPI STRIP (horizontal) ---- */
.kpi-strip {
  grid-column: 1 / -1;
  background-color: var(--_colors---black-shade);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.kpi-strip:hover {
  border-color: rgba(209, 224, 158, 0.12);
}

.kpi-strip__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.kpi-strip__number {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--_colors---white);
  line-height: 1.2;
}

.kpi-strip__label {
  font-size: 0.8rem;
  color: var(--_colors---white-shade);
  line-height: 1.4;
}

.kpi-strip__divider {
  width: 1px;
  height: 48px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.08);
}

/* ---- KPI STRIP RESPONSIVE ---- */
@media screen and (max-width: 767px) {
  .kpi-strip {
    padding: 1.25rem 1.25rem;
    border-radius: 14px;
  }

  .kpi-strip__number {
    font-size: 1.65rem;
  }

  .kpi-strip__label {
    font-size: 0.72rem;
  }

  .kpi-strip__divider {
    height: 38px;
  }
}

@media screen and (max-width: 479px) {
  .kpi-strip {
    padding: 1rem 0.75rem;
    border-radius: 12px;
    gap: 0;
  }

  .kpi-strip__number {
    font-size: 1.35rem;
  }

  .kpi-strip__label {
    font-size: 0.62rem;
  }

  .kpi-strip__divider {
    height: 32px;
  }
}


/* ---- SECURITY GRID ---- */
.security-grid {
  width: 100%;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* ---- SECURITY CARD ---- */
.security-card {
  background-color: var(--_colors---black-shade);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.security-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--_colors---green), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.security-card:hover {
  border-color: rgba(209, 224, 158, 0.14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-3px);
}

.security-card:hover::after {
  opacity: 1;
}

.security-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.security-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(209, 224, 158, 0.07);
  border-radius: 10px;
  color: var(--_colors---green);
}

.security-card__icon svg {
  width: 20px;
  height: 20px;
}

.security-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--_colors---white);
  line-height: 1.35;
}

.security-card__text {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--_colors---white-shade);
}

/* Badges */
.security-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.security-card__badge {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--_colors---white-shade);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.security-card__badge--active {
  color: var(--_colors---green);
  background-color: rgba(209, 224, 158, 0.07);
  border-color: rgba(209, 224, 158, 0.12);
}

/* Uptime stat */
.security-card__stat {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.security-card__stat-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--_colors---green);
  letter-spacing: -1px;
  line-height: 1.2;
}

.security-card__stat-label {
  font-size: 0.72rem;
  color: var(--_colors---grey);
}

.security-card__uptime-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  margin-top: 0.4rem;
  overflow: hidden;
}

.security-card__uptime-fill {
  width: 99.9%;
  height: 100%;
  background: linear-gradient(90deg, var(--_colors---green), var(--_colors---dark-green));
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- SECURITY RESPONSIVE ---- */
@media screen and (max-width: 991px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .security-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    gap: 0.85rem;
  }

  .security-card {
    padding: 1.4rem;
    gap: 0.75rem;
  }

  .security-card__title {
    font-size: 1rem;
  }

  .security-card__text {
    font-size: 0.8rem;
  }

  .security-card__badge {
    font-size: 0.6rem;
  }

  .security-card__stat-number {
    font-size: 1.65rem;
  }
}

@media screen and (max-width: 479px) {
  .security-card {
    padding: 1.2rem;
    border-radius: 14px;
  }

  .security-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .security-card__icon svg {
    width: 17px;
    height: 17px;
  }

  .security-card__title {
    font-size: 0.95rem;
  }

  .security-card__text {
    font-size: 0.76rem;
  }

  .security-card__stat-number {
    font-size: 1.4rem;
  }
}



