body {
            font-family: 'Inter', sans-serif;
        }

        section[id] {
            scroll-margin-top: 110px;
        }

        /* Scroll-reveal utility – applied by JS */
        .reveal {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity .7s ease, transform .7s ease;
        }

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

        .reveal-left {
            opacity: 0;
            transform: translateX(-40px);
            transition: opacity .7s ease, transform .7s ease;
        }

        .reveal-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .reveal-right {
            opacity: 0;
            transform: translateX(40px);
            transition: opacity .7s ease, transform .7s ease;
        }

        .reveal-right.visible {
            opacity: 1;
            transform: translateX(0);
        }

        @keyframes gradientMove {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .animate-gradient {
            background: linear-gradient(270deg, #16a34a, #10b981, #0ea5e9, #2563eb);
            background-size: 400% 400%;
            animation: gradientMove 12s ease infinite;
        }

        /* Blob animation */
        @keyframes blob {
            0% {
                transform: translate(0px, 0px) scale(1);
            }

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

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

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

        .animate-blob {
            animation: blob 18s infinite;
        }

        .animation-delay-2000 {
            animation-delay: 2s;
        }

        .animation-delay-3000 {
            animation-delay: 3s;
        }

        .animation-delay-4000 {
            animation-delay: 4s;
        }

        .animation-delay-5000 {
            animation-delay: 5s;
        }

        /* ── Navbar animated dark gradient ───────────────────────── */
        @keyframes navGradient {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .nav-animated-bg {
            background: linear-gradient(135deg,
                    #ffffff 0%, #f0fdf4 25%, #f0f9ff 55%, #ecfdf5 80%, #ffffff 100%);
            background-size: 300% 300%;
            animation: navGradient 18s ease infinite;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }

        /* ── Hero animated gradient ──────────────────────────────── */
        @keyframes heroGradientShift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .hero-animated-bg {
            background: linear-gradient(135deg,
                    #ffffff 0%, #ecfdf5 20%, #eff6ff 40%, #d1fae5 60%, #f0f9ff 80%, #ffffff 100%);
            background-size: 400% 400%;
            animation: heroGradientShift 20s ease infinite;
        }

        /* ── Circular ring float animation ───────────────────────── */
        @keyframes floatRing {

            0%,
            100% {
                opacity: 0.35;
                transform: translate(-50%, -50%) scale(1);
            }

            50% {
                opacity: 0.55;
                transform: translate(-50%, -50%) scale(1.06);
            }
        }

        .animate-ring {
            position: absolute;
            border-radius: 9999px;
            animation: floatRing 10s ease-in-out infinite;
        }

        /* ── Floating dot particles ──────────────────────────────── */
        @keyframes floatDot {

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

            50% {
                transform: translateY(-18px) scale(1.2);
                opacity: 1;
            }
        }

        .animate-floatdot {
            animation: floatDot 6s ease-in-out infinite;
        }

        /* ── Fixed-background parallax strip ────────────────── */
        /* .parallax-section {
            position: relative;
            min-height: 520px;
            background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1800&q=85&auto=format&fit=crop');
            background-size: cover;
            background-position: center 40%;
            background-attachment: fixed;
            /* THE sticky effect */
            /* display: flex; */
            /* align-items: center;
            justify-content: center;
            overflow: hidden; */
        /* } */ 

        @media (min-width: 768px) {
            .parallax-section {
                min-height: 600px;
            }
        }

        /* iOS/touch: fixed bg doesn't work — fall back to scroll */
        @media (max-width: 768px) {
            .parallax-section {
                background-attachment: scroll;
            }
        }

        /* Multi-layer cinematic overlay */
        /* .parallax-overlay {
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.15) 65%, rgba(0, 0, 0, 0.55) 100%),
                linear-gradient(110deg, rgba(4, 120, 87, 0.45) 0%, transparent 50%);
        } */

        /* Animated gradient for headline text */
        @keyframes gradientMoveText {
            0% {
                background-position: 0% center;
            }

            50% {
                background-position: 100% center;
            }

            100% {
                background-position: 0% center;
            }
        }

        /* Text shimmer animation */
        @keyframes shimmer {
            0% {
                background-position: -200% center;
            }
            100% {
                background-position: 200% center;
            }
        }

        .animate-shimmer {
            background: linear-gradient(90deg, #f97316 0%, #3b82f6 50%, #f97316 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shimmer 3s linear infinite;
        }

        /* Animated light sweep */
        @keyframes lightSweep {
            0% {
                transform: translateX(-120%) skewX(-18deg);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            90% {
                opacity: 0.5;
            }

            100% {
                transform: translateX(230%) skewX(-18deg);
                opacity: 0;
            }
        }

        /* .parallax-sweep {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        } */

        /* .parallax-sweep::after {
            content: '';
            position: absolute;
            inset: 0;
            width: 30%;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.07) 45%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 255, 255, 0.07) 55%, transparent 100%);
            animation: lightSweep 6s ease-in-out infinite;
            animation-delay: 2s;
        } */

        /* Subtle dot grid */
        /* .parallax-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(52, 211, 153, 0.06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(52, 211, 153, 0.06) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
        } */

        /* ── Success popup ───────────────────────────────────── */
        #success-popup {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        #success-popup.show {
            opacity: 1;
            pointer-events: auto;
        }

        #success-popup .popup-card {
            background: #fff;
            border-radius: 20px;
            padding: 2.5rem 2rem;
            max-width: 420px;
            width: 90%;
            text-align: center;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
            transform: translateY(24px) scale(0.96);
            transition: transform 0.35s cubic-bezier(.16, 1, .3, 1), opacity 0.35s ease;
            opacity: 0;
        }

        #success-popup.show .popup-card {
            transform: translateY(0) scale(1);
            opacity: 1;
        }

        @keyframes checkDraw {
            to {
                stroke-dashoffset: 0;
            }
        }

        #success-popup.show .popup-check-path {
            stroke-dasharray: 60;
            stroke-dashoffset: 60;
            animation: checkDraw 0.45s ease 0.3s forwards;
        }

        /* Auto-open image popup */
        #welcome-image-popup {
            position: fixed;
            inset: 0;
            z-index: 9998;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(2, 6, 23, 0.7);
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
        }

        #welcome-image-popup.show {
            opacity: 1;
            pointer-events: auto;
        }

        #welcome-image-popup .popup-image-card {
            width: min(92vw, 760px);
            background: #ffffff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
            transform: translateY(18px) scale(0.96);
            transition: transform 0.3s cubic-bezier(.16, 1, .3, 1);
            position: relative;
        }

        #welcome-image-popup.show .popup-image-card {
            transform: translateY(0) scale(1);
        }

        #welcome-image-popup .popup-image-card img {
            display: block;
            width: 100%;
            height: auto;
        }

        #welcome-image-popup .popup-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            border: 0;
            border-radius: 9999px;
            background: rgba(2, 6, 23, 0.6);
            color: #ffffff;
            font-size: 20px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Text reveal animations */
        @keyframes revealUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

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

        @keyframes revealFade {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .px-reveal {
            opacity: 0;
        }

        .px-reveal.in-view {
            animation: revealUp 0.9s cubic-bezier(.16, 1, .3, 1) forwards;
        }

        .px-reveal-fade {
            opacity: 0;
        }

        .px-reveal-fade.in-view {
            animation: revealFade 1.2s ease forwards;
        }

        .px-reveal.in-view:nth-child(1) {
            animation-delay: 0.05s;
        }

        .px-reveal.in-view:nth-child(2) {
            animation-delay: 0.2s;
        }

        .px-reveal.in-view:nth-child(3) {
            animation-delay: 0.35s;
        }

        /* FAQ accordion component */
        .faq-item {
            transition:
                transform 0.28s ease,
                box-shadow 0.28s ease,
                border-color 0.28s ease,
                background-color 0.28s ease;
        }

        .faq-section {
            background:
                radial-gradient(circle at 18% 12%, rgba(34, 197, 94, 0.12), transparent 28%),
                radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.11), transparent 26%),
                linear-gradient(135deg, #ffffff 0%, #ecfdf5 20%, #eff6ff 40%, #d1fae5 60%, #f0f9ff 80%, #ffffff 100%);
            background-size: 100% 100%, 100% 100%, 400% 400%;
            animation: heroGradientShift 20s ease infinite;
        }

        .faq-shell {
            max-width: 72rem;
        }

        .faq-intro {
            margin-bottom: 2.75rem;
        }

        .faq-kicker {
            color: #047857;
            border-color: rgba(255, 255, 255, 0.6);
            background: rgba(255, 255, 255, 0.72);
            box-shadow:
                0 8px 22px rgba(15, 23, 42, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.65);
        }

        .faq-title {
            color: #0f172a;
            text-wrap: balance;
            letter-spacing: -0.04em;
        }

        .faq-radiant {
            display: inline-block;
            background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 34%, #14b8a6 68%, #10b981 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
            filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.2));
        }

        .faq-subtitle {
            color: #334155;
            max-width: 42rem;
            margin-left: auto;
            margin-right: auto;
        }

        .faq-list {
            display: grid;
            gap: 1.25rem;
        }

        .faq-item.is-open {
            transform: scale(1.01);
            border-color: rgba(16, 185, 129, 0.42);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(236, 253, 245, 0.85) 100%);
            box-shadow:
                0 18px 45px rgba(15, 23, 42, 0.09),
                0 0 0 1px rgba(16, 185, 129, 0.12);
        }

        .faq-panel {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transform: translateY(10px);
            transition:
                max-height 0.28s ease-in-out,
                opacity 0.18s ease,
                transform 0.28s ease-in-out;
            will-change: max-height, opacity, transform;
        }

        .faq-item.is-open .faq-panel {
            opacity: 1;
            transform: translateY(0);
        }

        .faq-item.is-open .faq-question {
            color: #064e3b;
        }

        .faq-button {
            padding-top: 1.25rem;
            padding-bottom: 1.25rem;
        }

        .faq-question {
            color: #0f172a;
            line-height: 1.35;
        }

        .faq-answer {
            color: #334155;
            padding-bottom: 1.55rem;
            line-height: 1.85;
        }

        .faq-icon svg {
            transition: transform 0.3s ease;
        }

        .faq-item.is-open .faq-icon svg {
            transform: rotate(180deg);
        }

        .faq-trigger:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.28);
        }

        /* ── Navbar link hover effects ───────────────────────────── */
        @media (min-width: 1024px) {
            /* Default desktop nav link (inactive) */
            #main-nav .nav-link {
                position: relative;
                display: inline-block;
                transition: color 0.25s ease;
                color: #374151; /* text-gray-700 - explicit inactive color */
            }

            #main-nav .nav-link::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: -6px;
                width: 100%;
                height: 2px;
                background: linear-gradient(90deg, #10b981, #14b8a6);
                transform: scaleX(0);
                transform-origin: left;
                transition: transform 0.25s ease;
            }

            #main-nav .nav-link:hover {
                color: #059669;
            }

            /* Active link styling (current page) */
            #main-nav .nav-link.active,
            #main-nav .nav-link[aria-current="page"] {
                color: #059669; /* primary green */
                font-weight: 600;
            }

            #main-nav .nav-link:hover::after {
                transform: scaleX(1);
            }
        }

        #mobile-menu .nav-link,
        #mobile-menu .nav-link:link,
        #mobile-menu .nav-link:visited {
            display: block;
            color: #1f2937;
            border-radius: 0.5rem;
            transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
            -webkit-tap-highlight-color: transparent;
        }

        #mobile-menu .nav-link:hover {
            color: #059669;
            transform: translateX(4px);
        }

        #mobile-menu .nav-link:active {
            color: #047857;
            background: rgba(16, 185, 129, 0.08);
            transform: translateX(2px);
        }

        #mobile-menu .nav-link:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
        }
