
/*      ***       */
/* Global styling */

body, html {
    height:     unset;
    margin:     0;
    display:    block;
}

.content-header {
    padding: 0 160px;

    @media only screen and (max-width: 600px) {
        padding: 0;
    }
}

#contact .content-header {
    padding-right: 17vw;
    padding-left: 17vw;

    @media only screen and (max-width: 600px) {
        padding: 0;
    }
}

/* Ensure each section takes the full viewport height */
#welcome-section, #plans, #contact, #welcomeFaq, #securityInsights, #features-overview, #keyBenefits, #howItWorks, #features {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;

    padding-top: 14vh;
    padding-bottom: 14vh;
    position: relative;
}

body {
    background-color: #000;
}

.content-header p {
    font-size: 24px !important;
}

.section-light-bg {
    background: var(--Color-Gray-Gray-100, #F0F0F0);
}

/* Cookie policy icon — fixed at bottom-left corner */
.cookie-policy {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    left: 15px;
    z-index: 9999;
    display: flex;
    align-items: center;
    flex-shrink: 0;

    svg {
        width: 60.058px;
        height: 58.56px;
    }
}

#cookieModal .card-header {
    padding: 0 !important;
}

#cookieModal .card {
    padding: 24px !important;
    max-height: 650px;
}

.cookie-policy-form {

    .form-switch .form-check-input:checked {
        border-color: #AC5811 !important;
        background-color: #AC5811 !important;
    }

    label {
        font-family: "Open Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 700 !important;
        line-height: 150%; /* 24px */

        margin-left: 0;
    }
}

.btn-cookie {
    display: flex;
    height: 30px;
    padding: 6px 30px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--Color-Typography-typography-light, #FDFDFD);

    border-radius: 8px;
    background: #AC5811;
    box-shadow: 0 5px 14px 0 rgba(0, 0, 0, 0.05);

    &:hover {
        color: #AC5811;
        border: 1px solid #AC5811;
        box-shadow: 0 5px 14px 0 rgba(0, 0, 0, 0.05);
    }
}

