/* ============================================
   LEDGER SUMMIT — SERVICES HUB
   Matches the home page design system exactly
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens (identical to home page) ── */
:root {
    --navy: #0a1628;
    --navy-light: #121f38;
    --navy-mid: #1a2d4e;
    --blue: #3b6cf5;
    --blue-hover: #2b5ae0;
    --blue-glow: rgba(59, 108, 245, 0.3);
    --blue-subtle: rgba(59, 108, 245, 0.08);

    --teal: #06d6a0;
    --teal-glow: rgba(6, 214, 160, 0.2);
    --amber: #f4a261;
    --coral: #ef476f;

    --white: #ffffff;
    --off-white: #f8f9fc;
    --gray-50: #f0f2f5;
    --gray-100: #e4e7ec;
    --gray-200: #c8cdd6;
    --gray-400: #8892a4;
    --gray-600: #4a5568;
    --gray-800: #1e293b;

    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --h1: clamp(2.5rem, 5vw, 4rem);
    --h2: clamp(1.8rem, 3.5vw, 2.8rem);
    --h3: clamp(1.2rem, 2vw, 1.5rem);
    --body: 1rem;
    --small: 0.875rem;

    --section-pad: clamp(4rem, 8vw, 7rem);
    --container: 1200px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px var(--blue-glow);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    font-size: var(--body);
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ── Reusable Components (match home page) ── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-subtle);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-label-light {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: var(--h2);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Light text variant for dark sections */
.dark-section .section-header h2 {
    color: var(--white);
}

.dark-section .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

.dark-section .section-label {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--blue);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px var(--blue-glow);
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 108, 245, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--blue);
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--blue);
    transition: all var(--transition);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   1. NAVIGATION (from home page)
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--blue);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px var(--blue-glow);
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-nav.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

/* ========================================
   2. HERO — Dashboard Preview (from home page)
   ======================================== */
.hero-services {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(165deg, #1a3a6e 0%, #1e4a8a 30%, #2260a8 60%, #1a3f7a 100%);
    padding-bottom: 3.5rem;
}

/* ---- Particle Canvas ---- */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ---- Animated Aurora Orbs ---- */
.hero-aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    will-change: transform;
}

.aurora-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(130, 185, 255, 0.6) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: aurora-drift-1 12s ease-in-out infinite;
}

.aurora-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(160, 210, 255, 0.55) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: aurora-drift-2 15s ease-in-out infinite;
}

.aurora-orb.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(170, 210, 255, 0.5) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: aurora-drift-3 10s ease-in-out infinite;
}

@keyframes aurora-drift-1 {

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

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

    66% {
        transform: translate(-30px, 60px) scale(0.95);
    }
}

@keyframes aurora-drift-2 {

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

    33% {
        transform: translate(-60px, -40px) scale(1.15);
    }

    66% {
        transform: translate(40px, -20px) scale(0.9);
    }
}

@keyframes aurora-drift-3 {

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

    50% {
        transform: translate(-50px, 30px) scale(1.2);
    }
}

/* ---- Hero Content (centered, like home page) ---- */
.hero-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(var(--section-pad) + 2rem);
    padding-bottom: 4rem;
}

.hero-text {
    max-width: 780px;
}

/* ---- Shimmer Badge ---- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    background: rgba(130, 190, 255, 0.2);
    border: 1px solid rgba(160, 210, 255, 0.4);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-badge.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: shimmer-sweep 3s ease-in-out infinite;
}

@keyframes shimmer-sweep {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(160, 210, 255, 1);
    box-shadow: 0 0 12px rgba(160, 210, 255, 0.7);
    animation: dot-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dot-pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-services h1 {
    font-size: var(--h1);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0;
}

/* ---- Glowing CTA ---- */
.btn-primary.btn-glow {
    position: relative;
    overflow: visible;
}

.btn-primary.btn-glow::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(80, 150, 255, 0.8), rgba(160, 210, 255, 0.7), rgba(80, 150, 255, 0.8));
    z-index: -1;
    opacity: 0.5;
    filter: blur(12px);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

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

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* ========================================
   SERVICE QUICK-NAV — Catalog Grid
   ======================================== */
.svc-quicknav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 900px;
    margin-top: 3rem;
    animation: qn-reveal 0.8s ease-out 0.4s both;
}

@keyframes qn-reveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.svc-qn-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 0.8rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.svc-qn-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(160, 210, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    color: var(--white);
}

.svc-qn-card svg {
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.svc-qn-card:hover svg {
    opacity: 1;
}

.svc-qn-card span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    line-height: 1.3;
}

