/*
Theme Name: Mareana v2
Description: Custom Theme for Mareana
Author: Mareana
Version: 1.0.0
*/
@import url('https://fonts.googleapis.com/css2?family=Just+Me+Again+Down+Here&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ─── Brand Core ─── */
    --mareana-primary: #4361EE;
    --mareana-primary-2: #5A1AEE;
    --mareana-secondary: #8EA0F5;
    --mareana-cyan: #4CC9F0;

    /* ─── Brand Gradient ─── */
    --bg-gradient: linear-gradient(225deg, var(--mareana-primary) 0%, var(--mareana-secondary) 100%);

    /* ─── Text Gradient (for headings) ─── */
    --text-gradient: linear-gradient(90deg, var(--mareana-cyan) 0%, var(--mareana-primary) 100%);

    /* ─── Foregrounds ─── */
    --foreground-primary: #1A181B;
    --foreground-secondary: #505050;
    --foreground-white: #FFFFFF;

    /* ─── Semantic Accents ─── */
    --accent-danger: #F94E9B;
    --accent-success: #42EAD4;

    /* ─── Borders ─── */
    --mareana-border: #E7E7E7;

    /* ─── Surfaces ─── */
    --surface-black: #1A181B;
    --surface-white: #FFFFFF;
    --black: #000000;

    /* ─── Glassmorphism System ─── */
    --glass-bg-default: rgba(255, 255, 255, 0.08);
    --glass-bg-scrolled: rgba(10, 10, 10, 0.70);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-scrolled: rgba(255, 255, 255, 0.15);
}

/* ─── Utility: Gradient Text ─── */
.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}


body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Design Update - 26 APR: Premium Pill Button */
.btn-pill {
    border: none;
    border-radius: 100px;
    padding: 6px 6px 6px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    gap: 15px;
    display: inline-flex;
    align-items: center;
}

/* Design Update - 26 APR: Text Sliding Animation */
.btn-text-inner {
    position: relative;
    height: 1.2em;
    /* Relative to font-size for proper scaling */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text-main,
.btn-text-hover {
    display: block;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pill:hover .btn-text-main {
    transform: translateY(-100%);
}

.btn-pill:hover .btn-text-hover {
    transform: translateY(-100%);
}

/* Design Update - 26 APR: Double-Arrow Sliding Animation */
.btn-pill .arrow-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-inner-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
    transform: translateX(-22px);
}

.arrow-inner-wrapper svg {
    flex-shrink: 0;
}

.btn-pill:hover .arrow-inner-wrapper {
    transform: translateX(22px);
}

/* Primary Variant */
.btn-primary {
    background: var(--bg-gradient);
    color: var(--foreground-white);
}

.btn-primary .arrow-circle {
    background: var(--surface-white);
}

.btn-primary .arrow-circle svg path {
    stroke: var(--foreground-primary);
}

/* Secondary Variant */
.btn-secondary {
    background: var(--surface-white);
    color: var(--foreground-primary);
}

.btn-secondary .arrow-circle {
    background: var(--bg-gradient);
}

.btn-secondary .arrow-circle svg path {
    stroke: var(--foreground-white);
}

/* Design Fix - 24 APR */
#hero-section {
    background-color: var(--black);
    padding: 80px 24px 80px;
    width: 100%;
    position: relative;
}

.hero-eyebrow-container {
  padding-top: 80px;
}

/* Design Fix - 24 APR: Global Topography Overlay */
.topo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Below content, above background */
    pointer-events: none;
}

.ft .topo-overlay {
    opacity: 0.8;
    z-index: 0;
}

/* White part of the heading */
.hero-heading {
    color: var(--foreground-white);
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -1.92px;
    position: relative;
    z-index: 2;
}

/* Design Fix - 24 APR: Hero heading gradient standardized */
.hero-heading-gradient {
    background: linear-gradient(90deg, var(--mareana-cyan) 0%, var(--mareana-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -1.92px;
    white-space: nowrap;
    display: inline-block;
}

.hero-desc {
    color: var(--foreground-white);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 200%;
    opacity: 0.85;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    position: relative;
    z-index: 2;
}



.glass-container {
    padding: 10px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.10);
    margin-top: 72px;
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.228);
    position: relative;
    overflow: visible;
    z-index: 2;
}

/* MESH GRADIENT COMPONENT */
.mesh-gradient-wrapper {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    overflow: hidden;
    filter: blur(100px);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    max-width: 100vw;
    background: transparent;
}

.hero-mesh-gradient {
    width: 1099px;
    height: 721px;
    margin-top: -50px;
}


.mesh-blob {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    mix-blend-mode: screen;
    opacity: 0.5;
    animation: mesh-float 10s infinite alternate ease-in-out;
}

.blob-1 {
    background: #4CC9F0;
    top: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    animation-delay: 0s;
}

.blob-2 {
    background: #4361EE;
    bottom: 10%;
    right: 10%;
    width: 600px;
    height: 600px;
    animation-delay: -5s;
}

.blob-3 {
    background: #4CC9F0;
    top: 30%;
    left: 40%;
    width: 450px;
    height: 450px;
    animation-delay: -10s;
}

.blob-4 {
    background: #4361EE;
    bottom: 20%;
    right: 40%;
    width: 550px;
    height: 550px;
    animation-delay: -15s;
}

@keyframes mesh-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(150px, -80px) scale(1.2);
    }

    66% {
        transform: translate(-100px, 120px) scale(0.9);
    }

    100% {
        transform: translate(80px, 100px) scale(1.1);
    }
}


.hero-diagram {
    background: var(--surface-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.2);
}

.diagram-pills {
    margin-bottom: 50px;
}

.diagram-pill {
    background: var(--surface-white) !important;
    border: 1px solid var(--mareana-border);
    border-radius: 100px;
    padding: 8px 24px 8px 8px;
    color: var(--foreground-primary);
    font-size: 14px;
}

.diagram-pill .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0;
}

.diagram-pill .icon-circle svg {
    width: 16px;
    height: 16px;
}

.diagram-pill .icon-circle.outline-grey svg {
    stroke: none;
    fill: var(--mareana-primary);
}

.diagram-layout {
    gap: 24px;
}

.diagram-col-img {
    flex: 0 1 28%;
    max-width: 320px;
}

.diagram-col-img img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: block;
}

.diagram-engine {
    flex: 1 1 36%;
    position: relative;
    z-index: 1;
}

/* Reusable Mesh Glow Component */
.mesh-glow-bg {
    position: relative;
    z-index: 1;
}

/* Design Fix - 24 APR */
.mesh-glow-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 20% 20%, rgba(67, 97, 238, 0.25), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 195, 255, 0.22), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(0, 195, 255, 0.22), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(78, 212, 249, 0.15), transparent 70%);
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    animation: rotateMesh 10s linear infinite;
    opacity: 1;
}

/* Design Fix - 24 APR: iOS Liquid Glass style */
.engine-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground-primary);
    margin-bottom: 32px;
    text-align: center;

    /* Design Fix - 24 APR: iOS Liquid Glass style (No outer shadow) */
    display: inline-block;
    padding: 8px 24px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.375);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.engine-subtitle-container {
    width: 100%;
    height: 24px;
}

.engine-step {
    position: absolute;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--foreground-primary);
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    animation: stepTickerOut 2s forwards;
}

.engine-step.audit-step {
    color: var(--foreground-primary);
    animation: stepTickerStay 2s forwards;
}

.audit-badge-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.engine-step:nth-child(1) {
    animation-delay: 0s;
}

.engine-step:nth-child(2) {
    animation-delay: 2s;
}

.engine-step:nth-child(3) {
    animation-delay: 4s;
}

.engine-step:nth-child(4) {
    animation-delay: 6s;
}

.engine-step:nth-child(5) {
    animation-delay: 8s;
}

.engine-step:nth-child(6) {
    animation-delay: 10s;
}

.engine-step:nth-child(7) {
    animation-delay: 12s;
}

.engine-step:nth-child(8) {
    animation-delay: 14s;
}

.engine-step:nth-child(9) {
    animation-delay: 16s;
}

.engine-visual {
    gap: 24px;
}

.engine-arrow svg {
    width: 32px;
    height: 32px;
    animation: flowRight 2s infinite ease-in-out;
}

.engine-arrow.arrow-blue svg {
    animation-delay: 1s;
    /* stagger the arrows so it feels continuous */
}

.engine-core {
    width: 160px;
    height: 160px;
}

