/* Modern Theme Homepage Styles */

/*
 * PERFORMANCE: content-visibility: auto skips layout/paint/composite for
 * off-screen sections. This is the single biggest scroll perf win on long pages.
 * contain-intrinsic-size prevents layout shifts when sections enter viewport.
 */
.stats-section,
.about-section,
.services-section,
.key-features-section,
.how-it-works-section,
.testimonials-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
    /* Reduce paint complexity */
    render-strategy: auto;
}

/* Main Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}

.floating-shapes {
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(var(--secondary-rgb), 0.1);
    border-radius: 50%;
    /* will-change removed: shapes only animate via CSS float, no need for permanent GPU layer */
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 10%;
}

.shape-5 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
}

.shape-6 {
    width: 160px;
    height: 160px;
    bottom: 10%;
    right: 5%;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--secondary-rgb), 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Trust Section - Partners Slider */
.partners-slider-container {
    height: 80px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.partners-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    width: max-content;
}

.trust-logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 160px;
    flex: 0 0 160px;
    padding: 0 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    opacity: 0.6;
}

.trust-logo-slide:hover {
    transform: scale(1.1);
    opacity: 1;
}

.trust-logo-slide[data-url] {
    cursor: pointer;
}

.trust-logo-slide .partner-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(1);
    max-height: 40px;
    max-width: 80px;
    object-fit: contain;
}

.trust-logo-slide:hover .partner-logo {
    opacity: 1;
    filter: grayscale(0);
}

.trust-logo-slide i {
    opacity: 0.6;
    transition: opacity 0.3s ease, filter 0.3s ease, color 0.3s ease;
    filter: grayscale(1);
}

.trust-logo-slide:hover i {
    opacity: 1;
    filter: grayscale(0);
    color: var(--accent) !important;
}

.slider-gradient-left,
.slider-gradient-right {
    width: 60px;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.slider-gradient-right {
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

@media (min-width: 768px) {
    .partners-slider-container {
        width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .partners-slider-container {
        width: 300px;
        margin: 0 auto;
    }

    .trust-logo-slide {
        min-width: 150px;
        flex: 0 0 150px;
        padding: 0 15px;
    }

    .slider-gradient-left,
    .slider-gradient-right {
        width: 40px;
    }
}

/* About Section & Flip Card */
.floating-card {
    bottom: 2rem;
    right: 2rem;
    perspective: 1000px;
    width: 320px;
    height: 120px;
}

.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    padding: 1.2rem 1.8rem;
    transition: box-shadow 0.3s ease;
}

.flip-card-front {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
}

.flip-card-back {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    transform: rotateY(180deg);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

/* Services Section */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    /* will-change removed: hover-only animation */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon-circle-lg {
    width: 70px;
    height: 70px;
    background: rgba(var(--secondary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* Footer */
.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--accent);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Hero Images */
.hero-image-composition {
    width: 100%;
    height: 550px;
    position: relative;
}

/* Modern Hero Orbit Widget (Modern theme only) */
.hero-orbit-widget {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.hero-orbit-aurora {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), 0.25), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(var(--secondary-rgb), 0.22), transparent 55%),
        radial-gradient(circle at 50% 80%, rgba(var(--primary-rgb), 0.22), transparent 60%);
    filter: blur(24px);
    opacity: 0.9;
    z-index: 0;
    animation: heroAuroraSpin 40s linear infinite;
}

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

.hero-orbit-ring {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    z-index: 1;
    animation: heroOrbitSpin 30s linear infinite;
}

.hero-orbit-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 60%);
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.18) inset,
        0 0 60px rgba(var(--accent-rgb), 0.18);
}

.hero-orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* will-change removed: static positioned items, no continuous animation */
}

.hero-orbit-item-1 {
    transform: translate(-50%, -50%) translateY(-260px);
}

.hero-orbit-item-2 {
    transform: translate(-50%, -50%) translateX(240px) translateY(40px);
}

