:root {
            --bg-dark: #050816;
            --bg-surface: #0f172a;
            --bg-card: rgba(255, 255, 255, 0.03);
            --border-card: rgba(255, 255, 255, 0.06);
            --border-hover: rgba(99, 102, 241, 0.4);
            --accent-1: #6366f1;
            --accent-2: #06b6d4;
            --gradient-main: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
            --gradient-text: linear-gradient(135deg, #818cf8 0%, #22d3ee 100%);
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --glass: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
        }

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

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-dark);
            color: var(--text-primary);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* ===== Scroll Progress ===== */
        #scrollProgress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            width: 0%;
            background: var(--gradient-main);
            z-index: 9999;
            transition: width 0.05s linear;
        }

        /* ===== Back to Top ===== */
        #backToTop {
            position: fixed;
            bottom: 28px;
            right: 28px;
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: var(--gradient-main);
            color: white;
            border: none;
            display: grid;
            place-items: center;
            font-size: 1rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.35s ease;
            z-index: 999;
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
        }

        #backToTop.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        #backToTop:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
        }

        /* ===== Reveal Animation ===== */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }

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

        .reveal-d1 {
            transition-delay: 0.08s;
        }

        .reveal-d2 {
            transition-delay: 0.16s;
        }

        .reveal-d3 {
            transition-delay: 0.24s;
        }

        .reveal-d4 {
            transition-delay: 0.32s;
        }

        /* ===== Navbar ===== */
        .navbar {
            transition: all 0.4s ease;
            padding: 20px 0;
            z-index: 1050;
        }

        .navbar.scrolled {
            background: rgba(5, 8, 22, 0.85) !important;
            backdrop-filter: blur(20px);
            padding: 12px 0;
            box-shadow: 0 1px 40px rgba(0, 0, 0, 0.2);
            border-bottom: 1px solid var(--border-card);
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.6) !important;
            position: relative;
            margin: 0 6px;
            font-weight: 500;
            font-size: 0.9rem;
            padding: 6px 0 !important;
            transition: color 0.3s;
        }

        .nav-link:hover,
        .nav-link.active {
            color: white !important;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 50%;
            background: var(--gradient-main);
            transition: all 0.35s ease;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .dropdown-menu {
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-card);
            border-radius: 16px;
            padding: 10px;
            margin-top: 12px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        }

        .dropdown-item {
            color: #cbd5e1;
            border-radius: 10px;
            padding: 10px 16px;
            font-size: 0.88rem;
            transition: all 0.2s;
        }

        .dropdown-item:hover {
            background: rgba(99, 102, 241, 0.15);
            color: white;
            padding-left: 20px;
        }

        .brand-logo {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: var(--gradient-main);
            display: grid;
            place-items: center;
            color: white;
            font-weight: 800;
            font-size: 0.85rem;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
        }

        /* ===== Hero ===== */
        .hero {
            min-height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            color: white;
            padding: 140px 0 100px;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
            background-size: 40px 40px;
            pointer-events: none;
        }

        .hero-glow-1 {
            position: absolute;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
            top: -300px;
            left: -200px;
            filter: blur(80px);
            animation: float 20s ease-in-out infinite;
        }

        .hero-glow-2 {
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
            bottom: -200px;
            right: -100px;
            filter: blur(80px);
            animation: float 15s ease-in-out infinite reverse;
        }

        @keyframes float {

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

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

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--accent-2);
            margin-bottom: 28px;
            backdrop-filter: blur(10px);
        }

        .hero-tag .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent-2);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.3;
            }
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 800;
            line-height: 1.08;
            margin-bottom: 24px;
            letter-spacing: -1.5px;
        }

        .hero h1 .accent {
            background: var(--gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero .hero-desc {
            font-size: 1.15rem;
            color: var(--text-secondary);
            line-height: 1.8;
            font-weight: 300;
            max-width: 540px;
            margin-bottom: 40px;
        }

        .btn-glow {
            background: var(--gradient-main);
            color: white;
            border: none;
            padding: 14px 36px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.35s ease;
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
        }

        .btn-glow:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 35px rgba(99, 102, 241, 0.4);
            color: white;
        }

        .btn-outline-light-custom {
            background: transparent;
            color: white;
            border: 1.5px solid rgba(255, 255, 255, 0.15);
            padding: 14px 36px;
            border-radius: 50px;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.35s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
        }

        .btn-outline-light-custom:hover {
            border-color: white;
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-3px);
            color: white;
        }

        /* Dashboard Card */
        .dashboard-card {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: 24px;
            padding: 32px;
            backdrop-filter: blur(12px);
            position: relative;
            overflow: hidden;
        }

        .dashboard-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        }

        .dash-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 28px;
        }

        .dash-user {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .dash-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--gradient-main);
            display: grid;
            place-items: center;
            font-weight: 700;
        }

        .dash-name {
            font-weight: 600;
            font-size: 0.95rem;
        }

        .dash-label {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .dash-badge {
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .dash-stat-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 28px;
        }

        .dash-stat {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border-card);
            border-radius: 16px;
            padding: 16px;
        }

        .dash-stat-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .dash-stat-val {
            font-size: 1.4rem;
            font-weight: 700;
        }

        .dash-stat-val.positive {
            color: #10b981;
        }

        .chart-placeholder {
            height: 120px;
            background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
            border-radius: 12px;
            position: relative;
            overflow: hidden;
        }

        .chart-line {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 80 Q 25 10 50 50 T 100 20 V 100 H 0 Z" fill="url(%23grad)" opacity="0.2"/><path d="M0 80 Q 25 10 50 50 T 100 20" fill="none" stroke="%236366f1" stroke-width="2"/><defs><linearGradient id="grad" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%236366f1;stop-opacity:1" /><stop offset="100%" style="stop-color:%236366f1;stop-opacity:0" /></linearGradient></defs></svg>');
            background-size: cover;
        }

        /* ===== Section Common ===== */
        .section-pad {
            padding: 120px 0;
            position: relative;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(99, 102, 241, 0.08);
            color: #818cf8;
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 16px;
            border: 1px solid rgba(99, 102, 241, 0.15);
        }

        .section-title {
            font-size: 3rem;
            font-weight: 800;
            color: var(--text-primary);
            line-height: 1.15;
            letter-spacing: -1px;
        }

        .section-sub {
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.8;
            max-width: 600px;
        }

        .divider-line {
            width: 50px;
            height: 3px;
            background: var(--gradient-main);
            border-radius: 3px;
        }

        /* ===== About ===== */
        .about-img-wrapper {
            position: relative;
        }

        .about-img-wrapper img {
            border-radius: 24px;
            width: 100%;
            height: 500px;
            object-fit: cover;
            border: 1px solid var(--border-card);
        }

        .about-float-card {
            position: absolute;
            bottom: -30px;
            right: -20px;
            background: rgba(5, 8, 22, 0.85);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-card);
            border-radius: 20px;
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        }

        .afc-icon {
            width: 50px;
            height: 50px;
            border-radius: 14px;
            background: var(--gradient-main);
            display: grid;
            place-items: center;
            font-size: 1.2rem;
            color: white;
            flex-shrink: 0;
        }

        .afc-val {
            font-size: 1.5rem;
            font-weight: 800;
            background: var(--gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .afc-label {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .about-stat-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-top: 40px;
        }

        .about-stat-item {
            text-align: center;
            padding: 20px;
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: 16px;
            transition: all 0.3s;
        }

        .about-stat-item:hover {
            border-color: var(--border-hover);
            transform: translateY(-4px);
        }

        .about-stat-item .num {
            font-size: 1.8rem;
            font-weight: 800;
            background: var(--gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .about-stat-item .lbl {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-top: 4px;
        }

        /* ===== Services ===== */
        .svc-card-wrapper {
            margin-bottom: 24px;
        }

        .svc-card {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: 20px;
            padding: 32px;
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .svc-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 0;
            background: var(--gradient-main);
            border-radius: 0 3px 3px 0;
            transition: height 0.4s ease;
        }

        .svc-card:hover::before {
            height: 100%;
        }

        .svc-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-6px);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
            border-radius: 20px 20px 0 0;
        }

        .svc-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            font-size: 1.3rem;
            color: white;
            background: var(--gradient-main);
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
            transition: transform 0.3s;
        }

        .svc-card:hover .svc-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .svc-card h5 {
            font-weight: 700;
            font-size: 1.15rem;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .svc-card p {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin: 0;
        }

        /* Hover Reveal Sub-Services */
/* ===== Updated Sub-Services Container with Scrollbar ===== */
        .svc-subs {
            background: rgba(99, 102, 241, 0.03);
            border: 1px solid var(--border-card);
            border-top: none;
            border-radius: 0 0 20px 20px;
            padding: 0 24px;
            margin-top: -1px;
            max-height: 0;
            overflow-y: auto; /* Enables vertical scrolling when content overflows */
            overflow-x: hidden; /* Prevents unwanted horizontal shifting */
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            -webkit-overflow-scrolling: touch; /* Optimizes smooth scrolling on mobile web views */
        }

        /* Displays and bounds the scroll container window when parent card is active */
        .svc-card-wrapper:hover .svc-subs {
            max-height: 260px; /* Constrains height to force scroll bar activation uniformly */
            opacity: 1;
            padding: 20px 24px;
            border-color: var(--border-hover);
        }

        /* Custom scrollbar interface adjustments matching dark asset aesthetic */
        .svc-subs::-webkit-scrollbar {
            width: 4px;
        }

        .svc-subs::-webkit-scrollbar-track {
            background: transparent;
        }

        .svc-subs::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        .svc-card-wrapper:hover .svc-subs::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.4);
        }

        .sub-item {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-card);
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.3s;
        }

        .sub-item:last-child {
            border-bottom: none;
        }

        .sub-item:hover {
            padding-left: 8px;
        }

        .sub-item i {
            color: var(--accent-2);
            font-size: 0.7rem;
            width: 20px;
            text-align: center;
        }

        .sub-item span {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
        }

        .sub-item:hover span {
            color: white;
        }

        .sub-desc {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: 4px;
            padding-left: 32px;
        }

        

        /* ===== Testimonials ===== */
        .testi-card {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: 20px;
            padding: 32px;
            height: 100%;
            display: flex;
            flex-direction: column;
            transition: all 0.4s;
            position: relative;
        }

        .testi-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--gradient-main);
            opacity: 0;
            transition: opacity 0.4s;
        }

        .testi-card:hover::after {
            opacity: 1;
        }

        .testi-card:hover {
            transform: translateY(-6px);
            border-color: var(--border-hover);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
        }

        .testi-stars {
            color: #fbbf24;
            font-size: 0.85rem;
            margin-bottom: 16px;
            letter-spacing: 2px;
        }

        .testi-quote {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.75;
            font-style: italic;
            flex: 1;
        }

        .testi-client {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--border-card);
        }

        .testi-client img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--border-card);
        }

        .testi-client-name {
            font-weight: 700;
            color: var(--text-primary);
            font-size: 0.9rem;
        }

        .testi-client-role {
            font-size: 0.78rem;
            color: var(--text-muted);
        }

        /* ===== FAQ ===== */
        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: 16px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: all 0.3s;
        }

        .faq-item:hover {
            border-color: var(--border-hover);
        }

        .faq-q {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 22px 28px;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 0.95rem;
            gap: 16px;
            transition: color 0.3s;
            user-select: none;
        }

        .faq-q:hover {
            color: var(--accent-2);
        }

        .faq-num {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-card);
            display: grid;
            place-items: center;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-muted);
            flex-shrink: 0;
            transition: all 0.3s;
        }

        .faq-item.open .faq-num {
            background: var(--gradient-main);
            color: white;
            border-color: transparent;
        }

        .faq-arrow {
            font-size: 0.75rem;
            color: var(--text-muted);
            transition: transform 0.35s ease;
            flex-shrink: 0;
        }

        .faq-item.open .faq-arrow {
            transform: rotate(180deg);
            color: var(--accent-1);
        }

        .faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.5s;
            padding: 0 28px;
        }

        .faq-item.open .faq-a {
            max-height: 500px;
            padding: 0 28px 22px;
        }

        .faq-a p {
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.8;
        }

        /* ===== Contact ===== */
        .contact-left {
            background: var(--bg-surface);
            border-radius: 24px;
            padding: 44px;
            height: 100%;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-card);
        }

        .contact-left::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
            top: -100px;
            right: -100px;
            filter: blur(60px);
        }

        .ci-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 26px;
        }

        .ci-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            display: grid;
            place-items: center;
            color: var(--accent-2);
            flex-shrink: 0;
            font-size: 0.95rem;
        }

        .ci-label {
            font-size: 0.72rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 4px;
        }

        .ci-value {
            font-weight: 600;
            font-size: 0.95rem;
            line-height: 1.5;
            color: var(--text-primary);
        }

        .ci-socials {
            margin-top: auto;
            padding-top: 28px;
            border-top: 1px solid var(--border-card);
        }

        .ci-socials a {
            width: 40px;
            height: 40px;
            border-radius: 11px;
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            display: inline-grid;
            place-items: center;
            color: white;
            margin-right: 8px;
            transition: all 0.3s;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .ci-socials a:hover {
            background: var(--gradient-main);
            border-color: transparent;
            transform: translateY(-3px);
        }

        .contact-right {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: 24px;
            padding: 44px;
            height: 100%;
            backdrop-filter: blur(10px);
        }

        .form-control,
        .form-select {
            background: rgba(255, 255, 255, 0.02) !important;
            border: 1px solid var(--border-card) !important;
            border-radius: 12px !important;
            padding: 12px 16px !important;
            font-size: 0.92rem !important;
            color: white !important;
            transition: all 0.3s;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--accent-1) !important;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
            background: rgba(255, 255, 255, 0.04) !important;
        }

        .form-control::placeholder {
            color: var(--text-muted) !important;
        }

        .form-label {
            font-weight: 600;
            font-size: 0.83rem;
            color: var(--text-secondary);
            margin-bottom: 6px;
        }

        .form-select option {
            background: var(--bg-surface);
            color: white;
        }

        /* ===== Newsletter ===== */
        .nl-section {
            position: relative;
            overflow: hidden;
        }

        .nl-card {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: 24px;
            padding: 60px;
            backdrop-filter: blur(10px);
            position: relative;
            z-index: 1;
        }

        .btn-unsub {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.6);
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.92rem;
            transition: all 0.3s;
        }

        .btn-unsub:hover {
            border-color: #ef4444;
            color: #ef4444;
            background: rgba(239, 68, 68, 0.08);
        }

        .form-check-input {
            background-color: rgba(255, 255, 255, 0.05);
            border-color: var(--border-card);
        }

        .form-check-input:checked {
            background-color: var(--accent-1);
            border-color: var(--accent-1);
        }

        .form-check-label {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        input[type="date"]::-webkit-calendar-picker-indicator {
            filter: invert(1) brightness(0.6);
        }

        /* ===== Footer ===== */
        footer {
            background: var(--bg-dark);
            border-top: 1px solid var(--border-card);
        }

        footer h5 {
            color: white;
            margin-bottom: 20px;
            font-weight: 700;
            font-size: 0.95rem;
        }

        footer a {
            color: var(--text-muted);
            text-decoration: none;
            transition: all 0.3s;
            font-size: 0.88rem;
        }

        footer a:hover {
            color: var(--accent-2);
            padding-left: 3px;
        }

        footer ul li {
            margin-bottom: 10px;
        }

        /* ===== Policy Modals ===== */
        .modal-content {
            background: var(--bg-surface);
            border: 1px solid var(--border-card);
            border-radius: 20px;
            color: var(--text-primary);
        }

        .modal-header {
            border-bottom: 1px solid var(--border-card);
            padding: 20px 24px;
        }

        .modal-body {
            max-height: 68vh;
            overflow-y: auto;
            padding: 20px 24px;
        }

        .modal-body::-webkit-scrollbar {
            width: 5px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: transparent;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: #334155;
            border-radius: 10px;
        }

        .policy-item {
            border: 1px solid var(--border-card);
            border-radius: 12px;
            margin-bottom: 8px;
            overflow: hidden;
        }

        .policy-q {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 0.9rem;
            gap: 12px;
            transition: all 0.3s;
        }

        .policy-q:hover {
            color: var(--accent-2);
        }

        .policy-arrow {
            font-size: 0.7rem;
            color: var(--text-muted);
            transition: transform 0.35s;
            flex-shrink: 0;
        }

        .policy-item.open .policy-arrow {
            transform: rotate(180deg);
            color: var(--accent-1);
        }

        .policy-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.5s;
            padding: 0 20px;
        }

        .policy-item.open .policy-a {
            max-height: 400px;
            padding: 0 20px 18px;
        }

        .policy-a p {
            color: var(--text-secondary);
            font-size: 0.88rem;
            line-height: 1.8;
            margin: 0;
        }

        .btn-close {
            filter: invert(1) brightness(0.6);
        }

        /* ===== Toast ===== */
        .toast-custom {
            background: linear-gradient(135deg, #059669, #10b981);
            border: none;
            border-radius: 14px;
            color: white;
            font-weight: 500;
            box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
        }

        /* ===== Responsive ===== */
        @media (max-width: 991px) {
            .hero h1 {
                font-size: 3rem;
            }

            .section-pad {
                padding: 70px 0;
            }

            .section-title {
                font-size: 2.2rem;
            }

            .contact-left {
                margin-bottom: 24px;
            }

            .nl-card {
                padding: 30px;
            }
        }

        @media (max-width: 767px) {
            .hero h1 {
                font-size: 2.2rem;
            }

            .section-title {
                font-size: 1.9rem;
            }

            .about-img-wrapper img {
                height: 300px;
            }

            .about-float-card {
                position: relative;
                bottom: auto;
                right: auto;
                margin-top: 16px;
            }
        }

/* ════════════════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES — standalone inner pages
   (about, contact, newsletter, unsubscribe, terms, privacy)
   Same dark theme + indigo/cyan gradient as the landing page.
   ════════════════════════════════════════════════════════════════ */

/* Clip horizontal overflow caused by Bootstrap g-5 row gutters (3rem)
   inside .container (1.5rem) and by decorative hero glow circles. */
html { overflow-x: hidden; }

/* Inner pages start below the fixed navbar — add top spacing so the
   page-hero banner is not hidden behind the transparent navbar. */
body.has-pagehero { padding-top: 0; }

/* ── PAGE HERO (dark banner mirroring the landing hero) ── */
.page-hero {
    position: relative;
    padding: 170px 0 90px;
    background: var(--bg-dark);
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 10%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -120px; right: -80px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,.14) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero .ph-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}
.page-hero .ph-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.08);
    color: #818cf8;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 18px;
}
.page-hero h1 .accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero .ph-sub {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}
.page-hero .ph-crumb {
    margin-top: 28px;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.page-hero .ph-crumb a { color: #818cf8; transition: color .25s; }
.page-hero .ph-crumb a:hover { color: var(--text-primary); }
.page-hero .ph-crumb .sep { margin: 0 8px; opacity: .5; }

/* ── Generic content section (reuses .section-pad look) ── */
.content-section { padding: 110px 0; position: relative; }
.content-section.surface { background: var(--bg-surface); }
.content-section .sec-head { text-align: center; margin-bottom: 56px; }
.content-section .sec-head .section-sub { margin: 0 auto; }

/* ── Mission & Vision ── */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.mv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 44px 38px;
    position: relative;
    overflow: hidden;
    transition: all .35s;
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-main);
}
.mv-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 24px 60px rgba(99,102,241,.12);
}
.mv-card .mv-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(99,102,241,.12);
    color: var(--accent-1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 22px;
}
.mv-card .mv-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.mv-card .mv-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.85;
}

