/* =====================================================
   REVAPEX AI — Premium Homepage Stylesheet
   Brand: Deep Navy #0F1E3A | AI Blue #2C66F5
   ===================================================== */

/* ─── CSS VARIABLES ─── */
:root {
    --navy: #0F1E3A;
    --navy-deep: #0a1428;
    --navy-glass: rgba(15, 30, 58, 0.7);
    --blue: #2C66F5;
    --blue-light: rgba(44, 102, 245, 0.1);
    --blue-glow: rgba(44, 102, 245, 0.08);
    --text-dark: #1A1A1A;
    /* Kept for compatibility but minimally used */
    --text-light: #F7F9FC;
    --text-muted-dark: #E5EAF2;
    --text-muted: #8b9bb4;
    --bg-light: #F7F9FC;
    /* Kept for compatibility */
    --bg-dark: #0a1428;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-card: rgba(44, 102, 245, 0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-blue: 0 8px 40px rgba(44, 102, 245, 0.15);
    --transition: 0.3s ease;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

strong {
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── TOP TRUST BAR ─── */
.top-trust-bar {
    background: var(--navy);
    color: var(--text-muted-dark);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-trust-bar .bar-divider {
    opacity: 0.3;
}

.top-trust-bar .bar-accent {
    color: var(--blue);
    font-weight: 600;
}

/* ─── NAVBAR ─── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow var(--transition), background var(--transition);
}

.top-trust-bar + .navbar {
    top: 37px;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 68px;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
    font-family: var(--font);
}

.nav-dropdown-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-toggle svg {
    width: 10px;
    height: 10px;
    transition: transform var(--transition);
}

.nav-item-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
    padding: 8px;
}

.nav-item-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.86rem;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.nav-dropdown-menu a small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 6px 0;
}

.dd-icon {
    font-size: 0.9rem;
}

.nav-cta {
    background: var(--blue);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    letter-spacing: 0.01em;
}

.nav-cta:hover {
    background: #1a50d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(44, 102, 245, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-lg {
    font-size: 1rem;
    padding: 15px 32px;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 0 20px rgba(44, 102, 245, 0.4);
}

.btn-primary:hover {
    background: #1a50d9;
    border-color: #1a50d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 102, 245, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-cta-white {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
    font-size: 1.05rem;
    padding: 16px 40px;
    font-weight: 700;
}

.btn-cta-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ─── SECTION TAG ─── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted-dark);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--navy-deep);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%,
            rgba(44, 102, 245, 0.12) 0%,
            transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 100px;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0 0 24px;
}

.hero-title-accent {
    color: #2C66F5;
    text-shadow: 0 0 30px rgba(44, 102, 245, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: var(--text-muted-dark);
    max-width: 780px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-trust {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-micro {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    margin-bottom: 48px;
}

/* ─── HERO STATS ─── */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
    margin-top: 24px;
}

/* ─── HERO IMAGE & EFFECTS ─── */
.hero-image-wrapper {
    position: relative;
    perspective: 1200px;
    animation: floatImage 6s ease-in-out infinite;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ui-img {
    width: 115%;
    max-width: none;
    height: auto;
    border-radius: 12px;
    transform: rotateY(-8deg) rotateX(6deg) scale(1.02);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-ui-img:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

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

    50% {
        transform: translateY(-12px);
    }

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

.hero-stat-item {
    text-align: center;
    position: relative;
}

.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-hint span {
    display: block;
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-hint span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--blue);
    border-radius: 2px;
    animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.7s ease forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ─── TRUST BAR ─── */
.trust-bar {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0;
}

.trust-bar-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.trust-badge:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 16px rgba(44, 102, 245, 0.12);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    color: var(--blue);
    flex-shrink: 0;
}

/* ─── SECTIONS ─── */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--navy);
}

.section-light {
    background: var(--navy-deep);
}

.section-inner {
    max-width: 820px;
}

.section-header-block {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 64px;
}

.section-heading {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-heading-light {
    color: #fff;
}

.section-heading-dark {
    color: var(--text-light);
    /* Changed for dark theme */
}

.section-subheading {
    font-size: 1.05rem;
    margin-top: -8px;
}

.section-body {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-body-light {
    color: var(--text-muted-dark);
}

.section-body-dark {
    color: var(--text-muted);
    /* Changed for dark theme */
}

/* ─── STATS ROW ─── */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--transition), transform var(--transition);
}

.stat-item:hover {
    background: rgba(44, 102, 245, 0.06);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.83rem;
    color: var(--text-muted-dark);
    line-height: 1.5;
    font-weight: 500;
}

/* ─── INTERACTIVE METHOD LAYOUT ─── */
.method-interactive-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    margin-top: 64px;
    align-items: center;
    /* MIDDLE ALIGNMENT AS REQUESTED */
}