/* Design Fix - 24 APR: Replace rings with hero logo */
.engine-hero-logo {
    width: 140px;
    height: auto;
    z-index: 10;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

@keyframes corePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

/* ═══════════════════════════════════════
   Processing Ticker Keyframes
═══════════════════════════════════════ */

/* Animates steps 1-8: Fade in, hold, then fade out upwards */
@keyframes stepTickerOut {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    15% {
        opacity: 1;
        transform: translateY(0px);
    }

    85% {
        opacity: 1;
        transform: translateY(0px);
    }

    100% {
        opacity: 0;
        transform: translateY(-16px);
    }
}

/* Animates step 9: Fade in and stay visible */
@keyframes stepTickerStay {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    15%,
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.dot-black {
    background: var(--surface-black);
}

.dot-cyan {
    background: var(--mareana-primary);
}

/* ═══════════════════════════════════════
   Infographic Animations
═══════════════════════════════════════ */
@keyframes flowRight {
    0% {
        transform: translateX(-8px);
        opacity: 0.4;
    }

    50% {
        transform: translateX(8px);
        opacity: 1;
    }

    100% {
        transform: translateX(-8px);
        opacity: 0.4;
    }
}



@keyframes rotateMesh {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.05);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}



@keyframes blinkDot {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* stepTicker: total cycle = 18s (9 steps × 2s each)
   Each step is visible for ~1.4s out of its 2s window.
   Percentages are calculated for each step's window within the 18s cycle.
   We do this with a single keyframe and staggered animation-delay per step:
   0%      → invisible, below (start)
   5.5%    → fully visible (slid up)
   ~8%     → start fading out (slide up further + fade)
   11%     → invisible above (done)
   100%    → invisible (waiting for next cycle)
*/
@keyframes stepTicker {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    5.5% {
        opacity: 1;
        transform: translateY(0px);
    }

    8.5% {
        opacity: 0;
        transform: translateY(-16px);
    }

    9%,
    100% {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* Mobile responsiveness for the diagram */
@media (max-width: 991.98px) {
    .diagram-layout {
        flex-direction: column;
    }

    .engine-visual {
        flex-direction: column;
        padding: 32px 0;
    }

    .engine-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 991.98px) {
    .header-nav {
        padding: 14px 20px;
        margin: 0 16px;
    }

    .logo-container svg {
        width: 120px;
    }

    .cta-button span {
        display: none;
    }

    .cta-button {
        padding: 6px;
        gap: 0;
    }

    .hdr-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 101;
    }

    .hdr-ham-bar {
        width: 24px;
        height: 2px;
        background-color: white;
        transition: 0.3s;
    }

    .hdr-mobile-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 10px;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }

    .hdr-mobile-menu.active {
        display: flex;
    }

    .hdr-mobile-link,
    .hdr-mobile-dropdown {
        font-size: 16px;
        color: white;
        text-decoration: none;
        background: none;
        border: none;
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hdr-mobile-dropdown {
        width: 100%;
    }

    .hdr-mobile-dropdown .chevron-icon {
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .hdr-mobile-dropdown.open .chevron-icon {
        transform: rotate(180deg);
    }

    /* Mobile accordion sub-menu */
    .hdr-mobile-sub {
        display: none;
        flex-direction: column;
        padding: 4px 0 4px 12px;
        border-left: 2px solid rgba(255, 255, 255, 0.15);
        margin: 4px 0 8px;
        gap: 4px;
    }

    .hdr-mobile-sub.open {
        display: flex;
    }

    .hdr-mobile-sub a {
        color: rgba(255, 255, 255, 0.75);
        font-size: 14px;
        text-decoration: none;
        padding: 8px 0;
        transition: color 0.2s;
    }

    .hdr-mobile-sub a:hover {
        color: #fff;
    }

    .hdr-hamburger.active .hdr-ham-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hdr-hamburger.active .hdr-ham-bar:nth-child(2) {
        opacity: 0;
    }

    .hdr-hamburger.active .hdr-ham-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (min-width: 992px) {
    .hdr-mobile-menu {
        display: none !important;
    }

    .hdr-hamburger {
        display: none !important;
    }
}

/* For Company Marquee */

.marquee-section {
    background: var(--surface-white);
    overflow: hidden;
    width: 100%;
}

/* Updated APR 25*/

.marquee-label {
    font-size: 14px;
    color: var(--foreground-secondary);
    white-space: nowrap;
    line-height: 2.0;
    flex-shrink: 0;
    padding-right: 24px;
    border-right: 1.5px solid var(--mareana-border);
    margin-right: 32px;
}

.marquee-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    animation: scroll-left 28s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-fade-wrapper {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.logo-block {
    display: flex;
    align-items: center;
    padding: 0 32px;
    border-right: 1.5px solid var(--mareana-border);
}

.logo-block:first-child {
    border-left: none;
}


.logo-block img {
    width: auto;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo-block img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
    /* Subtle pop on hover */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.outer {
    display: flex;
    align-items: center;
}

.ft {
  background: var(--black);
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 80px 0 0;
}

.ft-form-wrap {
  width: 100%;
  max-width: 380px;
}

.ft-error {
  margin-top: 8px;
  padding-left: 24px;
  font-size: 13px;
  color: #ff6b6b;
  line-height: 1.4;
}

.ft-error .parsley-errors-list {
  margin: 0;
  padding: 0;
  list-style: none;
}


@media (min-width: 768px) and (max-width: 991px) {
    .ft {
        padding: 64px 0 0;
    }
}

@media (max-width: 767px) {
    .ft {
        padding: 56px 16px 0;
    }
}

.ft-container {
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ft-logo img {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.ft-logo img:hover {
    transform: scale(1.02);
}

.ft-tagline {
    font-size: 14px;
    color: #a4a4a4;
    line-height: 2;
}

.ft-nav-heading {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--foreground-white);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.ft-nav-link {
    font-size: 14px;
    color: #a4a4a4;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: all 0.2s;
    cursor: pointer;
}

.ft-nav-link:hover {
    color: var(--foreground-white);
}

.ft-divider {
    border: none;
    border-top: 1px solid #2e2c2f;
    margin: 0;
}

.ft-newsletter {
    padding: 48px 0;
}

.ft-nl-left h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--foreground-white);
    margin: 0 0 12px;
}

.ft-nl-left p {
    font-size: 14px;
    color: #a4a4a4;
    margin: 0;
}

.ft-nl-right {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    border: 1px solid rgba(224, 224, 224, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
    padding: 6px 6px 6px 24px;
    width: 100%;
    max-width: 380px;
}

.ft-nl-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: #fff;
    flex: 1;
}

.ft-nl-input::placeholder {
    color: #888;
}

.ft-nl-btn {
    background: var(--surface-white);
    color: var(--black);
    border: none;
    border-radius: 100px;
    padding: 16px 28px;
    font-size: 14px;
    cursor: pointer;
}

.ft-bottom {
    padding: 32px 0;
    border-top: 1px solid #2e2c2f;
}

.ft-copy {
    font-size: 13px;
    color: #777;
}

.ft-policy {
    font-size: 13px;
    color: #a4a4a4;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.ft-policy:hover {
    color: #fff;
}

/* Problem Section */
#problem-section {
    background-color: #F6F7F9;
    padding: 100px 0;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, #F94E9B 0%, #932E5C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Marquee container */
.marquee-container {
    height: 350px;
    overflow: hidden;
    position: relative;
    padding: 0 0 0 32px;
}

/* Fade edges */
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 2;
}

.marquee-container::before {
    top: 0;
    background: linear-gradient(to bottom, #F6F7F9, transparent);
}

.marquee-container::after {
    bottom: 0;
    background: linear-gradient(to top, #F6F7F9, transparent);
}

.marquee {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: scrollUp 12s linear infinite;
}

/* Design Fix - 24 APR: Marquee text style */
.marquee span {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -1.6px;
    color: #cfcfd4;
    transition: all 0.3s ease;
    opacity: 0.4;
    transform: scale(0.95);
    text-align: left;
}

/* Design Fix - 24 APR: Active (center item) gradient */
.marquee span.active {
    background: linear-gradient(90deg, #F94E9B 0%, #932E5C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    font-weight: 500;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.problem-eyebrow {
    color: var(--foreground-secondary, #505050);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 3.6px;
    text-transform: uppercase;
}

#problem-section .section-heading {
    color: var(--foreground-primary, #1A181B);
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -1.92px;
}

#problem-section .desc-text {
    color: var(--foreground-secondary, #505050);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 200%;
}

.desc-text-dark {
    color: #E8E8E8 !important;
    line-height: 210% !important;
}

.info-card {
    background: var(--Surface-White, #FFF);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.info-card-item {
    flex: 1;
}

.info-card h5 {
    background: linear-gradient(90deg, #F94E9B 0%, #932E5C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-bottom: 0;
}

.info-card .small-text {
    color: var(--foreground-secondary, #505050);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.info-card-separator {
    width: 0.5px;
    height: 60px;
    background: linear-gradient(180deg, #FFF 0%, #F94E9B 51.92%, #FFF 100%);
    flex-shrink: 0;
}

/* Common */
.text-primary {
    color: var(--mareana-primary);
}

/* Design Fix - 24 APR: Standardized Section Heading */
.section-heading {
    color: var(--foreground-primary, #1A181B);
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -1.92px;
}

/* Design Fix - 24 APR: Standardized Primary Gradient */
.text-primary-gradient {
    background: linear-gradient(90deg, var(--mareana-cyan) 0%, var(--mareana-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.desc-text {
    color: var(--Foreground-Secondary, #505050);
    font-family: var(--Mareana-Primary, Poppins);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 200%;
}

/* Design Fix - 24 APR: Dark bg desc color */
[data-theme="dark"] .desc-text {
    color: #E8E8E8 !important;
}

/* How It Works Section */
#how-it-works {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hiw-mesh-gradient {
    width: 100%;
    height: 100%;
    opacity: 0.8;
    /* Slightly more subtle for the middle section */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Global Glass Card Wrapper */
.glass-card {
    background: var(--glass-bg-default);
    border: 1px solid rgba(255, 255, 255, 0.228);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
}

/* Design Fix - 24 APR: HIW Step Cards */
.hiw-step-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.hiw-image-wrapper {
    position: relative;
    height: 420px;
    background: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 32px;
}

.hiw-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    transition: transform 0.5s ease;
}

.hiw-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* Slightly taller gradient for better blend */
    background: linear-gradient(to bottom, transparent, #fff 80%);
    pointer-events: none;
    z-index: 2;
}

.hiw-text-content {
    padding: 0 32px 40px;
    margin-top: auto;
}

.hiw-step-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #888;
    margin-bottom: 8px;
}

.hiw-step-title {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -0.48px;
}

/* Design Fix - 24 APR*/

.hiw-step-desc {
    font-size: 14px;
    color: #666;
    line-height: 26px;
    margin-bottom: 0;
}

/* For Feature Section */
#feature-section {
    padding: 100px 0;
}

/* Design Fix - 24 APR: Feature Grid Separators */
.feature-grid {
    position: relative;
    border: none;
}

/* Vertical lines (only on desktop) */
@media (min-width: 992px) {

    .feature-grid::before,
    .feature-grid::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.08) 85%, transparent);
        z-index: 1;
    }

    .feature-grid::before {
        left: 33.33%;
    }

    .feature-grid::after {
        left: 66.66%;
    }
}

/* Horizontal line (only on desktop) */
.feature-grid-h-divider {
    display: none;
}

@media (min-width: 992px) {
    .feature-grid-h-divider {
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.08) 85%, transparent);
        z-index: 1;
        pointer-events: none;
    }
}

.feature-item {
    padding: 60px 40px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.feature-item .icon-circle {
    background: #5D78FF;
    border-radius: 100px;
    box-shadow: 0 4px 16px 0 #D0D8FF, 0 -7px 14px 0 rgba(255, 255, 255, 0.19) inset;
    width: 64px;
    height: 64px;
    margin-bottom: 30px;
}

.feature-item .icon-circle img {
    filter: brightness(0) invert(1);
    /* Ensure white icon */
    width: 28px;
    height: 28px;
}

.feature-item h5 {
    color: var(--foreground-primary);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.48px;
    font-size: 22px;
}

.feature-item .desc-text {
    color: var(--Foreground-Secondary, #505050);
    text-align: center;
    font-family: var(--Mareana-Primary, Poppins);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 190%;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #EFF2FF;
}

.hero-pill-outer .icon-circle img {
    width: 16px;
    height: 16px;
}

.processing-label-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.icon-circle img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* How It Works: maintain card spacing on tablets */
@media (min-width: 768px) and (max-width: 991px) {
    #how-it-works .col-lg-4 {
        margin-bottom: 16px;
    }

    #how-it-works .col-lg-4:last-child {
        margin-bottom: 0;
    }
}


@media (min-width: 768px) and (max-width: 991px) {

    .feature-grid>.col-lg-4,
    .feature-grid>.col-md-6 {
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .feature-grid>.col-lg-4:nth-child(2n+1),
    .feature-grid>.col-md-6:nth-child(2n+1) {
        border-right: none;
    }

    .feature-grid>.col-lg-4:nth-last-child(-n+2),
    .feature-grid>.col-md-6:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 767px) {

    .feature-item {
        padding: 30px 20px;
    }

    .feature-grid>.col-lg-4,
    .feature-grid>.col-md-6 {
        border-bottom: 1px solid #eee;
    }

    .feature-grid>.col-lg-4:last-child,
    .feature-grid>.col-md-6:last-child {
        border-bottom: none;
    }
}

.metric-section {
    background: var(--black);
    padding: 80px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item h2 {
    font-size: 56px;
    font-weight: 500 !important;
    margin-bottom: 10px;
    letter-spacing: -2px;
    color: var(--foreground-white);
}

/* Design Fix - 24 APR: Metric item separators */
@media (min-width: 992px) {
    .metric-item {
        position: relative;
    }

    .metric-item::after {
        content: "";
        position: absolute;
        right: 0;
        top: 15%;
        bottom: 15%;
        width: 0.5px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.00) 0%, #FFF 51.44%, rgba(255, 255, 255, 0.00) 100%);
    }

    .metric-item:last-child::after {
        display: none;
    }
}

.metric-item p {
    font-size: 14px;
    margin-bottom: 0;
    font-weight: normal;
    margin-top: 22px !important;
}

@media (max-width: 991px) {
    .metric-section {
        padding: 56px 24px;
    }

    .metric-item {
        margin-bottom: 40px;
    }

    .metric-item:last-child {
        margin-bottom: 0;
    }

    .metric-item h2 {
        font-size: 42px;
    }
}

.metric-section {
    background: var(--mareana-primary);
    color: #fff;
    padding: 30px 0;
}

.metric-item {
    padding: 30px 20px;
}

.metric-item h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
}

.metric-item p {
    font-size: 16px;
    margin: 0;
}

/* Keep stats content width controlled on large screens */
@media (min-width: 1200px) {
    .metric-section .container-fluid {
        max-width: 1360px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 992px) {
    .metric-item {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .metric-item:last-child {
        border-right: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .metric-item {
        margin-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .metric-item:nth-child(2n) {
        border-right: none;
    }

    .metric-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .metric-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .metric-item:last-child {
        border-bottom: none;
    }
}

/* Workflow Section */
.workflow-section {
    padding: 100px 0;
    overflow: hidden;
    /* Prevent arrows from causing overflow */
}

/* Design Fix - 24 APR: Workflow Container Box */
.workflow-container-box {
    border-radius: 16px;
    border: 1px solid var(--Border, #E7E7E7);
    background: var(--Mareana-Neutral, #F1F3F7);
    padding: 12px;
}

/* Design Fix - 24 APR: Workflow Card */
.workflow-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: none;
    /* Removed shadow for cards inside container */
    display: flex;
    flex-direction: column;
}

/* Design Fix - 24 APR: Workflow Card Heading */
.workflow-card h6 {
    color: var(--Foreground-Primary, #1A181B);
    font-family: var(--Mareana-Primary, Poppins);
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: -1.1px;
}

/* fake UI */
.fake-input {
    background: #f8f8f8;
    /* Slightly lighter for disabled look */
    padding: 10px 12px;
    padding-right: 30px;
    border-radius: 8px;
    position: relative;
    font-size: 14px;
    border: 1px solid #eee;
}

.fake-input::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.3;
    /* Lower opacity to keep the disabled feel with black color */
}

/* Design Fix - 24 APR: Discrete placeholder lines */
.lines {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.line-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.line-label,
.line-value {
    flex: 1;
    height: 12px;
    background: #f1f1f1;
    border-radius: 6px;
}

.color-bars {
    display: flex;
    gap: 10px;
}

.bar {
    height: 12px;
    flex: 1;
    border-radius: 6px;
}

.bar1 {
    background: #ccc;
}

.bar2 {
    background: #f5b971;
}

.bar3 {
    background: #ffd84d;
}

.bar4 {
    background: #2ecc71;
}

/* center list */
.workflow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.workflow-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 6px 12px 6px 6px;
    border-radius: 40px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.workflow-list li:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 18px;
    height: 18px;
}

/* graph */
.ckg-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.ckg-visual {
    width: 100%;
    object-fit: contain;
}

/* bottom flow */
.workflow-flow-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
}

.flow-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 40px;
}

.flow-step:first-child {
    padding-left: 0;
}

.flow-step:last-child {
    padding-right: 0;
}

.flow-pill {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 40px;
    background: linear-gradient(90deg, #1A181B 0%, #505050 100%);
    color: #fff;
    font-weight: 400;
    font-size: 15px;
    z-index: 2;
}

.flow-pill.dark {
    background: #1A181B;
}

.flow-pill.primary {
    background: var(--bg-gradient);
}

.flow-arrow {
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: auto;
    opacity: 1;
    z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .workflow-flow-inner {
        flex-direction: column;
        gap: 20px;
    }

    .flow-arrow {
        display: none;
    }
}

/* Special Handwriting Font Area */
.ink-blue-data {
    font-family: 'Just Me Again Down Here', cursive;
    color: #3719A5;
    /* Ink Blue */
    font-size: 28px;
    font-weight: 400;
}

.workflow-flow-container {
    background: #F1F3F7;
    padding: 3px;
    border-radius: 40px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.workflow-bottom-row {
    justify-content: space-between;
}

@media (min-width: 992px) {
    .workflow-bottom-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .workflow-bottom-row>.workflow-flow-col {
        flex: 1 1 0;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 991px) {
    .workflow-flow-container {
        display: none !important;
    }
}

.comparison-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--mareana-border);
}

.comparison-card h6 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    margin-top: -1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 992px) {
    .comparison-card h6 {
        min-height: 80px;
        margin-top: -3rem;
        margin-left: -3rem;
        margin-right: -3rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.comparison-right h6 {
    border-color: rgba(255, 255, 255, 0.15);
}

.comparison-left {
    background: white;
    text-align: left;
}

.comparison-list {
    list-style: none;
    padding:  0;
    margin: 0;
}

.comparison-list li {
    position: relative;
    padding-left: 38px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 22px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* Default cross icon */
.comparison-list-left li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyIDIuMjVDNi42MTUgMi4yNSAyLjI1IDYuNjE1IDIuMjUgMTJDMi4yNSAxNy4zODUgNi42MTUgMjEuNzUgMTIgMjEuNzVDMTcuMzg1IDIxLjc1IDIxLjc1IDE3LjM4NSAyMS43NSAxMkMyMS43NSA2LjYxNSAxNy4zODUgMi4yNSAxMiAyLjI1Wk0xMC4yOCA5LjIyQzEwLjIxMTMgOS4xNDYzMSAxMC4xMjg1IDkuMDg3MjEgMTAuMDM2NSA5LjA0NjIyQzkuOTQ0NTQgOS4wMDUyMyA5Ljg0NTIyIDguOTgzMTggOS43NDQ1MiA4Ljk4MTQxQzkuNjQzODIgOC45Nzk2MyA5LjU0Mzc5IDguOTk4MTYgOS40NTA0IDkuMDM1ODhDOS4zNTcwMSA5LjA3MzYgOS4yNzIxOCA5LjEyOTc0IDkuMjAwOTYgOS4yMDA5NkM5LjEyOTc0IDkuMjcyMTggOS4wNzM2IDkuMzU3MDEgOS4wMzU4OCA5LjQ1MDRDOC45OTgxNiA5LjU0Mzc5IDguOTc5NjMgOS42NDM4MiA4Ljk4MTQxIDkuNzQ0NTJDOC45ODMxOCA5Ljg0NTIyIDkuMDA1MjMgOS45NDQ1NCA5LjA0NjIyIDEwLjAzNjVDOS4wODcyMSAxMC4xMjg1IDkuMTQ2MzEgMTAuMjExMyA5LjIyIDEwLjI4TDEwLjk0IDEyTDkuMjIgMTMuNzJDOS4xNDYzMSAxMy43ODg3IDkuMDg3MjEgMTMuODcxNSA5LjA0NjIyIDEzLjk2MzVDOS4wMDUyMyAxNC4wNTU1IDguOTgzMTggMTQuMTU0OCA4Ljk4MTQxIDE0LjI1NTVDOC45Nzk2MyAxNC4zNTYyIDguOTk4MTYgMTQuNDU2MiA5LjAzNTg4IDE0LjU0OTZDOS4wNzM2IDE0LjY0MyA5LjEyOTc0IDE0LjcyNzggOS4yMDA5NiAxNC43OTlDOS4yNzIxOCAxNC44NzAzIDkuMzU3MDEgMTQuOTI2NCA5LjQ1MDQgMTQuOTY0MUM5LjU0Mzc5IDE1LjAwMTggOS42NDM4MiAxNS4wMjA0IDkuNzQ0NTIgMTUuMDE4NkM5Ljg0NTIyIDE1LjAxNjggOS45NDQ1NCAxNC45OTQ4IDEwLjAzNjUgMTQuOTUzOEMxMC4xMjg1IDE0LjkxMjggMTAuMjExMyAxNC44NTM3IDEwLjI4IDE0Ljc4TDEyIDEzLjA2TDEzLjcyIDE0Ljc4QzEzLjc4ODcgMTQuODUzNyAxMy44NzE1IDE0LjkxMjggMTMuOTYzNSAxNC45NTM4QzE0LjA1NTUgMTQuOTk0OCAxNC4xNTQ4IDE1LjAxNjggMTQuMjU1NSAxNS4wMTg2QzE0LjM1NjIgMTUuMDIwNCAxNC40NTYyIDE1LjAwMTggMTQuNTQ5NiAxNC45NjQxQzE0LjY0MyAxNC45MjY0IDE0LjcyNzggMTQuODcwMyAxNC43OTkgMTQuNzk5QzE0Ljg3MDMgMTQuNzI3OCAxNC45MjY0IDE0LjY0MyAxNC45NjQxIDE0LjU0OTZDMTUuMDAxOCAxNC40NTYyIDE1LjAyMDQgMTQuMzU2MiAxNS4wMTg2IDE0LjI1NTVDMTUuMDE2OCAxNC4xNTQ4IDE0Ljk5NDggMTQuMDU1NSAxNC45NTM4IDEzLjk2MzVDMTQuOTEyOCAxMy44NzE1IDE0Ljg1MzcgMTMuNzg4NyAxNC43OCAxMy43MkwxMy4wNiAxMkwxNC43OCAxMC4yOEMxNC44NTM3IDEwLjIxMTMgMTQuOTEyOCAxMC4xMjg1IDE0Ljk1MzggMTAuMDM2NUMxNC45OTQ4IDkuOTQ0NTQgMTUuMDE2OCA5Ljg0NTIyIDE1LjAxODYgOS43NDQ1MkMxNS4wMjA0IDkuNjQzODIgMTUuMDAxOCA5LjU0Mzc5IDE0Ljk2NDEgOS40NTA0QzE0LjkyNjQgOS4zNTcwMSAxNC44NzAzIDkuMjcyMTggMTQuNzk5IDkuMjAwOTZDMTQuNzI3OCA5LjEyOTc0IDE0LjY0MyA5LjA3MzYgMTQuNTQ5NiA5LjAzNTg4QzE0LjQ1NjIgOC45OTgxNiAxNC4zNTYyIDguOTc5NjMgMTQuMjU1NSA4Ljk4MTQxQzE0LjE1NDggOC45ODMxOCAxNC4wNTU1IDkuMDA1MjMgMTMuOTYzNSA5LjA0NjIyQzEzLjg3MTUgOS4wODcyMSAxMy43ODg3IDkuMTQ2MzEgMTMuNzIgOS4yMkwxMiAxMC45NEwxMC4yOCA5LjIyWiIgZmlsbD0iIzk5OTk5OSIvPgo8L3N2Zz4=");
}

.comparison-list.success li {
    color: #eaeaea;
}

.comparison-list.success li::before {
     content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTguNjAzIDMuNzk5QzkuMDI0OTYgMy4zMTIyMyA5LjU0NjczIDIuOTIxOTYgMTAuMTMyOSAyLjY1NDY4QzEwLjcxOSAyLjM4NzQxIDExLjM1NTggMi4yNDkzOSAxMiAyLjI1QzEzLjM1NyAyLjI1IDE0LjU3MyAyLjg1IDE1LjM5NyAzLjc5OUMxNi4wMzk3IDMuNzUzMTEgMTYuNjg0NyAzLjg0NjA5IDE3LjI4ODMgNC4wNzE2MUMxNy44OTE5IDQuMjk3MTMgMTguNDM5OSA0LjY0OTkyIDE4Ljg5NSA1LjEwNkMxOS4zNTA5IDUuNTYxMDYgMTkuNzAzNiA2LjEwODg4IDE5LjkyOTEgNi43MTIyNkMyMC4xNTQ2IDcuMzE1NjQgMjAuMjQ3NyA3Ljk2MDQ3IDIwLjIwMiA4LjYwM0MyMC42ODg2IDkuMDI1MDUgMjEuMDc4NyA5LjU0Njg2IDIxLjM0NTggMTAuMTMzQzIxLjYxMjkgMTAuNzE5MSAyMS43NTA3IDExLjM1NTkgMjEuNzUgMTJDMjEuNzUwNiAxMi42NDQyIDIxLjYxMjYgMTMuMjgxIDIxLjM0NTMgMTMuODY3MUMyMS4wNzggMTQuNDUzMyAyMC42ODc4IDE0Ljk3NSAyMC4yMDEgMTUuMzk3QzIwLjI0NjcgMTYuMDM5NSAyMC4xNTM2IDE2LjY4NDQgMTkuOTI4MSAxNy4yODc3QzE5LjcwMjYgMTcuODkxMSAxOS4zNDk5IDE4LjQzODkgMTguODk0IDE4Ljg5NEMxOC40Mzg5IDE5LjM0OTkgMTcuODkxMSAxOS43MDI2IDE3LjI4NzcgMTkuOTI4MUMxNi42ODQ0IDIwLjE1MzYgMTYuMDM5NSAyMC4yNDY3IDE1LjM5NyAyMC4yMDFDMTQuOTc1IDIwLjY4NzggMTQuNDUzMyAyMS4wNzggMTMuODY3MSAyMS4zNDUzQzEzLjI4MSAyMS42MTI2IDEyLjY0NDIgMjEuNzUwNiAxMiAyMS43NUMxMS4zNTU4IDIxLjc1MDYgMTAuNzE5IDIxLjYxMjYgMTAuMTMyOSAyMS4zNDUzQzkuNTQ2NzMgMjEuMDc4IDkuMDI0OTYgMjAuNjg3OCA4LjYwMyAyMC4yMDFDNy45NjAzOCAyMC4yNDcgNy4zMTUzOCAyMC4xNTQyIDYuNzExODEgMTkuOTI4OUM2LjEwODI0IDE5LjcwMzUgNS41NjAyMyAxOS4zNTA5IDUuMTA1IDE4Ljg5NUM0LjY0ODk3IDE4LjQzOTggNC4yOTYyMiAxNy44OTE5IDQuMDcwNyAxNy4yODgzQzMuODQ1MTggMTYuNjg0NyAzLjc1MjE4IDE2LjAzOTcgMy43OTggMTUuMzk3QzMuMzExNDEgMTQuOTc0OSAyLjkyMTMzIDE0LjQ1MzEgMi42NTQyMyAxMy44NjdDMi4zODcxMyAxMy4yODA5IDIuMjQ5MjcgMTIuNjQ0MSAyLjI1IDEyQzIuMjUgMTAuNjQzIDIuODUgOS40MjcgMy43OTkgOC42MDNDMy43NTMyNiA3Ljk2MDQ3IDMuODQ2MyA3LjMxNTYyIDQuMDcxODIgNi43MTIyMkM0LjI5NzM0IDYuMTA4ODMgNC42NTAwNSA1LjU2MTAzIDUuMTA2IDUuMTA2QzUuNTYxMDMgNC42NTAwNSA2LjEwODgzIDQuMjk3MzQgNi43MTIyMiA0LjA3MTgyQzcuMzE1NjIgMy44NDYzIDcuOTYwNDcgMy43NTMyNiA4LjYwMyAzLjc5OVpNMTUuNjEgMTAuMTg2QzE1LjY3IDEwLjEwNjEgMTUuNzEzNCAxMC4wMTQ5IDE1LjczNzcgOS45MTc5NUMxNS43NjIgOS44MjA5OCAxNS43NjY2IDkuNzIwMTQgMTUuNzUxNCA5LjYyMTM2QzE1LjczNjEgOS41MjI1NyAxNS43MDEzIDkuNDI3ODMgMTUuNjQ4OSA5LjM0MjdDMTUuNTk2NSA5LjI1NzU3IDE1LjUyNzYgOS4xODM3OCAxNS40NDYzIDkuMTI1NjVDMTUuMzY0OSA5LjA2NzUzIDE1LjI3MjggOS4wMjYyNCAxNS4xNzUzIDkuMDA0MjNDMTUuMDc3OCA4Ljk4MjIyIDE0Ljk3NjkgOC45Nzk5MiAxNC44Nzg1IDguOTk3NDZDMTQuNzgwMSA5LjAxNTAxIDE0LjY4NjIgOS4wNTIwNSAxNC42MDIzIDkuMTA2NDFDMTQuNTE4NCA5LjE2MDc3IDE0LjQ0NjIgOS4yMzEzNSAxNC4zOSA5LjMxNEwxMS4xNTQgMTMuODQ0TDkuNTMgMTIuMjJDOS4zODc4MyAxMi4wODc1IDkuMTk5NzggMTIuMDE1NCA5LjAwNTQ4IDEyLjAxODhDOC44MTExOCAxMi4wMjIzIDguNjI1NzkgMTIuMTAxIDguNDg4MzggMTIuMjM4NEM4LjM1MDk3IDEyLjM3NTggOC4yNzIyNiAxMi41NjEyIDguMjY4ODMgMTIuNzU1NUM4LjI2NTQgMTIuOTQ5OCA4LjMzNzUyIDEzLjEzNzggOC40NyAxMy4yOEwxMC43MiAxNS41M0MxMC43OTcgMTUuNjA2OSAxMC44ODk4IDE1LjY2NjIgMTAuOTkyIDE1LjcwMzZDMTEuMDk0MiAxNS43NDExIDExLjIwMzMgMTUuNzU1OSAxMS4zMTE4IDE1Ljc0NjlDMTEuNDIwMiAxNS43MzggMTEuNTI1NSAxNS43MDU1IDExLjYyMDEgMTUuNjUxOUMxMS43MTQ4IDE1LjU5ODIgMTEuNzk2NyAxNS41MjQ1IDExLjg2IDE1LjQzNkwxNS42MSAxMC4xODZaIiBmaWxsPSIjRkZGRkZGIi8+Cjwvc3ZnPg==");
}


@media (max-width: 767px) {
    .comparison-right {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }
}

.comparison-right {
    text-align: left;
}

.ocr-section {
    padding: 100px 0;
}

.comp-logo {
    height: 28px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.comparison-right {
    background-color: #000000 !important;
    position: relative;
    overflow: hidden;
}

.comparison-light-ray {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
    z-index: 0;
}

.comparison-left>.p-4,
.comparison-right>.p-4 {
    padding-bottom: 20px !important;
}

@media (min-width: 992px) {

    .comparison-left>.p-lg-5,
    .comparison-right>.p-lg-5 {
        padding-bottom: 30px !important;
    }
}

.comparission-section {
    margin-top: 80px;
}

/* Keep comparison blocks top/bottom on tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .comparission-section .comparison-card .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .comparission-section .comparison-right {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.more-features-container {
    padding: 100px 0;
    background: #F6F7F9;
}

.feature-block {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: sticky;
    top: 100px;
    z-index: 1;
    transform-origin: center top;
    will-change: transform;
}

.feature-block:nth-child(n) {
    z-index: auto;
}

.feature-block .row {
    flex: 1;
    min-height: inherit;
}

.feature-text-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.feature-text-col h2 {
    letter-spacing: -1.12px;
    font-size: 28px;
    line-height: 1.5;
}

.feature-text-col .link-arrow {
    margin-top: auto !important;
    margin-bottom: 10px;
    padding-top: 20px;
}

.feature-visual-col {
    padding: 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

@media (max-width: 991px) {
    .feature-block .tags {
        display: none;
    }
}

.tags span {
    background: #FAFAFA;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 16px;
}

.link-arrow {
    color: var(--mareana-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-arrow svg {
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: var(--mareana-secondary);
}

.link-arrow:hover svg {
    transform: translateX(5px);
}

/* LINED SLOGAN DESIGN */
.lined-slogan-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    color: #6c757d;
    font-size: 16px;
    font-weight: 400;
}

.slogan-line-group {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 6px;
}

.slogan-line-group.left {
    justify-content: flex-end;
}

.slogan-line-group.right {
    justify-content: flex-start;
}

.slogan-horizontal-line {
    height: 1px;
    flex: 1;
    max-width: 300px;
}

/* Design Update - 26 APR: Slogan Lines (Default Dark) */
.slogan-line-group.left .slogan-horizontal-line {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15) 100%);
}


.slogan-line-group.right .slogan-horizontal-line {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
}


.slogan-v-line {
    width: 1px;
    background: rgba(0, 0, 0, 0.15);
}


.slogan-v-line.short {
    height: 8px;
}

.slogan-v-line.medium {
    height: 14px;
}

.slogan-v-line.tall {
    height: 20px;
}

.lined-slogan-text {
    flex-shrink: 0;
    white-space: nowrap;
}

.slogan-focus-text {
    color: #000000;
    font-weight: 500;
}

@media (max-width: 768px) {

    /* Hide decorative lines only — not the whole container (button lives here too) */
    .lined-slogan-container .slogan-line-group {
        display: none !important;
    }

    /* When container is used as a standalone slogan (no button inside), hide it */
    .lined-slogan-container:not(.cta-button-row) {
        display: none !important;
    }

    /* When container holds the CTA button, center it */
    .cta-button-row.lined-slogan-container {
        display: flex !important;
        justify-content: center !important;
    }
}

/* INVERSE COLORS FOR DARK BG (CTA) */
.slogan-line-group.inverse .slogan-v-line {
    background: rgba(255, 255, 255, 0.4);
}

.slogan-line-group.inverse.left .slogan-horizontal-line {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4) 100%);
}

.slogan-line-group.inverse.right .slogan-horizontal-line {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
}

/* CTA DECORATIVE ROUNDS */
.cta-round-outer {
    display: flex;
    width: 373px;
    height: 373px;
    padding: 60px;
    align-items: center;
    gap: 10px;
    aspect-ratio: 1/1;
    position: absolute;
    border-radius: 1000px;
    opacity: 0.6;
    background: rgb(255 255 255 / 10%);
    pointer-events: none;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.265);
}

.cta-round-inner {
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 1000px;
    background: rgb(255 255 255 / 5%);
    border: 1px solid rgba(255, 255, 255, 0.265);
}

.cta-round-outer.round-right {
    right: -190px;
    bottom: -170px;
}

.cta-round-outer.round-left {
    left: -190px;
    bottom: -170px;
}

.visual-box {
    height: 100%;
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(180deg, #6580FF 0%, #FFF 92.68%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* Light Ray Overlay Utility - Updated APR 25*/
.light-ray-overlay {
    position: absolute;
    top: -5%;
    right: -25%;
    width: 60%;
    height: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.visual-inner-card {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
}

.visual-box .mesh-gradient-wrapper {
    z-index: 0;
    opacity: 0.6;
}


.visual-inner-card img {
    max-width: 70%;
    max-height: 100%;
    object-fit: contain;
    margin: auto;
}

@media (max-width: 991px) {
    .feature-block {
        padding: 0;
        position: relative !important;
        top: auto !important;
        min-height: auto !important;
        margin-bottom: 24px;
        transform: none !important;
    }

    .visual-box {
        height: 200px;
    }
}

/* Feature visuals: improve tablet card height consistency */
@media (min-width: 768px) and (max-width: 991px) {
    .feature-visual-col {
        display: flex;
        min-height: 320px;
    }

    .feature-visual-col .visual-box {
        height: 100%;
        min-height: 320px;
        width: 100%;
    }
}

.hero-eyebrow-container {
    display: inline-flex;
    margin-bottom: 24px;
}

.animated-border-pill {
    position: relative;
    padding: 1px;
    border-radius: 1000px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: inline-block;
}

.animated-border-pill::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #6580FF 0%, transparent 75%);
    offset-path: rect(0 0 100% 100% round 1000px);
    animation: shimmer-orbit 8s linear infinite;
    z-index: 1;
    filter: blur(2px);
}


@keyframes shimmer-orbit {
    from {
        offset-distance: 0%;
    }

    to {
        offset-distance: 100%;
    }
}


.eyebrow-inner {
    position: relative;
    background: #0a0a0a;
    color: #fff;
    border-radius: 1000px;
    padding: 6px 20px 6px 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    font-size: 15px;
    letter-spacing: 0.2px;
    text-decoration: none;
}

.eyebrow-icon-circle {
    width: 32px;
    height: 32px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eyebrow-icon-circle svg {
    color: white;
}

/* HERO PILL OUTER WRAPPER */
.hero-pill-outer {
    padding: 6px;
    border-radius: 100px;
    background: rgba(245, 245, 245, 0.53);
    display: flex;
    align-items: center;
}

.integration-section {
    padding: 100px 0;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 18px 8px 8px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid var(--mareana-border);
}

/* ICON */
.integration-item .icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    padding: 12px;
    box-shadow: 0 -7px 14px 0 rgba(255, 255, 255, 0.19) inset;
    filter: drop-shadow(0 4px 16px #D0D8FF);
    overflow: hidden;
}

.integration-item .icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.integration-item h6 {
    margin: 0;
    color: var(--Foreground-Primary, #1A181B);
    font-family: var(--Mareana-Primary, Poppins);
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.88px;
}

.integration-item p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* RIGHT IMAGE */
.integration-visual {
    display: inline-block;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}


.integration-visual img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.integration-visual .light-ray-overlay {
    width: 40%;
    /* Reduced size for team section */
}

.integration-visual .mesh-gradient-wrapper {
    z-index: 0;
    opacity: 0.4;
}


/* RESPONSIVE */
@media (max-width: 991px) {
    .integration-item {
        border-radius: 16px;
    }

    .integration-item .icon {
        width: 48px;
        height: 48px;
        padding: 10px;
    }
}

.teams-section {
    padding: 100px 0;
    background: #fff;
}

/* TEAM CARD */
.team-card {
    background: #fff;
    border-radius: 16px;
    padding: 4px;
    /* Creates the 4px gap for the inner box */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
}

/* INNER CARD BOX */
.team-card-inner {
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #E7E7E7;
    background: linear-gradient(180deg, #B5C2FF 0%, #FFF 49.77%);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Design Fix - 24 APR: White blurred glow from top-left corner */
.team-card-inner::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: white;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.team-card-inner .light-ray-overlay {
    width: 100%;
    opacity: 1;
    z-index: 1;
}

/* Design Fix - 24 APR: Lift card content above background elements */
.team-card-inner .team-icon-wrapper,
.team-card-inner h4,
.team-card-inner p {
    position: relative;
    z-index: 2;
}



/* ICON WRAPPER HALO */
.team-icon-wrapper {
    display: flex;
    padding: 6px;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: rgba(163, 179, 255, 0.40);
    width: fit-content;
    position: relative;
}

/* Design Fix - 24 APR: White blurred glow circle behind icon */
.team-icon-wrapper::before {
    content: '';
    position: absolute;
    left: -8px;
    top: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.team-icon-wrapper>* {
    position: relative;
    z-index: 1;
}

/* ICON CIRCLE */
.team-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6580FF 0%, #4A69FF 100%);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(101, 128, 255, 0.2);
}

/* BUTTON PILL */
.btn-pill-demo {
    display: inline-flex;
    align-items: center;
    padding: 6px 6px 6px 24px;
    background: #6580FF;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 12px;
}

.btn-pill-demo:hover {
    background: #4A69FF;
    transform: scale(1.05);
}

.btn-pill-demo .arrow-circle {
    width: 38px;
    height: 38px;
    background: #fff;
    color: #6580FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .teams-section {
        padding: 60px 0;
    }
}

/* Design Fix - 24 APR */
.team-title {
    letter-spacing: -0.02em;
    font-weight: 600;
}



/* FAQ SECTION */
.faq-section {
    padding: 100px 0;
    background-color: #fbfbfb;
}

.custom-faq-accordion .accordion-item {
    border: 1px solid #E7E7E7;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
    transition: all 0.3s ease;
}

.custom-faq-accordion .accordion-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border-color: #d1d1d1;
}

.custom-faq-accordion .accordion-button {
    padding: 24px 30px;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    background-color: transparent !important;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Override default bootstrap behavior */
.custom-faq-accordion .accordion-button::after {
    display: none;
    /* Hide default icon */
}

/* Custom + / - icon positioning */
.custom-faq-accordion .accordion-button {
    justify-content: space-between;
}

/* The circular icon wrapper placeholder */
.custom-faq-accordion .accordion-button::before {
    content: '';
    order: 2;
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"), var(--bg-gradient);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-faq-accordion .accordion-button:not(.collapsed)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"), linear-gradient(180deg, #1A181B 0%, #5F5F5F 100%);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(180deg);
}

.faq-list-item .custom-faq-accordion .accordion-body {
    padding: 0 30px 30px 30px;
    color: #666;
    line-height: 1.7;
    font-size: 16px;
    text-align: left !important;
}

 .need-more-info {
      text-align: left !important;
    }


/* FAQ CTA BANNER */
.faq-cta-banner {
    background: #000000;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-align: left !important;
}

.faq-light-ray {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.faq-glow-circle {
    position: absolute;
    right: 162px;
    top: -254px;
    width: 255px;
    height: 255px;
    background: rgba(255, 255, 255, 0.90);
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Responsive adjustment */
@media (max-width: 767px) {
    .faq-section {
        padding: 60px 0;
    }

    .custom-faq-accordion .accordion-button {
        padding: 20px;
        font-size: 16px;
        line-height: 1.5;
    }

    .custom-faq-accordion .accordion-button::before {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
}

.need-more-info-desc {
    font-size: 14px;
    line-height: 2.5;
}

/* UNLOCK DATA SECTION */
.unlock-data-section {
    padding: 60px 0;
    background: #fff;
}

.unlock-data-card {
    background: #000000;
    color: #fff;
    border-radius: 16px;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.cta-mesh-gradient {
    width: 100%;
    height: 100%;
    opacity: 0.6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.unlock-data-card::before {
    bottom: -180px;
    left: -180px;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.02);
}

.unlock-data-card::after {
    bottom: -220px;
    right: -220px;
    width: 550px;
    height: 550px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* GLASS PILLS */
.glass-pill-feature {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px 8px 8px;
    background: rgba(255, 255, 255, 0.08);
    /* Reusing the glass variable logic */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-pill-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.check-circle-blue {
    width: 36px;
    height: 36px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.check-circle-blue svg {
    width: 24px;
    height: 24px;
}

.cta-button-row {
    margin-top: 40px;
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .unlock-data-section {
        padding: 60px 0;
    }

    .glass-pill-flex {
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }

    .glass-pill-feature {
        width: 100%;
        max-width: 340px;
        justify-content: flex-start;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .unlock-data-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .section-heading,
    .hero-heading,
    .hero-heading-gradient {
        font-size: 40px !important;
    }
}

/* BLOG SECTION */
.insights-section {
    background-color: #F6F7F9;
}

/* .insights-section .section-heading {
    color: #1A181B !important
}  */

.blog-card {
    background: #fff;
    border: 1px solid #E7E7E7;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 4px;
}


.blog-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.05);
}

.blog-content {
    padding: 16px;
    flex-grow: 1;
}

.blog-category-badge {
    display: inline-block;
    background: #1A181B;
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-title-card {
  font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #000 !important;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
}

.blog-excerpt {
    font-size: 14px;
    line-height: 190%;
    color: #505050;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    padding: 16px;
    border-top: 1px solid #F3F3F3;
    font-size: 13px;
    color: #888;
}

.blog-read-time {
    border-radius: 8px;
    border: 1px solid var(--Border, #E7E7E7);
    background: var(--Mareana-Neutral, #F1F3F7);
    display: flex;
    padding: 6px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
}

/* MOBILE TYPOGRAPHY & LAYOUT OVERRIDES */
@media (max-width: 767px) {

    .container,
    .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #hero-section {
        padding: 80px 0 60px !important;
    }

    .section-heading,
    .hero-heading,
    .hero-heading-gradient {
        font-size: 28px !important;
        line-height: 1.6 !important;
        letter-spacing: -1px !important;
    }

    .hero-desc,
    .desc-text {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .workflow-card h6 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn-pill {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        min-height: 56px;
        padding-top: 6px;
        padding-bottom: 6px;
        padding-right: 56px;
        text-align: center;
    }

    .hero-buttons .btn-pill .arrow-circle {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* HOW IT WORKS MOBILE FIX */
    #how-it-works .col-lg-4 {
        margin-bottom: 14px !important;
    }

    #how-it-works .col-lg-4:last-child {
        margin-bottom: 0 !important;
    }

    /* INFO CARD MOBILE STACKING */
    .info-card {
        flex-direction: column !important;
        align-items: center !important;
        gap: 24px !important;
    }

    .marquee span {
        font-size: 22px !important;
    }

    .info-card-separator {
        width: 60px !important;
        height: 1px !important;
        background: rgba(0, 0, 0, 0.1) !important;
        margin: 10px 0;
    }

    .visual-inner-card {
        height: 100% !important;
        min-height: 240px !important;
    }

    /* FEATURE SECTIONS MOBILE REFINEMENTS */
    .feature-text-col {
        margin: 0 !important;
        padding: 0 16px 32px 16px !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .feature-text-col h2 {
        font-size: 22px !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }

    .feature-text-col .desc-text {
        font-size: 14px !important;
        line-height: 1.9 !important;
    }

    .feature-visual-col {
        display: block !important;
        padding: 0 !important;
        margin-bottom: 24px;
    }

    .visual-box {
        height: auto !important;
        min-height: 280px !important;
        padding: 20px !important;
        /* Slightly tighter padding so content fits snugly */
        align-items: center !important;
    }

    .light-ray-overlay {
        display: unset !important;
        /* Hide overlay on mobile to prevent overlapping visual defects */
    }

    .unlock-data-card {
        padding: 84px 20px !important;
        text-align: center;
    }

    .unlock-data-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .unlock-data-card .section-heading {
        font-size: 28px !important;
        line-height: 1.4 !important;
    }

    .unlock-data-card .need-more-info-desc {
        text-align: center !important;
    }

    .cta-button-row {
        justify-content: center;
    }

    .cta-round-outer {
        display: none;
    }
}

/* ─── 320px Small Device Fixes ─── */
@media (max-width: 380px) {

    /* GLOBAL: Prevent any horizontal overflow */
    body,
    .main-homepage {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container,
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* ── TYPOGRAPHY SCALE DOWN ── */
    .section-heading,
    .hero-heading,
    .hero-heading-gradient {
        font-size: 22px !important;
        line-height: 1.5 !important;
        letter-spacing: -0.5px !important;
    }

    /* Fix gradient heading forced nowrap - biggest overflow culprit */
    .hero-heading-gradient {
        white-space: normal !important;
        display: inline-block !important;
    }

    .hero-desc,
    .desc-text,
    p {
        font-size: 12px !important;
        line-height: 1.7 !important;
    }

    /* ── HERO SECTION ── */
    #hero-section {
        padding: 80px 0 48px !important;
    }

    .eyebrow-text {
        font-size: 11px !important;
    }

    .glass-container {
        padding: 8px !important;
        margin-top: 40px !important;
    }

    /* ── BUTTONS ── */
    .btn-pill {
        font-size: 14px !important;
    }

    .btn-pill .arrow-circle {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0;
    }

    .hero-buttons .btn-pill {
        padding-right: 48px !important;
    }

    /* ── PROBLEM SECTION ── */
    #problem-section {
        padding: 60px 0 !important;
    }

    .problem-eyebrow {
        font-size: 10px !important;
        letter-spacing: 2px !important;
    }

    .info-card {
        padding: 16px !important;
        gap: 16px !important;
    }

    .info-card h5 {
        font-size: 18px !important;
    }

    /* Vertical marquee */
    .marquee span {
        font-size: 18px !important;
    }

    .marquee-container {
        padding-left: 0 !important;
    }

    /* ── HOW IT WORKS ── */
    .hiw-image-wrapper {
        height: 220px !important;
    }

    .hiw-step-title {
        font-size: 16px !important;
    }

    .hiw-step-label {
        font-size: 10px !important;
    }

    .hiw-text-content {
        padding: 0 16px 24px !important;
    }

    /* ── FEATURE / MORE FEATURES SECTION ── */
    .feature-block {
        min-height: unset !important;
        position: relative !important;
        top: 0 !important;
    }

    .feature-text-col {
        padding: 20px 12px !important;
    }

    .feature-text-col h2 {
        font-size: 18px !important;
    }

    .visual-box {
        min-height: 220px !important;
    }

    /* ── OCR COMPARISON SECTION ── */
    .ocr-section {
        padding: 60px 0 !important;
    }

    .comparison-list li {
        font-size: 13px !important;
    }

    /* ── METRIC SECTION ── */
    .metric-section {
        padding: 48px 12px !important;
    }

    .metric-number {
        font-size: 36px !important;
    }

    .metric-label {
        font-size: 12px !important;
    }

    /* ── WORKFLOW SECTION ── */
    .workflow-card h6 {
        font-size: 15px !important;
    }

    .flow-step {
        padding: 12px 16px !important;
    }

    /* ── TEAMS SECTION ── */
    .team-card-inner {
        padding: 16px !important;
    }

    .team-title {
        font-size: 16px !important;
    }

    /* ── FAQ SECTION ── */
    .custom-faq-accordion .accordion-button {
        font-size: 14px !important;
        padding: 14px 16px !important;
        /* Keep justify-content: space-between so the circle stays right */
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .custom-faq-accordion .accordion-button::before {
        flex-shrink: 0 !important;
        order: 2 !important;
        width: 32px !important;
        height: 32px !important;
    }

    .faq-cta-banner {
        padding: 20px 16px !important;
    }

    .faq-cta-banner h4 {
        font-size: 18px !important;
    }

    /* ── BLOG SECTION ── */
    .blog-title-card {
        font-size: 16px !important;
    }

    .blog-excerpt {
        font-size: 13px !important;
    }

    /* ── CTA / UNLOCK DATA SECTION ── */
    .unlock-data-card {
        padding: 48px 16px !important;
    }

    .unlock-data-card .section-heading {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .glass-pill-feature {
        font-size: 12px !important;
        padding: 6px 6px !important;
    }

    .glass-pill-flex {
        gap: 10px !important;
    }

    .check-circle-blue {
        width: 28px !important;
        height: 28px !important;
    }

    .check-circle-blue svg {
        width: 16px !important;
        height: 16px !important;
    }

    .cta-button-row {
        margin-top: 24px !important;
    }

    /* ── DEMO TOAST (overflows on 320) ── */
    .demo-success-toast {
        min-width: unset !important;
        width: calc(100vw - 24px) !important;
    }
}


.modal {
    z-index: 10050;
    /* Above header-nav (9999) */
}

.modal-backdrop {
    z-index: 10040;
}

.demo-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    max-width: 1240px;
    margin: 0 auto;
    padding: 6px;
}

.demo-modal .modal-body {
    padding: 0;
}

.demo-modal .modal-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 690px;
}

.modal-visual-pane {
    flex: 1 1 50%;
    background: rgba(169, 184, 255, 0.75);
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border-radius: 18px;
    /* nested radius */
}

/* Modal Mesh Backgrounds */
.modal-visual-pane::before {
    content: '';
    position: absolute;
    width: 487px;
    height: 487px;
    left: -150px;
    top: -150px;
    background: #42EAD4;
    filter: blur(300px);
    /* Restored to exact user spec */
    border-radius: 50%;
    z-index: -1;
}

.modal-visual-pane::after {
    content: '';
    position: absolute;
    width: 846px;
    height: 846px;
    bottom: -400px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFF;
    filter: blur(72px);
    border-radius: 50%;
    z-index: -1;
}

.modal-form-pane {
    flex: 1 1 50%;
    padding: 60px 50px;
    background: #FFFFFF;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 18px;
    /* nested radius */
}

.modal-form-pane .btn-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
}

.modal-visual-content {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.modal-visual-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 32px;
}

.modal-visual-title {
    font-size: 24px;
    font-weight: 500;
    color: #1A181B;
    margin-bottom: 12px;
}

.modal-visual-desc {
    color: #505050;
    font-size: 15px;
    margin-bottom: 24px;
}

.modal-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    background: #fff;
    padding: 10px;
    border-radius: 100px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
    display: inline-flex;
}

.modal-pill {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    color: #1A181B;
    font-weight: 500;
    white-space: nowrap;
    border-right: 1px solid #eee;
}

.modal-pill:last-child {
    border-right: none;
}

.modal-visual-footer {
    font-size: 13px;
    color: #888;
    font-style: italic;
}

.modal-form-pane h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1A181B;
    text-align: center;
    padding: 0 40px;
}

.modal-form-pane p {
    color: #505050;
    text-align: center;
    margin-bottom: 32px;
    font-size: 15px;
}

.demo-modal label {
    font-size: 14px;
    font-weight: 400;
    color: #1A181B;
    margin-bottom: 8px;
    display: block;
}

.demo-modal label .text-danger {
    color: #F94E9B !important;
}

.demo-modal .form-control {
    border-radius: 100px;
    padding: 14px 24px;
    border: 1px solid #E7E7E7;
    background: rgba(237, 237, 237, 0.26);
    margin-bottom: 20px;
    font-size: 15px;
    transition: background 0.2s ease;
}

.demo-modal .form-control:not(:placeholder-shown),
.demo-modal .form-control:focus,
.demo-modal .form-control:active {
    background: #ffffff !important;
}

/* Override browser autofill yellow background */
.demo-modal .form-control:-webkit-autofill,
.demo-modal .form-control:-webkit-autofill:hover,
.demo-modal .form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #1A181B !important;
    border-color: #E7E7E7;
}

.demo-modal .form-control:focus {
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
    border-color: var(--mareana-primary);
}

.demo-modal .btn-submit {
    width: 100%;
    background: #6D82F5;
    /* Periwinkle blue matching screenshot */
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 16px;
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.demo-modal .btn-submit:hover {
    background: #5A6ED9;
    /* darkened periwinkle */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25);
}

.form-legal {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 24px;
    line-height: 1.6;
}

.form-legal a {
    color: var(--mareana-primary);
    text-decoration: underline;
}

@media (max-width: 991px) {
    .modal-row {
        flex-direction: column;
    }

    .modal-visual-pane {
        display: none;
    }

    .modal-form-pane {
        flex: 1 1 auto;
        padding: 40px 24px;
    }

    .modal-pills {
        flex-wrap: wrap;
        /* Allow pills to wrap on narrow screens */
        border-radius: 12px;
    }

    .modal-pill {
        border-right: none;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
    }

    .modal-pill:last-child {
        border-bottom: none;
    }
}

/* ─── Toast Styling ─── */
.demo-success-toast {
    background: linear-gradient(90deg, #4361EE 0%, #4CC9F0 100%) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.4);
    font-weight: 500;
    opacity: 1 !important;
    color: #fff !important;
    min-width: 340px;
}

.demo-success-toast .toast-body {
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    opacity: 1 !important;
}

.toast-icon-wrapper {
    background: rgba(255, 255, 255, 0.25);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-success-toast .btn-close {
    margin: 0 !important;
}

/* 1024 laptop optimization */
@media (min-width: 992px) and (max-width: 1199.98px) {
    section {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    #hero-section {
        padding-top: 80px !important;
        padding-bottom: 72px !important;
    }

    .section-heading,
    .hero-heading,
    .hero-heading-gradient {
        font-size: 34px !important;
        line-height: 1.35 !important;
    }

    .hero-desc,
    .desc-text {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }

    .hero-diagram {
        padding: 28px !important;
    }

    .hiw-image-wrapper {
        height: 320px !important;
        padding-top: 20px !important;
    }

    .visual-box {
        min-height: 220px !important;
        padding: 20px !important;
    }

    .feature-item {
        padding: 44px 24px !important;
    }

    .feature-text-col {
        padding: 30px !important;
    }

    .team-card-inner {
        padding: 28px !important;
    }
}

/* Design Fix - 24 APR */
@media (max-width: 991.98px) {

    /* 1. Remove margin top for header-nav */
    .header-nav.mt-4 {
        margin-top: 0 !important;
    }

    /* 2. Hide hero-pill-outer */
    .hero-pill-outer {
        display: none !important;
    }

    /* 3 & 4. Content side heights and padding */
    .feature-text-col {
        height: auto !important;
        padding-bottom: 20px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 5. Reduce section paddings */
    section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* Ensure hero section padding is handled gracefully on mobile - APR 24 */
    #hero-section {
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }

    /* 6. Integration item left padding and circle icon padding */
    .integration-item {
        padding-left: 15px !important;
    }

    .integration-item .icon {
        padding: 10px !important;
    }

    /* 7. Reduce padding for team-card-inner */
    .team-card-inner {
        padding: 20px !important;
    }

    /* 8. Center the contact us and view all blogs buttons on mobile like standard component */
    .faq-cta-banner .btn-pill,
    .insights-section .btn-pill {
        margin-top: 15px;
    }

    .faq-cta-banner .col-md-4 {
        text-align: start;
    }

    /* 9. Fix hero section animated gradient overflowing */
    #hero-section .mesh-gradient-wrapper,
    #hero-section .hero-mesh-gradient {
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    #hero-section {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
    }
}

.blog-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-card-link:hover {
    text-decoration: none !important;
    color: inherit;
}

/* Header Styles */
.header-wrapper {
    position: relative;
    z-index: 100;
    padding-top: 24px;
}

.header-nav {
    padding: 8px 8px 8px 32px;
    width: 1100px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 9999;
}

.header-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.header-nav.mn-scrolled::before {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Design Fix - 24 APR: Dynamic Navbar Light Mode */
.header-nav.nav-light::before {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-nav.nav-light.mn-scrolled::before {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.15);
}

.header-nav.nav-light .nav-link,
.header-nav.nav-light .nav-dropdown {
    color: var(--foreground-primary) !important;
}

.header-nav.nav-light .brand-logo {
    filter: invert(1) brightness(0.2);
}

/* Ensure hamburger icon turns dark in light mode */
.header-nav.nav-light #hdrHamburger span {
    background-color: var(--foreground-primary);
}

.logo-container {
    width: 141px;
    height: 32px;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--foreground-white) !important;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s;
    line-height: 1.3;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-dropdown {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 400;
    color: white;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.3s;
    padding: 0;
    line-height: 1.3;
}

.nav-dropdown:hover {
    opacity: 0.8;
}

.nav-dropdown-wrapper {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu-glass {
    position: absolute;
    top: 100%;
    margin-top: 18px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #ffffff;
    border: 1px solid var(--mareana-border);
    border-radius: 16px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.dropdown-menu-glass::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    height: 25px;
}

.nav-dropdown-wrapper:hover .dropdown-menu-glass {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu-glass a {
    color: var(--foreground-secondary) !important;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 15px;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu-glass a:hover {
    background: #f8f9fa;
    padding-left: 24px;
    color: var(--mareana-primary) !important;
}

.chevron-icon {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.chevron-icon path {
    stroke: currentColor;
}

.nav-dropdown-wrapper:hover .chevron-icon {
    transform: rotate(180deg);
}

@media (min-width: 992px) {
    .hdr-mobile-menu {
        display: none !important;
    }

    .hdr-hamburger {
        display: none !important;
    }
}