.btn-outline-cookie {
    display: flex;
    height: 30px;
    padding: 6px 30px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #AC5811;

    border-radius: 8px;
    border: 1px solid #AC5811;
    box-shadow: 0 5px 14px 0 rgba(0, 0, 0, 0.05);

    &:hover {
        background-color: #e8c09e;
        color: var(--Color-Typography-typography-light, #FDFDFD);
    }
}

/* Scroll down indicator — animated and visible only on first section */
.scroller {
    position: absolute;
    bottom: 20px;
    left: 49.5%;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.3s;

    &:hover {
        opacity: 1;
    }
}

/* Bounce animation used by the scroller */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* "Back to top" elevator button — fixed at bottom-right */
.up-elevator {
    display: flex;
    width: 56px;
    height: 56px;
    padding: 16px;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;

    border-radius: 28px;
    background: var(--Tertiary, #FF9E00);

    position: fixed;
    bottom: 20px;
    right: 15px;

    cursor: pointer;
    transition: opacity 0.2s ease;
    z-index: 3000;

    animation: emergeUp 0.4s ease-out;
    will-change: transform, opacity;

    &:hover {
        background: var(--Tertiary-Hover, #e68d00); /* Slightly darker fallback orange */
    }
}

/* Emerging animation used by the "up-elevator" button */
@keyframes emergeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar */

.navbar.navbar-main {
    @media only screen and (min-width: 992px) {
        margin: 0 16px;
    }

    @media only screen and (max-width: 992px) {
        min-height: unset !important;
    }
}

.top-menu {
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.25); /* softer than #C1C2C0 */
    background: #000;
    box-shadow: 0 16px 49px 0 rgba(91, 112, 119, 0.3) inset;

    .nav-link {
        color: #FDFDFD !important;
        font-size: 18px !important;
    }
}

.login-label {
    @media only screen and (max-width: 780px) {
        display: none;
        visibility: hidden;
    }
}

/* Welcome section */
@media (min-width: 992px) {
  #welcome-section { min-height: 100svh; } /* or 100vh */
}

.start-for-free {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 16px;

    span {
        font-size: 16px;
    }

    @media only screen and (max-width: 1018px) {
        display: none;
        visibility: hidden;
    }
}

/* =========================
   HERO (FIGMA: H1_Biggest)
   ========================= */
.HeroSection{
  font-family: "Open Sans", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 100%;
  color: var(--Color-Typography-typography-light,#FDFDFD);
  margin: 0;
  margin-bottom: 32px;           /* bigger gap before first bullet */
}
.HeroSection .tertiary-color{ color: var(--Tertiary,#FF9E00); }

/* Responsive scale (optional but safe) */
@media (max-width: 1200px){ .HeroSection{ font-size: 64px; } }
@media (max-width: 768px){  .HeroSection{ font-size: 48px; } }
@media (max-width: 480px){  .HeroSection{ font-size: 38px; } }

/* =========================
   BULLETS (FIGMA: H4)
   ========================= */
.show-case-points{
  color: var(--Color-Typography-typography-light,#FDFDFD);
  font-family: "Open Sans", sans-serif;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 130%;             /* 31.2px per FIGMA */
  margin: 0;
}

/* Consistent spacing between rows */
.card-description .list-group{ gap: 25px !important; } /* was 15px inline */
.card-description .list-group li{ margin: 0; }         /* keep spacing via gap */

.card-description {
    padding: 40px 40px 60px !important;
    border-radius: 40px;
    background: linear-gradient(72deg, #000 60.16%, #424242 107.36%);
    box-shadow: 2px 24px 40px 0 rgba(255, 255, 255, 0.25) inset;

    @media only screen and (min-width: 600px) {
        min-width: 660px;
    }
}

.explore-register-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 12px;

    width: max-content;
    border-radius: 16px;
    box-shadow: 0 2px 28px 0 rgba(255, 255, 255, 0.25) inset;
}

.btn-outline-secondary-2 {
    display: flex;
    padding: 4px 30px;
    align-items: flex-end;
    gap: 8px;

    border-radius: 8px;
    color: #7BD084;
    border: 2px solid var(--Secondary, #7BD084);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
}

/* Pricing section */
.card-pricing {
    padding: 55px 24px !important;
    border: 1px solid var(--Typography-Medium, #5E5E5E);
    background: #242424;
    box-shadow: 0 1px 40px 0 rgba(49, 49, 49, 0.25) inset;
}

.plan-feature-item {
    font-size: 14px;
    color: var(--Color-Typography-typography-light, #FDFDFD);
}

.pricing-container {
    display: flex;
    gap: 40px;
}

/* Hidden for now
.premium-plan {
    border: 3px solid var(--Tertiary, #FF9E00);
}
*/

.premium-plan-tag {
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12px;

    position: absolute;
    top: -28px;
    right: 10px;

    border-radius: 8px 8px 0 0;
    background: var(--Tertiary, #FF9E00);

    /* Hidden for now */
    display: none;
    visibility: hidden;
}

/* FAQ section */

/* Base (medium screens) – pick 1280 by default */
.faq-section-bg {
  background-size: cover;
  background-position: center;

  /* Fallback for old browsers */
  background-image: url("/static/logo/faq/faq-fallback-1280.jpg");

  /* Modern browsers: WebP first, fallback last */
  background-image: image-set(
    url("/static/logo/faq/faq-1280.webp") type("image/webp") 1x,
    url("/static/logo/faq/faq-fallback-1280.jpg") type("image/jpeg") 1x
  );
}

/* Small (≤ 600px) → 640 */
@media (max-width: 600px) {
  .faq-section-bg {
    background-image: image-set(
      url("/static/logo/faq/faq-640.webp") type("image/webp") 1x,
      url("/static/logo/faq/faq-fallback-1280.jpg") type("image/jpeg") 1x
    );
  }
}

/* Tablet (601–991px) → 960 */
@media (min-width: 601px) and (max-width: 991px) {
  .faq-section-bg {
    background-image: image-set(
      url("/static/logo/faq/faq-960.webp") type("image/webp") 1x,
      url("/static/logo/faq/faq-fallback-1280.jpg") type("image/jpeg") 1x
    );
  }
}

/* Large (≥ 1200px) → 1600 */
@media (min-width: 1200px) {
  .faq-section-bg {
    background-image: image-set(
      url("/static/logo/faq/faq-1600.webp") type("image/webp") 1x,
      url("/static/logo/faq/faq-fallback-1280.jpg") type("image/jpeg") 1x
    );
  }
}

.cover-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;           /* was -16px */
  right: 0;          /* was -16px */
  /* width:-webkit-fill-available;  <-- remove */
  z-index: -1;
}

/* If other sections still want the old stretch, scope it there explicitly */
.section-light-bg.cover-bg,
.faq-section-bg.cover-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;          /* was -16px */
  right: 0;         /* was -16px */
  width: auto;      /* was -webkit-fill-available */
  margin: 0;        /* no full-bleed margins here */
  z-index: -1;
}


.faq-item {
    opacity: 0.8;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--Color-Gray-Gray-600, #8D8F8C);
    background: #242424;
    box-shadow: 0 2px 28px 0 rgba(49, 49, 49, 0.25) inset;

    .faq-question {
        cursor: pointer;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 16px;
        color: var(--Color-Typography-typography-light, #FDFDFD);
    }

    .faq-answer {
        padding: 0;
        padding-top: 1rem;
        background: unset;

        p {
            font-size: 16px !important;
            line-height: 150%; /* 24px */
            color: var(--Color-Typography-typography-light, #FDFDFD);
        }
    }
}

.faq-item {
    margin-bottom: 0 !important;
}

#faqAccordion {
    gap: 12px;
    display: flex;
    flex-direction: column;

    padding: 24px 0;
}

.contact-panel {
    margin-top: 24px;

    p {
        font-size: 16px !important;
    }

    .btn {
        padding: 6px 20px !important;

        span {
            font-size: 14px !important;
        }
    }
}

/* Security Insights section */
.card-article {
    max-width: 23rem;
    max-height: 33rem;
    height: 33rem;

    border-radius: 15px;
    background: var(--Color-Gray-Gray-900, #212529);
}

.carouselArrows {
    left: 0;
    position: absolute;
    justify-content: space-between;

    width: 100%;
    padding: 10vh 13vw 0; /* TODO Modify on different viewports */
}

#newsCarousel {
    overflow: hidden;
}

/* Features section */

#features {
    padding-top: 68px;
    padding-bottom: 68px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
    gap: 30px; /* Vertical & horizontal spacing between items */
    margin: 0 auto;

    @media only screen and (max-width: 1700px) {
        max-width: 1100px;
    }
}


.card-features-grid {
    /* Layout */
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex-shrink: 0;

    /* Style */
    border-radius: 16px;
    border: 1px solid #DBD4D4;
    background: var(--card-menu-bg, #FDFDFD);
    box-shadow: 0 2px 28px 0 rgba(214, 214, 214, 0.25) inset;
}

.black-icon {
    /* Layout */
    display: flex;
    padding: 15px;
    align-items: center;

    /* Style */
    border-radius: 8px;
    background: var(--Color-Gray-Gray-900, #212529);
}

.black-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-demo-request {
    display: flex;
    padding: 48px;
    flex-direction: column;
    align-items: center;
    gap: 24px;

    border-radius: 16px;
    background: var(--Color-Gray-Gray-900, #212529);
    box-shadow: 0 2px 28px 0 rgba(255, 255, 255, 0.25) inset;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    section {
        margin-bottom: unset;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 equal-width columns */
    }

    .card-demo-request-body {
        padding: 0 30px;
    }

    #faqAccordion {
        gap: 12px;
        display: flex;
        flex-direction: column;
    }

    .card-description {
        padding: 30px 25px 60px !important;
    }

    .pricing-container {
        flex-direction: column;
    }

    .carouselArrows {
        padding: 10vh 0 0;
    }
}

/* Default scrollbar style */
::-webkit-scrollbar {
    width: 10px; /* Default width */
    transition: unset; /* Smooth width transition on hover */
}

::-webkit-scrollbar-track {
    background-color: #212529;
}

/* Hover effect on the page to increase width */
:hover::-webkit-scrollbar {
    width: 10px;
}

/* Hover effect on the entire scrollbar (track and thumb) */
::-webkit-scrollbar:hover {
    width: 10px;
}

/* Hover effect on scrollbar thumb to change color */
::-webkit-scrollbar-thumb:hover {
    width: 10px;
}

.btn-close.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: .85;
}
.btn-close.btn-close-white:hover { opacity: 1; }

/* ===== BaseFortify Footer (dark, consolidated) ===== */
.bf-footer {
  background: #000;
  color: #FDFDFD;
}

/* Column headings */
.bf-foothead {
  color: #FDFDFD;
  font-weight: 800;
  font-size: 20px;      /* larger section titles */
  line-height: 1.2;
  letter-spacing: .02em;
  margin-bottom: 18px;  /* space below headings */
}

/* Links */
.bf-footer a {
  color: #FDFDFD;
  text-decoration: none;
  opacity: .9;
}
.bf-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Spacing between list items */
.bf-footer-links li + li { margin-top: 18px; }

/* Uniform spacing: top block → next block */
.bf-footer .col-lg-3 > a.d-inline-flex,
.bf-footer .col-lg-3 > p.bf-axxpreamble,
.bf-footer .col-lg-3 > h6.bf-foothead {
  margin-bottom: 24px;
}

/* CTA Button */
.btn-bf-cta {
  background: #FF9E00;
  color: #000;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(0,0,0,.25);
  margin-top: 24px; /* space above button */
}
.btn-bf-cta:hover { background: #e68d00; color: #000; }

/* Column 4 content */
.bf-axxpreamble { color: #FDFDFD; opacity: .9; }
.bf-address {
  color: #FDFDFD;
  opacity: .9;
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 18px; /* address → socials */
}

/* Social icons (no outlines) */
.bf-social-grid {
  display: grid;
  grid-template-columns: repeat(6, 28px);
  gap: 12px;
}
@media (max-width: 576px) {
  .bf-social-grid { grid-template-columns: repeat(3, 28px); }
}
.bf-social-grid a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; box-shadow: none; outline: none;
  opacity: .9;
}
.bf-social-grid a:hover { opacity: 1; }

/* Divider line */
.bf-foot-divider { border-color: rgba(255,255,255,.15); opacity: .5; }

/* Footer strip links */
.bf-strip-links a { margin-right: 18px; color: #FDFDFD; opacity: .75; }
.bf-strip-links a:hover { opacity: 1; }

/* Vertical spacing in rows */
.bf-footer .row.gy-4 { row-gap: 40px; }

/* --- Specific fixes & badges --- */

/* Force extra space below BaseFortify logo (col 1) overriding Bootstrap mb-3 */
.bf-footer .col-12.col-md-6.col-lg-3 > a.d-inline-flex {
  display: block !important;
  margin-bottom: 24px !important;
}
.bf-footer .col-12.col-md-6.col-lg-3 > a.d-inline-flex + ul {
  margin-top: 24px !important; /* logo → list */
}

/* Axxemble logo: legible on dark */
.bf-footer .col-12.col-lg-3 img[alt="Axxemble logo"] {
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-block;
  height: auto;
  max-height: 40px;
  margin: 12px 0; /* text → logo and logo → address */
}

/* ISO certification badge (white background, tight) */
.bf-footer img[alt*="ISO 27001:2022"] {
  background: #fff;
  border-radius: 6px;
  display: inline-block;
}

/* ============================================
   Full-bleed HERO + no horizontal overflow
   ============================================ */

/* Page wrappers */
html, body { margin: 0; overflow-x: hidden; }
html { scrollbar-gutter: stable; }               /* right-only gutter (no left strip) */
body { padding-right: 0 !important; }            /* avoid modal/right-gutter shift */

/* Argon wrappers: no side padding/margins; contain any bleed */
.main-content,
.container-fluid,
.page-header,
.content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  .main-content { overflow-x: hidden; }
}
body.g-sidenav-show .main-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* Navbar desktop margins (Argon adds them) */
@media (min-width: 992px){
  .navbar.navbar-main { margin: 0 !important; }
}

/* Section sizing */
#welcome-section.welcome-section {
  position: relative;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* --- Background layers ----------------------------------- */
/* Default for all sections: fill section box (no viewport bleed) */
#welcome-section > .cover-bg,
#features   > .cover-bg,
#plans      > .cover-bg,
#welcomeFaq > .cover-bg,
#securityInsights > .cover-bg,
#contact    > .cover-bg {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  width: auto;
  overflow: hidden;
  z-index: -1;
}

/* HERO needs true full-bleed to viewport edges without 100vw overflow */
#welcome-section > .welcome-section-bg.cover-bg {
  z-index: 0; /* above -1 layers, below content */
  margin-left:  calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Hero image covers */
.welcome-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Optional gradient overlay on hero */
.welcome-section-bg.cover-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
              rgba(0,0,0,.35) 0%,
              rgba(0,0,0,.15) 40%,
              rgba(0,0,0,.45) 100%);
}

/* Known overflow sources */
.carouselArrows{
  position: absolute;
  left: 0;
  right: 0;                 /* edges instead of width:100% */
  padding: 10vh 13vw 0;     /* spacing without inflating width */
  width: auto !important;
}

/* Buttons row on small screens: never exceed viewport width */
.explore-register-card{ max-width: 100%; }

/* Safety: clip any tiny child overflow per section */
#welcome-section, #features, #plans, #welcomeFaq, #securityInsights, #contact {
  position: relative;
  overflow-x: clip;
}
@supports not (overflow-x: clip){
  #welcome-section, #features, #plans, #welcomeFaq, #securityInsights, #contact { overflow-x: hidden; }
}

.explore-register-card a.btn {
    white-space: nowrap;           /* no line breaks */
    padding: 12px 26px !important; /* wider, balanced padding */
    min-width: 200px;              /* ensures long text fits */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-secondary-2 {
    padding-left: 26px !important;
    padding-right: 26px !important;
}

/* ============================================
   A11y & visual polish
   ============================================ */

/* Dark text on light panes meets contrast */
.section-light-bg .typography-dark,
.section-light-bg .card-features-grid h3,
.section-light-bg .card-features-grid p {
  color: #1a1a1a; /* AA on #F0F0F0 */
}

/* Light text on dark */
.typography-light { color: #F5F7FA; }

/* Raster logos: preserve aspect ratio and limits */
img[alt="Axxemble logo"] { height: auto; max-height: 40px; }
img[alt*="ISO 27001:2022"] { height: auto; }

/* Social icons: don't distort aspect ratio */
.bf-social-grid img { width: 24px; height: auto; }
.square-icon img { width: 24px; height: 24px; object-fit: contain; }

/* Small helpers */
.badge-warning { background:#B34700; color:#fff; }
@media (max-width: 600px){
  .bf-strip-links a { display:inline-block; padding:10px 8px; margin:2px 0; }
}

/* ============================================
   Feature cards: semantic H3, visually smaller
   ============================================ */
#features .card-features-grid h3 {
  font-size: clamp(18px, 1.6vw, 22px); /* H5-ish visuals */
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 6px;
}
#features .card-features-grid p {
  font-size: 15px;
  line-height: 1.5;
}

/* ============================================
   Buttons
   ============================================ */
/* Vibrant outline-green for "Explore features" */
.btn-outline-secondary-2 {
  --bf-green: #22C55E;                /* vivid emerald */
  color: var(--bf-green) !important;
  border-color: var(--bf-green) !important;
  font-weight: 800;                   /* reads brighter */
}
.btn-outline-secondary-2:hover,
.btn-outline-secondary-2:focus {
  background-color: var(--bf-green) !important;
  color: #0b0b0b !important;
  border-color: var(--bf-green) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .25);
}
@media (prefers-contrast: more) {
  .btn-outline-secondary-2 { --bf-green: #16A34A; } /* deeper for contrast */
}

/* HERO background via CSS only (prevents double image) */
#welcome-section > .welcome-section-bg.cover-bg {
  background-image: image-set(
    url("/static/logo/welcome/welcome-480p.webp") type("image/webp") 1x,
    url("/static/logo/welcome/welcome-720p.webp") type("image/webp") 1.5x,
    url("/static/logo/welcome/welcome-1050p.webp") type("image/webp") 2x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Clear the fixed navbar on the HERO --- */
:root { --nav-h: 64px; }                  /* fallback */
@media (max-width: 992px){ :root { --nav-h: 76px; } }  /* sensible default on mobile */

/* Ensure the hero starts below the navbar */
#welcome-section.welcome-section{
  /* it was padding: 0; — override it: */
  padding-top: calc(var(--nav-h) + 12px) !important;
}

/* Smooth in-page scroll offsets (Features/Plans/etc.) */
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }


.custom-toggle::after {
    display: none !important; /* hide Bootstrap arrow */
}

.chevron {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #fff; /* white arrow */
    transition: transform 0.2s ease;
}

/* Rotate when open */
.custom-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.chevron {
    position: relative;
    top: -1px;       /* raise it slightly */
}

/* === Key Benefits section === */

#keyBenefits .benefits-intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
}

/* Row spacing */
#keyBenefits .benefits-row {
  margin-top: 8px;
}

/* Individual benefit items – no cards, just clean text blocks */
.benefit-item {
  text-align: left;
}

/* Benefit title and text */
.benefit-item h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #191A1B;
}

.benefit-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #3A3B3C;
}

/* Mobile alignment */
@media (max-width: 768px) {
  #keyBenefits .benefit-item {
    text-align: left;
  }
}

/* === How It Works – dark step flow === */

#howItWorks .how-intro {
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
}

