/* ===== expanding-video.css ===== */
/* ========================================
   Expanding video hero (clip-path on scroll)
   Technique: https://engineering.deptagency.com/making-a-dynamically-expanding-video-in-css
   Ambient orbs: https://www.sliderrevolution.com/resources/css-animated-background/
   ======================================== */

.video-hero {
    position: relative;
    z-index: 2;
    height: 100vh;
    min-height: 600px;
    margin-top: -80px;
}

.video-hero__pin {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

/* Full-bleed video layer */
.video-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #1e0b2f;
}


.video-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 11, 47, 0.55) 0%,
        rgba(30, 11, 47, 0.35) 45%,
        rgba(76, 29, 149, 0.45) 100%
    );
    pointer-events: none;
}

/* Frame removed — card renders directly on video */
.video-hero__frame {
    display: none !important;
}
.video-hero__ambient {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0.55;
}

.video-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    will-change: transform;
}

.video-hero__orb--1 {
    width: min(52vw, 520px);
    height: min(52vw, 520px);
    left: -8%;
    top: 12%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.9), transparent 70%);
    animation: orbDrift1 14s ease-in-out infinite;
}

.video-hero__orb--2 {
    width: min(44vw, 440px);
    height: min(44vw, 440px);
    right: -6%;
    top: 28%;
    background: radial-gradient(circle, rgba(76, 29, 149, 0.85), transparent 72%);
    animation: orbDrift2 18s ease-in-out infinite;
}

.video-hero__orb--3 {
    width: min(60vw, 600px);
    height: min(60vw, 600px);
    left: 25%;
    bottom: -25%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 68%);
    animation: orbDrift3 16s ease-in-out infinite;
}

@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 24px) scale(1.08); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-32px, 18px) scale(1.12); }
}

@keyframes orbDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

/* Hero copy over video */
.video-hero__content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1280px;
    left: 50%;
    transform: translateX(-50%);
    padding: 100px 24px 80px;
    margin: 0;
    box-sizing: border-box;
}

.video-hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
}

.video-hero__content h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1e0b2f;
    margin-bottom: 20px;
}

.video-hero__content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}

.video-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Bottom fade for scroll cue on video */
.video-hero__pin::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(15, 5, 25, 0.5) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Explore / scroll — minimal pro pattern: track + thumb + label */
.video-hero__explore {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.75);
    opacity: 0;
    animation: exploreFadeIn 1s ease 1.2s forwards;
    transition: color 0.25s ease, transform 0.25s ease;
}

.video-hero__explore:hover {
    color: #e9d5ff;
    transform: translateX(-50%) translateY(-2px);
}

.video-hero__explore:focus-visible {
    outline: 2px solid rgba(124, 58, 237, 0.5);
    outline-offset: 6px;
    border-radius: 4px;
}

.video-hero__explore-indicator {
    position: relative;
    width: 1px;
    height: 44px;
    flex-shrink: 0;
}

.video-hero__explore-track {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(124, 58, 237, 0.18) 35%,
        rgba(124, 58, 237, 0.45) 100%
    );
    border-radius: 1px;
}

.video-hero__explore-thumb {
    position: absolute;
    left: 50%;
    top: 0;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #7c3aed;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.45);
    animation: exploreThumb 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.video-hero__explore:hover .video-hero__explore-thumb {
    animation-duration: 1.6s;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.6);
}

.video-hero__explore-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
}

@keyframes exploreThumb {
    0% {
        top: 0;
        opacity: 0;
        transform: scale(0.6);
    }
    12% {
        opacity: 1;
        transform: scale(1);
    }
    78% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        top: calc(100% - 5px);
        opacity: 0;
        transform: scale(0.6);
    }
}

@keyframes exploreFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