.hero-orbit-item-3 {
    transform: translate(-50%, -50%) translateX(-220px) translateY(120px);
}

.hero-orbit-frame {
    position: relative;
    width: 360px;
    height: 440px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: rotate(-2deg);
}

.hero-orbit-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18) 0%, rgba(var(--secondary-rgb), 0.14) 50%, rgba(var(--accent-rgb), 0.18) 100%);
    opacity: 0.6;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-orbit-frame-sm {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    --r: 6deg;
    animation: heroFloat 4.2s ease-in-out infinite;
}

.hero-orbit-item-2 .hero-orbit-frame-sm {
    animation-delay: 0.8s;
    --r: -8deg;
}

.hero-orbit-item-3 .hero-orbit-frame-sm {
    animation-delay: 1.4s;
    --r: 10deg;
}

.hero-orbit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

/* Stacked orbit layout (replaces the old centered 99.8% stat card) */
.hero-orbit-widget--stacked .hero-orbit-ring {
    width: 520px;
    height: 520px;
    border-radius: 50%;
    animation: heroOrbitSpin 30s linear infinite;
    pointer-events: none;
    --badge-radius: 252px;
}

.hero-orbit-widget--stacked .hero-orbit-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.10), transparent 60%);
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.20) inset,
        0 0 70px rgba(var(--secondary-rgb), 0.18),
        0 0 90px rgba(var(--accent-rgb), 0.14);
}

.hero-orbit-widget--stacked .hero-orbit-ring::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    opacity: 0.9;
}

.hero-orbit-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    --a: 0deg;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--badge-radius))) rotate(calc(-1 * var(--a)));
    transform-origin: center;
    z-index: 3;
}

.hero-orbit-badge-1 {
    --a: 330deg;
}

.hero-orbit-badge-2 {
    --a: 40deg;
}

.hero-orbit-badge-3 {
    --a: 145deg;
}

.hero-orbit-badge-4 {
    --a: 235deg;
}

.hero-orbit-badge-inner {
    width: 138px;
    min-height: 66px;
    border-radius: 18px;
    padding: 10px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    animation: heroOrbitSpin 30s linear infinite reverse, heroBadgePulse 4s ease-in-out infinite;
}

.hero-orbit-badge-value {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.98);
}

.hero-orbit-badge-label {
    font-weight: 600;
    font-size: 0.72rem;
    line-height: 1.2;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.78);
}

.hero-orbit-badge-sub {
    font-weight: 600;
    font-size: 0.62rem;
    line-height: 1.2;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.62);
}

@keyframes heroBadgePulse {

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

    50% {
        transform: scale(1.015);
    }
}

.hero-orbit-stack {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-orbit-card {
    position: absolute;
    width: 270px;
    height: 320px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero-orbit-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18) 0%, rgba(var(--secondary-rgb), 0.14) 50%, rgba(var(--accent-rgb), 0.18) 100%);
    opacity: 0.6;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-orbit-card--back {
    z-index: 1;
    transform: translate(-76px, -52px) rotate(-8deg);
    filter: saturate(0.95) contrast(0.98);
    opacity: 0.95;
}

.hero-orbit-card--front {
    z-index: 3;
    transform: translate(64px, 56px) rotate(7deg);
    animation: heroCardFloat 7s ease-in-out infinite;
}

@keyframes heroCardFloat {

    0%,
    100% {
        transform: translate(64px, 56px) rotate(7deg);
    }

    50% {
        transform: translate(64px, 46px) rotate(7deg);
    }
}

@keyframes heroOrbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes heroAuroraSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(var(--r, 6deg));
    }

    50% {
        transform: translateY(-10px) rotate(var(--r, 6deg));
    }
}