/* Step container */
.how-flow {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

/* Individual step */
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #FDFDFD;
}

/* Number circle */
.how-step-marker {
  position: relative;
  flex: 0 0 auto;
}

.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FF9E00;
  color: #000;
  font-weight: 700;
  font-size: 16px;
}

/* Step text */
.how-step-body h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #FDFDFD;
}

.how-step-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #ECEFF4;
}

/* Desktop: add a vertical guideline */
@media (min-width: 992px) {
  .how-flow {
    margin-top: 8px;
  }

  .how-flow::before {
    content: "";
    position: absolute;
    left: 16px;                 /* align under circles */
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.05)
    );
  }

  .how-step-marker {
    z-index: 1; /* keep circle above the line */
  }
}

/* Mobile: no vertical line, just stacked */
@media (max-width: 991px) {
  .how-flow::before {
    content: none;
  }
}

/* Key Benefits illustration */
.benefits-illustration img {
  display: block;
  width: 100%;
  max-width: 420px;
}

/* How It Works: layout with steps + illustration */
.how-layout {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}

/* Let steps take more width than the image on desktop */
.how-flow {
  flex: 2 1 0;
}

.how-illustration {
  flex: 1 1 0;
}

.how-illustration img {
  display: block;
  width: 100%;
  max-width: 420px;
}