.svc-qn-card small {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.35;
    display: block;
}

/* NEW badge on cards */
.svc-qn-new::after {
    content: 'NEW';
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #06d6a0, #04b888);
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem;
    border-radius: 100px;
    line-height: 1;
}

/* ---- Trust Bar ---- */
.hero-trust-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-trust-bar>span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.trust-logo {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.01em;
}

.trust-dot {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.6rem;
}

/* ========================================
   3. TRUST METRICS BAR
   ======================================== */
.trust-bar {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.trust-bar-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.trust-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.trust-label {
    font-size: 0.82rem;
    color: var(--gray-400);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-100);
}

/* ========================================
   4. SERVICES GRID
   ======================================== */
.services-grid-section {
    background: var(--off-white);
    padding: var(--section-pad) 0;
}

.svc-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.core-services-section {
    padding: 4rem 0 2rem;
    background: var(--off-white);
}

.core-services-section .section-header {
    margin-bottom: 3rem;
}

.core-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.services-catalog-section {
    padding-top: 3rem;
    background: var(--off-white);
}

/* ── Pillars Section v4 (Clean Light Theme) ── */
.pillars-section {
    padding: clamp(5rem, 8vw, 7rem) 0;
    background: #ffffff;
}

.pillars-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-inline: auto;
}

.pillars-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
    background: rgba(59, 108, 245, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 100px;
}

.pillars-eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.pillars-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.pillars-header h2 span {
    color: var(--blue);
}

.pillars-header p {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.pillars-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1060px;
    margin: 0 auto 4rem;
}

.pcard {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pcard:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.pcard__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.pcard__icon {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pcard__icon svg {
    width: 32px;
    height: 32px;
}

.pcard__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pcard__desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.pcard__stat {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.pcard__stat-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    letter-spacing: -0.03em;
}

.pcard__stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pcard__tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.pcard__tags span {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    text-align: center;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--gray-600);
    border: 1px solid #e2e8f0;
}

.pcard__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--blue);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

.pcard__btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.pcard__btn--secondary {
    background: #ffffff;
    color: var(--gray-800);
    border: 1px solid #cbd5e1;
}

.pcard__btn--secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    color: var(--gray-900);
}

.pcard__btn svg {
    transition: transform 0.3s ease;
}

.pcard__btn:hover svg {
    transform: translateX(4px);
}

/* Guarantees */
.pillars-guarantees {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 1rem;
}

.pillars-guarantee {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pillars-guarantee__icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillars-guarantee__icon svg {
    width: 24px;
    height: 24px;
}

.pillars-guarantee strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.1rem;
}

.pillars-guarantee span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

@media (max-width: 992px) {
    .pillars-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .pillars-guarantees {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        max-width: 300px;
        margin: 0 auto;
    }
}

.svc-hub-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

/* Gradient border on hover using pseudo-element */
.svc-hub-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: linear-gradient(135deg, #3b6cf5, #38bdf8, #818cf8);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.svc-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(59, 108, 245, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
}

.svc-hub-card:hover::before {
    opacity: 1;
}

/* Make actual card background sit on top of gradient border */
.svc-hub-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #ffffff;
    border-radius: 19px;
    z-index: -1;
}

/* Content wrapper needs to be above the after element */
.svc-hub-card>* {
    z-index: 2;
}

.svc-hub-card .card-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    align-self: flex-start;
}