/* ── Core values grid ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 34px 24px;
    text-align: center;
    transition: all .35s;
}
.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(99,102,241,.12);
}
.value-card .v-icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 18px;
    transition: transform .3s;
}
.value-card:hover .v-icon { transform: scale(1.08); }
.value-card .v-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.value-card .v-desc {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.7;
}

/* ── CTA banner ── */
.cta-banner { padding: 90px 0; background: var(--bg-dark); }
.cta-inner {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: 22px;
    padding: 64px 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.22), transparent 70%);
    pointer-events: none;
}
.cta-inner .ph-badge { position: relative; z-index: 2; }
.cta-inner h2 {
    position: relative; z-index: 2;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.2;
}
.cta-inner h2 .accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-inner p {
    position: relative; z-index: 2;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 30px;
}
.cta-inner .btns {
    position: relative; z-index: 2;
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ── Policy pages (terms / privacy) — reuse .policy-item accordion ── */
.policy-section { padding: 100px 0 120px; background: var(--bg-dark); }
.policy-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}
.policy-intro {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-card);
    display: flex; align-items: center; gap: 10px;
}
.policy-intro i { color: var(--accent-1); }

/* ── Standalone form pages (contact / newsletter / unsubscribe) ── */
.form-section { padding: 100px 0 120px; background: var(--bg-dark); }