/* Stack on smaller screens */
@media (max-width: 991px) {
  .how-layout {
    flex-direction: column;
  }

  .how-illustration {
    margin-top: 16px;
  }
}

:root {
  --section-illustration-gap: 148px;   /* adjust this to control spacing */
}

/* Space between benefits row and illustration */
.benefits-illustration {
  margin-top: var(--section-illustration-gap) !important;
}

/* Horizontal gap between steps and illustration */
.how-layout {
  gap: var(--section-illustration-gap);
}

/* Vertical gap when stacked on mobile */
@media (max-width: 991px) {
  .how-illustration {
    margin-top: var(--section-illustration-gap);
  }
}

/* Right-side column alignment inside Hero section */
.hero-video-column {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-video-column {
        align-items: center; /* vertical centering */
    }
}

/* Main video container */
.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 600px;       /* adjust size if needed */
    margin: 40px auto 0;    /* push slightly downward */
}

/* Maintain 16:9 aspect ratio */
.hero-video-thumbnail,
.hero-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;    /* 16:9 ratio */
}

/* Image + iframe fill container */
.hero-video-thumbnail img,
.hero-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    z-index: 1;
}

/* Thumbnail behavior */
.hero-video-thumbnail {
    position: relative;
    cursor: pointer;
}

/* Play icon overlay */
.hero-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0.9;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover animation */
.hero-video-thumbnail:hover .hero-video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