body.has-video-hero .header {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

/* Override old hero layout when video hero is used */
body.has-video-hero .hero.cinematic-hero {
    display: none;
}

body.has-video-hero main > .trust-showcase {
    padding-top: 48px;
}

@media (max-width: 768px) {
    .video-hero {
        height: 100vh;
        min-height: 520px;
    }

    .video-hero__pin {
        min-height: 520px;
    }

    .video-hero__content {
        padding: 88px 20px 72px;
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .video-hero__actions {
        justify-content: center;
    }

    .video-hero__explore {
        bottom: 24px;
    }

    .video-hero__explore-indicator {
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-hero__orb {
        animation: none;
    }

    .video-hero {
        height: auto;
        min-height: 100vh;
    }

    .video-hero__explore {
        opacity: 1;
        animation: none;
        transform: translateX(-50%);
    }

    .video-hero__explore-thumb {
        animation: none;
        top: calc(100% - 5px);
        opacity: 1;
    }
}


/* ===== home-enhancements.css ===== */
/* ========================================
   Homepage UX & visual polish
   ======================================== */

/* Stats — glass cards */
body.page-home .stats {
    padding: 72px 0 48px;
    position: relative;
    z-index: 1;
}

body.page-home .stat-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 24px;
    padding: 28px 24px;
    min-width: 160px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-home .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -12px rgba(124, 58, 237, 0.2);
}

/* Quick navigation */
.quick-nav {
    padding: 24px 0 56px;
    position: relative;
    z-index: 1;
}

.quick-nav__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quick-nav__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(124, 58, 237, 0.12);
    text-decoration: none;
    color: #1e0b2f;
    transition: all 0.25s ease;
    overflow: hidden;
}

.quick-nav__card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 20px;
}

.quick-nav__card-body strong {
    font-size: 1.05rem;
}

.quick-nav__card-body span {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

.quick-nav__card:hover {
    transform: translateY(-6px);
    border-color: #7c3aed;
    box-shadow: 0 20px 36px -14px rgba(124, 58, 237, 0.25);
}

/* Packages section polish */
body.page-home .packages {
    position: relative;
    z-index: 1;
}

body.page-home .section-header {
    margin-bottom: 40px;
}

body.page-home .section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
}

body.page-home .package-card {
    backdrop-filter: blur(6px);
}

body.page-home .testimonial,
body.page-home .final-cta {
    position: relative;
    z-index: 1;
}

/* How it works */
.how-it-works {
    padding: 56px 0;
    position: relative;
    z-index: 1;
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.how-step {
    text-align: center;
    padding: 0 0 24px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    overflow: hidden;
}

.how-step h4,
.how-step p {
    padding-left: 16px;
    padding-right: 16px;
}

.how-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    margin: 12px 0 10px;
}

.how-step h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.how-step p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Main content above page bg */
body.page-home main > section:not(.video-hero) {
    position: relative;
    z-index: 1;
}

/* Video path fix — forward slashes */
body.page-home .video-hero__content .btn-outline,
body.page-home .video-hero__content .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid var(--purple) !important;
    color: var(--purple) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.15);
}

body.page-home .video-hero__content .btn-outline:hover,
body.page-home .video-hero__content .btn-hero-secondary:hover {
    background: var(--purple) !important;
    color: white !important;
    border-color: var(--purple) !important;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.3);
}

@media (max-width: 768px) {
    .quick-nav__grid {
        grid-template-columns: 1fr 1fr;
    }

    .how-it-works__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .quick-nav__grid {
        grid-template-columns: 1fr;
    }
}


/* ===== home-3d.css ===== */
/* ========================================
   Homepage 3D depth & interaction layer
   ======================================== */

.page-home {
    --home-3d-perspective: 1200px;
    --home-3d-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Hero scene ---- */
.hero-3d-wrap {
    position: relative;
    width: 100%;
}

.hero-3d-decor {
    position: absolute;
    top: 50%;
    left: 0;
    width: min(52vw, 520px);
    height: min(52vw, 520px);
    transform: translateY(-50%);
    pointer-events: none;
    perspective: var(--home-3d-perspective);
    z-index: 0;
}

.hero-3d-shape {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-3d-shape--ring {
    top: 8%;
    left: 18%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(192, 132, 252, 0.55);
    box-shadow:
        0 0 0 8px rgba(124, 58, 237, 0.08),
        inset 0 0 30px rgba(124, 58, 237, 0.15);
    animation: home3dSpin 18s linear infinite;
}

.hero-3d-shape--ring::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.35);
}