/* Standalone newsletter card (reuse .nl-card look) */
.nl-standalone {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 22px;
    padding: 52px;
    position: relative;
    overflow: hidden;
}
.nl-standalone .text-center.mb-5 { margin-bottom: 32px !important; }

/* Standalone unsubscribe card */
.unsub-card {
    max-width: 620px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-top: 3px solid var(--accent-1);
    border-radius: 22px;
    padding: 52px;
}
.unsub-card .uc-head { text-align: center; margin-bottom: 28px; }
.unsub-card .uc-icon {
    width: 66px; height: 66px;
    border-radius: 50%;
    background: rgba(239,68,68,.12);
    color: #ef4444;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
}
.unsub-card .uc-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.unsub-card .uc-sub {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto;
}

/* Small alternate link under forms */
.alt-link-row {
    text-align: center;
    margin-top: 26px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.alt-link-row a {
    color: var(--accent-2);
    font-weight: 600;
    transition: color .25s;
}
.alt-link-row a:hover { color: var(--text-primary); }

/* Link-style buttons inside forms */
.btn-link-soft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all .3s;
}
.btn-link-soft:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(99,102,241,.08);
}

/* ── Responsive additions for new components ── */
@media (max-width: 991px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .values-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 140px 0 70px; }
    .nl-standalone, .unsub-card, .cta-inner { padding: 38px 22px; }
    .cta-inner { border-radius: 18px; }
}