.svc-hub-card:hover .card-icon {
    border-color: transparent;
    background: linear-gradient(135deg, #3b6cf5, #2563eb);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.svc-hub-card .card-icon svg {
    width: 28px;
    height: 28px;
    color: #3b6cf5;
    transition: all 0.4s ease;
}

.svc-hub-card:hover .card-icon svg {
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.svc-hub-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.3;
}

.svc-hub-card .card-desc {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.svc-hub-card .card-features {
    margin-bottom: 2.5rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.svc-hub-card .card-features li {
    font-size: 0.9rem;
    color: #64748b;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.4;
}

/* Using SVG checkmark instead of dot */
.svc-hub-card .card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b6cf5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 0;
    background-color: transparent;
}

.card-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: color 0.3s ease;
}

.svc-hub-card:hover .card-link {
    gap: 0.8rem;
    color: #3b6cf5;
}

/* NEW badge */
.new-badge {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    background: #f1f5f9;
    color: #3b6cf5;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.svc-hub-card:hover .new-badge {
    background: #3b6cf5;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(59, 108, 245, 0.3);
}

/* ========================================
   5. SPEED & SAVINGS (Navy section)
   ======================================== */
.speed-section {
    background: #f8fafc;
    padding: var(--section-pad) 0;
    color: var(--gray-900);
}

.speed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.speed-comparison {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.speed-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
}

.speed-col {
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.speed-col.old {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.speed-col.new {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.speed-col-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.speed-col.old .speed-col-label {
    color: var(--gray-500);
}

.speed-col.new .speed-col-label {
    color: var(--blue);
}

.speed-col-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
}

.speed-col.new .speed-col-value {
    color: var(--blue);
}

.speed-arrow {
    font-size: 1.5rem;
    color: #cbd5e1;
}

.speed-text h2 {
    font-size: var(--h2);
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.speed-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ========================================
   6. WHY LEDGER SUMMIT
   ======================================== */
.why-section {
    background: var(--white);
    padding: var(--section-pad) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: var(--blue-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.why-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue);
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ========================================
   7. PROCESS TIMELINE
   ======================================== */
.process-section {
    background: var(--off-white);
    padding: var(--section-pad) 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.5%;
    right: 16.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    z-index: 0;
}

.process-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px var(--blue-glow);
    position: relative;
    z-index: 2;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.process-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.process-card p {
    font-size: 0.92rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ========================================
   8. REVIEWS
   ======================================== */
.reviews-section {
    background: var(--white);
    padding: var(--section-pad) 0;
}

.rev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.rev-card {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
}

.rev-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 108, 245, 0.2);
}

.rev-stars {
    color: var(--amber);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.rev-card blockquote {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-style: normal;
}

.rev-metric {
    display: inline-block;
    background: rgba(59, 108, 245, 0.08);
    /* Light blue bg */
    color: var(--blue);
    /* Brand blue text */
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 108, 245, 0.15);
}

.rev-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rev-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.rev-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.rev-role {
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* ========================================
   9. VIDEO GALLERY (Navy)
   ======================================== */
.video-section {
    background: var(--navy);
    padding: var(--section-pad) 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 108, 245, 0.4);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--navy-mid);
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all var(--transition);
}

.video-card:hover .video-thumb img {
    opacity: 1;
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(59, 108, 245, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.video-card:hover .play-btn {
    background: var(--blue-hover);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.2rem 1.5rem;
}

.video-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.video-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.video-cta {
    text-align: center;
}

/* ========================================
   10. INTEGRATIONS BAR
   ======================================== */
.integrations-section {
    background: var(--off-white);
    padding: 3.5rem 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.integrations-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.integrations-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.integration-item .int-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* ========================================
   11. FAQ ACCORDION
   ======================================== */
.faq-section {
    background: var(--white);
    padding: var(--section-pad) 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(59, 108, 245, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.3rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    color: var(--gray-800);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font);
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.3rem;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--gray-800);
}

/* ========================================
   12. FINAL CTA (Navy gradient)
   ======================================== */
.final-cta {
    background: var(--navy);
    padding: var(--section-pad) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(59, 108, 245, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.final-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: var(--h2);
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
}

.final-cta .trust-reminder {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.final-cta .trust-reminder span {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   13. FOOTER
   ======================================== */
.footer {
    background: linear-gradient(165deg, #1a3a6e 0%, #1e4a8a 30%, #2260a8 60%, #1a3f7a 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
    border-top: none;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-brand img {
    height: 30px;
}

.footer-brand span {
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-size: var(--small);
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

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

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   LIGHT THEME OVERRIDES FOR CTA & FOOTER
   ======================================== */
.final-cta.final-cta-light {
    background: #f8fafc;
}

.final-cta.final-cta-light::before {
    display: none;
}

.final-cta-light h2 {
    color: var(--gray-900);
}

.final-cta-light p {
    color: var(--gray-600);
}

.final-cta-light .trust-reminder {
    color: var(--gray-500);
}

.final-cta-light .trust-reminder span {
    color: var(--gray-900);
}


/* Scroll Top */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--blue-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats-panel {
        max-width: 500px;
        margin: 2rem auto 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .speed-grid {
        grid-template-columns: 1fr;
    }

    .speed-text {
        text-align: center;
    }

    .speed-text p {
        margin-inline: auto;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-services {
        padding-top: 7rem;
    }

    .hero-services h1 {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }

    .hero-stats-panel {
        grid-template-columns: 1fr 1fr;
    }

    .trust-bar-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .trust-divider {
        width: 60px;
        height: 1px;
    }

    /* Fix Trust Bar Overflow in Hero */
    .hero-trust-bar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        text-align: center;
    }

    .hero-trust-bar>span {
        font-size: 0.65rem;
    }

    .trust-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 0.8rem;
    }

    .trust-logo {
        font-size: 0.75rem;
    }

    .svc-grid-4 {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .speed-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .speed-arrow {
        transform: rotate(90deg);
        text-align: center;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        display: none;
    }

    .rev-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .integrations-logos {
        gap: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .final-cta .trust-reminder {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats-panel {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* ========================================
   10. TEAM v2 — Creative About section
   ======================================== */
.team.team-v2 {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--white) 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.team.team-v2::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 108, 245, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── Centered header ─── */
.team-v2 .team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-v2 .team-header h2 {
    font-size: var(--h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 1rem;
    color: var(--gray-800);
}

.team-header-sub {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 640px;
    margin: 1.2rem auto 0;
}

/* ─── 3-card grid ─── */
.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

/* ─── Individual team card ─── */
.team-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(59, 108, 245, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(59, 108, 245, 0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 64px rgba(59, 108, 245, 0.15),
        0 0 0 2px rgba(59, 108, 245, 0.12);
}

/* ─── Photo area ─── */
.team-card-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #e8ecf5 0%, #d5ddf0 100%);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-card-photo img {
    transform: scale(1.05);
}

/* Gradient overlay on photo */
.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 50%,
            rgba(26, 58, 110, 0.04) 100%);
    pointer-events: none;
    transition: all 0.5s ease;
}

.team-card:hover .team-card-overlay {
    background: linear-gradient(180deg,
            transparent 40%,
            rgba(59, 108, 245, 0.08) 100%);
}

/* Floating badge on photo */
.team-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    border: 1px solid rgba(59, 108, 245, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transition: all 0.4s ease;
}

.team-card:hover .team-card-badge {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(59, 108, 245, 0.3);
}

/* ─── Card body (text) ─── */
.team-card-body {
    padding: 1.5rem 1.8rem 1.8rem;
}

.team-card-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-800);
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.team-card-role {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.02em;
}

.team-card-bio {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.65;
    margin-top: 0.8rem;
}

/* ─── Tagline + Stats block ─── */
.team-tagline-block {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 60%, #2a5aaa 100%);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-tagline-block::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 30% 40%, rgba(90, 160, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.team-tagline-block blockquote {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin: 0 0 2.5rem;
    position: relative;
    z-index: 1;
}

.team-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.team-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.team-stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.03em;
}

.team-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.team-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .team-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-tagline-block {
        padding: 2rem 1.5rem;
    }

    .team-stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .team-stat-divider {
        width: 48px;
        height: 1px;
    }
}



/* ========================================
   11. VIDEO SHOWCASE — Dark section
   ======================================== */
.videos {
    padding: var(--section-pad) 0;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.videos::before {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 108, 245, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Light video section variant */
.videos-light {
    background: linear-gradient(180deg, #f0f4ff 0%, var(--off-white) 100%);
    color: var(--gray-800);
}

.videos-light::before {
    background: radial-gradient(circle, rgba(59, 108, 245, 0.04) 0%, transparent 70%);
}

.videos.videos-light .section-header h2 {
    color: var(--gray-800);
}

.videos.videos-light .section-header p {
    color: var(--gray-500);
}

.videos-light .video-card {
    background: var(--white);
    border-color: var(--gray-100);
}

.videos-light .video-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 108, 245, 0.2);
}

.videos-light .video-card h3 {
    color: var(--gray-800);
}

.videos-light .video-card p {
    color: var(--gray-400);
}

.videos-yt-link {
    color: var(--blue);
    font-weight: 600;
}

.videos-cta-wrap {
    text-align: center;
    margin-top: 2.5rem;
}

.videos.videos-light .btn-secondary {
    color: var(--blue);
    background: rgba(59, 108, 245, 0.06);
    border-color: rgba(59, 108, 245, 0.2);
}

.videos.videos-light .btn-secondary:hover {
    background: rgba(59, 108, 245, 0.12);
    border-color: rgba(59, 108, 245, 0.3);
}

.videos .section-header h2 {
    color: var(--white);
}

.videos .section-header p {
    color: rgba(255, 255, 255, 0.5);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.videos-grid-6 {
    grid-template-columns: repeat(3, 1fr);
}

.video-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 108, 245, 0.3);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumb iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-card .video-info {
    padding: 1.2rem;
}

.video-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.video-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}