/* Individual benefit items – text + icon */
.benefit-item {
  text-align: left;
}

/* Icon block similar to feature cards */
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;

}

/* Orange icon like Features page */
.benefit-icon .iconify {
  width: 48px;
  height: 48px;
  color: var(--Tertiary, #FF9E00);
}

/* ============================================
   Mobile spacing & button fixes
   ============================================ */

/* 1. Give sections consistent side padding on phones */
@media (max-width: 600px) {

  /* Main section shells */
  #welcome-section,
  #keyBenefits,
  #howItWorks,
  #features,
  #plans,
  #welcomeFaq,
  #securityInsights,
  #contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Inner layout wrappers */
  .welcome-container,
  .welcome-grid,
  .faq-container > .col-12,
  .faq-container > .col-12.col-lg-10,
  .pricing-container,
  .features-intro,
  .feature-container,
  .card-demo-request-body {
    padding-left: 0;            /* keep nesting tidy */
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  /* Override the big desktop header padding */
  .content-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Slightly reduce vertical padding so things don't feel cramped
     when cookie button / back-to-top are visible */
  #welcome-section,
  #keyBenefits,
  #howItWorks,
  #features,
  #plans {
    padding-top: calc(var(--nav-h) + 16px);
    padding-bottom: 56px;
  }
}

/* 2. Hero CTA buttons: stack on narrow screens so they never overflow */
@media (max-width: 480px) {
  .explore-register-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 2px 20px 0 rgba(255, 255, 255, 0.15) inset;
  }

  .explore-register-card a.btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;        /* allow wrapping if needed */
    text-align: center;
  }
}