.hero-3d-shape--cube {
    top: 42%;
    left: 8%;
    width: 88px;
    height: 88px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.55), rgba(76, 29, 149, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 24px 48px rgba(124, 58, 237, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: home3dCube 10s ease-in-out infinite;
}

.hero-3d-shape--ig {
    top: 18%;
    left: 52%;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: home3dFloat 7s ease-in-out infinite;
}

.hero-3d-shape--chart {
    bottom: 12%;
    left: 38%;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(124, 58, 237, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.5rem;
    animation: home3dFloat 9s ease-in-out infinite reverse;
}

.hero-3d-shape--orb {
    top: 58%;
    left: 62%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c084fc, #7c3aed);
    box-shadow: 0 0 40px rgba(192, 132, 252, 0.6);
    animation: home3dPulse 4s ease-in-out infinite;
}

@keyframes home3dSpin {
    from { transform: rotateX(55deg) rotateZ(0deg); }
    to { transform: rotateX(55deg) rotateZ(360deg); }
}

@keyframes home3dCube {
    0%, 100% { transform: rotateX(18deg) rotateY(-24deg) translateY(0); }
    50% { transform: rotateX(28deg) rotateY(18deg) translateY(-14px); }
}

@keyframes home3dFloat {
    0%, 100% { transform: translateY(0) rotateX(12deg) rotateY(-8deg); }
    50% { transform: translateY(-18px) rotateX(18deg) rotateY(12deg); }
}

@keyframes home3dPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.12); opacity: 1; }
}

.hero-3d-tilt {
    position: relative;
    z-index: 1;
    perspective: var(--home-3d-perspective);
    transform-style: preserve-3d;
}

.hero-3d-tilt__inner {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.18s var(--home-3d-ease);
    will-change: transform;
}

.hero-3d-tilt__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.22) 48%,
        transparent 62%
    );
    opacity: var(--home-3d-shine, 0);
    pointer-events: none;
    z-index: 5;
}

.hero-3d-tilt__inner .hero-pro__card {
    transform: translateZ(24px);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.28),
        0 12px 32px rgba(124, 58, 237, 0.22),
        0 2px 0 rgba(255, 255, 255, 0.5) inset;
}

.hero-3d-tilt__inner .hero-pro__stat {
    transform: translateZ(12px);
}

/* ---- Section depth panels ---- */
.home-3d-section {
    transform-style: preserve-3d;
    perspective: var(--home-3d-perspective);
}

.home-3d-section > .container,
.home-3d-section > .features-bento__wrap,
.home-3d-section > .statement-card {
    transform-style: preserve-3d;
}

/* ---- Interactive tilt cards ---- */
[data-3d-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.2s var(--home-3d-ease), box-shadow 0.25s ease;
    will-change: transform;
}

[data-3d-tilt].is-3d-active {
    box-shadow:
        0 28px 56px rgba(124, 58, 237, 0.16),
        0 8px 20px rgba(15, 23, 42, 0.08);
}

.package-card[data-3d-tilt].is-3d-active {
    box-shadow:
        0 32px 64px rgba(124, 58, 237, 0.22),
        0 12px 28px rgba(76, 29, 149, 0.12);
}

.package-card.featured[data-3d-tilt].is-3d-active {
    box-shadow:
        0 36px 72px rgba(124, 58, 237, 0.28),
        0 0 0 1px rgba(124, 58, 237, 0.15);
}

.quick-nav__card[data-3d-tilt].is-3d-active .mini-visual__hud {
    transform: translateZ(12px);
}

.how-step[data-3d-tilt].is-3d-active {
    transform: translateY(-6px);
}

.how-step[data-3d-tilt].is-3d-active .step-visual-wrap {
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
}

/* Statement 3D lift */
.statement-section.home-3d-section .statement-card {
    transform: translateZ(0);
    box-shadow:
        0 24px 60px rgba(76, 29, 149, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Scroll depth layer behind page */
.home-3d-bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.5) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(800px) rotateX(60deg) scale(2);
    transform-origin: center top;
    mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}