.method-interactive-left {
    padding-bottom: 0;
}

.method-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-feature-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: transparent;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.6;
}

.method-feature-item:hover {
    opacity: 0.8;
}

.method-feature-item.active {
    background: var(--bg-card);
    border-left-color: var(--blue);
    opacity: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: color 0.4s ease;
}

.method-feature-item.active .feature-icon {
    background: var(--blue-light);
}

.method-feature-item.active .feature-icon svg {
    color: var(--blue);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-body-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease;
}

.method-feature-item.active .feature-body-wrapper {
    max-height: 300px;
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 8px;
}

.method-interactive-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.method-interactive-img-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.01);
    transition: all 0.3s ease;
    width: 100%;
}

.method-interactive-img-card img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-height: 500px;
    width: 100%;
    object-fit: contain;
    z-index: 2;
    position: relative;
    transition: opacity 0.3s ease;
}

.method-interactive-img-card img.fade-out {
    opacity: 0;
}

.img-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(44, 102, 245, 0.15) 0%, transparent 60%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img-glow-bg.active {
    opacity: 1;
}




/* ─── PILLARS GRID ─── */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
    background: rgba(44, 102, 245, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.pillar-card-featured {
    background: rgba(44, 102, 245, 0.07);
    border-color: rgba(44, 102, 245, 0.55);
    box-shadow: 0 0 40px rgba(44, 102, 245, 0.1);
}

.pillar-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.pillar-number {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 20px;
    opacity: 0.7;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    background: rgba(44, 102, 245, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--blue);
    transition: background var(--transition);
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar-card:hover .pillar-icon {
    background: rgba(44, 102, 245, 0.2);
}

.pillar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.pillar-subtitle {
    font-size: 0.83rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 14px;
    opacity: 0.85;
}

.pillar-body {
    font-size: 0.88rem;
    color: var(--text-muted-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pillar-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blue);
    background: rgba(44, 102, 245, 0.1);
    border: 1px solid rgba(44, 102, 245, 0.2);
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

/* ─── AUTHORITY ─── */
.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.authority-trust-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.trust-icon-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition), transform var(--transition);
}

.trust-icon-item:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
}

.trust-icon-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--blue);
    margin-top: 2px;
}

.trust-icon-item span {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-light);
    /* Dark theme adjustment */
    line-height: 1.4;
}