/* 3. Pricing cards: ensure they don’t touch the screen edge on phones */
@media (max-width: 600px) {
  .pricing-container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .card-pricing {
    width: 100%;
  }
}

/* 4. Feature grids: add breathing room on small screens */
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr !important;  /* single column on very small phones */
    gap: 20px;
  }

  .card-features-grid,
  .card-demo-request {
    width: 100%;
  }
}

/* ============================================
   Tablet layout & spacing (600px–991px)
   ============================================ */

@media (min-width: 600px) and (max-width: 991.98px) {

  /* Shared page sections: give them breathing room */
  #welcome-section,
  #features-overview,
  #keyBenefits,
  #howItWorks,
  #features,
  #plans,
  #welcomeFaq,
  #securityInsights,
  #contact {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Keep main inner blocks nicely centered and not too wide */
  .welcome-container,
  .feature-row,
  .pricing-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }

  /* HERO: avoid overlap by stacking text + video on tablet */
  .welcome-grid {
    flex-direction: column;
    gap: 32px;
  }

  #welcomeContainerLeft,
  #welcomeContainerRight {
    flex: 0 0 auto;
    max-width: 100%;
  }

  /* Let the hero card and video fit the viewport width */
  .card-description {
    min-width: 0;      /* override earlier min-width */
    width: 100%;
  }

  .hero-video-container {
    max-width: 640px;
    margin: 0 auto;
  }

  /* Features panels: keep a single column on tablet for readability */
  .feature-panel {
    flex-direction: column;
  }

  .feature-text,
  .feature-visual {
    width: 100%;
  }
}