body.page-home .page-bg,
body.page-home main {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .hero-3d-decor {
        width: 280px;
        height: 280px;
        opacity: 0.45;
        left: -40px;
    }

    .hero-3d-shape--ring { width: 90px; height: 90px; }
    .hero-3d-shape--cube { width: 56px; height: 56px; }
    .hero-3d-shape--ig { width: 48px; height: 48px; font-size: 1.2rem; }
    .hero-3d-shape--chart { width: 64px; height: 64px; font-size: 1rem; }
}

@media (max-width: 640px) {
    .hero-3d-decor {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-3d-shape,
    .hero-3d-tilt__inner,
    [data-3d-tilt] {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .home-3d-bg-grid {
        display: none;
    }
}

body.dark-mode .hero-3d-shape--cube,
body.dark-mode .hero-3d-shape--ig,
body.dark-mode .hero-3d-shape--chart {
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .home-3d-bg-grid {
    opacity: 0.06;
}


/* ===== home-three.css ===== */
/* Three.js — packages scroll scene + dashboard globe (not in video hero) */


/* ---- Dashboard globe (features bento) ---- */
.dashboard-globe-wrap {
    position: relative;
    width: min(100%, 280px);
    height: 280px;
    margin: 0 auto;
}

#dashboardGlobeCanvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

#dashboardGlobeCanvas.is-ready {
    opacity: 1;
}

.dashboard-globe__hud {
    position: absolute;
    inset: auto 12px 12px 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 15, 16, 0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: #fff;
    font-size: 0.68rem;
    line-height: 1.55;
    pointer-events: none;
}

.dashboard-globe__hud strong {
    display: block;
    font-size: 0.75rem;
    color: #c084fc;
    margin-bottom: 4px;
}

.dashboard-globe__hud span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
}

.dashboard-globe__hud i {
    color: #7c3aed;
    width: 12px;
    font-size: 0.62rem;
}

.feature-bento-card--large .feature-bento-card__visual {
    background: linear-gradient(160deg, #1e0b2f 0%, #2e1065 50%, #1e0b2f 100%);
}

.feature-bento-card--large .phone-mockup {
    display: none;
}

/* ---- Bento mini visuals (reports + data hub) ---- */
.mini-visual-wrap,
.bento-visual-wrap {
    position: relative;
    width: min(100%, 240px);
    height: 180px;
    margin: 0 auto;
}

.mini-visual__canvas,
#reportsVisualCanvas,
#dataHubVisualCanvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.mini-visual__canvas.is-ready,
#reportsVisualCanvas.is-ready,
#dataHubVisualCanvas.is-ready {
    opacity: 1;
}

.mini-visual__hud,
.bento-visual__hud {
    position: absolute;
    inset: auto 10px 10px 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(15, 15, 16, 0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: #fff;
    font-size: 0.62rem;
    line-height: 1.5;
    pointer-events: none;
}

.mini-visual__hud strong,
.bento-visual__hud strong {
    display: block;
    font-size: 0.68rem;
    color: #c084fc;
    margin-bottom: 3px;
}

.mini-visual__hud span,
.bento-visual__hud span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.75);
}

.mini-visual__hud i,
.bento-visual__hud i {
    color: #7c3aed;
    width: 11px;
    font-size: 0.58rem;
}

.feature-bento-card__visual--dark {
    background: linear-gradient(160deg, #1e0b2f 0%, #2e1065 50%, #1e0b2f 100%) !important;
    min-height: 220px !important;
    padding: 20px 16px !important;
}

/* ---- Quick nav + process step visuals ---- */
.nav-visual-wrap,
.step-visual-wrap {
    width: 100%;
    height: 140px;
    margin: 0;
    border-radius: 0;
    background: linear-gradient(160deg, #1e0b2f 0%, #2e1065 55%, #1e0b2f 100%);
}

.step-visual-wrap {
    height: 130px;
    border-radius: 20px 20px 0 0;
}

.nav-visual-wrap .mini-visual__hud,
.step-visual-wrap .mini-visual__hud {
    inset: auto 8px 8px 8px;
    padding: 6px 8px;
    font-size: 0.58rem;
}

.nav-visual-wrap .mini-visual__hud strong,
.step-visual-wrap .mini-visual__hud strong {
    font-size: 0.64rem;
}

.how-it-works__grid {
    position: relative;
}

.how-it-works__grid::before {
    content: "";
    position: absolute;
    top: 72px;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.35), rgba(192, 132, 252, 0.5), rgba(124, 58, 237, 0.35), transparent);
    pointer-events: none;
    z-index: 0;
}