@media (max-width: 991px) {
    .hero-orbit-frame {
        width: 320px;
        height: 400px;
    }

    .hero-orbit-ring {
        width: 460px;
        height: 460px;
    }

    .hero-orbit-item-1 {
        transform: translate(-50%, -50%) translateY(-230px);
    }

    .hero-orbit-item-2 {
        transform: translate(-50%, -50%) translateX(210px) translateY(40px);
    }

    .hero-orbit-item-3 {
        transform: translate(-50%, -50%) translateX(-200px) translateY(110px);
    }

    .hero-orbit-widget--stacked .hero-orbit-ring {
        width: 460px;
        height: 460px;
        --badge-radius: 222px;
    }

    .hero-orbit-card {
        width: 250px;
        height: 300px;
    }

    .hero-orbit-card--back {
        transform: translate(-64px, -46px) rotate(-8deg);
    }

    .hero-orbit-card--front {
        transform: translate(50px, 46px) rotate(7deg);
    }
}

@media (max-width: 576px) {
    .hero-image-composition {
        height: 460px;
    }

    .hero-orbit-frame {
        width: 260px;
        height: 330px;
        border-radius: 20px;
    }

    .hero-orbit-ring {
        width: 360px;
        height: 360px;
    }

    .hero-orbit-frame-sm {
        width: 120px;
        height: 120px;
        border-radius: 18px;
    }

    .hero-orbit-item-1 {
        transform: translate(-50%, -50%) translateY(-180px);
    }

    .hero-orbit-item-2 {
        transform: translate(-50%, -50%) translateX(160px) translateY(30px);
    }

    .hero-orbit-item-3 {
        transform: translate(-50%, -50%) translateX(-150px) translateY(90px);
    }

    .hero-orbit-widget--stacked .hero-orbit-ring {
        width: 260px;
        height: 260px;
        --badge-radius: 125px;
    }

    .hero-orbit-badge-inner {
        width: 100px;
        min-height: 50px;
        padding: 5px 8px;
    }

    .hero-orbit-badge-value {
        font-size: 0.85rem;
    }

    .hero-orbit-badge-label {
        font-size: 0.65rem;
    }

    .hero-orbit-badge-sub {
        font-size: 0.55rem;
    }

    .hero-orbit-card {
        width: 210px;
        height: 260px;
        border-radius: 18px;
    }

    .hero-orbit-card--back {
        transform: translate(-48px, -38px) rotate(-8deg);
    }

    .hero-orbit-card--front {
        transform: translate(38px, 40px) rotate(7deg);
    }
}

.main-hero-image,
.secondary-hero-image {
    width: 320px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.main-hero-image {
    top: 20px;
    left: 20px;
    z-index: 2;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.secondary-hero-image {
    bottom: 40px;
    right: 40px;
    z-index: 1;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.main-hero-image img,
.secondary-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero-image:hover,
.secondary-hero-image:hover {
    transform: translateY(-5px);
}

.main-hero-image:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.secondary-hero-image:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.image-overlay {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--secondary-rgb), 0.1) 50%, rgba(var(--primary-rgb), 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-hero-image:hover .image-overlay,
.secondary-hero-image:hover .image-overlay {
    opacity: 1;
}

/* Stats Cards */
.floating-stat-card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.stat-card-modern {
    padding: 1.8rem 2.2rem;
    min-width: 180px;
    border-radius: 20px;
    background: rgba(var(--primary-rgb), 0.95);
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    /* will-change removed: hover-only animation */
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--secondary-rgb), 0.15), 0 0 0 1px rgba(var(--secondary-rgb), 0.2) inset;
}

.stat-background-glow {
    background: radial-gradient(circle at center, rgba(var(--secondary-rgb), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card-modern:hover .stat-background-glow {
    opacity: 1;
}

/* Stats section cards (below hero) - clean white card style instead of purple hero-style */
.stats-section .stat-card-modern {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    color: var(--text-main, #1F2937);
}

.stats-section .stat-card-modern:hover {
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.12);
    transform: translateY(-4px);
}

.stats-section .stat-card-modern h3 {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
}

.stats-section .stat-card-modern p {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main, #1F2937);
}

.stats-section .stat-card-modern small {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #6B7280;
}

/* Decorative Elements */
.hero-decoration {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--secondary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
}

.deco-circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
}

.deco-circle-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 10%;
}

.deco-line {
    position: absolute;
    top: 30%;
    right: 15%;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(var(--secondary-rgb), 0.3) 50%, transparent 100%);
}

.floating-stats {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.stat-card {
    padding: 1rem 1.2rem;
    min-width: 140px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.95);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* will-change removed: hover-only animation */
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--secondary-rgb), 0.15);
}