/* ============================================
   Hero layout: tablet refinements
   ============================================ */

/* Stack hero text + video and center them on tablet */
@media (min-width: 768px) and (max-width: 1199.98px) {

  /* Add some side padding to the hero section itself */
  #welcome-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Make the inner grid behave like a vertical stack */
  #welcome-section .welcome-grid {
    flex-direction: column;      /* text on top, video below */
    align-items: center;
    gap: 32px;
  }

  /* Both columns become centered, limited-width blocks */
  #welcomeContainerLeft,
  #welcomeContainerRight {
    flex: 0 0 100%;
    max-width: 720px;
    width: 100%;
  }

  /* Center the hero card */
  #welcome-section .card-description {
    margin: 0 auto;
  }

  /* Center the video and keep it visually aligned with the card */
  #welcome-section .hero-video-container {
    max-width: 720px;
    margin: 0 auto 0;   /* stacked right under the card */
  }
}

/* Small screens: also keep the hero card centered */
@media (max-width: 767.98px) {
  #welcome-section .card-description {
    margin: 0 auto;
  }
}

/* =========================================
   SVG MASK ICON SYSTEM
========================================= */

.svg-icon,
.plan-icon {
    display: inline-block;
    flex-shrink: 0;
    background-color: currentColor;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.svg-icon {
    width: 24px;
    height: 24px;
}

.plan-icon {
    width: 24px;
    height: 24px;
}


/* =========================================
   THEME ICON COLOURS
========================================= */

.secondary-color {
    color: #7BD084 !important;
}

.tertiary-color {
    color: #FF9E00 !important;
}

.icon-white {
    color: #ffffff !important;
}

.icon-muted {
    color: #A4A7A4 !important;
}

.icon-success {
    color: #52B05C !important;
}

.icon-orange-soft {
    color: #ff7f32 !important;
}

.icon-yellow-green {
    color: #E5FF00 !important;
}

.icon-blue-soft {
    color: #A1E3D8 !important;
}

.icon-red-orange {
    color: #E83700 !important;
}


/* =========================================
   CONTEXT-SPECIFIC ICON SIZING
========================================= */

.benefit-icon .svg-icon {
    width: 48px;
    height: 48px;
}

.black-icon .svg-icon {
    width: 48px;
    height: 48px;
}

/* Landing page feature icons were visually smaller than the Iconify preview */
#welcome-section ~ #keyBenefits + #howItWorks + #features .black-icon .svg-icon,
#welcome-section ~ section#features .black-icon .svg-icon {
    width: 36px;
    height: 36px;
}

/* Features page integration puzzle */
.integrations-icon .svg-icon {
    width: 80px;
    height: 80px;
    color: #ff7f32;
}

/* Getting started icons sit inside orange circles */
.getting-step-icon .svg-icon {
    color: #ffffff !important;
}

.chevron-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.carouselArrows .svg-icon {
    width: 30px;
    height: 36px;
    color: #ffffff;
}


/* =========================================
   MASK ICON DEFINITIONS
========================================= */

.icon-shield-check {
    -webkit-mask-image: url("/static/icons/mdi--shield-check-outline.svg");
    mask-image: url("/static/icons/mdi--shield-check-outline.svg");
}

.icon-chart-mixed {
    -webkit-mask-image: url("/static/icons/gravity-ui--chart-mixed.svg");
    mask-image: url("/static/icons/gravity-ui--chart-mixed.svg");
}

.icon-ai {
    -webkit-mask-image: url("/static/icons/mingcute--ai-line.svg");
    mask-image: url("/static/icons/mingcute--ai-line.svg");
}

.icon-server-network {
    -webkit-mask-image: url("/static/icons/mdi--server-network.svg");
    mask-image: url("/static/icons/mdi--server-network.svg");
}

.icon-alert {
    -webkit-mask-image: url("/static/icons/mdi--alert-decagram-outline.svg");
    mask-image: url("/static/icons/mdi--alert-decagram-outline.svg");
}

.icon-progress {
    -webkit-mask-image: url("/static/icons/mdi--progress-wrench.svg");
    mask-image: url("/static/icons/mdi--progress-wrench.svg");
}