.how-step {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
.dashboard-globe-wrap {
        width: 220px;
        height: 220px;
    }

    .bento-visual-wrap {
        width: 200px;
        height: 160px;
    }

    .nav-visual-wrap {
        height: 120px;
    }

    .step-visual-wrap {
        height: 110px;
    }

    .how-it-works__grid::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-globe-wrap,
    .mini-visual-wrap,
    .bento-visual-wrap,
    .nav-visual-wrap,
    .step-visual-wrap {
        display: none;
    }
}


/* ===== trust-showcase.css ===== */
/* ========================================
   Trust showcase — stats + partner brands
   ======================================== */

.trust-showcase {
    padding: 48px 0 56px;
    position: relative;
}

.trust-showcase__panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 245, 255, 0.98) 100%);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 28px;
    padding: 32px 28px 28px;
    box-shadow:
        0 24px 60px rgba(124, 58, 237, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.trust-showcase__panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4c1d95, #7c3aed, #c084fc, #ec4899);
    background-size: 200% 100%;
    animation: trustAccentLine 8s ease infinite;
}

@keyframes trustAccentLine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.trust-showcase__header {
    text-align: center;
    margin-bottom: 28px;
}

.trust-showcase__header .section-badge {
    margin-bottom: 10px;
}

.trust-showcase__header h2 {
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    font-weight: 800;
    color: var(--text, #1e0b2f);
    margin-bottom: 6px;
}

.trust-showcase__header p {
    color: var(--text-muted, #64748b);
    font-size: 0.9rem;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.trust-metric {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(124, 58, 237, 0.1);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.trust-metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.22);
}

.trust-metric__glow {
    position: absolute;
    top: -40px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    pointer-events: none;
}

.trust-metric--engagement .trust-metric__glow { background: #7c3aed; }
.trust-metric--brands .trust-metric__glow { background: #a78bfa; }
.trust-metric--satisfaction .trust-metric__glow { background: #ec4899; }

.trust-metric__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.trust-metric__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.trust-metric--engagement .trust-metric__icon {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

.trust-metric--brands .trust-metric__icon {
    background: rgba(167, 139, 250, 0.15);
    color: #6d28d9;
}

.trust-metric--satisfaction .trust-metric__icon {
    background: rgba(236, 72, 153, 0.12);
    color: #db2777;
}

.trust-metric__trend {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    white-space: nowrap;
}

.trust-metric__value {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trust-metric--satisfaction .trust-metric__value {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
}

.trust-metric__label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text, #1e0b2f);
    margin-top: 4px;
}

.trust-metric__hint {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 2px;
}

.trust-metric__spark {
    height: 36px;
    margin-top: auto;
    opacity: 0.85;
}

.trust-metric__spark svg {
    width: 100%;
    height: 100%;
}

.trust-showcase__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
}

.trust-showcase__divider::before,
.trust-showcase__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
}

.trust-showcase__divider span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    font-weight: 700;
}

.trust-showcase__partners-lead {
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 18px;
}

.trust-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.trust-marquee__track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: trustMarquee 42s linear infinite;
}

.trust-marquee__track:hover {
    animation-play-state: paused;
}

@keyframes trustMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    background: #fff;
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    min-width: 240px;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.trust-brand:hover {
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.trust-brand__avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(192, 132, 252, 0.2));
    color: #7c3aed;
}

.trust-brand__info {
    flex: 1;
    min-width: 0;
}

.trust-brand__info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e0b2f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trust-brand__info span {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

.trust-brand__badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    white-space: nowrap;
}

.trust-brand[data-theme="pink"] .trust-brand__avatar { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #db2777; }
.trust-brand[data-theme="coral"] .trust-brand__avatar { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: #ea580c; }
.trust-brand[data-theme="sky"] .trust-brand__avatar { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.trust-brand[data-theme="plum"] .trust-brand__avatar { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #6d28d9; }
.trust-brand[data-theme="violet"] .trust-brand__avatar { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #7c3aed; }
.trust-brand[data-theme="amber"] .trust-brand__avatar { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.trust-brand[data-theme="mint"] .trust-brand__avatar { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.trust-brand[data-theme="soft"] .trust-brand__avatar { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #475569; }

@media (max-width: 900px) {
    .trust-metrics {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .trust-showcase__panel {
        padding: 24px 16px 20px;
        border-radius: 20px;
    }

    .trust-brand {
        min-width: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .trust-showcase__panel::before {
        animation: none;
    }
}

body.dark-mode .trust-showcase__panel {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(30, 27, 75, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .trust-metric,
body.dark-mode .trust-brand {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .trust-metric__label,
body.dark-mode .trust-brand__info strong {
    color: #f8fafc;
}

body.dark-mode .trust-showcase__header h2 {
    color: #f8fafc;
}


/* ===== hero-pro.css ===== */
/* ========================================
   PropertyGPT-inspired hero — TeamKhoob
   ======================================== */

/* ---- Loading overlay ---- */
.hero-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #ede9fe 100%);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.6s;
}

.hero-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-loader__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e0b2f;
}

.hero-loader__brand i {
    color: var(--purple, #7c3aed);
    font-size: 1.4rem;
}

.hero-loader__brand span {
    color: var(--purple, #7c3aed);
}

.hero-loader__text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(30, 11, 47, 0.45);
    animation: loaderPulse 1.4s ease-in-out infinite;
}

.hero-loader__bar {
    width: 120px;
    height: 2px;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.hero-loader__bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--purple, #7c3aed), #c084fc);
    border-radius: 2px;
    animation: loaderBar 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@keyframes loaderBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ---- Hero content layout ---- */
.video-hero__content.container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
}

.video-hero__content .hero-pro {
    max-width: min(520px, 100%);
}

.hero-pro {
    width: 100%;
    max-width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-pro.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-pro__inner {
    width: 100%;
    max-width: 100%;
}

/* ---- Unified hero card ---- */
.hero-pro__card {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.25),
        0 8px 24px rgba(124, 58, 237, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    box-sizing: border-box;
}

.hero-pro__card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4c1d95, #7c3aed, #c084fc, #7c3aed);
    background-size: 200% 100%;
    animation: cardAccentLine 6s ease infinite;
}

@keyframes cardAccentLine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-pro__card-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.hero-pro__card-body {
    padding: 20px 28px 24px;
}

.hero-pro__card-footer {
    padding: 0 28px 22px;
}

/* Eyebrow — inline at top of card */
.hero-pro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--purple, #7c3aed);
    padding: 5px 12px 5px 10px;
    margin-bottom: 14px;
    background: rgba(124, 58, 237, 0.07);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 999px;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-pro__eyebrow.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-pro__eyebrow i {
    font-size: 0.88rem;
    color: var(--purple, #7c3aed);
}

.hero-pro__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    animation: eyebrowPulse 2.5s ease-in-out infinite;
}

@keyframes eyebrowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Title */
.hero-pro__title {
    font-size: clamp(1.45rem, 3.6vw, 2.1rem) !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    color: #1e0b2f !important;
    margin: 0 !important;
    letter-spacing: -0.025em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-pro__title-line {
    display: block;
    overflow: hidden;
}

.hero-pro__title-line .hero-pro__word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
}

.hero-pro__title-accent {
    display: block;
    margin-top: 4px;
    line-height: 1.4;
}

.hero-pro__rotate-wrap {
    display: inline;
}

.hero-pro__title-tail {
    display: inline;
    margin-right: 4px;
}

.hero-pro__rotate-word {
    display: inline;
    background: linear-gradient(135deg, #4c1d95, #7c3aed, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-pro__rotate-word.is-out {
    opacity: 0;
    transform: translateY(-10px);
}

.hero-pro__rotate-word.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* Subtitle */
.hero-pro__subtitle {
    font-size: clamp(0.88rem, 1.6vw, 1rem) !important;
    color: #64748b !important;
    line-height: 1.8 !important;
    margin: 0 0 18px !important;
    max-width: 100% !important;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-pro__subtitle.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-pro__subtitle-static {
    color: #64748b;
}

.hero-pro__subtitle-dynamic-wrap {
    display: inline;
    margin: 0 3px;
}

.hero-pro__subtitle-dynamic {
    display: inline;
    font-weight: 700;
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-bottom: 2px solid rgba(124, 58, 237, 0.25);
    padding-bottom: 1px;
}

.hero-pro__subtitle-dynamic.is-out {
    opacity: 0;
    transform: translateY(6px);
}

.hero-pro__subtitle-dynamic.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* Feature tags */
.hero-pro__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.hero-pro__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #5b21b6;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s, opacity 0.4s ease;
    cursor: default;
}

.hero-pro__tag.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-pro__tag:hover {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-1px);
}

.hero-pro__tag i {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 6px;
    color: var(--purple, #7c3aed);
}

/* Actions */
.hero-pro__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-pro__actions.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-hero-primary {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 13px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

.btn-hero-primary i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(-3px);
}

.btn-hero-secondary {
    display: inline-flex !important;
    align-items: center;
    padding: 13px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

/* Stats footer — inside card */
.hero-pro__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 16px 0 0;
    margin-top: 20px;
    border-top: 1px solid rgba(124, 58, 237, 0.08);
}

.hero-pro__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 12px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
}

.hero-pro__stat:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: rgba(124, 58, 237, 0.1);
}

.hero-pro__stat.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-pro__stat strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--purple, #7c3aed);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-pro__stat span {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
}

/* Hide legacy eyebrow if present */
.video-hero__eyebrow:not(.hero-pro__eyebrow) {
    display: none;
}

/* Dark mode — loader */
body.dark-mode .hero-loader {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

body.dark-mode .hero-loader__brand {
    color: #f8fafc;
}

body.dark-mode .hero-loader__text {
    color: rgba(248, 250, 252, 0.4);
}

/* Dark mode — card */
body.dark-mode .hero-pro__card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.dark-mode .hero-pro__card-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .hero-pro__title {
    color: #f8fafc !important;
}

body.dark-mode .hero-pro__subtitle,
body.dark-mode .hero-pro__subtitle-static {
    color: #94a3b8 !important;
}

body.dark-mode .hero-pro__eyebrow {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.25);
    color: #c4b5fd;
}

body.dark-mode .hero-pro__tag {
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.2);
}

body.dark-mode .hero-pro__stats {
    border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .hero-pro__stat:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-pro__card-header {
        padding: 20px 20px 16px;
        text-align: center;
    }

    .hero-pro__card-body {
        padding: 16px 20px 20px;
        text-align: center;
    }

    .hero-pro__card-footer {
        padding: 0 20px 18px;
    }

    .hero-pro__eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-pro__title {
        font-size: clamp(1.3rem, 5vw, 1.7rem) !important;
    }

    .hero-pro__tags {
        justify-content: center;
    }

    .hero-pro__actions {
        flex-direction: column;
    }

    .hero-pro__actions .btn {
        width: 100%;
    }

    .video-hero__content {
        align-items: center !important;
    }

    .hero-pro__subtitle-dynamic-wrap {
        display: block;
        margin: 4px 0;
    }
}

@media (max-width: 400px) {
    .hero-pro__stat strong {
        font-size: 0.95rem;
    }

    .hero-pro__stat span {
        font-size: 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-loader__text,
    .hero-loader__bar span,
    .hero-pro__eyebrow-dot,
    .hero-pro__card::before {
        animation: none;
    }

    .hero-pro,
    .hero-pro__tag,
    .hero-pro__stat,
    .hero-pro__subtitle,
    .hero-pro__actions,
    .hero-pro__eyebrow {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-pro__title-line .hero-pro__word {
        transform: none;
        opacity: 1;
    }
}

/* ============================================================
   Latest educational posts — spotlight carousel
   ============================================================ */
.edu-section {
    padding: 70px 0 90px;
    position: relative;
    z-index: 1;
}

/* ---- About us (home) ---- */
.about-home {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.about-home__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.about-home__title {
    margin: 16px 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text, #1e0b2f);
}

.about-home__lead {
    margin: 0;
    color: var(--text-muted, #6b7280);
    line-height: 1.95;
    font-size: 1.02rem;
}

.about-home__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-home .cta-about .btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.about-home .cta-about .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* ---- Contact us (home) ---- */
.contact-home {
    padding: 20px 0 90px;
    position: relative;
    z-index: 1;
}

.contact-home__header {
    text-align: center;
    margin: 0 auto 36px;
}

.contact-home__title {
    margin: 16px 0 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text, #1e0b2f);
}

.contact-home__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.contact-home__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 30px 22px;
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: var(--radius-md, 16px);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.contact-home__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(124, 58, 237, 0.15);
}

.contact-home__card h4 {
    margin: 4px 0 0;
    font-size: 1.05rem;
    color: var(--text, #1e0b2f);
}

.contact-home__card p {
    margin: 0;
    color: var(--text-muted, #6b7280);
    font-size: 0.95rem;
}

.edu-section__title {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 10px;
}

.edu-section__title::after {
    content: '';
    position: absolute;
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
    width: 70px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--purple), var(--purple-200));
}

.edu-carousel {
    overflow: hidden;
    margin-top: 26px;
    padding: 30px 0 10px;
    /* LTR track keeps offsetLeft reliable for centering; cards stay RTL. */
    direction: ltr;
}

.edu-track {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Used to teleport across the loop seam without animating. */
.edu-track--instant,
.edu-track--instant .edu-card {
    transition: none !important;
}

.edu-card {
    flex: 0 0 auto;
    width: 280px;
    direction: rtl;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    transform: scale(0.9);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease, box-shadow 0.45s ease;
}

.edu-card.is-active {
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.28);
    cursor: default;
}

/* Gradient media banner with the topic icon */
.edu-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    color: #fff;
    font-size: 3.4rem;
    text-decoration: none;
    background: linear-gradient(150deg, #a78bfa 0%, #7c3aed 100%);
    transition: filter 0.45s ease;
    filter: saturate(0.85);
}

.edu-card.is-active .edu-card__media {
    filter: saturate(1.1);
}

.edu-card__media--insta {
    background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
}
.edu-card__media--direct {
    background: linear-gradient(150deg, #34d399 0%, #059669 100%);
}
.edu-card__media--seo {
    background: linear-gradient(150deg, #818cf8 0%, #4338ca 100%);
}
.edu-card__media--lens {
    background: linear-gradient(150deg, #fb7185 0%, #be123c 100%);
}
.edu-card__media--edit {
    background: linear-gradient(150deg, #f472b6 0%, #9333ea 100%);
}
.edu-card__media--brand {
    background: linear-gradient(150deg, #fbbf24 0%, #ea580c 100%);
}

.edu-card__body {
    padding: 22px 22px 26px;
    text-align: right;
}

.edu-card__title {
    font-size: 1.02rem;
    line-height: 1.7;
    font-weight: 700;
    margin-bottom: 12px;
    min-height: 3.4em;
}

.edu-card__title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.edu-card__title a:hover {
    color: var(--purple);
}

.edu-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edu-card__btn {
    display: block;
    width: 100%;
    padding: 11px 18px;
    border-radius: 999px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-section);
    text-decoration: none;
    transition: all 0.25s ease;
}

.edu-card.is-active .edu-card__btn {
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3);
}

.edu-card__btn:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.edu-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
    direction: ltr;
}

.edu-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.22);
    cursor: pointer;
    transition: all 0.3s ease;
}

.edu-dot.active {
    width: 28px;
    background: var(--purple);
}

@media (max-width: 640px) {
    .edu-card {
        width: 240px;
    }
    .edu-card__media {
        height: 160px;
        font-size: 2.8rem;
    }
    .edu-card.is-active {
        transform: scale(1.03);
    }
}

/* Dark mode */
body.dark-mode .edu-card {
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .edu-card__title a {
    color: var(--dark-text-primary);
}

body.dark-mode .edu-card__excerpt {
    color: var(--dark-text-secondary);
}

body.dark-mode .edu-card__btn {
    color: var(--dark-text-secondary);
    background: rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
    .edu-track,
    .edu-card {
        transition: none;
    }
}