/* ─── HOW IT WORKS ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.step-connector {
    position: absolute;
    top: 27px;
    left: 56px;
    width: calc(100% - 56px + 24px);
    height: 2px;
    background: rgba(44, 102, 245, 0.15);
    z-index: 0;
    overflow: hidden;
}

.step-connector::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--blue);
    transform-origin: left;
    animation: drawConnector 4s infinite;
}

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

.step-card:nth-child(2) .step-connector::after {
    animation-delay: 1s;
}

.step-card:nth-child(3) .step-connector::after {
    animation-delay: 2s;
}

@keyframes drawConnector {
    0% {
        transform: scaleX(0);
        opacity: 1;
    }

    25% {
        transform: scaleX(1);
        opacity: 1;
    }

    80% {
        transform: scaleX(1);
        opacity: 1;
    }

    90% {
        transform: scaleX(1);
        opacity: 0;
    }

    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .step-connector {
        display: none;
    }
}

.step-card {
    padding: 0 24px 0 0;
    position: relative;
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 102, 245, 0.1);
    border: 2px solid var(--border-card);
    border-radius: 50%;
    font-size: 1rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.step-body {
    font-size: 0.86rem;
    color: var(--text-muted-dark);
    line-height: 1.7;
}

/* ─── CTA BAND ─── */
.cta-band {
    background: var(--blue);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-band::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-band-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-body {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.cta-micro {
    margin-top: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.02em;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--navy);
    padding: 72px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 64px;
    padding-bottom: 56px;
}

.footer-logo {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-address {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-contact {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 2;
}

.footer-contact a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--blue);
}

.footer-col-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links li+li {
    margin-top: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-legal {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 24px;
    line-height: 1.6;
}

.footer-disclaimer {
    font-size: 0.76rem;
    color: rgba(107, 114, 128, 0.65);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 24px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--navy-deep);
    letter-spacing: 0.02em;
}

/* ─── RESPONSIVE ─── */
/* ─── RESPONSIVE: TABLET (≤1024px) ─── */
@media (max-width: 1024px) {

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .pillars-grid,
    .differentiator-row,
    .stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .steps-grid::before {
        display: none;
    }

    .authority-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .authority-trust-icons {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col.footer-brand {
        grid-column: 1 / -1;
    }

    .method-interactive-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .method-feature-item.active .feature-body-wrapper,
    .method-feature-item .feature-body-wrapper {
        max-height: none;
        opacity: 1;
    }

    .method-feature-item {
        opacity: 1;
        background: var(--bg-card);
        border-left-color: var(--blue);
    }
}

/* ─── RESPONSIVE: MOBILE (≤768px) ─── */
@media (max-width: 768px) {

    /* Trust bar */
    .top-trust-bar {
        gap: 6px;
        font-size: 0.7rem;
        padding: 8px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-trust-bar .bar-divider {
        display: none;
    }

    /* Navbar */
    .navbar {
        top: 0;
    }

    .nav-container {
        height: 60px;
        gap: 16px;
    }

    .nav-logo-img {
        height: 44px;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        inset: 0;
        background: var(--navy);
        padding: 100px 32px 40px;
        z-index: 999;
        gap: 8px;
        overflow-y: auto;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
        color: rgba(255, 255, 255, 0.85);
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        pointer-events: all;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
        margin-top: 8px;
    }

    .nav-cta {
        display: none;
    }

    /* Sections */
    .section {
        padding: 64px 0;
    }

    .section-header-block {
        margin-bottom: 40px;
    }

    .section-inner {
        max-width: 100%;
    }

    /* Hero */
    .hero {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 80px;
        padding-bottom: 60px;
        gap: 0;
        justify-items: center;
    }

    .hero-text {
        display: contents;
    }

    .section-tag {
        order: 1;
        margin-bottom: 20px;
    }

    .hero-title {
        order: 2;
        text-align: center;
        width: 100%;
        margin-bottom: 32px;
    }

    .hero-image-wrapper {
        animation: none;
        opacity: 1;
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 32px auto;
    }

    .hero-subtitle {
        order: 4;
        text-align: center;
        width: 100%;
        margin-bottom: 32px;
    }

    .hero-ui-img {
        width: 112% !important;
        max-width: none !important;
        height: auto !important;
        transform: translateX(4%) !important;
        margin: 0 !important;
        display: block !important;
    }

    .hero-ui-img:hover {
        transform: scale(1.02);
    }

    .hero-ctas {
        order: 5;
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-bottom: 32px;
    }

    .hero-stats {
        order: 6;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .section-tag {
        margin-bottom: 20px;
    }

    .hero-scroll-hint {
        display: none;
    }

    /* Client logos */
    .client-logos-section {
        padding: 2rem 0;
    }

    .marquee-content {
        gap: 2rem;
        padding-right: 2rem;
    }

    .marquee-content img {
        height: 36px;
        padding: 6px 12px;
    }

    /* Trust badges */
    .trust-badges {
        gap: 8px 12px;
    }

    .trust-badge {
        font-size: 0.78rem;
        padding: 6px 12px;
    }

    /* Method interactive */
    .method-interactive-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 40px;
    }

    .method-interactive-right {
        order: -1;
    }

    .method-feature-item {
        opacity: 1;
        background: var(--bg-card);
        border-left-color: var(--blue);
        padding: 16px;
    }

    .method-feature-item.active .feature-body-wrapper,
    .method-feature-item .feature-body-wrapper {
        max-height: none;
        opacity: 1;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-desc {
        font-size: 0.88rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .method-interactive-img-card {
        padding: 16px;
    }

    .method-interactive-img-card img {
        max-height: 260px;
    }

    /* Pillars */
    .pillars-grid,
    .differentiator-row,
    .stat-row,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card {
        padding: 24px 20px;
    }

    /* Authority */
    .authority-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .authority-trust-icons {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* Steps */
    .step-connector {
        display: none;
    }

    .steps-grid {
        gap: 24px;
    }

    .step-card {
        padding: 0;
    }

    /* CTA band */
    .cta-band {
        padding: 64px 0;
    }

    .btn-cta-white {
        width: 100%;
        font-size: 0.95rem;
        padding: 14px 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ─── RESPONSIVE: SMALL MOBILE (≤480px) ─── */
@media (max-width: 480px) {

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.9rem;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .cta-heading {
        font-size: 1.6rem;
    }

    .top-trust-bar {
        font-size: 0.65rem;
        gap: 4px;
    }

    .client-logos-heading {
        font-size: 0.75rem;
    }

    .marquee-content img {
        height: 28px;
        padding: 4px 8px;
    }

    .trust-badge {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .authority-trust-icons {
        grid-template-columns: 1fr;
    }

    .pillar-card {
        padding: 20px 16px;
    }

    .method-feature-item {
        gap: 12px;
        padding: 14px;
    }

    .feature-title {
        font-size: 0.95rem;
    }

    .section-body {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .cta-body {
        font-size: 0.95rem;
    }

    .dc-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ─── DISCOVERY CALL POPUP MODAL ─── */
.dc-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.dc-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.dc-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
}

.dc-backdrop.active .dc-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Top blue accent strip */
.dc-modal::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), #6b9fff);
    border-radius: 16px 16px 0 0;
}

.dc-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
    z-index: 10;
}

.dc-close:hover {
    background: var(--blue);
    color: #fff;
}

.dc-modal-header {
    padding: 28px 36px 0;
    text-align: center;
}

.dc-modal-icon {
    width: 52px;
    height: 52px;
    background: rgba(44, 102, 245, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--blue);
}

.dc-modal-icon svg {
    width: 26px;
    height: 26px;
}

.dc-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.dc-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Form */
.dc-form {
    padding: 24px 36px 32px;
}

.dc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.dc-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.dc-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.dc-req {
    color: var(--blue);
}

.dc-field input,
.dc-field select,
.dc-field textarea {
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.dc-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
    cursor: pointer;
}

.dc-field input:focus,
.dc-field select:focus,
.dc-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(44, 102, 245, 0.12);
    background: #fff;
}

.dc-field input.dc-input-error,
.dc-field select.dc-input-error,
.dc-field textarea.dc-input-error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.dc-field textarea {
    resize: vertical;
    min-height: 96px;
}

.dc-err {
    font-size: 0.76rem;
    color: #e53e3e;
    margin-top: 4px;
    min-height: 16px;
    font-weight: 500;
}

.dc-privacy {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.dc-privacy a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dc-submit {
    width: 100%;
    background: var(--blue);
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    letter-spacing: 0.01em;
}

.dc-submit:hover:not(:disabled) {
    background: #1a50d9;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(44, 102, 245, 0.35);
}

.dc-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success state */
.dc-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 36px 48px;
    gap: 12px;
}

.dc-success-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.dc-success h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.dc-success p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 380px;
}

/* Responsive popup */
@media (max-width: 600px) {
    .dc-modal {
        max-height: 96vh;
        border-radius: 12px;
    }

    .dc-modal-header {
        padding: 24px 20px 0;
    }

    .dc-form {
        padding: 20px 20px 28px;
    }

    .dc-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dc-title {
        font-size: 1.2rem;
    }
}

/* ========== CLIENT LOGOS MARQUEE ========== */
.client-logos-section {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    overflow: hidden;
}

.client-logos-heading {
    text-align: center;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
}

.logo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 30s linear infinite;
}

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

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-right: 4rem;
}

.marquee-content img {
    height: 48px;
    object-fit: contain;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.marquee-content img:hover {
    transform: scale(1.05);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}