.icon-api {
    -webkit-mask-image: url("/static/icons/mdi--api.svg");
    mask-image: url("/static/icons/mdi--api.svg");
}

.icon-lock {
    -webkit-mask-image: url("/static/icons/mdi--lock-check-outline.svg");
    mask-image: url("/static/icons/mdi--lock-check-outline.svg");
}

.icon-bell {
    -webkit-mask-image: url("/static/icons/mdi--bell-ring.svg");
    mask-image: url("/static/icons/mdi--bell-ring.svg");
}

.icon-dashboard {
    -webkit-mask-image: url("/static/icons/mdi--view-dashboard-outline.svg");
    mask-image: url("/static/icons/mdi--view-dashboard-outline.svg");
}

.icon-account-key {
    -webkit-mask-image: url("/static/icons/mdi--account-key-outline.svg");
    mask-image: url("/static/icons/mdi--account-key-outline.svg");
}

.icon-lifebuoy {
    -webkit-mask-image: url("/static/icons/mdi--lifebuoy.svg");
    mask-image: url("/static/icons/mdi--lifebuoy.svg");
}

.icon-cloud-download {
    -webkit-mask-image: url("/static/icons/mdi--cloud-download-outline.svg");
    mask-image: url("/static/icons/mdi--cloud-download-outline.svg");
}

.icon-shield-lock {
    -webkit-mask-image: url("/static/icons/mdi--shield-lock-outline.svg");
    mask-image: url("/static/icons/mdi--shield-lock-outline.svg");
}

.icon-check-decagram {
    -webkit-mask-image: url("/static/icons/mdi--check-decagram-outline.svg");
    mask-image: url("/static/icons/mdi--check-decagram-outline.svg");
}

.icon-puzzle {
    -webkit-mask-image: url("/static/icons/mdi--puzzle-outline.svg");
    mask-image: url("/static/icons/mdi--puzzle-outline.svg");
}

.icon-database-arrow {
    -webkit-mask-image: url("/static/icons/mdi--database-arrow-right.svg");
    mask-image: url("/static/icons/mdi--database-arrow-right.svg");
}

.icon-radar {
    -webkit-mask-image: url("/static/icons/mdi--radar.svg");
    mask-image: url("/static/icons/mdi--radar.svg");
}

.icon-toolbox {
    -webkit-mask-image: url("/static/icons/mdi--toolbox-outline.svg");
    mask-image: url("/static/icons/mdi--toolbox-outline.svg");
}

.icon-eye-check {
    -webkit-mask-image: url("/static/icons/mdi--eye-check-outline.svg");
    mask-image: url("/static/icons/mdi--eye-check-outline.svg");
}

.icon-clock-fast {
    -webkit-mask-image: url("/static/icons/mdi--clock-fast.svg");
    mask-image: url("/static/icons/mdi--clock-fast.svg");
}

.icon-account-group {
    -webkit-mask-image: url("/static/icons/mdi--account-group-outline.svg");
    mask-image: url("/static/icons/mdi--account-group-outline.svg");
}

.icon-energy {
    -webkit-mask-image: url("/static/icons/simple-line-icons--energy.svg");
    mask-image: url("/static/icons/simple-line-icons--energy.svg");
}

.icon-setting {
    -webkit-mask-image: url("/static/icons/uil--setting.svg");
    mask-image: url("/static/icons/uil--setting.svg");
}

.icon-world {
    -webkit-mask-image: url("/static/icons/fontisto--world-o.svg");
    mask-image: url("/static/icons/fontisto--world-o.svg");
}

.icon-chevron-down {
    -webkit-mask-image: url("/static/icons/akar-icons--chevron-down.svg");
    mask-image: url("/static/icons/akar-icons--chevron-down.svg");
}

.icon-arrow-left {
    -webkit-mask-image: url("/static/icons/uiw--d-arrow-left.svg");
    mask-image: url("/static/icons/uiw--d-arrow-left.svg");
}

.icon-arrow-right {
    -webkit-mask-image: url("/static/icons/uiw--d-arrow-right.svg");
    mask-image: url("/static/icons/uiw--d-arrow-right.svg");
}

.icon-circle-tick {
    -webkit-mask-image: url("/static/icons/charm--circle-tick.svg");
    mask-image: url("/static/icons/charm--circle-tick.svg");
}

.icon-no-entry {
    -webkit-mask-image: url("/static/icons/bx--no-entry.svg");
    mask-image: url("/static/icons/bx--no-entry.svg");
}


/* =========================================
   PLAN ICON STATES
========================================= */

.plan-icon-enabled {
    color: #52B05C;
}

.plan-icon-disabled {
    color: #A4A7A4;
}