.stat-card-1 {
    top: 50px;
    left: 50px;
}

.stat-card-2 {
    top: 20px;
    right: 20px;
}

.stat-card-3 {
    bottom: 100px;
    left: 30px;
}

.stat-card-4 {
    bottom: 50px;
    right: 50px;
}

.stat-glow {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

.glass-card {
    background: rgba(var(--primary-rgb), 0.95);
    border: 1px solid rgba(var(--secondary-rgb), 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* will-change removed: hover-only animation */
}

.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.dashboard-mockup {
    padding: 2rem;
}

.stats-grid .glass-card {
    padding: 1.5rem;
    text-align: center;
}

/* Feature & Testimonial Cards */
.feature-card-modern {
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(var(--secondary-rgb), 0.1);
    border-radius: 16px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card-modern:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(var(--secondary-rgb), 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.feature-icon-modern {
    width: 48px;
    height: 48px;
    background: rgba(var(--secondary-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-card {
    border: none;
    position: relative;
    padding: 2rem;
    height: 280px;
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(var(--secondary-rgb), 0.1);
    border-radius: 16px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(var(--secondary-rgb), 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--secondary-rgb), 0.3);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* How It Works - Image Grid Restoration */
.how-it-works-section .image-grid {
    height: 550px;
    width: 100%;
    position: relative;
}

.top-left-image,
.top-right-image,
.bottom-left-image,
.bottom-right-image {
    width: 45%;
    height: 45%;
    position: absolute;
    transition: transform 0.3s ease;
}

.top-left-image {
    top: 0;
    left: 0;
    z-index: 1;
}

.top-right-image {
    top: 50px;
    right: 0;
    z-index: 2;
}

.bottom-left-image {
    bottom: 50px;
    left: 50px;
    z-index: 3;
}

.bottom-right-image {
    bottom: 0;
    right: 20px;
    z-index: 4;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.decorative-elements {
    display: none;
    /* Hide for performance if causing issues, or restyle */
}

/* FAQs Section */
.faqs-section .faq-sidebar {
    position: sticky;
}

.faqs-section .faq-categories .category-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.faqs-section .faq-card {
    border: 1px solid rgba(var(--primary-rgb), 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faqs-section .faq-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--secondary-rgb), 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.faqs-section .faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(var(--secondary-rgb), 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
}

.faqs-section .read-more-btn {
    text-decoration: none;
}

.faqs-section .read-more-btn:hover {
    text-decoration: underline;
}

.faqs-section .faq-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--secondary-rgb), 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}

.nw-reveal {
    opacity: 0;
    transform: translate3d(var(--nw-x, 0), var(--nw-y, 18px), 0) scale(var(--nw-scale, 1));
    transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1), transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
    /* will-change removed: was causing permanent GPU layers on 10+ elements, now set via JS only during transition */
}

.nw-reveal.nw-reveal--visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* After transition completes, remove will-change to free GPU layers */
.nw-reveal.nw-reveal--done {
    will-change: auto;
    transition: none;
}

.nw-reveal.nw-reveal--left {
    --nw-x: -28px;
    --nw-y: 0;
}

.nw-reveal.nw-reveal--right {
    --nw-x: 28px;
    --nw-y: 0;
}

.nw-reveal.nw-reveal--up {
    --nw-x: 0;
    --nw-y: 28px;
}

.nw-reveal.nw-reveal--zoom {
    --nw-scale: 0.96;
}

/* Floating Shapes - inline overrides (absorbed from blade) */
.floating-shapes .shape {
    animation: float 20s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    animation-delay: 0s;
}

.shape-2 {
    animation-delay: 5s;
}

.shape-3 {
    animation-delay: 10s;
}

.shape-4 {
    animation-delay: 15s;
}

.shape-5,
.shape-6 {
    background: rgba(255, 255, 255, 0.05);
}

.shape-5 {
    animation-delay: 20s;
}

.shape-6 {
    animation-delay: 25s;
}

/* Feature Icon Circle */
.feature-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--secondary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Testimonials Carousel (structural) */
.testimonials-carousel {
    position: relative;
}

.testimonials-wrapper {
    border-radius: var(--radius-lg);
}

.testimonials-track {
    transition: transform 0.5s ease;
}

.testimonial-item {
    flex: 0 0 33.333%;
    width: 33.333%;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .testimonial-item {
        flex: 0 0 50%;
        width: 50%;
    }
}

@media (max-width: 767px) {
    .testimonial-item {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* Carousel Dots (alternate format) */
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* Avatar Circle */
.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(var(--secondary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Badge */
.section-badge {
    display: inline-block;
}

/* Modern Theme Specific Animations */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

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

/* Floating shapes animation (absorbed from inline blade styles) */
@keyframes float {

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

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

/* Pause hero animations when section scrolls off-screen */
.hero-section:not(.in-view) .hero-orbit-aurora,
.hero-section:not(.in-view) .hero-orbit-ring,
.hero-section:not(.in-view) .hero-orbit-badge-inner,
.hero-section:not(.in-view) .hero-orbit-card--front,
.hero-section:not(.in-view) .hero-orbit-frame-sm,
.hero-section:not(.in-view) .shape {
    animation-play-state: paused;
}

/* Accessibility: respect user motion preferences */
@media (prefers-reduced-motion: reduce) {

    .hero-orbit-aurora,
    .hero-orbit-ring,
    .hero-orbit-badge-inner,
    .hero-orbit-card--front,
    .hero-orbit-frame-sm,
    .shape {
        animation: none !important;
    }

    .nw-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .service-card,
    .feature-card-modern,
    .testimonial-card,
    .stat-card-modern,
    .glass-card,
    .social-link,
    .flip-card-inner {
        transition: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-item {
        flex: 0 0 100%;
    }

    .carousel-nav-btn {
        display: none;
    }

    .flip-card {
        width: 100%;
        max-width: 280px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .main-hero-image,
    .secondary-hero-image {
        width: 280px;
        height: 350px;
    }
}

/* --- Modern Redesign Sections (Appended) --- */

:root {
    /* Define modern-specific tokens if not already present */
    --navy-dark: #0a0e27;
    --navy-darker: #05081a;
    --neon-accent: #00f2ff;
    --neon-blue: #0072ff;
}

.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.mt-negative-80 {
    margin-top: -80px;
}

/* Utility Classes */
.bg-navy-dark {
    background-color: var(--navy-dark);
}

.bg-navy-darker {
    background-color: var(--navy-darker);
}

.text-neon-accent {
    color: var(--neon-accent);
}

.bg-neon-accent {
    background-color: var(--neon-accent);
}

.border-white-05 {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-white-02 {
    background: rgba(255, 255, 255, 0.02);
}

.bg-glass-dark {
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.shadow-xl {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hover-translate-y {
    transition: transform 0.3s ease;
}

.hover-translate-y:hover {
    transform: translateY(-5px);
}

/* About Section Modern */
.modern-about {
    background-color: var(--navy-dark);
    position: relative;
}

.modern-feature-pill {
    transition: all 0.3s ease;
}

.modern-feature-pill:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-accent);
}

.title-glow {
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

/* Services Section Modern */
.services-modern-section {
    background-color: var(--navy-darker);
}

.service-bento-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-bento-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-accent);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.1);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 15px;
}

/* Key Features Bento Grid */
.bento-card {
    transition: all 0.3s ease;
    height: 100%;
}

.bento-card.featured {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(5, 8, 26, 0.9));
}

.bento-card:hover {
    border-color: var(--neon-accent);
    transform: scale(1.02);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.15);
}

/* How It Works Modern */
.how-it-works-modern {
    position: relative;
}

.process-line {
    position: absolute;
    top: 130px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(0, 242, 255, 0.1);
    z-index: 1;
    opacity: 0.5;
}

.process-step-card {
    position: relative;
    z-index: 2;
}

.step-number-box {
    z-index: 3;
}

.step-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--neon-accent);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.process-step-card:hover .step-glow {
    opacity: 0.3;
}

/* Testimonials Modern */
.testimonial-glass-card {
    transition: transform 0.3s ease;
    width: 380px;
}

.testimonial-glass-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.testimonials-modern-slider {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-modern-slider::-webkit-scrollbar {
    display: none;
}

/* FAQ Modern */
.faq-trigger {
    transition: background 0.3s ease;
    cursor: pointer;
}

.faq-trigger:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-trigger i {
    transition: transform 0.3s ease;
}

.faq-trigger[aria-expanded="true"] i {
    transform: rotate(45deg);
    color: #fff !important;
}

/* CTA Footer */
.cta-modern-footer {
    background: var(--navy-darker);
    position: relative;
}

.bottom-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
}

.text-gradient-neon {
    background: linear-gradient(to right, var(--neon-accent), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-neon-premium {
    background: linear-gradient(45deg, var(--neon-accent), var(--neon-blue));
    color: var(--navy-darker) !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-neon-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.4);
}

.btn-neon-outline {
    border: 2px solid var(--neon-accent);
    color: var(--neon-accent) !important;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-neon-outline:hover {
    background: var(--neon-accent);
    color: var(--navy-darker) !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* ============================================================
   MODERN LIGHT-THEME SECTION STYLES (Redesign)
   ============================================================ */

/* --- About Section --- */
.about-section {
    background: #fff;
}

.about-img-frame {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
}

.about-img-accent {
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 3px solid var(--primary);
    border-radius: 1.25rem;
    pointer-events: none;
    opacity: 0.25;
}

.about-stat-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

@media (max-width: 768px) {
    .about-stat-badge {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        text-align: center;
        padding: 0.75rem 1rem;
        z-index: 10;
        display: flex;
        justify-content: center;
    }
    
    .about-stat-badge .d-flex {
        justify-content: center;
    }
}

.stat-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-item {
    padding: 0.75rem 1rem;
    background: #f8f9ff;
    border-radius: 0.75rem;
    border-left: 3px solid var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-feature-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.1);
}

/* --- Service Cards --- */
.service-card-modern {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.14);
}

.service-card-img {
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    position: relative;
}

.service-card-img img {
    transition: transform 0.4s ease;
}

.service-card-modern:hover .service-card-img img {
    transform: scale(1.05);
}

.service-img-placeholder {
    background: linear-gradient(135deg, #f0f0ff 0%, #e8f0fe 100%);
    border-radius: 1rem 1rem 0 0;
}

.service-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-badge {
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* --- Key Feature Cards --- */
.feature-card-modern {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(var(--primary-rgb), 0.12);
}

.feature-card-img {
    overflow: hidden;
}

.feature-card-img img {
    transition: transform 0.4s ease;
}

.feature-card-modern:hover .feature-card-img img {
    transform: scale(1.04);
}

.feature-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-icon-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Step Cards (How It Works) --- */
.step-card-modern {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(var(--primary-rgb), 0.12);
}

.step-card-img {
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
}

.step-number-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
    flex-shrink: 0;
}

/* bg-light-bg utility */
.bg-light-bg {
    background-color: #f8f9ff !important;
}

/* Section badge utility */
.section-badge .badge {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    font-weight: 600;
}