:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #121220;
    --bg-tertiary: #1A1A2E;
    --color-primary: #1b98e0;
    --color-secondary: #32de84;
    --color-danger: #ff6b6b;
    --color-accent: #9b59b6;
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0c0;
    --border-color: #3a476a;
    --header-bg: rgba(10, 10, 20, 0.7);
    --shadow-color: rgba(27, 152, 224, 0.5);
    --glow-shadow: 0 0 15px var(--shadow-color);
    --card-bg: rgba(18, 18, 32, 0.8);
    --form-bg: rgba(18, 18, 32, 0.85);
}

html[data-theme='light'] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9ecef;
    --color-primary: #0056b3;
    --color-secondary: #218838;
    --color-accent: #8e44ad;
    --color-text: #212529;
    --color-text-muted: #6c757d;
    --border-color: #dee2e6;
    --header-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 86, 179, 0.35);
    --glow-shadow: 0 5px 20px var(--shadow-color);
    --card-bg: #ffffff;
    --form-bg: rgba(255, 255, 255, 0.95);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--bg-primary);
    background-image: linear-gradient(180deg, var(--bg-primary), var(--bg-tertiary));
}

html[data-theme='dark'] #particles-js {
    display: none;
}

html[data-theme='dark'] body {
    background-color: var(--bg-primary);
    background-image: none;
}

html[data-theme='light'] #particles-js {
    display: block;
    opacity: 0.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* =========================================
   PREMIUM WELCOME SCREEN - WORLD CLASS
   ========================================= */

/* Hide background animation while splash is visible */
body:has(#welcome-screen) .main-bg-animation {
    animation-play-state: paused !important;
    opacity: 0 !important;
}

body:has(#welcome-screen) .main-bg-animation span {
    animation-play-state: paused !important;
    opacity: 0 !important;
}

#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #030014;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Premium loading bar */
#welcome-screen .splash-loader {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    z-index: 20;
}

#welcome-screen .splash-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1b98e0, #9b59b6, #32de84);
    border-radius: 3px;
    animation: splashLoad 2.5s ease-in-out forwards;
}

@keyframes splashLoad {
    0% {
        width: 0%;
    }

    60% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

/* Version badge */
.splash-version {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    z-index: 20;
}

/* Animated gradient mesh background */
#welcome-screen::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(27, 152, 224, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(155, 89, 182, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(50, 222, 132, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 30%, rgba(27, 152, 224, 0.1) 0%, transparent 40%);
    animation: meshFloat 12s ease-in-out infinite alternate;
}

@keyframes meshFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-30px, 20px) rotate(2deg);
    }

    66% {
        transform: translate(20px, -30px) rotate(-1deg);
    }

    100% {
        transform: translate(-10px, 10px) rotate(1deg);
    }
}

/* Grid overlay for depth */
#welcome-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(27, 152, 224, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 152, 224, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 4s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

/* Floating Sparkles */
.particles span {
    position: absolute;
    bottom: -50px;
    background: transparent;
    border-radius: 50%;
    animation: floatUp 7s linear infinite;
    opacity: 0;
}

.particles span:nth-child(1) {
    left: 5%;
    width: 3px;
    height: 3px;
    animation-duration: 8s;
    animation-delay: 0s;
    background: #fff;
    box-shadow: 0 0 6px #fff, 0 0 12px #1b98e0;
}

.particles span:nth-child(2) {
    left: 15%;
    width: 4px;
    height: 4px;
    animation-duration: 10s;
    animation-delay: 0.5s;
    background: #1b98e0;
    box-shadow: 0 0 8px #1b98e0;
}

.particles span:nth-child(3) {
    left: 25%;
    width: 2px;
    height: 2px;
    animation-duration: 6s;
    animation-delay: 1s;
    background: #32de84;
    box-shadow: 0 0 6px #32de84;
}

.particles span:nth-child(4) {
    left: 35%;
    width: 3px;
    height: 3px;
    animation-duration: 9s;
    animation-delay: 0.3s;
    background: #9b59b6;
    box-shadow: 0 0 8px #9b59b6;
}

.particles span:nth-child(5) {
    left: 45%;
    width: 2px;
    height: 2px;
    animation-duration: 7s;
    animation-delay: 2s;
    background: #fff;
    box-shadow: 0 0 6px #fff;
}

.particles span:nth-child(6) {
    left: 55%;
    width: 4px;
    height: 4px;
    animation-duration: 11s;
    animation-delay: 0.8s;
    background: #1b98e0;
    box-shadow: 0 0 10px #1b98e0;
}

.particles span:nth-child(7) {
    left: 65%;
    width: 2px;
    height: 2px;
    animation-duration: 5s;
    animation-delay: 1.5s;
    background: #32de84;
    box-shadow: 0 0 6px #32de84;
}

.particles span:nth-child(8) {
    left: 75%;
    width: 3px;
    height: 3px;
    animation-duration: 8s;
    animation-delay: 3s;
    background: gold;
    box-shadow: 0 0 8px gold;
}

.particles span:nth-child(9) {
    left: 85%;
    width: 2px;
    height: 2px;
    animation-duration: 6s;
    animation-delay: 1.8s;
    background: gold;
    box-shadow: 0 0 6px gold;
}

.particles span:nth-child(10) {
    left: 92%;
    width: 3px;
    height: 3px;
    animation-duration: 9s;
    animation-delay: 0.5s;
    background: #1b98e0;
    box-shadow: 0 0 8px #1b98e0;
}

.particles span:nth-child(11) {
    left: 8%;
    width: 2px;
    height: 2px;
    animation-duration: 7s;
    animation-delay: 2.5s;
    background: #9b59b6;
    box-shadow: 0 0 6px #9b59b6;
}

.particles span:nth-child(12) {
    left: 50%;
    width: 3px;
    height: 3px;
    animation-duration: 10s;
    animation-delay: 1.2s;
    background: #fff;
    box-shadow: 0 0 8px #fff, 0 0 15px #1b98e0;
}

.particles span:nth-child(13) {
    left: 30%;
    width: 2px;
    height: 2px;
    animation-duration: 6s;
    animation-delay: 3.5s;
    background: #32de84;
    box-shadow: 0 0 6px #32de84;
}

.particles span:nth-child(14) {
    left: 70%;
    width: 4px;
    height: 4px;
    animation-duration: 12s;
    animation-delay: 0.2s;
    background: #1b98e0;
    box-shadow: 0 0 12px #1b98e0;
}

.particles span:nth-child(15) {
    left: 40%;
    width: 2px;
    height: 2px;
    animation-duration: 5s;
    animation-delay: 4s;
    background: #fff;
    box-shadow: 0 0 6px #fff;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: translateY(-10vh) rotate(30deg) scale(1);
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-110vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Premium Royal Card with animated border */
.royal-card {
    text-align: center;
    position: relative;
    z-index: 10;
    background: rgba(10, 10, 30, 0.6);
    padding: 60px 50px;
    border-radius: 24px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(27, 152, 224, 0.08),
        inset 0 0 80px rgba(27, 152, 224, 0.03);
    max-width: 500px;
    width: 90%;
    animation: cardReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.royal-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: conic-gradient(from 0deg, #1b98e0, #9b59b6, #32de84, #1b98e0);
    opacity: 0.4;
    z-index: -1;
    animation: rotateBorder 6s linear infinite;
    filter: blur(1px);
}

@keyframes rotateBorder {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cardReveal {
    0% {
        transform: scale(0.85) translateY(30px);
        opacity: 0;
    }

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

/* Logo with orbiting rings */
.logo-spotlight {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.royal-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px rgba(27, 152, 224, 0.3), 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {

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

    50% {
        transform: translateY(-6px);
    }
}

.glow-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(27, 152, 224, 0.6);
    border-right-color: rgba(155, 89, 182, 0.4);
    animation: orbitRing 3s linear infinite;
}

.glow-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-bottom-color: rgba(50, 222, 132, 0.4);
    border-left-color: rgba(27, 152, 224, 0.3);
    animation: orbitRing 5s linear infinite reverse;
}

.glow-ring::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: rgba(155, 89, 182, 0.2);
    animation: orbitRing 7s linear infinite;
}

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

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

/* Shining Text */
.sub-heading {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInText 1s ease 0.3s backwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.main-heading {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.1;
    animation: fadeInText 1s ease 0.5s backwards;
}

.shine-text {
    background: linear-gradient(90deg,
            #1b98e0 0%,
            #32de84 25%,
            #fff 50%,
            #9b59b6 75%,
            #1b98e0 100%);
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineMove 4s linear infinite;
}

@keyframes shineMove {
    to {
        background-position: 300% center;
    }
}

.tagline {
    color: rgba(176, 176, 192, 0.8);
    font-size: 0.95rem;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
    animation: fadeInText 1s ease 0.7s backwards;
}

/* Premium Shining Button */
.royal-btn {
    position: relative;
    background: linear-gradient(135deg, #1b98e0, #9b59b6);
    border: none;
    padding: 16px 55px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(27, 152, 224, 0.35), 0 0 20px rgba(155, 89, 182, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: fadeInText 1s ease 0.9s backwards;
    letter-spacing: 0.5px;
}

.royal-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 50px rgba(27, 152, 224, 0.5), 0 0 30px rgba(155, 89, 182, 0.25);
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: buttonShine 4s infinite;
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }

    25% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .royal-card {
        padding: 45px 25px;
        border-radius: 20px;
    }

    .main-heading {
        font-size: 2.4rem;
    }

    .royal-logo {
        width: 100px;
        height: 100px;
    }

    .logo-spotlight {
        width: 130px;
        height: 130px;
    }

    .sub-heading {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}

header,
main,
footer,
#voice-assistant-btn,
#chatbot-toggle {
    display: none;
}

header {
    background-color: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: var(--header-bg);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

html[data-theme='light'] header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    padding: 2px;
    box-shadow: var(--glow-shadow);
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 0 10px var(--shadow-color);
    }

    to {
        box-shadow: 0 0 25px var(--shadow-color);
    }
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

nav li {
    position: relative;
}

nav a,
.header-btn,
.dropdown>button {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
}

nav a:not(.header-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

nav a:hover:not(.header-btn)::after {
    width: 100%;
    left: 0;
}

nav a:hover,
.header-btn:hover,
.dropdown>button:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.header-btn {
    background-color: var(--color-primary);
    color: white !important;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(27, 152, 224, 0.4);
}

html[data-theme='light'] .header-btn {
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.header-btn:hover {
    background-color: #167ab5;
    box-shadow: 0 6px 20px rgba(27, 152, 224, 0.5);
    color: white !important;
}

html[data-theme='light'] .header-btn:hover {
    background-color: #0056b3;
}

.dropdown>button {
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.dropdown>button .fa-chevron-down {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover>button .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, top 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    width: 100%;
    text-align: left;
}

.dropdown-menu a::after {
    display: none;
}

#theme-switcher {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.lang-switcher {
    display: flex;
    background-color: var(--bg-tertiary);
    border-radius: 6px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.lang-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-radius: 6px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--color-text);
    font-weight: 700;
}

html[data-theme='light'] .section-title {
    color: #343a40;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 60px auto;
    color: var(--color-text-muted);
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 90vh;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    flex: 1.2;
    min-width: 300px;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-subheadline,
.hero-section .btn {
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease-out forwards;
}

.hero-headline {
    opacity: 1;
}

.hero-subheadline {
    animation-delay: 0.8s;
}

.hero-section .btn {
    animation-delay: 1.1s;
}

.hero-headline {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(50, 222, 132, 0.2);
    min-height: 150px;
}

.typewriter-cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
    margin-left: 4px;
    background: var(--color-secondary);
    width: 4px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin-bottom: 25px;
}

.hero-image {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.hero-image .image-frame {
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-primary));
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
    box-shadow: 0 0 50px rgba(27, 152, 224, 0.25);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

html[data-theme='light'] .hero-image .image-frame {
    box-shadow: 0 10px 50px var(--shadow-color);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

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

.hero-image .image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 3s linear infinite;
}

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

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

.hero-image img {
    border-radius: 50%;
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    background-color: var(--bg-secondary);
}

#testimonials {
    background-color: transparent;
    overflow: hidden;
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    min-height: 450px;
    perspective: 1500px;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.testimonial-slider:active {
    cursor: grabbing;
}

.testimonial-card {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 80%;
    max-width: 500px;
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    user-select: none;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease, box-shadow 0.6s ease;
    opacity: 0;
}

.testimonial-card.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--shadow-color);
}

.testimonial-card.prev {
    transform: translateX(-60%) scale(0.8) rotateY(45deg);
    opacity: 0.4;
    z-index: 5;
}

.testimonial-card.next {
    transform: translateX(60%) scale(0.8) rotateY(-45deg);
    opacity: 0.4;
    z-index: 5;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    margin-bottom: 15px;
    pointer-events: none;
}

.testimonial-card .name {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-card .location {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.testimonial-card .rating {
    color: #f1c40f;
    margin-bottom: 15px;
}

.testimonial-card .review-text {
    font-style: italic;
    color: var(--color-text-muted);
}

html[data-theme='light'] .testimonial-card {
    background-color: #ffffff;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

html[data-theme='light'] .testimonial-card .review-text {
    color: #555;
}

html[data-theme='light'] .testimonial-card .name {
    color: var(--color-primary);
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.slider-nav button {
    pointer-events: all;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button:hover {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.slider-nav button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: scale(1);
}

.slider-dots {
    text-align: center;
    margin-top: 25px;
}

.slider-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--color-primary);
    transform: scale(1.3);
}

@media (max-width: 992px) {
    .testimonial-card.prev {
        transform: translateX(-50%) scale(0.75) rotateY(35deg);
    }

    .testimonial-card.next {
        transform: translateX(50%) scale(0.75) rotateY(-35deg);
    }

    .slider-nav {
        width: 110%;
    }
}

@media (max-width: 768px) {
    .slider-nav {
        width: 100%;
    }

    .slider-nav button {
        width: 40px;
        height: 40px;
    }
}

/* --- MOBILE RESPONSIVE TESTIMONIALS --- */
@media (max-width: 768px) {
    .testimonial-slider-container {
        min-height: 520px;
        position: relative;
        padding-bottom: 70px;
        overflow: hidden;
    }

    .testimonial-card {
        width: 90%;
        left: 5%;
        padding: 30px 20px;
        top: 10px;
    }

    .slider-nav {
        display: flex !important;
        width: 100%;
        justify-content: center;
        gap: 40px;
        position: absolute;
        top: auto;
        bottom: 10px;
        transform: none;
        z-index: 100;
        left: 0;
        pointer-events: none;
    }

    .slider-nav button {
        pointer-events: auto;
        background-color: var(--color-primary);
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 1.2rem;
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .testimonial-card.prev,
    .testimonial-card.next {
        opacity: 0;
        pointer-events: none;
    }
}

.review-form-onpage {
    margin-top: 60px;
}

.star-rating {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.star-rating .fa-star {
    transition: color 0.2s, transform 0.2s;
}

.star-rating .fa-star:hover,
.star-rating .fa-star.hovered {
    color: #f1c40f;
    transform: scale(1.2);
}

.star-rating .fa-star.selected {
    color: #f1c40f;
}


.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white !important;
    background: linear-gradient(45deg, var(--color-primary), #4e9af1, var(--color-accent));
    background-size: 200% auto;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(27, 152, 224, 0.4);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(27, 152, 224, 0.6);
}

.btn:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

html[data-theme='light'] .btn {
    background: linear-gradient(45deg, var(--color-primary), #2980b9);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

html[data-theme='light'] .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: 2;
    pointer-events: none;
}

html[data-theme='light'] .btn:hover::after {
    left: 100%;
}

html[data-theme='light'] .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 86, 179, 0.5);
}


@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-glow {
    to {
        --angle: 360deg;
    }
}

.feature-card,
.flip-card,
.stat-card,
.partner-card {
    position: relative;
}

.feature-card,
.card-front,
.card-back,
.stat-card,
.agreement-step .step-content,
.partner-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    z-index: 1;
}

.feature-card::before,
.flip-card::before,
.stat-card::before,
.agreement-step .step-content::before,
.partner-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    background: conic-gradient(from var(--angle), var(--color-accent), var(--color-primary), var(--color-secondary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: rotate-glow 4s linear infinite paused;
}

.feature-card:hover,
.flip-card:hover,
.stat-card:hover,
.agreement-step:hover .step-content,
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before,
.flip-card:hover::before,
.stat-card:hover::before,
.agreement-step:hover .step-content::before,
.partner-card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.feature-card:hover,
.agreement-step:hover .step-content,
.partner-card:hover,
.stat-card:hover,
.flip-card:hover .card-front,
.flip-card:hover .card-back {
    background-color: var(--bg-secondary);
    backdrop-filter: none;
}

html[data-theme='light'] .feature-card:hover,
html[data-theme='light'] .agreement-step:hover .step-content,
html[data-theme='light'] .partner-card:hover,
html[data-theme='light'] .stat-card:hover,
html[data-theme='light'] .flip-card:hover .card-front,
html[data-theme='light'] .flip-card:hover .card-back {
    background: linear-gradient(135deg, var(--color-primary), #4e9af1) !important;
    background-color: var(--color-primary);
    backdrop-filter: none;
    border-color: transparent;
}

html[data-theme='light'] .feature-card:hover h3,
html[data-theme='light'] .feature-card:hover p,
html[data-theme='light'] .flip-card:hover .card-front h3,
html[data-theme='light'] .flip-card:hover .card-front p,
html[data-theme='light'] .flip-card:hover .card-back h3,
html[data-theme='light'] .flip-card:hover .card-back p,
html[data-theme='light'] .partner-card:hover h3,
html[data-theme='light'] .agreement-step:hover .step-content h3,
html[data-theme='light'] .agreement-step:hover .step-content p,
html[data-theme='light'] .stat-card:hover h3,
html[data-theme='light'] .stat-card:hover .chart-percent,
html[data-theme='light'] .stat-card:hover .kpi-container {
    color: #ffffff !important;
}

html[data-theme='light'] .feature-card:hover .icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

html[data-theme='light'] .stat-card h3,
html[data-theme='light'] .stat-card text,
html[data-theme='light'] .chart-container text {
    color: #ffffff !important;
    fill: #ffffff !important;
}

html[data-theme='light'] .partner-card:hover .ref-id {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    border: none;
    min-height: 250px;
}

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

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

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.card-back {
    transform: rotateY(180deg);
}

.flip-card .icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.flip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.flip-card p {
    color: var(--color-text-muted);
}

.feature-card {
    padding: 30px;
    text-align: center;
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

html[data-theme='dark'] .card-grid .feature-card:first-child {
    color: #ffffff !important;
}

html[data-theme='dark'] .card-grid .feature-card:first-child h3,
html[data-theme='dark'] .card-grid .feature-card:first-child p,
html[data-theme='dark'] .card-grid .feature-card:first-child span {
    color: #ffffff !important;
}

html[data-theme='dark'] .card-grid .feature-card:first-child .icon {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child {
    background-color: #ffffff !important;
    border: 1px solid var(--border-color);
}

html[data-theme='light'] .card-grid .feature-card:first-child h3,
html[data-theme='light'] .card-grid .feature-card:first-child p,
html[data-theme='light'] .card-grid .feature-card:first-child .icon {
    color: #333333 !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child .icon {
    background-color: #e9ecef !important;
    color: var(--color-primary) !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child:hover {
    background: linear-gradient(135deg, var(--color-primary), #4e9af1) !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child:hover h3,
html[data-theme='light'] .card-grid .feature-card:first-child:hover p {
    color: #ffffff !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child:hover .icon {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}


.partner-card {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 250px;
}

.partner-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.partner-card h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 0;
}

.partner-card .ref-id {
    background-color: var(--bg-tertiary);
    color: var(--color-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#stats {
    background-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.stat-card h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.chart-container {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.donut-chart {
    width: 150px;
    height: 150px;
    overflow: visible;
}

.donut-chart circle {
    fill: transparent;
    stroke-width: 15;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.5s ease-out;
    stroke-linecap: round;
}

.donut-chart .background {
    stroke: var(--bg-tertiary);
}

.donut-chart .foreground {
    stroke: url(#satisfactionGradient);
}

.chart-percent {
    position: absolute;
    font-size: 2rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.stat-card:hover .chart-percent {
    transform: scale(1.1);
}

#growth-chart-container {
    cursor: grab;
}

#growth-chart-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.radar-chart {
    font-family: sans-serif;
    font-size: 12px;
}

.radar-chart .axis,
.radar-chart .level {
    stroke: var(--border-color);
    stroke-width: 1;
}

.radar-chart .axis-label {
    fill: var(--color-text-muted);
}

.radar-chart .shape {
    fill: var(--shadow-color);
    stroke: var(--color-primary);
    stroke-width: 2;
    transition: all 1.5s ease-out;
}

.bar-chart rect {
    transition: height 1.5s ease-out, y 1.5s ease-out;
}

.bar-chart .bar-label {
    font-size: 12px;
    fill: var(--color-text-muted);
}

.kpi-container {
    font-size: 3rem;
    font-weight: 700;
}

.chart-container text {
    fill: #ffffff !important;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.bar-chart rect {
    fill: url(#satisfactionGradient) !important;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1px;
}

.radar-chart .axis {
    stroke: rgba(255, 255, 255, 0.2);
}

.radar-chart .level {
    stroke: rgba(255, 255, 255, 0.1);
}

.radar-chart .shape {
    fill: rgba(27, 152, 224, 0.4);
    stroke: var(--color-primary);
    stroke-width: 2px;
    filter: drop-shadow(0 0 5px var(--color-primary));
}

#growth-line-chart path {
    stroke: var(--color-secondary);
    stroke-width: 3;
    filter: drop-shadow(0 0 8px var(--color-secondary));
}

#growth-line-chart circle {
    fill: #fff;
    stroke: var(--color-primary);
    stroke-width: 2;
}

.horizontal-bars {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.h-bar-group {
    margin-bottom: 20px;
    position: relative;
}

.h-bar-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.h-bar-progress {
    height: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: visible;
    position: relative;
}

.h-bar-fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
    width: 0;
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.h-bar-1 {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

.h-bar-2 {
    background: linear-gradient(90deg, #1b98e0, #2bcbba);
    box-shadow: 0 0 15px rgba(43, 203, 186, 0.6);
}

.h-bar-3 {
    background: linear-gradient(90deg, #a55eea, #45aaf2);
    box-shadow: 0 0 15px rgba(165, 94, 234, 0.6);
}

.h-bar-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: fadeInDot 0.5s forwards 1.5s;
}

@keyframes fadeInDot {
    to {
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .stat-card.span-2 {
        grid-column: span 2;
    }
}

.agreement-steps {
    list-style: none;
    position: relative;
    padding: 20px 0;
}

.agreement-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.agreement-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.agreement-step .step-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background-color: var(--bg-secondary);
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    z-index: 2;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 15px var(--shadow-color);
}

.agreement-step:hover .step-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 25px var(--shadow-color);
}

.agreement-step .step-content {
    padding: 30px;
    position: relative;
}

.agreement-step:hover .step-content p {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

html[data-theme='light'] .agreement-step:hover .step-content p {
    text-shadow: none;
}

.agreement-step h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.agreement-step p {
    color: var(--color-text-muted);
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-section p,
.footer-section a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--color-primary);
}

.footer-section ul {
    list-style: none;
}

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

.footer-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 0;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    color: var(--color-text);
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s, color 0.3s, box-shadow 0.3s;
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 0 15px var(--shadow-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    border: none;
    overflow: hidden;
    background: transparent;
}

.modal-close {
    position: fixed;
    top: 25px;
    right: 30px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
}

.modal-close:hover {
    background-color: var(--color-danger);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

.form-container {
    background: var(--form-bg);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    margin: 20px auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    overflow: hidden;
}

html[data-theme='light'] .form-container {
    box-shadow: 0 8px 32px 0 var(--shadow-color);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(145deg, var(--color-primary), var(--color-accent));
}

.form-container .btn,
#edit-form .btn {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group .input-wrapper {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

html[data-theme='light'] .form-group input,
html[data-theme='light'] .form-group textarea,
html[data-theme='light'] .form-group select {
    background-color: #fff;
}

html[data-theme='light'] #contact-form input,
html[data-theme='light'] #contact-form textarea,
html[data-theme='light'] #contact-form select {
    color: #212529 !important;
    background-color: #ffffff !important;
    border-color: #dee2e6;
}

html[data-theme='light'] #contact-form input::placeholder,
html[data-theme='light'] #contact-form textarea::placeholder {
    color: #6c757d;
}

.form-container h2,
.form-container h3,
.form-container label {
    color: var(--color-text) !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--shadow-color);
    outline: none;
}

.message {
    text-align: center;
    padding: 15px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 600px;
    border: 1px solid var(--color-danger);
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--color-danger);
}

.message.success {
    border-color: var(--color-secondary);
    background-color: rgba(50, 222, 132, 0.1);
    color: var(--color-secondary);
}

.hidden {
    display: none;
}

.form-group .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: color 0.3s;
    pointer-events: none;
}

.form-group input {
    padding-left: 50px;
}

.form-group textarea {
    padding-left: 20px;
    padding-top: 14px;
}

.form-group .input-wrapper:focus-within .input-icon {
    color: var(--color-primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.admin-dashboard {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab-btn {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--color-text-muted);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    border-bottom: none;
    position: relative;
    top: 1px;
}

.admin-tab-btn:hover {
    background-color: var(--bg-primary);
    color: var(--color-primary);
}

.admin-tab-btn.active {
    background-color: var(--bg-secondary);
    color: var(--color-primary);
    font-weight: 600;
    border-color: var(--border-color);
    border-bottom: 1px solid var(--bg-secondary);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: tab-fade-in 0.5s ease;
}

@keyframes tab-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.admin-table th {
    font-weight: 600;
}

.leads-container {
    margin-bottom: 40px;
}

.lead-card {
    background-color: var(--bg-tertiary);
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.lead-card.new-lead {
    border-left-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(50, 222, 132, 0.2);
}

.lead-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.lead-name {
    font-weight: 600;
    font-size: 1.2rem;
}

.lead-date {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.lead-contact {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.lead-contact a {
    color: var(--color-primary);
    text-decoration: none;
}

.lead-message {
    background-color: var(--bg-primary);
    padding: 10px;
    border-radius: 6px;
}

.lead-status-select {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    border-radius: 6px;
    padding: 5px 10px;
}

.lead-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s, transform 0.2s;
    padding: 2px 5px;
}

.copy-btn:hover {
    color: var(--color-primary);
    transform: scale(1.2);
}

.lead-phone-number.copied {
    color: var(--color-secondary);
    font-weight: 600;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 5px;
}

.edit-btn {
    color: var(--color-primary);
}

.delete-btn {
    color: var(--color-danger);
}

.card-btn {
    color: var(--color-secondary);
}

#edit-modal .modal-content,
#confirm-modal .modal-content {
    background-color: transparent;
}

#edit-modal .modal-body {
    align-items: center;
    justify-content: center;
}

#confirm-modal .modal-content {
    max-width: 450px;
    height: auto;
    text-align: center;
    padding: 40px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
}

.data-profile {
    background-color: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    width: 100%;
    max-width: 950px;
    margin: 0 auto 40px auto;
}

.profile-header {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-secondary);
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.profile-info h2 {
    font-size: 1.5rem;
}

.profile-body {
    padding: 30px;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.field-item label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.field-item .value {
    background-color: var(--bg-primary);
    padding: 10px 15px;
    border-radius: 8px;
}

.animated-agreement {
    background-color: var(--bg-secondary);
    color: var(--color-text);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 950px;
    margin: 20px auto;
    font-family: 'Courier New', Courier, monospace;
}

.animated-agreement h2 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.agreement-actions {
    text-align: center;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.agreement-actions .btn {
    margin: 0;
}

.id-card-v4-wrapper {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.id-card-v4 {
    color: var(--color-text);
    background: linear-gradient(175deg, #10121C 50%, #112D3A 100%);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(27, 152, 224, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.id-card-v4 .card-bg-circuits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.ibb.co/6PBFv53/circuit-bg.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.id-card-v4-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-ribbon-v4 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.card-ribbon-v4::before {
    content: 'PM PM PM PM';
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 200%;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    transform: rotate(-45deg) translateY(20px);
    padding: 4px 0;
    letter-spacing: 2px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.card-header-v4 {
    margin-bottom: 20px;
}

.card-header-v4 img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid rgba(27, 152, 224, 0.7);
}

.card-header-v4 h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-header-v4 p {
    font-size: 1rem;
    color: #c0c0d0;
}

.photo-frame-v4 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    padding: 5px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px var(--shadow-color);
}

.photo-frame-v4 img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.partner-name-v4 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.partner-ref-id-v4 {
    background-color: rgba(50, 222, 132, 0.2);
    color: var(--color-secondary);
    border: 1px solid rgba(50, 222, 132, 0.4);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 8px 0 12px 0;
}

.partner-title-v4 {
    font-size: 1rem;
    font-weight: 500;
    color: #c0c0d0;
    margin-bottom: 25px;
}

.contact-info-v4 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: left;
}

.contact-item-v4 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.contact-item-v4 i {
    color: var(--color-primary);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.contact-item-v4 span {
    word-break: break-all;
}

.qr-section-v4 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    background-color: rgba(10, 10, 20, 0.5);
    padding: 15px;
    border-radius: 12px;
    width: 100%;
    border: 1px solid var(--border-color);
}

.qr-section-v4 img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
}

.qr-section-v4 p {
    font-size: 0.95rem;
    color: #c0c0d0;
    text-align: left;
    line-height: 1.4;
}

.card-footer-v4 {
    margin-top: 30px;
    font-size: 1rem;
    color: #c0c0d0;
}

.card-footer-v4 i {
    color: var(--color-primary);
    margin: 0 5px;
    font-size: 1.1rem;
}

.digital-card-actions {
    margin-top: 30px;
    text-align: center;
}

#voice-assistant-btn,
#chatbot-toggle {
    position: fixed;
    bottom: 25px;
    width: 55px;
    height: 55px;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background-position 0.5s ease;
    background-size: 200% auto;
}

#voice-assistant-btn {
    right: 25px;
    background-image: linear-gradient(45deg, var(--color-primary), #4e9af1);
    box-shadow: 0 5px 20px rgba(27, 152, 224, 0.4);
}

#chatbot-toggle {
    right: 95px;
    background-image: linear-gradient(45deg, var(--color-accent), #c37ee6);
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.4);
}

#voice-assistant-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.6);
    background-position: right center;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.6);
    background-position: right center;
}

#chatbot-container {
    position: fixed;
    bottom: 95px;
    right: 95px;
    width: 90%;
    max-width: 370px;
    height: 500px;
    background-color: var(--bg-secondary);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.5) translateY(50px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    transform-origin: bottom right;
}

#chatbot-container.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    background-color: var(--bg-tertiary);
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--color-primary);
    border-bottom: 1px solid var(--border-color);
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    line-height: 1.4;
}

.chat-message.user {
    background-color: var(--color-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-message.bot {
    background-color: var(--bg-tertiary);
    color: var(--color-text);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-message.bot.typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    margin: 0 2px;
    animation: bounce 1s infinite;
}

.chat-message.bot.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-message.bot.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

.chatbot-input-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

#chatbot-input {
    flex-grow: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--color-text);
    font-size: 1rem;
}

#chatbot-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

#chatbot-send {
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#chatbot-send:hover {
    background-color: #167ab5;
}


.admin-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.review-management-card {
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 4px solid var(--color-accent);
}

.review-management-card.approved {
    border-left-color: var(--color-secondary);
}

.review-details strong {
    font-size: 1.1rem;
    color: var(--color-text);
}

.review-details .review-email {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 5px 0;
}

.review-details .review-rating {
    color: #f1c40f;
    margin: 10px 0;
}

.review-details p {
    font-style: italic;
    color: var(--color-text-muted);
    background-color: var(--bg-primary);
    padding: 10px;
    border-radius: 6px;
}

.review-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.review-actions .approve-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    flex-grow: 1;
}

/* =========================================
   ANIMATIONS (Text & UI)
   ========================================= */

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

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

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

.anim-text-flow {
    background: linear-gradient(270deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textGradientFlow 3s ease infinite;
}

@keyframes elasticPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(0.95);
    }

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

.anim-pop {
    animation: elasticPop 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes blurIn {
    0% {
        filter: blur(10px);
        opacity: 0;
    }

    100% {
        filter: blur(0);
        opacity: 1;
    }
}

.anim-blur-in {
    animation: blurIn 1s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

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

.anim-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes flipInX {
    from {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }

    to {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

.anim-flip-x {
    animation: flipInX 1s ease forwards;
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px var(--color-primary);
    }

    50% {
        box-shadow: 0 0 20px var(--color-primary), 0 0 10px var(--color-secondary);
    }

    100% {
        box-shadow: 0 0 5px var(--color-primary);
    }
}

.anim-neon-pulse {
    animation: neonPulse 2s infinite;
}

@keyframes trackingExpand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.anim-tracking {
    animation: trackingExpand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes floatY {

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

    50% {
        transform: translateY(-15px);
    }
}

.anim-float {
    animation: floatY 4s ease-in-out infinite;
}

@keyframes jiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.anim-jiggle:hover {
    animation: jiggle 0.4s ease-in-out infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

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

.anim-glitch:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes rotateIn {
    from {
        transform: rotate(-200deg);
        opacity: 0;
    }

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

.anim-rotate-in {
    animation: rotateIn 0.8s ease-out;
}

.anim-shine {
    position: relative;
    overflow: hidden;
}

.anim-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.visible {
    opacity: 1 !important;
}

.invisible {
    opacity: 0;
}

#card-modal .modal-content {
    background: transparent;
    box-shadow: none;
    border: none;
    align-items: center;
    justify-content: center;
}

.id-card-wrapper {
    background: #0f172a;
    width: 320px;
    padding: 30px 20px;
    border-radius: 20px;
    border: 2px solid #1b98e0;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(27, 152, 224, 0.4);
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
}

.card-top-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #333;
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.card-subtitle {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 25px;
    font-weight: 400;
}

.card-profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1b98e0;
    padding: 3px;
    background: #fff;
    margin-bottom: 15px;
}

.card-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.referral-badge {
    display: inline-block;
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.partner-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
    display: block;
}

.card-details {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 10px;
}

.detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #ddd;
    font-size: 13px;
}

.detail-row i {
    color: #1b98e0;
    width: 25px;
    font-size: 16px;
}

.qr-box {
    background: #0b1120;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.qr-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
}

.qr-text {
    font-size: 11px;
    color: #aaa;
    line-height: 1.4;
}

.download-actions {
    margin-top: 20px;
    text-align: center;
}

@media screen and (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        padding-top: 20px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-headline {
        font-size: 2.5rem;
        min-height: auto;
    }

    .hero-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .stat-card.span-2 {
        grid-column: span 1;
    }
}

@media screen and (max-width: 768px) {
    header nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: 0.3s ease;
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }

    header.nav-active nav ul {
        left: 0;
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    nav a,
    .header-btn {
        display: inline-block;
        width: 80%;
        padding: 12px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-left: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px;
        text-align: center;
    }

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

    .hero-headline {
        font-size: 2.2rem;
    }

    .card-grid,
    .stats-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    #chatbot-container {
        right: 5%;
        bottom: 90px;
        width: 90%;
    }

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

    .testimonial-card.prev,
    .testimonial-card.next {
        opacity: 0;
        pointer-events: none;
    }

    .testimonial-card {
        width: 95%;
    }

    #voice-assistant-btn {
        right: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    #chatbot-toggle {
        right: 70px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .id-card-wrapper {
        width: 100%;
        padding: 20px 10px;
    }

    .card-ribbon-v4 {
        transform: scale(0.7) translate(20px, -20px);
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 0;
        background-color: var(--header-bg);
        backdrop-filter: blur(15px);
    }

    .header-container {
        padding: 0 15px;
        justify-content: space-between;
    }

    .logo-container {
        gap: 8px;
        max-width: 70%;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .header-right {
        gap: 10px;
    }

    .header-right .header-btn,
    .header-right .lang-switcher {
        display: none;
    }

    #theme-switcher {
        font-size: 1.2rem;
        padding: 5px;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--color-primary);
        border: 1px solid var(--border-color);
        padding: 5px 8px;
        border-radius: 6px;
        margin-left: 5px;
    }

    header nav ul {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: auto;
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        border-bottom: 2px solid var(--color-primary);
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    header.nav-active nav ul {
        left: 0;
    }

    header nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
}


.security-check-box {
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.security-check-box:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.2);
}

.security-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.security-header i {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
}

.math-equation {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 2px;
}

.math-num {
    color: var(--color-primary);
    text-shadow: 0 0 5px var(--color-primary);
}

.captcha-input-field {
    flex-grow: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-text-muted);
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 5px;
    width: 60px;
    transition: border-color 0.3s;
}

.captcha-input-field:focus {
    outline: none;
    border-bottom-color: var(--color-secondary);
}

.captcha-input-field::placeholder {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
}


.captcha-success {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 10px var(--color-secondary);
}

.captcha-error {
    border-color: var(--color-danger) !important;
    animation: shake 0.4s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* --- Social Media Showcase Styling --- */
.social-media-showcase {
    max-width: 900px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* General Card Style */
.social-card {
    text-decoration: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.social-card:hover {
    transform: translateY(-5px);
    background: var(--bg-tertiary);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

/* --- 1. YouTube Hero Card Styling --- */
.yt-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, #2a0a0a, #1a1a1a);
    /* Dark Redish Theme */
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.yt-hero-card .yt-icon {
    width: 70px;
    height: 70px;
    background: #FF0000;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.yt-hero-card .card-info h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 5px;
}

.yt-hero-card .card-info p {
    color: #ccc;
    font-size: 1rem;
}

.yt-hero-card .action-arrow {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.yt-hero-card:hover {
    border-color: #FF0000;
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.25);
}

.yt-hero-card:hover .action-arrow {
    background: #FF0000;
    border-color: #FF0000;
}

/* --- 2. Mini Grid Styling --- */
.social-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.social-mini-grid .social-card {
    flex-direction: row;
    justify-content: flex-start;
}

.social-mini-grid h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

.social-mini-grid span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Brand Specific Colors on Hover */
/* Facebook */
.brand-fb .icon-box {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.brand-fb:hover {
    border-color: #1877F2;
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.2);
}

.brand-fb:hover .icon-box {
    background: #1877F2;
    color: white;
}

/* Instagram */
.brand-insta .icon-box {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

.brand-insta:hover {
    border-color: #E1306C;
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.2);
}

.brand-insta:hover .icon-box {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

/* Twitter/X */
.brand-x .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.brand-x:hover {
    border-color: #fff;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.15);
}

.brand-x:hover .icon-box {
    background: #000;
    color: white;
    border: 1px solid #333;
}

/* Telegram */
.brand-tg .icon-box {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.brand-tg:hover {
    border-color: #0088cc;
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.2);
}

.brand-tg:hover .icon-box {
    background: #0088cc;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .yt-hero-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .yt-hero-card .icon-box {
        margin-right: 0;
    }

    .social-mini-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================
   ULTRA-COLORFUL PREMIUM FOOTER
   ========================================= */

.ultra-footer {
    position: relative;
    /* Deep Blue-Black Gradient Background */
    background: linear-gradient(180deg, #0a0a12 0%, #050508 100%);
    padding: 80px 0 30px;
    margin-top: 80px;
    overflow: hidden;
    /* Top Neon Border Line */
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent)) 1;
}

/* --- Animated Background Glows --- */
.footer-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 0;
}

.footer-glow-orb {
    position: absolute;
    top: -100px;
    left: 20%;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    filter: blur(120px);
    opacity: 0.15;
    animation: pulseGlow 8s infinite alternate;
    z-index: 0;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }

    100% {
        opacity: 0.2;
        transform: scale(1.2);
    }
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

/* --- Column 1: Brand (Colorful) --- */
.brand-logo-glow img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(27, 152, 224, 0.4);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 20px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 800;
    /* Gradient Text Effect */
    background: linear-gradient(90deg, #fff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.brand-desc {
    color: #b0b0c0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: linear-gradient(90deg, rgba(50, 222, 132, 0.1), transparent);
    border-left: 3px solid var(--color-secondary);
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
}

/* --- Columns 2 & 3: Navigation (Clean & Bright) --- */
.col-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

/* Colorful Underline for Titles */
.col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: 2px;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 12px;
}

.link-list a {
    color: #888899;
    text-decoration: none;
    font-size: 1.05rem;
    transition: 0.3s;
    display: block;
}

.link-list a:hover {
    color: var(--color-primary);
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(27, 152, 224, 0.4);
}

/* --- Column 4: Colorful Connect Hub (The Main Upgrade) --- */
.connect-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
}

.connect-card {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

/* 1. YouTube Card (Red Theme) */
.card-yt {
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.08), rgba(0, 0, 0, 0.3));
    border-color: rgba(255, 0, 0, 0.3);
}

.card-yt .card-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.card-yt .card-value {
    color: #fff;
    font-weight: 700;
}

.card-yt:hover {
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    border-color: #ff0000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15);
}

.card-yt:hover .card-icon {
    background: #ff0000;
    color: #fff;
}

/* 2. Email Card (Blue Theme) */
.card-mail {
    background: linear-gradient(90deg, rgba(27, 152, 224, 0.08), rgba(0, 0, 0, 0.3));
    border-color: rgba(27, 152, 224, 0.3);
}

.card-mail .card-icon {
    width: 45px;
    height: 45px;
    background: rgba(27, 152, 224, 0.2);
    color: #4facfe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.2);
}

.card-mail:hover {
    background: linear-gradient(90deg, rgba(27, 152, 224, 0.2), rgba(0, 0, 0, 0.5));
    border-color: #4facfe;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(27, 152, 224, 0.15);
}

.card-mail:hover .card-icon {
    background: #4facfe;
    color: #fff;
}

.card-content {
    flex-grow: 1;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 1.05rem;
}

.card-arrow {
    color: #fff;
    opacity: 0.3;
    transition: 0.3s;
}

.connect-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Social Icons (Brighter) */
.social-row {
    display: flex;
    gap: 12px;
}

.s-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.s-btn:hover {
    transform: scale(1.1);
    color: #fff;
    border-color: transparent;
}

/* Brand Specific Colors on Hover */
.fb:hover {
    background: #1877F2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.insta:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

.x:hover {
    background: #000;
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.tg:hover {
    background: #0088cc;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

/* Footer Bottom */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.95rem;
}

.pulse {
    display: inline-block;
    color: #ff4444;
    animation: heartBeat 1.5s infinite;
    filter: drop-shadow(0 0 5px red);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-logo-glow,
    .trust-badge {
        margin: 0 auto;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-row {
        justify-content: center;
    }

    .col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .link-list a:hover {
        transform: translateX(0);
        color: var(--color-primary);
    }
}

/* ======================================================
   FINAL STABLE HEADER (FOOTER UI + WORKING MENU)
   ====================================================== */

/* 1. Global Shake Fix */
html,
body {
    overflow-x: hidden !important;
    /* Screen ko hilne se rokega */
    width: 100%;
}

/* 2. Main Header Bar */
.ultra-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 12px 0;
    transition: all 0.3s ease;

    /* Footer Style Background */
    background: #050508;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent)) 1;
}

.ultra-header.scrolled {
    background: #020203;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. Logo (Footer Hybrid Style) */
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.h-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.2);
}

.h-brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Desktop Animation */
    background: linear-gradient(135deg, #fff 0%, #c0c0c0 40%, var(--color-primary) 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

/* 4. Navigation Links */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.u-nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.u-link {
    text-decoration: none;
    color: #b0b0c0;
    /* Footer Grey */
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.u-link:hover,
.u-link.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(27, 152, 224, 0.6);
}

/* 5. Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    color: #b0b0c0;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-btn:hover {
    color: #fff;
}

.glass-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    background: #0a0a12;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    min-width: 160px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .glass-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.glass-dropdown li a {
    display: block;
    padding: 8px 12px;
    color: #b0b0c0;
}

.glass-dropdown li a:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* 6. Buttons & Actions */
.action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Desktop Client Portal Button */
.u-btn-portal {
    background: rgba(27, 152, 224, 0.1);
    border: 1px solid rgba(27, 152, 224, 0.3);
    color: #4facfe;
    padding: 6px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.u-btn-portal:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Hide Mobile Portal Item on Desktop */
.mobile-only-item {
    display: none;
}

/* Voice Button */
#stop-voice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
    cursor: pointer;
}

/* Switchers */
.lang-switcher {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px;
    display: flex;
}

.lang-btn {
    background: none;
    border: none;
    color: #666;
    padding: 2px 6px;
    font-size: 0.7rem;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--color-primary);
    color: #fff;
}

.u-theme-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
}

.u-theme-btn:hover {
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
    color: #fff;
}

/* Light Mode Overrides */
html[data-theme='light'] .ultra-header {
    background: #fff;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent)) 1;
}

html[data-theme='light'] .h-brand-name {
    background: linear-gradient(135deg, #333, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    text-shadow: none;
}

html[data-theme='light'] .u-link,
html[data-theme='light'] .dropdown-btn {
    color: #555;
}

html[data-theme='light'] .glass-dropdown {
    background: #fff;
    border-color: #ddd;
}

html[data-theme='light'] .mobile-menu-toggle {
    color: #333;
}


/* ======================================================
   MOBILE RESPONSIVE FIX (MENU + NO SHAKE)
   ====================================================== */

@media (max-width: 1024px) {

    /* A. Fixed Header Height (Stops Jumping) */
    .ultra-header {
        height: 60px !important;
        overflow: visible;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    .header-container {
        height: 100%;
        padding: 0 15px;
    }

    /* B. Anti-Shake Text (Solid Color on Mobile) */
    .h-brand-name {
        animation: none !important;
        background: none !important;
        -webkit-background-clip: border-box !important;
        -webkit-text-fill-color: initial !important;
        color: #ffffff !important;
        text-shadow: none !important;
    }

    html[data-theme='light'] .h-brand-name {
        color: #222 !important;
    }

    /* C. Show Hamburger, Hide Desktop Portal */
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .desktop-only {
        display: none !important;
    }

    /* D. MOBILE MENU DRAWER (Fixed Open Issue) */
    .header-right nav {
        position: fixed;
        top: 60px;
        left: -100%;
        /* Initially Hidden */
        width: 100%;
        height: calc(100vh - 60px);
        background: #050508;
        /* Dark Menu BG */
        display: flex;
        flex-direction: column;
        padding: 20px 0 50px 0;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        overflow-y: auto;
    }

    html[data-theme='light'] .header-right nav {
        background: #fff;
    }

    /* E. THIS OPENS THE MENU (Controlled by JS) */
    .ultra-header.nav-active .header-right nav {
        left: 0 !important;
        /* Force Show */
    }

    /* F. Menu Items Styling */
    .u-nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .u-link,
    .dropdown-btn {
        width: 100%;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.1rem;
        display: block;
    }

    /* G. Mobile Client Portal (Inside Menu) */
    .mobile-only-item {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .mobile-portal-link {
        color: #4facfe !important;
        font-weight: 700;
        background: rgba(27, 152, 224, 0.1);
        border: none;
    }

    /* H. Dropdown Logic */
    .dropdown-menu {
        display: none;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-btn {
        justify-content: center;
        width: 100%;
    }

    /* I. Prevent Shrinking (Layout Stability) */
    .header-brand,
    .action-group,
    .mobile-menu-toggle {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }

    #stop-voice-btn span {
        display: none;
    }
}

/* =========================================
   PREMIUM LEGAL PAGES DESIGN (Terms & Privacy)
   ========================================= */

.legal-hero {
    text-align: center;
    padding: 140px 20px 60px;
    background: radial-gradient(circle at center, rgba(27, 152, 224, 0.15) 0%, transparent 70%);
}

.legal-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-meta {
    color: var(--color-text-muted);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Layout: Sidebar + Content */
.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 100px;
    position: relative;
}

/* Sticky Sidebar */
.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.legal-nav-item {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: 0.3s;
    border-left: 2px solid transparent;
}

.legal-nav-item:hover,
.legal-nav-item.active {
    background: rgba(27, 152, 224, 0.1);
    color: #fff;
    border-left-color: var(--color-primary);
}

/* Content Cards */
.legal-content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.legal-card {
    background: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px;
    transition: transform 0.3s ease, border-color 0.3s;
}

.legal-card:hover {
    border-color: rgba(27, 152, 224, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-card h2 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-card p,
.legal-card li {
    color: #b0b0c0;
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Mobile Responsive for Legal Pages */
@media (max-width: 992px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        display: none;
        /* Hide sidebar on mobile to save space */
    }

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

    .legal-hero {
        padding-top: 100px;
    }
}

/* =========================================
   FIXED: MAIN BACKGROUND PHULJHADI (SPARKLES)
   ========================================= */

/* 1. Animation Container */
.main-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* यह बॉडी कलर के ऊपर और कंटेंट के पीछे रहेगा */
    z-index: 0;
    pointer-events: none;
    /* क्लिक आर-पार जाने देगा */
    overflow: hidden;
}

/* 2. Content ko Upar Lana (Z-Index Fix) */
/* बॉडी का बैकग्राउंड कलर सेट करें */
body {
    background-color: #050508;
    /* Dark Background */
    position: relative;
    z-index: -2;
}

/* बाकी कंटेंट को एनीमेशन के ऊपर उठाएं */
header,
main,
footer,
section {
    position: relative;
    z-index: 2;
    /* कंटेंट सबसे ऊपर */
}

/* कार्ड्स का बैकग्राउंड (ताकि टेक्स्ट पढ़े जा सकें) */
.feature-card,
.stat-card,
.lead-card,
.testimonial-card {
    background: rgba(18, 18, 32, 0.85);
    /* थोड़ा गहरा */
    backdrop-filter: blur(10px);
    z-index: 3;
}

/* 3. The GLOWING PARTICLES (Asli Fuljhadi) */
.main-bg-animation span {
    position: absolute;
    bottom: -50px;
    background: transparent;
    border-radius: 50%;
    /* यह वो ग्लो है जो आपको पसंद आया था */
    box-shadow: 0 0 10px #1b98e0, 0 0 20px #9b59b6, 0 0 30px #ffffff;
    animation: floatUpMain 10s linear infinite;
    opacity: 0;
}

/* Light Theme Fix (ताकि सफ़ेद पर दिखे) */
html[data-theme='light'] body {
    background-color: #f8f9fa;
}

html[data-theme='light'] .main-bg-animation span {
    box-shadow: none;
    background: rgba(0, 86, 179, 0.6);
    /* सॉलिड डॉट्स */
}

/* 4. Positions & Speed (अलग-अलग जगह से निकलेंगे) */
.main-bg-animation span:nth-child(1) {
    left: 10%;
    width: 4px;
    height: 4px;
    animation-duration: 6s;
    animation-delay: 0s;
}

.main-bg-animation span:nth-child(2) {
    left: 20%;
    width: 7px;
    height: 7px;
    animation-duration: 9s;
    animation-delay: 2s;
}

.main-bg-animation span:nth-child(3) {
    left: 30%;
    width: 5px;
    height: 5px;
    animation-duration: 5s;
    animation-delay: 4s;
}

.main-bg-animation span:nth-child(4) {
    left: 40%;
    width: 6px;
    height: 6px;
    animation-duration: 8s;
    animation-delay: 1s;
}

.main-bg-animation span:nth-child(5) {
    left: 50%;
    width: 4px;
    height: 4px;
    animation-duration: 6s;
    animation-delay: 3s;
}

.main-bg-animation span:nth-child(6) {
    left: 60%;
    width: 8px;
    height: 8px;
    animation-duration: 10s;
    animation-delay: 0s;
}

.main-bg-animation span:nth-child(7) {
    left: 70%;
    width: 5px;
    height: 5px;
    animation-duration: 5s;
    animation-delay: 2s;
}

.main-bg-animation span:nth-child(8) {
    left: 80%;
    width: 6px;
    height: 6px;
    animation-duration: 7s;
    animation-delay: 4s;
}

.main-bg-animation span:nth-child(9) {
    left: 90%;
    width: 5px;
    height: 5px;
    animation-duration: 6s;
    animation-delay: 1s;
}

.main-bg-animation span:nth-child(10) {
    left: 15%;
    width: 3px;
    height: 3px;
    animation-duration: 11s;
    animation-delay: 3s;
}

.main-bg-animation span:nth-child(11) {
    left: 85%;
    width: 4px;
    height: 4px;
    animation-duration: 8s;
    animation-delay: 5s;
}

/* 5. Moving Up Animation Keyframes */
@keyframes floatUpMain {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
        /* नीचे आते ही चमकेंगे */
    }

    85% {
        opacity: 0.5;
        /* ऊपर जाते हुए हल्के होंगे */
    }

    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}

/* =========================================
   FIX FOR LIGHT THEME CARDS (TEXT VISIBILITY)
   ========================================= */

/* 1. कार्ड्स को सफेद करें (Light Theme में) */
html[data-theme='light'] .feature-card,
html[data-theme='light'] .stat-card,
html[data-theme='light'] .lead-card,
html[data-theme='light'] .testimonial-card,
html[data-theme='light'] .partner-card {
    background: #ffffff !important;
    /* बैकग्राउंड को सफेद किया */
    color: #333333 !important;
    /* टेक्स्ट को काला किया */
    border: 1px solid #e0e0e0;
    /* हल्का बॉर्डर */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* हल्की परछाई */
}

/* 2. हेडलाइन्स (H3) को गहरा काला करें */
html[data-theme='light'] .feature-card h3,
html[data-theme='light'] .stat-card h3,
html[data-theme='light'] .partner-card h3,
html[data-theme='light'] .testimonial-card .name {
    color: #000000 !important;
}

/* 3. पैराग्राफ टेक्स्ट (p) को डार्क ग्रे करें */
html[data-theme='light'] .feature-card p,
html[data-theme='light'] .stat-card p,
html[data-theme='light'] .partner-card p,
html[data-theme='light'] .testimonial-card .review-text {
    color: #555555 !important;
}

/* 4. होवर (Hover) इफेक्ट को ठीक करें */
html[data-theme='light'] .feature-card:hover,
html[data-theme='light'] .stat-card:hover {
    background: linear-gradient(135deg, #0056b3, #1b98e0) !important;
    /* नीला ग्रेडिएंट */
    border-color: transparent;
}

/* होवर करने पर टेक्स्ट सफेद हो जाए */
html[data-theme='light'] .feature-card:hover h3,
html[data-theme='light'] .feature-card:hover p,
html[data-theme='light'] .feature-card:hover .icon {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* ==================================================
   FIX: TERMS & PRIVACY POLICY (LIGHT THEME)
   Paste this at the very bottom of style.css
   ================================================== */

/* 1. Card aur Sidebar ka background White karna */
html[data-theme='light'] .legal-card,
html[data-theme='light'] .legal-sidebar {
    background-color: #ffffff !important;
    /* White Background */
    border: 1px solid #e0e0e0 !important;
    /* Light Border */
    color: #333333 !important;
    /* Dark Text */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

/* 2. Headings (Titles) ko Black karna */
html[data-theme='light'] .legal-title,
html[data-theme='light'] .legal-card h2,
html[data-theme='light'] .legal-sidebar h4 {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #000000 !important;
    /* Solid Black Title */
    text-shadow: none !important;
}

/* 3. Paragraphs aur Lists ko Dark Grey karna */
html[data-theme='light'] .legal-card p,
html[data-theme='light'] .legal-card ul li,
html[data-theme='light'] .legal-nav-item {
    color: #444444 !important;
    /* Dark Grey Content */
}

/* 4. Sidebar Links ka Hover Effect */
html[data-theme='light'] .legal-nav-item:hover,
html[data-theme='light'] .legal-nav-item.active {
    background-color: rgba(0, 86, 179, 0.1) !important;
    color: #0056b3 !important;
    /* Blue Active Text */
    border-left-color: #0056b3 !important;
}

/* =========================================
   PREMIUM ENHANCEMENTS - WORLD CLASS UPGRADE
   ========================================= */

/* Section Title Enhancement */
.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
    border-radius: 3px;
}

/* Gradient Section Separators */
#services,
#how-we-work,
#features,
#benefits {
    position: relative;
}

#services::before,
#how-we-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 500px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Highlighted Feature Card */
.feature-card--highlight {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.15), rgba(155, 89, 182, 0.15)) !important;
    border-color: rgba(27, 152, 224, 0.3) !important;
}

html[data-theme='dark'] .feature-card--highlight {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.12), rgba(155, 89, 182, 0.12)) !important;
    border-color: rgba(27, 152, 224, 0.25) !important;
}

.feature-card--highlight .icon {
    background: linear-gradient(135deg, var(--color-primary), #9b59b6) !important;
    color: #fff !important;
}

/* Enhanced Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Hero Section Enhancement */
.hero-section {
    min-height: 80vh;
}

.hero-subheadline {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* How We Work step numbers */
#how-we-work .feature-card .icon {
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

/* Premium scroll indicator */
@keyframes scrollBounce {

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

    50% {
        transform: translateY(8px);
    }
}

/* Smooth sections transition */
section {
    transition: opacity 0.3s ease;
}

/* Enhanced Card hover glow */
.feature-card:hover .icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Better mobile responsiveness for new sections */
@media (max-width: 768px) {

    #services,
    #how-we-work {
        padding: 50px 0 !important;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .hero-subheadline {
        font-size: 1rem;
    }
}

/* =========================================
   ANIMATED COUNTER CARDS - STATISTICS
   ========================================= */
.stats-counter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.counter-card {
    text-align: center;
    padding: 35px 20px;
    background: rgba(18, 18, 32, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(27, 152, 224, 0.15);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.counter-card:hover::before {
    transform: scaleX(1);
}

.counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 152, 224, 0.2);
    border-color: rgba(27, 152, 224, 0.4);
}

.counter-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
}

.counter-value::after {
    content: '+';
    font-size: 1.8rem;
}

.counter-decimal::after {
    content: '⭐';
    font-size: 1.2rem;
    margin-left: 4px;
}

.counter-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Light Theme */
html[data-theme='light'] .counter-card {
    background: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

html[data-theme='light'] .counter-card:hover {
    background: linear-gradient(135deg, var(--color-primary), #4e9af1);
    border-color: transparent;
}

html[data-theme='light'] .counter-card:hover .counter-icon,
html[data-theme='light'] .counter-card:hover .counter-value {
    -webkit-text-fill-color: #fff;
    background: none;
}

html[data-theme='light'] .counter-card:hover .counter-label {
    color: rgba(255, 255, 255, 0.85);
}

html[data-theme='light'] .counter-value {
    background: linear-gradient(135deg, #333, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-counter-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-counter-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .counter-card {
        padding: 25px 15px;
    }

    .counter-value {
        font-size: 2.2rem;
    }
}/* =============================================
   PROMPT MINDS — PREMIUM v4.0 WORLD-CLASS REDESIGN
   GoSaas-Level Design • Dark + Light Theme
   ============================================= */

/* ── ENHANCED THEME VARIABLES ── */
:root {
    --section-gap: 100px;
    --card-radius: 20px;
    --glass-blur: 24px;
    --glass-bg-dark: rgba(16, 16, 28, 0.6);
    --glass-border-dark: rgba(255, 255, 255, 0.07);
    --gradient-primary: linear-gradient(135deg, #1b98e0, #9b59b6);
    --gradient-warm: linear-gradient(135deg, #1b98e0, #9b59b6);
    --gradient-success: linear-gradient(135deg, #32de84, #1b98e0);
    --gradient-hero: linear-gradient(135deg, rgba(27, 152, 224, 0.12), rgba(155, 89, 182, 0.08), rgba(50, 222, 132, 0.05));
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.12);
    --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow-blue: 0 0 40px rgba(27, 152, 224, 0.15);
    --shadow-glow-purple: 0 0 40px rgba(155, 89, 182, 0.12);
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme='light'] {
    --glass-bg-dark: rgba(255, 255, 255, 0.7);
    --glass-border-dark: rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.1);
    --shadow-glow-blue: 0 0 30px rgba(27, 152, 224, 0.08);
    --shadow-glow-purple: 0 0 30px rgba(155, 89, 182, 0.06);
    --gradient-hero: linear-gradient(135deg, rgba(27, 152, 224, 0.06), rgba(155, 89, 182, 0.04), rgba(50, 222, 132, 0.03));
}

/* ── BODY ENHANCEMENTS ── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: -0.01em;
}

/* ── SECTION REDESIGN ── */
section {
    padding: var(--section-gap) 0 !important;
    position: relative;
}

.section-title {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    text-align: center;
    margin-bottom: 12px !important;
    color: var(--color-text);
}

.section-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
    color: var(--color-text-muted) !important;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
}

/* ── HERO SECTION v4 ── */
.hero-section {
    min-height: 90vh !important;
    display: flex !important;
    align-items: center !important;
    gap: 60px !important;
    padding-top: 60px !important;
    padding-bottom: 80px !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: heroOrbFloat 20s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.06) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: heroOrbFloat 25s ease-in-out infinite alternate-reverse;
}

@keyframes heroOrbFloat {
    0% {
        transform: translate(0, 0);
    }

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

.hero-image {
    flex-shrink: 0 !important;
}

.hero-image .image-frame {
    width: 280px !important;
    height: 280px !important;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 152, 224, 0.15), 0 0 0 3px rgba(27, 152, 224, 0.1);
    animation: heroImageFloat 6s ease-in-out infinite;
}

@keyframes heroImageFloat {

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

    50% {
        transform: translateY(-12px);
    }
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
}

.hero-subheadline {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: var(--color-text-muted) !important;
    max-width: 520px;
    margin-bottom: 28px !important;
}

.hero-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    backdrop-filter: blur(16px);
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
    margin-bottom: 24px !important;
}

.badge-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
    background: var(--color-secondary) !important;
    box-shadow: 0 0 8px var(--color-secondary);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

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

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

/* Hero CTA */
.hero-cta-group {
    margin-bottom: 32px !important;
}

.hero-cta-group .btn {
    padding: 14px 32px !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all var(--transition-fast) !important;
    position: relative;
    overflow: hidden;
}

.hero-cta-group .btn-primary {
    background: var(--gradient-primary) !important;
    box-shadow: 0 8px 24px rgba(27, 152, 224, 0.3) !important;
}

.hero-cta-group .btn-primary:hover {
    box-shadow: 0 12px 36px rgba(27, 152, 224, 0.4) !important;
    transform: translateY(-3px) !important;
}

.hero-cta-group .btn-secondary {
    background: rgba(155, 89, 182, 0.1) !important;
    border: 1px solid rgba(155, 89, 182, 0.2) !important;
    color: var(--color-accent) !important;
    box-shadow: none !important;
}

.hero-cta-group .btn-secondary:hover {
    background: rgba(155, 89, 182, 0.18) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(155, 89, 182, 0.15) !important;
}

/* Trust Stats */
.hero-trust-stats {
    display: inline-flex !important;
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    padding: 16px 28px !important;
}

.trust-stat-number {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
}

/* ── FEATURE CARDS v4 ── */
.card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 24px !important;
}

.feature-card {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: var(--card-radius) !important;
    padding: 32px 28px !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    transition: all var(--transition-smooth) !important;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: var(--gradient-primary) !important;
    opacity: 0 !important;
    transition: opacity 0.4s !important;
}

.feature-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--card-hover-border) !important;
    box-shadow: var(--shadow-card-hover), var(--shadow-glow-blue) !important;
}

.feature-card:hover::before {
    opacity: 1 !important;
}

.feature-card .icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.12), rgba(155, 89, 182, 0.08)) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px !important;
    font-size: 1.2rem !important;
    color: var(--color-primary) !important;
    transition: all 0.4s !important;
}

.feature-card:hover .icon {
    background: var(--gradient-primary) !important;
    color: white !important;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(27, 152, 224, 0.25);
}

.feature-card h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: var(--color-text) !important;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 0.9rem !important;
    color: var(--color-text-muted) !important;
    line-height: 1.65 !important;
}

/* Highlight cards */
.feature-card--highlight {
    border-color: rgba(155, 89, 182, 0.15) !important;
}

.feature-card--highlight::before {
    background: linear-gradient(135deg, #1b98e0, #32de84, #9b59b6) !important;
    opacity: 1 !important;
}

.feature-card--highlight .icon {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.12), rgba(27, 152, 224, 0.08)) !important;
    color: #1b98e0 !important;
}

/* ── FOUNDER SECTION v4 ── */
.founder-section {
    background: var(--gradient-hero);
}

.founder-card {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 24px !important;
    padding: 48px 40px !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    box-shadow: var(--shadow-card) !important;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    height: 4px !important;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary)) !important;
    border-radius: 24px 24px 0 0 !important;
}

.founder-photo-frame {
    border-radius: 50% !important;
    overflow: hidden !important;
    box-shadow: 0 16px 48px rgba(27, 152, 224, 0.15) !important;
}

.founder-photo-frame img {
    transition: transform 0.6s var(--transition-smooth);
}

.founder-photo-frame:hover img {
    transform: scale(1.05);
}

.founder-stat-card {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 16px !important;
    padding: 20px 16px !important;
    text-align: center;
    transition: all var(--transition-fast) !important;
}

.founder-stat-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(27, 152, 224, 0.25) !important;
    box-shadow: 0 12px 32px rgba(27, 152, 224, 0.1) !important;
}

.interest-pill {
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    background: rgba(27, 152, 224, 0.06) !important;
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
    transition: all var(--transition-fast) !important;
}

.interest-pill:hover {
    background: rgba(27, 152, 224, 0.12) !important;
    border-color: rgba(27, 152, 224, 0.25) !important;
    transform: translateY(-2px) !important;
}

.yt-channel-card {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    transition: all var(--transition-fast) !important;
}

.yt-channel-card:hover {
    border-color: rgba(27, 152, 224, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(27, 152, 224, 0.08) !important;
}

/* ── TIMELINE / HOW WE WORK v4 ── */
.how-we-work-section {
    background: var(--gradient-hero);
}

.timeline-container {
    max-width: 700px !important;
    margin: 0 auto !important;
}

.timeline-number {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 24px rgba(27, 152, 224, 0.2) !important;
}

.timeline-card {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 18px !important;
    padding: 28px 24px !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    transition: all var(--transition-fast) !important;
    flex: 1;
}

.timeline-card:hover {
    transform: translateY(-3px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-card-hover);
}

.timeline-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
}

/* ── FAQ SECTION v4 — GoSaas 2-Column Style ── */
#faq .container>div[style] {
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

.faq-item {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all var(--transition-fast) !important;
    margin-bottom: 0 !important;
}

.faq-item:hover {
    border-color: var(--card-hover-border) !important;
    box-shadow: var(--shadow-card) !important;
}

.faq-item.active {
    border-color: rgba(27, 152, 224, 0.2) !important;
    box-shadow: 0 8px 24px rgba(27, 152, 224, 0.08) !important;
}

.faq-item.active {
    border-left: 3px solid var(--color-primary) !important;
}

.faq-question {
    padding: 20px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

.faq-answer {
    padding: 0 24px !important;
}

.faq-answer p {
    padding-bottom: 20px;
}

/* ── CONTACT FORM v4 ── */
.form-container {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 24px !important;
    padding: 40px 36px !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    box-shadow: var(--shadow-card) !important;
    max-width: 700px;
    margin: 0 auto;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 12px !important;
    padding: 14px 16px 14px 44px !important;
    color: var(--color-text) !important;
    font-size: 0.95rem !important;
    transition: all var(--transition-fast) !important;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(27, 152, 224, 0.1) !important;
    background: rgba(27, 152, 224, 0.02) !important;
}

html[data-theme='light'] .form-group input,
html[data-theme='light'] .form-group textarea {
    background: rgba(0, 0, 0, 0.02) !important;
}

html[data-theme='light'] .form-group input:focus,
html[data-theme='light'] .form-group textarea:focus {
    background: white !important;
}

/* Submit button */
#contact-form .btn[type="submit"],
#contact-form button[type="submit"] {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 32px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(27, 152, 224, 0.25) !important;
    transition: all var(--transition-fast) !important;
}

#contact-form .btn[type="submit"]:hover,
#contact-form button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 36px rgba(27, 152, 224, 0.35) !important;
}

/* ── TESTIMONIALS v4 ── */
.testimonial-slider-container {
    position: relative;
}

.testimonial-card {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    transition: all var(--transition-fast) !important;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

/* ── STATS SECTION v4 ── */
.stats-grid {
    gap: 24px !important;
}

.stat-card {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    transition: all var(--transition-fast) !important;
}

.stat-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-card-hover) !important;
}

/* ── FLIP CARDS v4 ── */
.flip-card {
    height: 300px !important;
}

.card-front,
.card-back {
    border-radius: var(--card-radius) !important;
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
}

.card-back {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.08), rgba(155, 89, 182, 0.06)) !important;
    border-color: rgba(27, 152, 224, 0.15) !important;
}

html[data-theme='light'] .card-back {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.05), rgba(155, 89, 182, 0.04)) !important;
}

/* ── PARTNERS SECTION v4 ── */
#partners .card-grid {
    gap: 20px !important;
}

/* ── DIGITAL ECOSYSTEM v4 ── */
#digital-ecosystem {
    background: var(--gradient-hero);
}

#digital-ecosystem .feature-card {
    text-align: center;
    cursor: pointer;
}

/* ── FOOTER v4 ── */
.ultra-footer {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--glass-border-dark) !important;
    padding: 80px 0 0 !important;
    position: relative;
}

.footer-wrapper {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
    gap: 48px !important;
}

.footer-copyright {
    border-top: 1px solid var(--glass-border-dark) !important;
    margin-top: 60px !important;
    padding: 24px 0 !important;
    text-align: center;
}

.connect-card {
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    border-radius: 14px !important;
    transition: all var(--transition-fast) !important;
}

.connect-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-card) !important;
}

.s-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: var(--glass-bg-dark) !important;
    border: 1px solid var(--glass-border-dark) !important;
    transition: all var(--transition-fast) !important;
}

.s-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-card) !important;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* ── GLOBAL BUTTON POLISH ── */
.btn {
    border-radius: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    transition: all var(--transition-fast) !important;
}

/* ── REVIEW FORM ── */
.review-form-onpage .form-container {
    max-width: 700px;
    margin: 0 auto;
}

.star-rating i {
    font-size: 1.4rem !important;
    cursor: pointer;
    transition: all 0.2s !important;
    color: var(--color-text-dim) !important;
}

.star-rating i.active,
.star-rating i:hover {
    color: gold !important;
    transform: scale(1.15);
}

/* ── RESPONSIVE v4 ── */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column !important;
        text-align: center;
        gap: 40px !important;
        min-height: auto !important;
        padding-top: 40px !important;
    }

    .hero-content {
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust-stats {
        justify-content: center;
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-wrapper {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 70px;
    }

    .card-grid {
        grid-template-columns: 1fr !important;
    }

    #faq .container>div[style] {
        grid-template-columns: 1fr !important;
    }

    .hero-image .image-frame {
        width: 200px !important;
        height: 200px !important;
    }

    .form-container {
        padding: 28px 20px !important;
    }

    .founder-card {
        padding: 28px 20px !important;
    }

    .footer-wrapper {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    .flip-card {
        height: 260px !important;
    }
}

@media (max-width: 480px) {
    :root {
        --section-gap: 60px;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .hero-headline {
        font-size: 2rem !important;
    }

    .hero-trust-stats {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 20px !important;
    }

    .trust-stat-divider {
        display: none;
    }
}

/* ── SELECTION COLOR ── */
::selection {
    background: rgba(27, 152, 224, 0.2);
    color: var(--color-text);
}

/* ── SMOOTH TRANSITIONS FOR THEME SWITCH ── */
*,
*::before,
*::after {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Exclude animations from the global transition */
[data-aos],
.typewriter-cursor,
.badge-dot,
.shine-effect,
.splash-loader,
.royal-card,
.particles span,
.hero-image .image-frame,
svg,
canvas {
    transition-property: none !important;
}

/* Re-enable specific transitions */
.feature-card,
.btn,
.faq-item,
.stat-card,
.flip-card .card-inner,
.timeline-card,
.founder-stat-card,
.interest-pill,
.yt-channel-card,
.connect-card,
.s-btn,
.testimonial-card,
.form-group input,
.form-group textarea {
    transition: all var(--transition-smooth) !important;
}

/* ── LIGHT THEME SPECIFIC POLISH ── */
html[data-theme='light'] .feature-card {
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme='light'] .feature-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(27, 152, 224, 0.1) !important;
}

html[data-theme='light'] .founder-card,
html[data-theme='light'] .timeline-card,
html[data-theme='light'] .stat-card,
html[data-theme='light'] .testimonial-card {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme='light'] .faq-item {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03) !important;
}

html[data-theme='light'] .form-container {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme='light'] .hero-badge {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme='light'] .hero-trust-stats {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme='light'] .founder-stat-card {
    background: rgba(255, 255, 255, 0.9) !important;
}

html[data-theme='light'] .ultra-footer {
    background: #f0f2f7 !important;
}

html[data-theme='light'] .feature-card .icon {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.08), rgba(155, 89, 182, 0.05)) !important;
}

section+section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    opacity: 0.3;
}

/* ── LIGHT THEME — CHATBOT ── */
html[data-theme='light'] #chatbot-container {
    background-color: #ffffff !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme='light'] .chatbot-header {
    background-color: #f0f2f7 !important;
    border-bottom: 1px solid #dee2e6;
}

html[data-theme='light'] .chat-message.bot {
    background-color: #f0f2f7 !important;
    color: #212529 !important;
}

html[data-theme='light'] .chatbot-input-form {
    background-color: #ffffff !important;
    border-top: 1px solid #dee2e6;
}

html[data-theme='light'] #chatbot-input {
    background: #f0f2f7 !important;
    border-color: #dee2e6 !important;
    color: #212529 !important;
}

/* ── LIGHT THEME — REVIEW FORM ── */
html[data-theme='light'] .review-form-onpage .form-container {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme='light'] .review-form-onpage label {
    color: #212529 !important;
}

html[data-theme='light'] .star-rating i {
    color: #cbd5e1 !important;
}

html[data-theme='light'] .star-rating i.active,
html[data-theme='light'] .star-rating i:hover {
    color: gold !important;
}

/* ── LIGHT THEME — CAPTCHA ── */
html[data-theme='light'] .captcha-box {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 16px;
}

html[data-theme='light'] #captcha-question {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #212529 !important;
    border-color: #dee2e6 !important;
}

html[data-theme='light'] #captcha-answer {
    color: #212529 !important;
    background: #ffffff !important;
}

html[data-theme='light'] .captcha-refresh {
    color: #6c757d !important;
}

/* ── LIGHT THEME — THEME SWITCHER BUTTON ── */
html[data-theme='light'] .u-theme-btn {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #212529 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme='light'] .u-theme-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* ── LIGHT THEME — LANG SWITCHER ── */
html[data-theme='light'] .lang-btn {
    color: #6c757d !important;
}

html[data-theme='light'] .lang-btn.active {
    color: #0056b3 !important;
    background: rgba(0, 86, 179, 0.08) !important;
}

/* ── LIGHT THEME — SECTION BACKGROUNDS ── */
html[data-theme='light'] .how-we-work-section,
html[data-theme='light'] #digital-ecosystem {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.03), rgba(155, 89, 182, 0.02), rgba(50, 222, 132, 0.02)) !important;
}

html[data-theme='light'] .timeline-card {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

html[data-theme='light'] .timeline-number {
    box-shadow: 0 8px 24px rgba(27, 152, 224, 0.12) !important;
}

/* ── LIGHT THEME — REFERRAL & MISC ── */
html[data-theme='light'] .referral-section label {
    color: #212529 !important;
}

html[data-theme='light'] #referral-result-area {
    color: #212529;
}

html[data-theme='light'] #verify-referral-btn {
    background: rgba(27, 152, 224, 0.08) !important;
    color: #0056b3 !important;
    border: 1px solid rgba(27, 152, 224, 0.2);
}

/* ── LIGHT THEME — MOBILE BOTTOM NAV ── */
html[data-theme='light'] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme='light'] .mobile-bottom-nav .nav-item {
    color: #6c757d !important;
}

html[data-theme='light'] .mobile-bottom-nav .nav-item.active {
    color: #0056b3 !important;
}

/* ── LIGHT THEME — INPUT ICONS ── */
html[data-theme='light'] .input-icon {
    color: #6c757d !important;
}

/* ── LIGHT THEME — SERVICES HERO CARD ── */
html[data-theme='light'] .services-hero-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
    box-shadow: 0 8px 40px rgba(27, 152, 224, 0.06) !important;
}

html[data-theme='light'] .services-category-title {
    border-bottom-color: rgba(27, 152, 224, 0.1) !important;
}/* =========================================
   Mobile Navigation - Responsive Menu System
   Used by all image tools
   ========================================= */

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-color, #3a476a);
    background: var(--bg-tertiary, #1a1a2e);
    color: var(--text-primary, #ffffff);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.mobile-menu-toggle:hover {
    background: var(--primary-blue, #1b98e0);
    border-color: var(--primary-blue, #1b98e0);
    color: #fff;
}

/* Mobile Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.visible {
    display: block;
    opacity: 1;
}

/* Mobile Nav Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-secondary, #121220);
    border-left: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 80px 25px 30px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav-panel.open {
    right: 0;
}

.mobile-nav-panel .mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color, #3a476a);
    background: var(--bg-tertiary, #1a1a2e);
    color: var(--text-primary, #ffffff);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-nav-panel .mobile-nav-close:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.mobile-nav-panel .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-panel .mobile-nav-links li {
    margin-bottom: 6px;
}

.mobile-nav-panel .mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    color: var(--text-secondary, #e0e0e0);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav-panel .mobile-nav-links a:hover,
.mobile-nav-panel .mobile-nav-links a.active {
    background: rgba(27, 152, 224, 0.12);
    color: var(--primary-blue, #1b98e0);
    border-color: rgba(27, 152, 224, 0.3);
}

.mobile-nav-panel .mobile-nav-links a i {
    width: 22px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-nav-panel .mobile-nav-divider {
    height: 1px;
    background: var(--border-color, #3a476a);
    margin: 15px 0;
}

/* Light theme adjustments */
[data-theme="light"] .mobile-nav-panel {
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .mobile-nav-overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        order: 99;
        margin-left: auto;
    }

    .header-container {
        flex-wrap: nowrap;
    }

    .header-right {
        margin-left: auto;
        gap: 10px;
    }

    .header-right nav {
        display: none;
    }

    .u-nav-list {
        display: none;
    }

    /* Sidebar hidden on mobile */
    .sidebar {
        display: none;
    }

    .tool-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}/* =====================================================
   ULTRA PREMIUM CSS — PROMPT MINDS WORLD-CLASS DESIGN
   Total Target: 10,000+ lines | Part 1 of 4
   ===================================================== */

/* Hide Hindi text by default (CSS fallback before JS loads) */
.lang-hi {
    display: none;
}


/* =====================================================
   1. THEME SYSTEM FIX — DARK & LIGHT
   ===================================================== */
:root {
    --pm-red: #1b98e0;
    --pm-red-light: #32de84;
    --pm-red-dark: #9b59b6;
    --pm-red-glow: rgba(27, 152, 224, 0.4);
    --pm-gradient-red: linear-gradient(135deg, #1b98e0, #9b59b6, #32de84);
    --pm-gradient-red-btn: linear-gradient(135deg, #1b98e0 0%, #9b59b6 50%, #1b98e0 100%);
    --pm-gradient-hero: linear-gradient(135deg, rgba(27, 152, 224, 0.08), rgba(155, 89, 182, 0.08), rgba(50, 222, 132, 0.08));
    --pm-glass: rgba(15, 15, 35, 0.6);
    --pm-glass-border: rgba(255, 255, 255, 0.08);
    --pm-glass-hover: rgba(27, 152, 224, 0.1);
    --pm-text-gradient: linear-gradient(135deg, #1b98e0, #32de84, #9b59b6);
    --pm-shadow-red: 0 8px 32px rgba(27, 152, 224, 0.3);
    --pm-shadow-hover: 0 20px 60px rgba(27, 152, 224, 0.4);
    --pm-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --pm-transition-fast: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --pm-transition-slow: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    --pm-border-radius: 16px;
    --pm-border-radius-sm: 10px;
    --pm-border-radius-lg: 24px;
}

/* DARK THEME — Enhanced */
html[data-theme='dark'] {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-tertiary: #111128;
    --color-text: #eaeaff;
    --color-text-muted: #8888aa;
    --border-color: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(5, 5, 16, 0.85);
    --card-bg: rgba(12, 12, 30, 0.7);
    --form-bg: rgba(12, 12, 30, 0.8);
    --pm-glass: rgba(10, 10, 25, 0.65);
    --pm-section-bg: rgba(8, 8, 20, 0.5);
}

html[data-theme='dark'] body {
    background: #050510;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(27, 152, 224, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(27, 152, 224, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(155, 89, 182, 0.02) 0%, transparent 60%);
}

html[data-theme='dark'] .section-title {
    color: #fff;
}

html[data-theme='dark'] .section-subtitle {
    color: #8888aa;
}

/* LIGHT THEME — Enhanced */
html[data-theme='light'] {
    --bg-primary: #fafbff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f2f8;
    --color-text: #1a1a2e;
    --color-text-muted: #555577;
    --border-color: rgba(0, 0, 0, 0.08);
    --header-bg: rgba(250, 251, 255, 0.92);
    --card-bg: rgba(255, 255, 255, 0.9);
    --form-bg: rgba(255, 255, 255, 0.95);
    --pm-glass: rgba(255, 255, 255, 0.7);
    --pm-glass-border: rgba(0, 0, 0, 0.06);
    --pm-section-bg: rgba(240, 242, 248, 0.5);
}

html[data-theme='light'] body {
    background: #fafbff;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(27, 152, 224, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(27, 152, 224, 0.03) 0%, transparent 50%);
}

html[data-theme='light'] .section-title {
    color: #1a1a2e;
}

html[data-theme='light'] .feature-card,
html[data-theme='light'] .flip-card .card-front,
html[data-theme='light'] .flip-card .card-back {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

html[data-theme='light'] .feature-card:hover {
    box-shadow: 0 12px 40px rgba(27, 152, 224, 0.12) !important;
    border-color: rgba(27, 152, 224, 0.2) !important;
}

html[data-theme='light'] .founder-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

html[data-theme='light'] .timeline-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-theme='light'] .faq-item {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

html[data-theme='light'] .form-container {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

html[data-theme='light'] .input-wrapper {
    background: rgba(240, 242, 248, 0.8) !important;
}

html[data-theme='light'] .ultra-footer {
    background: #1a1a2e !important;
}

html[data-theme='light'] .ultra-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme='light'] header.scrolled {
    background-color: rgba(250, 251, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme='light'] .services-hero-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

html[data-theme='light'] .hero-badge {
    background: rgba(27, 152, 224, 0.06) !important;
    border-color: rgba(27, 152, 224, 0.15) !important;
}

html[data-theme='light'] .chatbot-header {
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
}

html[data-theme='light'] #chatbot-container {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* =====================================================
   2. PREMIUM HEADER — Enhanced Glassmorphism
   ===================================================== */
.ultra-header {
    background: var(--header-bg) !important;
    backdrop-filter: blur(24px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.4) !important;
    border-bottom: 1px solid var(--pm-glass-border);
    transition: var(--pm-transition);
}

.ultra-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pm-red), var(--color-primary), var(--pm-red), transparent);
    opacity: 0.3;
    animation: headerLineShimmer 4s ease-in-out infinite;
}

@keyframes headerLineShimmer {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.5;
    }
}

.h-brand-name {
    background: linear-gradient(135deg, var(--pm-red), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

.u-theme-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--pm-glass-border);
    background: var(--pm-glass);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--pm-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.u-theme-btn:hover {
    border-color: var(--pm-red);
    box-shadow: 0 0 20px var(--pm-red-glow);
    transform: translateY(-2px) rotate(15deg);
}

.u-theme-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pm-gradient-red);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.u-theme-btn:hover::before {
    opacity: 0.1;
}

.lang-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--pm-glass-border);
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--pm-transition);
    letter-spacing: 0.5px;
}

.lang-btn.active {
    background: var(--pm-gradient-red-btn);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--pm-red-glow);
}

.lang-btn:hover:not(.active) {
    border-color: var(--pm-red);
    color: var(--pm-red);
}

/* Nav links hover */
.u-link {
    position: relative;
    transition: var(--pm-transition) !important;
}

.u-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--pm-gradient-red) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    transform: translateX(-50%) !important;
    border-radius: 2px !important;
}

.u-link:hover::after,
.u-link.active::after {
    width: 80% !important;
}

.u-link:hover {
    color: var(--pm-red) !important;
    transform: translateY(-2px);
}

.u-link.active {
    color: var(--pm-red) !important;
}

/* =====================================================
   3. HERO SECTION — Ultra Premium
   ===================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: heroOrbFloat 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    animation: heroOrbFloat 20s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes heroOrbFloat {

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

    25% {
        transform: translate(30px, -40px) scale(1.1);
    }

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

    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* Hero Image — Premium Photo Frame */
.hero-image {
    flex: 0 0 auto;
}

.image-frame {
    width: 320px;
    height: 320px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
    transition: var(--pm-transition-slow);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 32px;
    background: conic-gradient(from 0deg, var(--pm-red), var(--color-primary), var(--color-accent), var(--pm-red));
    z-index: -1;
    animation: imageFrameRotate 6s linear infinite;
}

.image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.15) 0%, transparent 50%, rgba(27, 152, 224, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.image-frame:hover::after {
    opacity: 1;
}

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

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

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    transition: var(--pm-transition-slow);
    filter: contrast(1.05) brightness(1.02);
}

.image-frame:hover img {
    transform: scale(1.08);
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
}

.image-frame:hover {
    box-shadow: 0 30px 80px rgba(27, 152, 224, 0.2), 0 0 60px rgba(27, 152, 224, 0.1);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(27, 152, 224, 0.08);
    border: 1px solid rgba(27, 152, 224, 0.2);
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pm-red);
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--pm-red);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 var(--pm-red-glow);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px transparent;
    }
}

@keyframes badgePulse {

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

    50% {
        transform: translateY(-3px);
    }
}

/* Hero Headline */
.hero-headline {
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--pm-red) 50%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: headlineGradient 5s ease-in-out infinite;
}

@keyframes headlineGradient {

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

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

.typewriter-cursor {
    -webkit-text-fill-color: var(--pm-red);
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hero Subheadline */
.hero-subheadline {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: var(--color-text-muted) !important;
    max-width: 560px;
    margin-bottom: 30px !important;
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-cta-group .btn-primary {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--pm-shadow-red);
    transition: var(--pm-transition);
    position: relative;
    overflow: hidden;
}

.hero-cta-group .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.hero-cta-group .btn-primary:hover::before {
    left: 100%;
}

.hero-cta-group .btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--pm-shadow-hover);
}

.hero-cta-group .btn-secondary {
    background: transparent !important;
    color: var(--pm-red) !important;
    border: 2px solid var(--pm-red) !important;
    padding: 12px 30px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--pm-transition);
}

.hero-cta-group .btn-secondary:hover {
    background: rgba(27, 152, 224, 0.08) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--pm-red-glow);
}

/* Hero Trust Stats */
.hero-trust-stats {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 24px 32px;
    background: var(--pm-glass);
    border: 1px solid var(--pm-glass-border);
    border-radius: var(--pm-border-radius);
    backdrop-filter: blur(16px);
    transition: var(--pm-transition);
}

.hero-trust-stats:hover {
    border-color: rgba(27, 152, 224, 0.2);
    box-shadow: 0 8px 30px rgba(27, 152, 224, 0.08);
}

.trust-stat-number {
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: var(--pm-red) !important;
}

.trust-stat-plus {
    color: var(--pm-red) !important;
    font-weight: 700;
}

.trust-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--pm-red), transparent);
    opacity: 0.3;
}

/* =====================================================
   4. FORM STYLING — RED BORDERS & GRADIENT BUTTONS
   ===================================================== */
.form-container {
    background: var(--pm-glass) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid var(--pm-glass-border) !important;
    border-radius: var(--pm-border-radius-lg) !important;
    padding: 48px 40px !important;
    position: relative;
    overflow: hidden;
    transition: var(--pm-transition);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pm-gradient-red);
    border-radius: 3px 3px 0 0;
}

.form-container:hover {
    border-color: rgba(27, 152, 224, 0.15) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Input Wrappers — RED BORDER */
.input-wrapper {
    position: relative;
    border: 2px solid var(--pm-red) !important;
    border-radius: var(--pm-border-radius-sm) !important;
    background: rgba(27, 152, 224, 0.03) !important;
    transition: var(--pm-transition);
    overflow: hidden;
}

.input-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pm-gradient-red);
    transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.input-wrapper:focus-within::after {
    width: 100%;
}

.input-wrapper:focus-within {
    border-color: var(--pm-red-light) !important;
    box-shadow: 0 0 0 4px rgba(27, 152, 224, 0.12), 0 8px 25px rgba(27, 152, 224, 0.1);
    background: rgba(27, 152, 224, 0.05) !important;
}

.input-wrapper:hover {
    border-color: var(--pm-red-light) !important;
    box-shadow: 0 4px 15px rgba(27, 152, 224, 0.08);
}

.input-wrapper input,
.input-wrapper textarea {
    background: transparent !important;
    border: none !important;
    color: var(--color-text) !important;
    padding: 14px 16px 14px 46px !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    outline: none !important;
    font-family: 'Inter', 'Poppins', sans-serif;
}

.input-icon {
    color: var(--pm-red) !important;
    font-size: 1rem;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--pm-transition);
    z-index: 2;
}

.input-wrapper:focus-within .input-icon {
    color: var(--pm-red-light) !important;
    transform: translateY(-50%) scale(1.15);
}

/* Textarea RED border */
textarea#contact-details,
textarea#review-text-page {
    border: 2px solid var(--pm-red) !important;
    border-radius: var(--pm-border-radius-sm) !important;
    background: rgba(27, 152, 224, 0.03) !important;
    color: var(--color-text) !important;
    padding: 14px 16px !important;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    transition: var(--pm-transition);
    width: 100%;
    outline: none;
}

textarea#contact-details:focus,
textarea#review-text-page:focus {
    border-color: var(--pm-red-light) !important;
    box-shadow: 0 0 0 4px rgba(27, 152, 224, 0.12), 0 8px 25px rgba(27, 152, 224, 0.1);
    background: rgba(27, 152, 224, 0.05) !important;
}

/* Labels */
.form-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: block;
    transition: var(--pm-transition);
}

.form-group:focus-within label {
    color: var(--pm-red);
}

/* Form Submit Button — RED GRADIENT */
.form-container button[type="submit"],
#contact-form button[type="submit"],
#review-form-page button[type="submit"] {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 40px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    cursor: pointer;
    transition: var(--pm-transition);
    box-shadow: var(--pm-shadow-red);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-container button[type="submit"]::before,
#contact-form button[type="submit"]::before,
#review-form-page button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
}

.form-container button[type="submit"]:hover::before,
#contact-form button[type="submit"]:hover::before,
#review-form-page button[type="submit"]:hover::before {
    left: 100%;
}

.form-container button[type="submit"]:hover,
#contact-form button[type="submit"]:hover,
#review-form-page button[type="submit"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--pm-shadow-hover);
}

/* Verify Referral Button */
#verify-referral-btn {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: var(--pm-transition);
    box-shadow: 0 4px 15px var(--pm-red-glow);
}

#verify-referral-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--pm-red-glow);
}

/* Star Rating */
.star-rating i {
    color: rgba(27, 152, 224, 0.2);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--pm-transition);
    margin-right: 4px;
}

.star-rating i:hover,
.star-rating i.active {
    color: var(--pm-red) !important;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px var(--pm-red-glow));
}

/* Captcha box */
.captcha-box {
    border: 2px solid rgba(27, 152, 224, 0.2) !important;
    border-radius: var(--pm-border-radius-sm) !important;
    padding: 20px !important;
    background: rgba(27, 152, 224, 0.03) !important;
    transition: var(--pm-transition);
}

.captcha-refresh {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border: none !important;
    width: 40px;
    height: 40px;
    border-radius: 10px !important;
    cursor: pointer;
    transition: var(--pm-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    transform: rotate(180deg) scale(1.1);
}

/* =====================================================
   5. SECTION TITLES — Premium Headers
   ===================================================== */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    font-weight: 900 !important;
    text-align: center;
    margin-bottom: 16px !important;
    position: relative;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--pm-gradient-red);
    margin: 16px auto 0;
    border-radius: 4px;
    animation: titleUnderlineGlow 3s ease-in-out infinite;
}

@keyframes titleUnderlineGlow {

    0%,
    100% {
        box-shadow: 0 0 10px var(--pm-red-glow);
        width: 80px;
    }

    50% {
        box-shadow: 0 0 25px var(--pm-red-glow);
        width: 120px;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem !important;
    color: var(--color-text-muted) !important;
    max-width: 650px;
    margin: 0 auto 50px !important;
    line-height: 1.7;
}

/* Section padding */
section {
    padding: 100px 0 !important;
    position: relative;
}

/* =====================================================
   6. FEATURE CARDS — Hover Animations
   ===================================================== */
.feature-card {
    background: var(--pm-glass) !important;
    border: 1px solid var(--pm-glass-border) !important;
    border-radius: var(--pm-border-radius) !important;
    padding: 36px 28px !important;
    transition: var(--pm-transition) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pm-gradient-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(27, 152, 224, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border-color: rgba(27, 152, 224, 0.25) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 30px rgba(27, 152, 224, 0.08) !important;
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(27, 152, 224, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--pm-red);
    margin-bottom: 20px;
    transition: var(--pm-transition);
    border: 1px solid rgba(27, 152, 224, 0.12);
}

.feature-card:hover .icon {
    background: var(--pm-gradient-red-btn);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px var(--pm-red-glow);
    border-color: transparent;
}

.feature-card h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    color: var(--color-text);
    transition: var(--pm-transition);
}

.feature-card:hover h3 {
    color: var(--pm-red);
}

.feature-card p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: var(--color-text-muted);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* =====================================================
   7. FLIP CARDS — Enhanced
   ===================================================== */
.flip-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    transform-style: preserve-3d;
    position: relative;
}

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

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--pm-border-radius) !important;
    padding: 32px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--pm-glass) !important;
    border: 1px solid var(--pm-glass-border) !important;
    backdrop-filter: blur(12px);
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.1), var(--pm-glass)) !important;
    border-color: rgba(27, 152, 224, 0.2) !important;
}

.flip-card .icon {
    color: var(--pm-red) !important;
}

.card-back .btn {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 24px !important;
    font-weight: 600;
    transition: var(--pm-transition);
}

.card-back .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--pm-shadow-red);
}

/* =====================================================
   8. CHATBOT — Fix & Premium Style
   ===================================================== */
#chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--pm-gradient-red-btn);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 9998;
    box-shadow: var(--pm-shadow-red);
    transition: var(--pm-transition);
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: chatbotPulse 3s ease-in-out infinite;
}

#chatbot-toggle:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--pm-shadow-hover);
}

@keyframes chatbotPulse {

    0%,
    100% {
        box-shadow: var(--pm-shadow-red), 0 0 0 0 rgba(27, 152, 224, 0.4);
    }

    50% {
        box-shadow: var(--pm-shadow-red), 0 0 0 15px transparent;
    }
}

#chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-height: 520px;
    background: var(--pm-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--pm-glass-border);
    border-radius: var(--pm-border-radius-lg);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: chatbotOpen 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#chatbot-container.visible {
    display: flex !important;
}

@keyframes chatbotOpen {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

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

.chatbot-header {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: 350px;
}

.chat-message {
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: messageSlide 0.3s ease-out;
    max-width: 85%;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.chat-message.bot {
    background: rgba(27, 152, 224, 0.08);
    border: 1px solid rgba(27, 152, 224, 0.12);
    color: var(--color-text);
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background: var(--pm-gradient-red-btn);
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-message.typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--pm-red);
    border-radius: 50%;
    margin: 0 2px;
    animation: typingDot 1.4s ease-in-out infinite;
}

.chat-message.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-message.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px);
    }
}

.chatbot-input-form {
    display: flex;
    padding: 12px;
    gap: 8px;
    border-top: 1px solid var(--pm-glass-border);
}

.chatbot-input-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--pm-red) !important;
    border-radius: 12px;
    background: transparent;
    color: var(--color-text);
    font-size: 0.9rem;
    outline: none;
    transition: var(--pm-transition);
}

.chatbot-input-form input:focus {
    border-color: var(--pm-red-light) !important;
    box-shadow: 0 0 0 3px rgba(27, 152, 224, 0.1);
}

#chatbot-send {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--pm-gradient-red-btn);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--pm-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--pm-red-glow);
}

/* Voice Assistant Button */
#voice-assistant-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--pm-glass);
    border: 2px solid var(--pm-red);
    color: var(--pm-red);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9997;
    transition: var(--pm-transition);
    display: flex !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

#voice-assistant-btn:hover {
    background: var(--pm-gradient-red-btn);
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--pm-shadow-red);
}

/* =====================================================
   9. FOUNDER SECTION — Premium
   ===================================================== */
.founder-card {
    background: var(--pm-glass) !important;
    border: 1px solid var(--pm-glass-border) !important;
    border-radius: var(--pm-border-radius-lg) !important;
    padding: 50px 40px !important;
    backdrop-filter: blur(16px);
    transition: var(--pm-transition);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pm-gradient-red);
}

.founder-card:hover {
    border-color: rgba(27, 152, 224, 0.15) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.founder-photo-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--pm-transition);
}

.founder-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--pm-transition-slow);
}

.founder-photo-frame:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.photo-glow {
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    background: conic-gradient(from 0deg, var(--pm-red), var(--color-primary), var(--color-accent), var(--pm-red));
    z-index: -1;
    animation: imageFrameRotate 5s linear infinite;
    opacity: 0.6;
}

.photo-ring {
    position: absolute;
    inset: -12px;
    border-radius: 36px;
    border: 1px solid rgba(27, 152, 224, 0.2);
    animation: photoRingPulse 3s ease-in-out infinite;
}

@keyframes photoRingPulse {

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

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

.founder-name {
    color: var(--color-text) !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
}

.founder-title {
    color: var(--pm-red) !important;
    font-weight: 600;
}

.founder-stat-card {
    background: var(--pm-glass) !important;
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
    border-radius: var(--pm-border-radius-sm) !important;
    padding: 16px !important;
    text-align: center;
    transition: var(--pm-transition);
}

.founder-stat-card:hover {
    border-color: var(--pm-red) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--pm-red-glow);
}

.stat-num,
.stat-num-text {
    color: var(--pm-red) !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
}

.stat-suffix {
    color: var(--pm-red) !important;
}

.interest-pill {
    background: rgba(27, 152, 224, 0.06) !important;
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
    color: var(--color-text) !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--pm-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.interest-pill:hover {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--pm-red-glow);
}

.interest-pill i {
    color: var(--pm-red);
}

.interest-pill:hover i {
    color: #fff;
}

/* YouTube Cards */
.yt-channel-card {
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
    border-radius: var(--pm-border-radius-sm) !important;
    transition: var(--pm-transition);
}

.yt-channel-card:hover {
    border-color: var(--pm-red) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--pm-red-glow);
}

.yt-icon {
    color: var(--pm-red) !important;
}

/* =====================================================
   10. TIMELINE — How We Work
   ===================================================== */
.timeline-line {
    background: linear-gradient(to bottom, var(--pm-red), var(--color-primary), var(--color-accent)) !important;
    opacity: 0.3;
}

.timeline-number {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: var(--pm-shadow-red);
}

.timeline-card {
    background: var(--pm-glass) !important;
    border: 1px solid var(--pm-glass-border) !important;
    border-radius: var(--pm-border-radius) !important;
    transition: var(--pm-transition);
}

.timeline-card:hover {
    border-color: rgba(27, 152, 224, 0.2) !important;
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.timeline-icon {
    color: var(--pm-red) !important;
}

/* =====================================================
   11. FAQ — Enhanced
   ===================================================== */
.faq-item {
    background: var(--pm-glass) !important;
    border: 1px solid var(--pm-glass-border) !important;
    border-radius: var(--pm-border-radius-sm) !important;
    margin-bottom: 12px !important;
    transition: var(--pm-transition);
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(27, 152, 224, 0.2) !important;
}

.faq-item.active {
    border-color: var(--pm-red) !important;
    box-shadow: 0 8px 30px rgba(27, 152, 224, 0.08);
}

.faq-question {
    cursor: pointer;
    padding: 20px 24px !important;
    font-weight: 600;
    transition: var(--pm-transition);
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--pm-red);
    transition: var(--pm-transition);
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
    color: var(--pm-red);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.5s;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

/* =====================================================
   12. FOOTER — Premium
   ===================================================== */
.ultra-footer {
    background: #050510 !important;
    border-top: 1px solid rgba(27, 152, 224, 0.1);
    position: relative;
    overflow: hidden;
}

.ultra-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pm-gradient-red);
}

.col-title {
    color: var(--pm-red) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.link-list a {
    transition: var(--pm-transition) !important;
}

.link-list a:hover {
    color: var(--pm-red) !important;
    transform: translateX(6px);
}

.social-row .s-btn {
    transition: var(--pm-transition);
}

.social-row .s-btn:hover {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px var(--pm-red-glow);
}

.footer-copyright .pulse {
    color: var(--pm-red) !important;
    animation: heartPulse 1.5s ease-in-out infinite;
}

@keyframes heartPulse {

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

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

/* =====================================================
   13. GLOBAL HOVER ANIMATIONS
   ===================================================== */

/* Magnetic hover effect for all interactive elements */
a,
button,
.feature-card,
.flip-card,
.faq-item,
.timeline-card,
.partner-card,
.interest-pill,
.yt-channel-card,
.founder-stat-card {
    transition: var(--pm-transition) !important;
}

/* Generic button styling */
.btn {
    transition: var(--pm-transition) !important;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px) !important;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

/* Scroll reveal animation */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* =====================================================
   14. TESTIMONIALS — Premium
   ===================================================== */
.testimonial-card {
    background: var(--pm-glass) !important;
    border: 1px solid var(--pm-glass-border) !important;
    border-radius: var(--pm-border-radius) !important;
    transition: var(--pm-transition);
}

.testimonial-card:hover {
    border-color: rgba(27, 152, 224, 0.2) !important;
    transform: translateY(-4px);
}

.slider-nav button {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border: none !important;
    transition: var(--pm-transition);
}

.slider-nav button:hover {
    transform: scale(1.15);
    box-shadow: var(--pm-shadow-red);
}

/* =====================================================
   15. RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
        gap: 40px;
    }

    .image-frame {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .form-container {
        padding: 30px 20px !important;
    }

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

    #chatbot-container {
        width: calc(100vw - 30px);
        right: 15px;
        bottom: 90px;
    }

    .section-title {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem !important;
    }

    .image-frame {
        width: 180px;
        height: 180px;
    }

    .trust-stat-number {
        font-size: 1.5rem !important;
    }
}/* =====================================================
   ULTRA PREMIUM CSS — PART 2: MEGA ANIMATIONS
   Target: 5000+ lines of pure animation magic
   ===================================================== */

/* =====================================================
   A. FLOATING PARTICLE SYSTEM
   ===================================================== */
.main-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.main-bg-animation span {
    position: absolute;
    display: block;
    width: 3px;
    height: 3px;
    background: rgba(27, 152, 224, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(27, 152, 224, 0.3);
    animation: bgParticleFloat 20s linear infinite;
}

.main-bg-animation span:nth-child(1) {
    left: 5%;
    width: 4px;
    height: 4px;
    animation-duration: 25s;
    animation-delay: 0s;
    background: rgba(27, 152, 224, 0.4);
    box-shadow: 0 0 8px rgba(27, 152, 224, 0.3);
}

.main-bg-animation span:nth-child(2) {
    left: 15%;
    width: 2px;
    height: 2px;
    animation-duration: 18s;
    animation-delay: 2s;
    background: rgba(27, 152, 224, 0.4);
    box-shadow: 0 0 6px rgba(27, 152, 224, 0.3);
}

.main-bg-animation span:nth-child(3) {
    left: 25%;
    width: 3px;
    height: 3px;
    animation-duration: 22s;
    animation-delay: 4s;
    background: rgba(155, 89, 182, 0.4);
    box-shadow: 0 0 8px rgba(155, 89, 182, 0.3);
}

.main-bg-animation span:nth-child(4) {
    left: 35%;
    width: 5px;
    height: 5px;
    animation-duration: 30s;
    animation-delay: 1s;
    background: rgba(27, 152, 224, 0.3);
    box-shadow: 0 0 10px rgba(27, 152, 224, 0.2);
}

.main-bg-animation span:nth-child(5) {
    left: 45%;
    width: 2px;
    height: 2px;
    animation-duration: 15s;
    animation-delay: 3s;
    background: rgba(50, 222, 132, 0.4);
    box-shadow: 0 0 6px rgba(50, 222, 132, 0.3);
}

.main-bg-animation span:nth-child(6) {
    left: 55%;
    width: 4px;
    height: 4px;
    animation-duration: 28s;
    animation-delay: 5s;
    background: rgba(27, 152, 224, 0.3);
    box-shadow: 0 0 8px rgba(27, 152, 224, 0.2);
}

.main-bg-animation span:nth-child(7) {
    left: 65%;
    width: 3px;
    height: 3px;
    animation-duration: 20s;
    animation-delay: 0.5s;
    background: rgba(27, 152, 224, 0.4);
    box-shadow: 0 0 8px rgba(27, 152, 224, 0.3);
}

.main-bg-animation span:nth-child(8) {
    left: 75%;
    width: 2px;
    height: 2px;
    animation-duration: 17s;
    animation-delay: 6s;
    background: rgba(155, 89, 182, 0.4);
    box-shadow: 0 0 6px rgba(155, 89, 182, 0.3);
}

.main-bg-animation span:nth-child(9) {
    left: 85%;
    width: 4px;
    height: 4px;
    animation-duration: 24s;
    animation-delay: 2.5s;
    background: rgba(50, 222, 132, 0.3);
    box-shadow: 0 0 8px rgba(50, 222, 132, 0.2);
}

.main-bg-animation span:nth-child(10) {
    left: 92%;
    width: 3px;
    height: 3px;
    animation-duration: 19s;
    animation-delay: 7s;
    background: rgba(27, 152, 224, 0.3);
    box-shadow: 0 0 6px rgba(27, 152, 224, 0.2);
}

.main-bg-animation span:nth-child(11) {
    left: 10%;
    width: 2px;
    height: 2px;
    animation-duration: 26s;
    animation-delay: 1.5s;
    background: rgba(27, 152, 224, 0.4);
    box-shadow: 0 0 6px rgba(27, 152, 224, 0.3);
}

.main-bg-animation span:nth-child(12) {
    left: 50%;
    width: 5px;
    height: 5px;
    animation-duration: 32s;
    animation-delay: 4.5s;
    background: rgba(27, 152, 224, 0.2);
    box-shadow: 0 0 12px rgba(27, 152, 224, 0.15);
}

.main-bg-animation span:nth-child(13) {
    left: 30%;
    width: 2px;
    height: 2px;
    animation-duration: 16s;
    animation-delay: 8s;
    background: rgba(155, 89, 182, 0.4);
    box-shadow: 0 0 6px rgba(155, 89, 182, 0.3);
}

.main-bg-animation span:nth-child(14) {
    left: 70%;
    width: 3px;
    height: 3px;
    animation-duration: 21s;
    animation-delay: 3.5s;
    background: rgba(50, 222, 132, 0.3);
    box-shadow: 0 0 8px rgba(50, 222, 132, 0.2);
}

.main-bg-animation span:nth-child(15) {
    left: 40%;
    width: 4px;
    height: 4px;
    animation-duration: 27s;
    animation-delay: 9s;
    background: rgba(27, 152, 224, 0.3);
    box-shadow: 0 0 8px rgba(27, 152, 224, 0.2);
}

@keyframes bgParticleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }

    95% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* =====================================================
   B. SCROLL-TRIGGERED ANIMATIONS
   ===================================================== */

/* Slide from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

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

/* Slide from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

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

/* Slide from bottom */
@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

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

/* Fade in with scale */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Blur reveal */
@keyframes blurReveal {
    from {
        opacity: 0;
        filter: blur(15px);
        transform: translateY(20px);
    }

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

/* Pop in */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    70% {
        transform: scale(1.05);
    }

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

/* Rotate in */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Flip reveal */
@keyframes flipReveal {
    from {
        opacity: 0;
        transform: perspective(600px) rotateX(-30deg);
    }

    to {
        opacity: 1;
        transform: perspective(600px) rotateX(0);
    }
}

/* Elastic slide */
@keyframes elasticSlide {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    60% {
        transform: translateY(-5px) scale(1.02);
    }

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

/* Stagger fade */
.anim-slide-left {
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.anim-blur-in {
    animation: blurReveal 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.anim-pop {
    animation: popIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Card stagger animation */
.card-grid .feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.card-grid .feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.card-grid .feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.card-grid .feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.card-grid .feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.card-grid .feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.card-grid .feature-card:nth-child(7) {
    animation-delay: 0.7s;
}

.card-grid .feature-card:nth-child(8) {
    animation-delay: 0.8s;
}

/* =====================================================
   C. HOVER MICRO-ANIMATIONS FOR ALL ELEMENTS
   ===================================================== */

/* Icon rotation on hover */
.feature-card:hover .icon i {
    animation: iconBounce 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes iconBounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3) rotate(-10deg);
    }

    60% {
        transform: scale(0.95) rotate(5deg);
    }

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

/* Text shimmer on hover */
.feature-card:hover h3 {
    animation: textShimmer 1s ease forwards;
}

@keyframes textShimmer {
    0% {
        background-position: -200% center;
    }

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

/* Button press effect */
.btn:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* Link underline animation */
a:not(.btn):not(.header-brand):not(.footer-brand):not(.connect-card):not(.u-link):not(.yt-channel-card) {
    position: relative;
}

/* Glow pulse on focus */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Smooth scroll indicator */
@keyframes scrollIndicator {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }

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

/* =====================================================
   D. PARALLAX-LIKE DEPTH EFFECTS
   ===================================================== */

/* Section decorative orbs */
#services::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.04) 0%, transparent 70%);
    top: -100px;
    right: -200px;
    filter: blur(80px);
    pointer-events: none;
    animation: orbDrift 20s ease-in-out infinite;
}

#services::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.04) 0%, transparent 70%);
    bottom: -100px;
    left: -150px;
    filter: blur(60px);
    pointer-events: none;
    animation: orbDrift 25s ease-in-out infinite reverse;
}

#contact::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.05) 0%, transparent 60%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(100px);
    pointer-events: none;
    animation: orbDrift 18s ease-in-out infinite;
}

#faq::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.04) 0%, transparent 70%);
    top: 50%;
    right: -200px;
    filter: blur(80px);
    pointer-events: none;
    animation: orbDrift 22s ease-in-out infinite;
}

#benefits::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(50, 222, 132, 0.04) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    filter: blur(80px);
    pointer-events: none;
    animation: orbDrift 24s ease-in-out infinite reverse;
}

#about::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.04) 0%, transparent 70%);
    top: -50px;
    left: -100px;
    filter: blur(70px);
    pointer-events: none;
    animation: orbDrift 20s ease-in-out infinite;
}

#founder::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.05) 0%, transparent 60%);
    top: -150px;
    right: -100px;
    filter: blur(80px);
    pointer-events: none;
    animation: orbDrift 16s ease-in-out infinite;
}

@keyframes orbDrift {

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

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

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

    75% {
        transform: translate(15px, 15px);
    }
}

/* =====================================================
   E. TEXT ANIMATIONS
   ===================================================== */

/* Gradient text animation */
@keyframes gradientTextFlow {
    0% {
        background-position: 0% 50%;
    }

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

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

/* Letter spacing animation */
@keyframes letterSpaceExpand {
    from {
        letter-spacing: 0;
    }

    to {
        letter-spacing: 3px;
    }
}

/* Word reveal */
@keyframes wordReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Glow text */
@keyframes glowText {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(27, 152, 224, 0.3);
    }

    50% {
        text-shadow: 0 0 30px rgba(27, 152, 224, 0.6), 0 0 60px rgba(27, 152, 224, 0.2);
    }
}

/* =====================================================
   F. LOADING & TRANSITION ANIMATIONS
   ===================================================== */

/* Skeleton loading */
@keyframes skeletonShimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.loading-text {
    background: linear-gradient(to right, var(--pm-glass) 8%, rgba(27, 152, 224, 0.05) 18%, var(--pm-glass) 33%);
    background-size: 800px 104px;
    animation: skeletonShimmer 1.5s linear infinite;
}

/* Page transition */
@keyframes pageTransition {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

main {
    animation: pageTransition 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =====================================================
   G. BORDER ANIMATIONS
   ===================================================== */

/* Animated gradient border */
@keyframes borderGradientRotate {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

/* Breathing border */
@keyframes breathingBorder {

    0%,
    100% {
        border-color: rgba(27, 152, 224, 0.1);
    }

    50% {
        border-color: rgba(27, 152, 224, 0.3);
    }
}

/* Pulsing glow border */
@keyframes pulsingGlowBorder {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(27, 152, 224, 0.1);
    }

    50% {
        box-shadow: 0 0 20px rgba(27, 152, 224, 0.2);
    }
}

.form-container {
    animation: breathingBorder 4s ease-in-out infinite;
}

/* =====================================================
   H. BACKGROUND PATTERN ANIMATIONS
   ===================================================== */

/* Animated grid background for sections */
#how-we-work::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(27, 152, 224, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 152, 224, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    animation: gridFloat 30s linear infinite;
}

@keyframes gridFloat {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 50px;
    }
}

/* Noise texture overlay */
#popular-tools::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* =====================================================
   I. COUNTER ANIMATIONS
   ===================================================== */

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.trust-stat {
    animation: countUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) backwards;
}

.trust-stat:nth-child(1) {
    animation-delay: 0.2s;
}

.trust-stat:nth-child(3) {
    animation-delay: 0.4s;
}

.trust-stat:nth-child(5) {
    animation-delay: 0.6s;
}

/* =====================================================
   J. RIPPLE EFFECT FOR BUTTONS
   ===================================================== */

.btn-primary,
.royal-btn,
#chatbot-send,
.captcha-refresh,
#verify-referral-btn,
.form-container button[type="submit"] {
    position: relative;
    overflow: hidden;
}

/* =====================================================
   K. GLASSMORPHISM DEPTH LAYERS
   ===================================================== */

/* Multi-layer glass effect */
.services-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.02), transparent, rgba(27, 152, 224, 0.02));
    border-radius: inherit;
    pointer-events: none;
}

/* Frosted glass overlay on cards */
.feature-card--highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pm-gradient-red) !important;
    transform: scaleX(1) !important;
}

/* =====================================================
   L. MORPHING SHAPES (Decorative)
   ===================================================== */

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* =====================================================
   M. CURSOR GLOW EFFECT
   ===================================================== */

body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    top: var(--cursor-y, -1000px);
    left: var(--cursor-x, -1000px);
    transition: top 0.5s ease-out, left 0.5s ease-out;
}

/* =====================================================
   N. WAVE DIVIDERS
   ===================================================== */

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* =====================================================
   O. PARTNERS SECTION
   ===================================================== */

.partner-card {
    background: var(--pm-glass) !important;
    border: 1px solid var(--pm-glass-border) !important;
    border-radius: var(--pm-border-radius) !important;
    padding: 30px !important;
    text-align: center;
    transition: var(--pm-transition);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pm-gradient-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(27, 152, 224, 0.2) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.partner-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--pm-red);
    transition: var(--pm-transition);
}

.partner-card:hover .partner-img-wrapper {
    box-shadow: 0 0 25px var(--pm-red-glow);
    transform: scale(1.05);
}

.partner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--pm-transition);
}

.partner-card:hover .partner-img-wrapper img {
    transform: scale(1.1);
}

.ref-id-badge {
    background: rgba(27, 152, 224, 0.08);
    color: var(--pm-red);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    border: 1px solid rgba(27, 152, 224, 0.12);
}

/* =====================================================
   P. DIGITAL ECOSYSTEM SECTION
   ===================================================== */

#digital-ecosystem .feature-card {
    text-align: center;
}

#digital-ecosystem .feature-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
}

/* =====================================================
   Q. SMOOTH SCROLL CUSTOM SCROLLBAR
   ===================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--pm-gradient-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pm-red);
}

/* =====================================================
   R. SELECTION STYLING
   ===================================================== */

::selection {
    background: rgba(27, 152, 224, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(27, 152, 224, 0.3);
    color: #fff;
}

/* =====================================================
   S. FOCUS STYLES (Accessibility)
   ===================================================== */

*:focus-visible {
    outline: 2px solid var(--pm-red);
    outline-offset: 3px;
    border-radius: 4px;
}

/* =====================================================
   T. PRINT STYLES
   ===================================================== */

@media print {

    .main-bg-animation,
    #chatbot-toggle,
    #chatbot-container,
    #voice-assistant-btn,
    .particles {
        display: none !important;
    }
}

/* =====================================================
   U. REDUCED MOTION
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   V. HEADER VOICE BUTTON FIX
   ===================================================== */

.header-btn-voice {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--pm-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-btn-voice:hover {
    transform: translateY(-2px);
    box-shadow: var(--pm-shadow-red);
}

/* =====================================================
   W. MOBILE MENU FIXES
   ===================================================== */

.mobile-menu-toggle {
    background: var(--pm-glass) !important;
    border: 1px solid var(--pm-glass-border) !important;
    color: var(--color-text) !important;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--pm-transition);
}

.mobile-menu-toggle:hover {
    border-color: var(--pm-red) !important;
    color: var(--pm-red) !important;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }

    .header-right {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--header-bg);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 20px;
        border-bottom: 1px solid var(--pm-glass-border);
        flex-direction: column;
        gap: 16px;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--pm-transition);
        z-index: 999;
    }

    .nav-active .header-right {
        transform: translateY(0);
        opacity: 1;
    }

    .u-nav-list {
        flex-direction: column !important;
        width: 100%;
        gap: 8px !important;
    }

    .u-nav-list li {
        width: 100%;
    }

    .u-link {
        display: block;
        padding: 12px 20px !important;
        border-radius: 10px;
        text-align: center;
    }

    .u-link:hover,
    .u-link.active {
        background: rgba(27, 152, 224, 0.08);
    }

    .action-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* =====================================================
   X. EXTRA PREMIUM DETAILS
   ===================================================== */

/* Smooth image loading */
img {
    transition: opacity 0.3s;
}

img[loading="lazy"] {
    opacity: 0;
    animation: imgFadeIn 0.5s forwards;
}

@keyframes imgFadeIn {
    to {
        opacity: 1;
    }
}

/* Premium link hover for footer */
.connect-card {
    transition: var(--pm-transition) !important;
}

.connect-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
}

.connect-card.card-yt:hover {
    border-color: var(--pm-red) !important;
}

/* Footer glow orb */
.footer-glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.06) 0%, transparent 70%);
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(60px);
    pointer-events: none;
    animation: orbDrift 15s ease-in-out infinite;
}

/* Footer grid pattern */
.footer-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(27, 152, 224, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 152, 224, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
}

/* =====================================================
   Y. MESSAGE STYLES
   ===================================================== */

.message {
    padding: 14px 20px;
    border-radius: var(--pm-border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
    animation: messageSlide 0.3s ease-out;
}

.message.success {
    background: rgba(50, 222, 132, 0.08);
    border: 1px solid rgba(50, 222, 132, 0.2);
    color: #32de84;
}

.message.error {
    background: rgba(27, 152, 224, 0.08);
    border: 1px solid rgba(27, 152, 224, 0.2);
    color: var(--pm-red);
}

/* =====================================================
   Z. FINAL POLISH — MICRO DETAILS
   ===================================================== */

/* Better focus ring for dark/light */
html[data-theme='light'] *:focus-visible {
    outline-color: var(--pm-red);
}

/* Smooth theme transition */
*,
*::before,
*::after {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Prevent layout shift */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Better typography rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Section separator lines */
section+section {
    border-top: 1px solid var(--pm-glass-border);
}

/* Smooth anchor scroll offset */
section[id] {
    scroll-margin-top: 80px;
}

/* Review form premium */
.review-form-onpage {
    margin-top: 40px;
}

.review-form-onpage .form-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Service hero card fix light theme */
html[data-theme='light'] .services-hero-card {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06) !important;
}

/* Tool cards button styling */
.feature-card .btn {
    background: var(--pm-gradient-red-btn) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600;
    transition: var(--pm-transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.feature-card .btn:hover {
    box-shadow: var(--pm-shadow-red);
    transform: translateY(-2px) !important;
}

/* Action group alignment */
.action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Lang switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--pm-glass);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--pm-glass-border);
}/* =============================================
   PROMPTMINDS WORLD-CLASS REDESIGN — MASTER CSS
   Phase 1: Header, Hero, Founder, Services, Timeline
   Original Colors: Blue #1b98e0 | Green #32de84 | Purple #9b59b6
   ============================================= */

/* === GLOBAL PREMIUM VARIABLES === */
:root {
    --pm-gradient: linear-gradient(135deg, #1b98e0, #9b59b6);
    --pm-gradient-tri: linear-gradient(135deg, #1b98e0, #9b59b6, #32de84);
    --pm-glow: 0 0 20px rgba(27, 152, 224, 0.4);
    --pm-glow-purple: 0 0 20px rgba(155, 89, 182, 0.3);
    --glass-bg: rgba(18, 18, 32, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    --premium-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --spring-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
    --section-gap: 120px;
}

html[data-theme='light'] {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.06);
}

/* === PREMIUM ANIMATED HEADER === */
header {
    background: rgba(10, 10, 20, 0.5) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(27, 152, 224, 0.08) !important;
    transition: all 0.4s ease !important;
}

header.scrolled {
    background: rgba(10, 10, 20, 0.85) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(27, 152, 224, 0.05) !important;
    border-bottom: 1px solid rgba(27, 152, 224, 0.12) !important;
}

html[data-theme='light'] header {
    background: rgba(255, 255, 255, 0.7) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

html[data-theme='light'] header.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Animated Logo Text — "Prompt Minds" */
.h-brand-name,
.brand-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    background: linear-gradient(90deg,
            #ffffff 0%,
            #1b98e0 15%,
            #32de84 30%,
            #9b59b6 45%,
            #1b98e0 60%,
            #32de84 75%,
            #ffffff 90%,
            #1b98e0 100%) !important;
    background-size: 400% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: logoShimmer 8s linear infinite !important;
    position: relative;
}

@keyframes logoShimmer {
    0% {
        background-position: 0% center;
    }

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

/* Logo Image Glow */
.h-logo-img {
    border: 2px solid rgba(27, 152, 224, 0.3) !important;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.2), 0 0 30px rgba(27, 152, 224, 0.1) !important;
    animation: logoGlow 3s ease-in-out infinite alternate !important;
}

.h-logo-glow {
    position: relative;
}

.h-logo-glow::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #1b98e0, #32de84, #9b59b6, #1b98e0);
    opacity: 0.3;
    z-index: -1;
    animation: logoRingRotate 6s linear infinite;
    filter: blur(3px);
}

@keyframes logoRingRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 0 10px rgba(27, 152, 224, 0.2), 0 0 20px rgba(27, 152, 224, 0.1);
    }

    50% {
        box-shadow: 0 0 20px rgba(155, 89, 182, 0.3), 0 0 40px rgba(155, 89, 182, 0.1);
    }

    100% {
        box-shadow: 0 0 15px rgba(50, 222, 132, 0.2), 0 0 30px rgba(50, 222, 132, 0.1);
    }
}

/* Nav Links Premium Hover */
nav a:not(.header-btn)::after {
    background: var(--pm-gradient) !important;
    height: 2px !important;
}

nav a:hover {
    color: #1b98e0 !important;
}

/* Header Actions */
.header-btn {
    background: var(--pm-gradient) !important;
    box-shadow: 0 4px 15px rgba(27, 152, 224, 0.3) !important;
    border-radius: 12px !important;
}

.header-btn:hover {
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Stop Voice Button */
#stop-voice-btn {
    border-color: rgba(27, 152, 224, 0.2) !important;
}

/* === GLOBAL ENHANCEMENTS === */
section {
    padding: 100px 0 !important;
    position: relative;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Premium section titles */
.section-title {
    font-family: 'Inter', 'Poppins', sans-serif !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
    background: linear-gradient(135deg, var(--color-text) 0%, #1b98e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem) !important;
    color: var(--color-text-muted) !important;
    max-width: 680px;
    margin: 0 auto 60px !important;
    line-height: 1.7 !important;
}

/* === CLICKABLE ELEMENTS HOVER === */
a,
button,
.feature-card,
.flip-card,
.faq-question,
.btn,
.timeline-card,
.partner-card,
.yt-channel-card,
.connect-card,
.s-btn,
.interest-pill,
.lang-btn,
.captcha-refresh,
#chatbot-toggle,
#voice-assistant-btn {
    cursor: pointer;
    transition: transform 0.3s var(--premium-ease),
        box-shadow 0.3s var(--premium-ease),
        border-color 0.3s ease !important;
}

a:hover,
button:hover {
    transform: translateY(-2px);
}

/* === HERO SECTION — ULTRA PREMIUM === */
.hero-section {
    min-height: 90vh !important;
    display: flex !important;
    align-items: center !important;
    gap: 60px !important;
    padding: 60px 20px !important;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 15s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.07) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

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

    100% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

.hero-image {
    flex: 0 0 auto;
}

.hero-image .image-frame {
    width: 280px;
    height: 280px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    border: 3px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 60px rgba(27, 152, 224, 0.2),
        0 0 40px rgba(155, 89, 182, 0.1);
    animation: heroImageFloat 6s ease-in-out infinite;
}

.hero-image .image-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 33px;
    background: var(--pm-gradient);
    z-index: -1;
    opacity: 0.8;
}

.hero-image .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 27px;
}

@keyframes heroImageFloat {

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

    25% {
        transform: translateY(-12px) rotate(1deg);
    }

    75% {
        transform: translateY(8px) rotate(-1deg);
    }
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(27, 152, 224, 0.06);
    border: 1px solid rgba(27, 152, 224, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1b98e0;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #32de84;
    border-radius: 50%;
    box-shadow: 0 0 8px #32de84;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

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

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

.hero-headline {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    color: var(--color-text);
}

.typewriter-cursor {
    color: #1b98e0;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.15rem) !important;
    line-height: 1.8 !important;
    color: var(--color-text-muted) !important;
    max-width: 560px;
    margin-bottom: 32px !important;
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-cta-group .btn-primary {
    background: var(--pm-gradient) !important;
    color: #fff !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-cta-group .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0% {
        left: -100%;
    }

    30% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.hero-cta-group .btn-primary:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 12px 35px rgba(27, 152, 224, 0.5) !important;
}

.hero-cta-group .btn-secondary {
    background: rgba(155, 89, 182, 0.08) !important;
    color: var(--color-text) !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    border: 1px solid rgba(155, 89, 182, 0.2) !important;
    backdrop-filter: blur(10px);
}

.hero-cta-group .btn-secondary:hover {
    border-color: #9b59b6 !important;
    color: #9b59b6 !important;
    background: rgba(155, 89, 182, 0.15) !important;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.15) !important;
    transform: translateY(-3px) !important;
}

/* Hero Trust Stats */
.hero-trust-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 24px 32px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: fit-content;
}

.trust-stat {
    text-align: center;
}

.trust-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
}

.trust-stat-plus {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1b98e0;
}

.trust-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.trust-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* === FOUNDER SECTION — PREMIUM === */
.founder-section {
    position: relative;
}

.founder-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(27, 152, 224, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.founder-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 28px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s var(--premium-ease), box-shadow 0.5s var(--premium-ease);
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.founder-layout {
    display: flex !important;
    gap: 0;
    min-height: 500px;
}

.founder-photo-side {
    flex: 0 0 320px;
    background: linear-gradient(180deg, rgba(27, 152, 224, 0.08) 0%, rgba(155, 89, 182, 0.04) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    border-right: 1px solid var(--glass-border);
}

.founder-photo-frame {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 24px;
}

.founder-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid transparent;
    background-image: var(--pm-gradient);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.photo-glow {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.15) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

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

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

.photo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(27, 152, 224, 0.5);
    border-right-color: rgba(155, 89, 182, 0.3);
    animation: orbitRing 4s linear infinite;
}

.founder-name {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--color-text) !important;
    margin-bottom: 6px;
}

.founder-title {
    font-size: 0.9rem;
    color: #1b98e0;
    font-weight: 600;
    margin-bottom: 8px;
}

.founder-location {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.founder-location i {
    color: #1b98e0;
    margin-right: 6px;
}

.founder-bio-side {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.founder-bio-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.founder-bio-text p {
    margin-bottom: 14px;
}

.founder-bio-text strong {
    color: var(--color-text);
    font-weight: 700;
}

.founder-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.founder-stat-card {
    background: rgba(27, 152, 224, 0.04);
    border: 1px solid rgba(27, 152, 224, 0.1);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s var(--premium-ease);
}

.founder-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(27, 152, 224, 0.3);
    box-shadow: 0 8px 20px rgba(27, 152, 224, 0.1);
}

.stat-num,
.stat-num-text {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1b98e0;
    font-family: 'Inter', sans-serif;
}

.stat-suffix {
    font-size: 1rem;
    font-weight: 700;
    color: #1b98e0;
}

.stat-lbl {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Founder Interests */
.founder-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.interest-pill {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.interest-pill:hover {
    border-color: #1b98e0;
    color: #1b98e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 152, 224, 0.1);
}

.interest-pill i {
    font-size: 0.9rem;
    color: #1b98e0;
}

/* YouTube Cards */
.founder-yt-cards {
    display: flex;
    gap: 14px;
}

.yt-channel-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(27, 152, 224, 0.04);
    border: 1px solid rgba(27, 152, 224, 0.1);
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s var(--premium-ease);
}

.yt-channel-card:hover {
    background: rgba(27, 152, 224, 0.1);
    border-color: rgba(27, 152, 224, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 152, 224, 0.12);
}

.yt-icon {
    font-size: 1.6rem;
    color: #ff0000;
}

.yt-channel-card div {
    display: flex;
    flex-direction: column;
}

.yt-channel-card strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.yt-channel-card span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.yt-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
}

.yt-channel-card:hover .yt-arrow {
    transform: translateX(4px);
    color: #1b98e0;
}

/* === SERVICES SECTION — GLASS CARDS === */
#services {
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(27, 152, 224, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.feature-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    padding: 32px 28px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--premium-ease) !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pm-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 152, 224, 0.06) 0%, transparent 70%);
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(27, 152, 224, 0.25) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(27, 152, 224, 0.08) !important;
}

.feature-card:hover::before {
    opacity: 1;
}

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

.feature-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.1), rgba(155, 89, 182, 0.06)) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: #1b98e0 !important;
    transition: all 0.4s var(--spring-ease);
}

.feature-card:hover .icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--pm-gradient) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(27, 152, 224, 0.25);
}

.feature-card h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: var(--color-text) !important;
}

.feature-card p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: var(--color-text-muted) !important;
}

.services-category-title {
    border-bottom-color: rgba(27, 152, 224, 0.15) !important;
    color: #1b98e0 !important;
}

/* === HOW WE WORK — PREMIUM TIMELINE === */
.timeline-line {
    background: linear-gradient(180deg, transparent, rgba(27, 152, 224, 0.3), rgba(155, 89, 182, 0.4), rgba(27, 152, 224, 0.3), transparent) !important;
}

.timeline-number {
    background: var(--pm-gradient) !important;
    box-shadow: 0 4px 20px rgba(27, 152, 224, 0.4) !important;
}

.timeline-step:hover .timeline-number {
    box-shadow: 0 8px 30px rgba(27, 152, 224, 0.5) !important;
}

.timeline-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
}

.timeline-step:hover .timeline-card {
    border-color: rgba(27, 152, 224, 0.2) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

.timeline-icon {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.1), rgba(155, 89, 182, 0.06)) !important;
    color: #1b98e0 !important;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 40px !important;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust-stats {
        margin: 0 auto;
    }

    .hero-subheadline {
        margin: 0 auto 32px !important;
    }

    .founder-layout {
        flex-direction: column !important;
    }

    .founder-photo-side {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 36px 28px;
    }

    .founder-bio-side {
        padding: 32px 28px;
    }

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

@media (max-width: 600px) {
    .hero-image .image-frame {
        width: 200px;
        height: 200px;
    }

    .hero-trust-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

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

    .card-grid {
        grid-template-columns: 1fr !important;
    }

    .founder-yt-cards {
        flex-direction: column;
    }
}/* =============================================
   PROMPTMINDS WORLD-CLASS REDESIGN — MASTER CSS Phase 2
   Contact, Reviews, FAQ, Tools, Footer, Themes, Chatbot
   Original Colors: Blue #1b98e0 | Green #32de84 | Purple #9b59b6
   ============================================= */

/* === CONTACT FORM — PREMIUM FIX & VISIBILITY === */
#contact .form-container,
#contact form,
.form-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Force all form elements visible */
#contact .form-container *,
#contact form * {
    visibility: visible !important;
}

#contact .form-container .form-grid,
#contact form .form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#contact .form-container .form-group,
#contact form .form-group {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Labels */
#contact .form-container label,
#contact form label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

/* Input Wrappers */
#contact .input-wrapper,
#contact .form-container .input-wrapper,
.form-container .input-wrapper {
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(27, 152, 224, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0 16px;
    transition: all 0.3s var(--premium-ease);
}

#contact .input-wrapper:focus-within,
.form-container .input-wrapper:focus-within {
    border-color: #1b98e0;
    box-shadow: 0 0 0 3px rgba(27, 152, 224, 0.1), 0 0 15px rgba(27, 152, 224, 0.05);
    background: rgba(27, 152, 224, 0.04);
}

/* Input Icons */
.input-icon,
#contact .input-icon {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-right: 12px;
    transition: color 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
    color: #1b98e0;
}

/* Form Inputs */
#contact .form-container input[type="text"],
#contact .form-container input[type="email"],
#contact .form-container input[type="tel"],
#contact .form-container input[type="number"],
#contact form input[type="text"],
#contact form input[type="email"],
#contact form input[type="tel"],
#contact form input[type="number"],
.form-container input {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 14px 0 !important;
    color: var(--color-text) !important;
    font-size: 0.95rem !important;
    outline: none !important;
    font-family: 'Inter', sans-serif;
}

/* Textarea */
#contact textarea,
#contact .form-container textarea,
.form-container textarea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: 120px;
    background: rgba(27, 152, 224, 0.03) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    color: var(--color-text) !important;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.3s var(--premium-ease);
}

#contact textarea:focus {
    border-color: #1b98e0 !important;
    box-shadow: 0 0 0 3px rgba(27, 152, 224, 0.1) !important;
}

/* Referral Section */
.referral-section {
    display: flex !important;
    align-items: flex-end !important;
    gap: 12px;
    visibility: visible !important;
    opacity: 1 !important;
}

.referral-section .form-group {
    flex: 1;
}

.referral-section .btn,
#verify-referral-btn {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.1), rgba(155, 89, 182, 0.08)) !important;
    color: #1b98e0 !important;
    border: 1px solid rgba(27, 152, 224, 0.2) !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    transition: all 0.3s ease !important;
}

#verify-referral-btn:hover {
    background: rgba(27, 152, 224, 0.15) !important;
    border-color: #1b98e0 !important;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.15) !important;
}

/* Captcha */
.captcha-box {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.captcha-box label {
    white-space: nowrap;
    font-weight: 600;
    color: var(--color-text);
}

#captcha-question {
    font-weight: 700;
    color: #1b98e0;
    font-size: 1.1rem;
}

.captcha-refresh {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--color-text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.captcha-refresh:hover {
    color: #1b98e0;
    border-color: #1b98e0;
    transform: rotate(180deg);
}

/* Submit Button — BLUE GRADIENT */
#contact .form-container button[type="submit"],
#contact .btn,
.form-container>.btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    padding: 16px 32px !important;
    background: var(--pm-gradient, linear-gradient(135deg, #1b98e0, #9b59b6)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.3);
    transition: all 0.3s var(--premium-ease);
}

#contact .form-container button[type="submit"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(27, 152, 224, 0.45) !important;
}

#contact .form-container button[type="submit"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: btnShine 3s infinite;
}

/* === BENEFITS — FLIP CARDS === */
#benefits .flip-card {
    perspective: 1000px;
    min-height: 280px;
}

#benefits .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    transition: transform 0.8s var(--premium-ease);
    transform-style: preserve-3d;
}

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

#benefits .card-front,
#benefits .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#benefits .card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.05), var(--glass-bg));
}

/* === REVIEWS — 3D CARDS === */
.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.testimonial-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    padding: 36px 32px !important;
    transition: all 0.4s var(--premium-ease);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(27, 152, 224, 0.2) !important;
}

.testimonial-card .card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

/* Star Rating in Reviews */
.star-rating i {
    color: var(--border-color);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s var(--spring-ease);
    margin-right: 4px;
}

.star-rating i.active,
.star-rating i:hover,
.star-rating i:hover~i {
    color: #fbbf24 !important;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

/* Review Form — Same Premium Style */
.review-form-onpage {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.review-form-onpage .form-container,
#review-form-page {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 700px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 36px;
}

#review-form-page button[type="submit"] {
    background: var(--pm-gradient, linear-gradient(135deg, #1b98e0, #9b59b6)) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.3);
}

#review-form-page button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(27, 152, 224, 0.45);
}

/* Slider Navigation */
.slider-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--glass-bg);
    color: var(--color-text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    border-color: #1b98e0;
    color: #1b98e0;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.2);
}

/* === PARTNERS — SPONSOR GRID === */
#partners {
    position: relative;
}

.partner-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    padding: 32px 24px !important;
    text-align: center;
    transition: all 0.4s var(--premium-ease);
}

.partner-card:hover {
    transform: translateY(-8px);
    border-color: rgba(27, 152, 224, 0.2) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12),
        0 0 25px rgba(27, 152, 224, 0.06);
}

.partner-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid rgba(27, 152, 224, 0.2);
    transition: border-color 0.3s ease;
}

.partner-card:hover .partner-img-wrapper {
    border-color: #1b98e0;
    box-shadow: 0 0 20px rgba(27, 152, 224, 0.2);
}

.partner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ref-id-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(27, 152, 224, 0.06);
    border: 1px solid rgba(27, 152, 224, 0.12);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1b98e0;
    margin-top: 10px;
}

/* === FAQ — PREMIUM ACCORDION === */
#faq {
    position: relative;
}

.faq-item {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.3s var(--premium-ease);
}

.faq-item:hover {
    border-color: rgba(27, 152, 224, 0.15) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 20px 24px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--color-text) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    color: var(--color-text-muted);
    transition: transform 0.4s var(--spring-ease), color 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    color: #1b98e0;
}

.faq-item.active .faq-question {
    color: #1b98e0 !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--premium-ease), padding 0.5s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* === TOOLS SECTIONS — NEON GRID === */
#popular-tools .feature-card,
#digital-ecosystem .feature-card {
    border: 1px solid var(--glass-border) !important;
    transition: all 0.4s var(--premium-ease) !important;
}

#popular-tools .feature-card:hover,
#digital-ecosystem .feature-card:hover {
    border-color: rgba(27, 152, 224, 0.3) !important;
    box-shadow: 0 0 30px rgba(27, 152, 224, 0.08),
        0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

#popular-tools .feature-card .btn,
#digital-ecosystem .btn {
    background: var(--pm-gradient, linear-gradient(135deg, #1b98e0, #9b59b6)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
}

#popular-tools .feature-card .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(27, 152, 224, 0.3) !important;
}

/* === FOOTER — PREMIUM ENHANCEMENT === */
.ultra-footer {
    border-top: 2px solid transparent !important;
    border-image: linear-gradient(90deg, transparent, #1b98e0, rgba(155, 89, 182, 0.3), transparent) 1 !important;
    padding: 80px 0 30px !important;
    position: relative;
}

.footer-wrapper {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr !important;
    gap: 40px;
}

.footer-col .col-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-col .col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--pm-gradient, linear-gradient(135deg, #1b98e0, #9b59b6));
    border-radius: 2px;
}

.link-list li {
    margin-bottom: 10px;
}

.link-list a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.link-list a:hover {
    color: #1b98e0;
    transform: translateX(6px);
}

/* Social Icons — Animated */
.social-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.s-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s var(--spring-ease);
}

.s-btn:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: #1b98e0;
    color: #1b98e0;
    box-shadow: 0 8px 20px rgba(27, 152, 224, 0.2);
}

.s-btn.fb:hover {
    color: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.2);
}

.s-btn.insta:hover {
    color: #e4405f;
    border-color: #e4405f;
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.2);
}

.s-btn.x:hover {
    color: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.2);
}

.s-btn.tg:hover {
    color: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.2);
}

/* Footer Copyright */
.footer-copyright {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.made-with .pulse {
    animation: heartBeat 1.5s infinite;
    color: #1b98e0;
}

@keyframes heartBeat {

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

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

/* Connect Cards */
.connect-card {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s var(--premium-ease);
    margin-bottom: 10px;
}

.connect-card:hover {
    border-color: rgba(27, 152, 224, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.connect-card .card-icon {
    font-size: 1.3rem;
    color: #1b98e0;
}

/* === CHATBOT FIX === */
#chatbot-toggle {
    position: fixed !important;
    bottom: 90px;
    right: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pm-gradient, linear-gradient(135deg, #1b98e0, #9b59b6)) !important;
    color: #fff !important;
    border: none;
    font-size: 1.3rem;
    z-index: 9998;
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--spring-ease);
}

#chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(27, 152, 224, 0.5);
}

#chatbot-container {
    position: fixed;
    bottom: 160px;
    right: 25px;
    width: 380px;
    max-height: 500px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

#chatbot-container.active {
    display: flex !important;
}

.chatbot-header {
    padding: 16px 20px;
    background: var(--pm-gradient, linear-gradient(135deg, #1b98e0, #9b59b6));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    max-height: 350px;
}

.chatbot-input-form {
    display: flex;
    padding: 12px;
    border-top: 1px solid var(--glass-border);
    gap: 8px;
}

.chatbot-input-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: transparent;
    color: var(--color-text);
    outline: none;
    font-size: 0.9rem;
}

.chatbot-input-form input:focus {
    border-color: #1b98e0;
}

.chatbot-input-form button {
    padding: 10px 14px;
    background: var(--pm-gradient, linear-gradient(135deg, #1b98e0, #9b59b6));
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

/* Voice Assistant Button */
#voice-assistant-btn {
    position: fixed !important;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
    color: #fff !important;
    border: none;
    font-size: 1.3rem;
    z-index: 9998;
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--spring-ease);
}

#voice-assistant-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(27, 152, 224, 0.5);
}

/* === THEME TOGGLE FIX === */
#theme-switcher,
.u-theme-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--glass-bg) !important;
    color: var(--color-text) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    z-index: 100;
    position: relative;
    transition: all 0.3s ease !important;
}

#theme-switcher:hover {
    border-color: #1b98e0 !important;
    color: #1b98e0 !important;
    transform: translateY(-2px) !important;
}

/* Lang Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.lang-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: rgba(27, 152, 224, 0.1);
    color: #1b98e0;
}

/* === LIGHT THEME COMPLETE PARITY === */
html[data-theme='light'] .feature-card,
html[data-theme='light'] .founder-card,
html[data-theme='light'] .timeline-card,
html[data-theme='light'] .faq-item,
html[data-theme='light'] .partner-card,
html[data-theme='light'] .testimonial-card,
html[data-theme='light'] #contact .form-container,
html[data-theme='light'] #review-form-page {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html[data-theme='light'] .feature-card:hover,
html[data-theme='light'] .timeline-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(27, 152, 224, 0.2) !important;
}

html[data-theme='light'] .hero-trust-stats {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

html[data-theme='light'] .input-wrapper {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme='light'] textarea {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme='light'] .section-title {
    background: linear-gradient(135deg, var(--color-text) 0%, #1b98e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme='light'] #chatbot-container {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme='light'] .s-btn,
html[data-theme='light'] .interest-pill {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme='light'] body {
    background-color: #f8f9fa !important;
}

html[data-theme='light'] header {
    background: rgba(255, 255, 255, 0.85) !important;
}

html[data-theme='light'] .h-brand-name,
html[data-theme='light'] .brand-name {
    background: linear-gradient(90deg,
            #1565c0 0%,
            #1b98e0 20%,
            #9b59b6 40%,
            #32de84 60%,
            #1565c0 80%,
            #1b98e0 100%) !important;
    background-size: 400% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* === REMOVE PROJECT STATISTICS SECTION === */
#project-statistics,
.project-stats-section,
section.stats-section {
    display: none !important;
}

/* === MESSAGE STYLES === */
.message {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.message.success {
    background: rgba(50, 222, 132, 0.1);
    border: 1px solid rgba(50, 222, 132, 0.2);
    color: #32de84;
}

.message.error {
    background: rgba(255, 23, 68, 0.1);
    border: 1px solid rgba(255, 23, 68, 0.2);
    color: #ff1744;
}

/* === SERVICES HERO CARD === */
.services-hero-card {
    border-color: rgba(27, 152, 224, 0.15) !important;
}

.services-hero-card::before {
    background: linear-gradient(135deg, #1b98e0, #32de84, #9b59b6) !important;
    opacity: 1 !important;
}

.services-hero-card .btn-primary {
    background: var(--pm-gradient, linear-gradient(135deg, #1b98e0, #9b59b6)) !important;
    box-shadow: 0 8px 24px rgba(27, 152, 224, 0.3) !important;
}

.services-hero-card .btn-primary:hover {
    box-shadow: 0 12px 36px rgba(27, 152, 224, 0.45) !important;
}

/* Check icons in hero card */
.services-hero-card .check-icon {
    color: #32de84 !important;
}

.services-hero-card .star-icon {
    color: #fbbf24 !important;
}

/* === FOOTER RESPONSIVE === */
@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr 1fr !important;
    }

    #chatbot-container {
        width: calc(100vw - 40px);
        right: 20px;
    }

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

    .referral-section {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .footer-wrapper {
        grid-template-columns: 1fr !important;
    }
}/* ============================================================
   IMPROVEMENTS.CSS — Comprehensive Fixes & Light Theme
   Last updated: 2026-02-16
   ============================================================ */

/* =============================================
   1. SPLASH SCREEN FIXES
   ============================================= */

/* Make PROMPT MINDS font smaller on desktop */
#welcome-screen .main-heading {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    letter-spacing: 3px !important;
}

#welcome-screen .main-heading .shine-text {
    font-size: inherit !important;
}

/* Splash version text styling */
.splash-version {
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: none !important;
    font-weight: 400 !important;
}


/* =============================================
   2. TEXT COLOR FIXES (White text issue)
   ============================================= */

/* Section subtitles */
.section-subtitle {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.65)) !important;
}

/* Feature card text fixes */
.feature-card h3 {
    color: var(--color-text, #e8eaed) !important;
}

.feature-card p {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.65)) !important;
}

/* Popular tools card text */
#popular-tools .feature-card h3 {
    color: var(--color-text, #e8eaed) !important;
}

#popular-tools .feature-card p {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.65)) !important;
}

/* Services card text fix */
#services .feature-card h3,
#services .feature-card p {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.65)) !important;
}

#services .feature-card h3 {
    color: var(--color-text, #e8eaed) !important;
}

/* Free .com domain section text fix */
.services-hero-card span,
.services-hero-card p {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.65)) !important;
}

.services-hero-card h3 {
    color: var(--color-text, #e8eaed) !important;
}

/* Fix benefits / flip card text */
.flip-card .card-front h3,
.flip-card .card-back h3 {
    color: var(--color-text, #e8eaed) !important;
}

.flip-card .card-front p,
.flip-card .card-back p {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.65)) !important;
}

/* FAQ text fix */
.faq-question {
    color: var(--color-text, #e8eaed) !important;
}

.faq-answer p {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.65)) !important;
}

/* Form labels */
.form-container label {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.7)) !important;
}


/* =============================================
   3. HOW WE WORK — 3-CARD GRID  
   ============================================= */

.how-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.how-work-card {
    position: relative;
    background: var(--glass-bg-dark, rgba(10, 15, 30, 0.6));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 152, 224, 0.15);
    border-radius: 20px;
    padding: 40px 30px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.how-work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1b98e0, #9b59b6, #32de84);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.how-work-card:hover {
    transform: translateY(-10px);
    border-color: rgba(27, 152, 224, 0.35);
    box-shadow: 0 25px 50px rgba(27, 152, 224, 0.12);
}

.how-work-card:hover::before {
    opacity: 1;
}

.how-work-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(27, 152, 224, 0.08);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.how-work-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.15), rgba(155, 89, 182, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #1b98e0;
    transition: all 0.3s ease;
}

.how-work-card:nth-child(2) .how-work-icon {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(27, 152, 224, 0.1));
    color: #9b59b6;
}

.how-work-card:nth-child(3) .how-work-icon {
    background: linear-gradient(135deg, rgba(50, 222, 132, 0.15), rgba(27, 152, 224, 0.1));
    color: #32de84;
}

.how-work-card:hover .how-work-icon {
    transform: scale(1.1);
}

.how-work-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text, #e8eaed);
    margin-bottom: 12px;
}

.how-work-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-muted, rgba(255, 255, 255, 0.6));
}

@media (max-width: 768px) {
    .how-work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* =============================================
   4. TESTIMONIAL SECTION — LOGO + NAV BUTTONS
   ============================================= */

.testimonial-section-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Centered logo above slider */
.testimonial-logo-center {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-logo-center img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(27, 152, 224, 0.4);
    box-shadow: 0 0 25px rgba(27, 152, 224, 0.2);
    background: rgba(10, 15, 30, 0.6);
    padding: 4px;
}

/* Slider with nav buttons on sides */
.testimonial-slider-outer {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.testimonial-nav-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(27, 152, 224, 0.3);
    background: var(--glass-bg-dark, rgba(10, 15, 30, 0.6));
    backdrop-filter: blur(10px);
    color: #1b98e0;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-nav-btn:hover {
    background: rgba(27, 152, 224, 0.15);
    border-color: #1b98e0;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(27, 152, 224, 0.25);
}

.testimonial-slider-outer .testimonial-slider-container {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

/* Remove old slider nav */
.slider-nav {
    display: none !important;
}

/* Slider dots */
.testimonial-section-wrapper .slider-dots {
    text-align: center;
    margin-top: 20px;
}


/* =============================================
   5. CONTACT FORM — Premium Styling (Match Review form)
   ============================================= */

/* Both forms share same premium styling */
.form-container,
#review-form-page {
    background: var(--glass-bg-dark, rgba(10, 15, 30, 0.6)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
    border-radius: 20px !important;
    padding: 40px !important;
}

.form-container::before,
#review-form-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1b98e0, #9b59b6, #32de84);
    border-radius: 20px 20px 0 0;
}

/* Input wrapper styling — consistent across both forms */
.input-wrapper {
    position: relative;
    border: 1.5px solid rgba(27, 152, 224, 0.2) !important;
    border-radius: 12px !important;
    background: rgba(10, 15, 30, 0.4) !important;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #1b98e0 !important;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.15) !important;
}

.input-wrapper input,
.form-container textarea,
#review-form-page textarea {
    background: transparent !important;
    border: none !important;
    color: var(--color-text, #e8eaed) !important;
    padding: 12px 14px 12px 44px !important;
    font-size: 0.95rem !important;
    width: 100%;
    outline: none;
}

.form-container textarea,
#review-form-page textarea {
    border: 1.5px solid rgba(27, 152, 224, 0.2) !important;
    border-radius: 12px !important;
    background: rgba(10, 15, 30, 0.4) !important;
    padding: 14px !important;
    color: var(--color-text, #e8eaed) !important;
    transition: all 0.3s ease;
}

.form-container textarea:focus,
#review-form-page textarea:focus {
    border-color: #1b98e0 !important;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.15) !important;
    outline: none;
}

.input-icon {
    color: #1b98e0 !important;
}


/* =============================================
   6. SERVICES — PREMIUM HOSTING FREE BADGE
   ============================================= */

/* Already included in the A-Z package grid — just make sure the 
   "Premium Hosting" item is styled with a "FREE" badge */

/* Premium Free badge on .com domain and hosting items */
.services-hero-card .fa-check-circle {
    color: #32de84 !important;
}

/* Free label style */
.free-service-badge {
    display: inline-block;
    background: linear-gradient(135deg, #32de84, #1b98e0);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* =============================================
   7. FOUNDER STATS — Match Founder Card Color Grading
   ============================================= */

.founder-stat-card {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.08), rgba(155, 89, 182, 0.06)) !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
    border-radius: 14px !important;
    padding: 20px 16px !important;
    text-align: center;
    transition: all 0.3s ease;
}

.founder-stat-card:hover {
    border-color: rgba(27, 152, 224, 0.35) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(27, 152, 224, 0.1);
}

.stat-num,
.stat-num-text {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.stat-suffix {
    font-size: 1rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.stat-lbl {
    display: block;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--color-text-muted, rgba(255, 255, 255, 0.6)) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}


/* =============================================
   8. HERO TRUST STATS — Match Founder Color Grading
   ============================================= */

.hero-trust-stats {
    background: var(--glass-bg-dark, rgba(10, 15, 30, 0.6)) !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
    border-radius: 16px !important;
    padding: 16px 24px !important;
}

.trust-stat-number {
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.trust-stat-plus {
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.trust-stat-label {
    color: var(--color-text-muted, rgba(255, 255, 255, 0.6)) !important;
}


/* =============================================
   9. MOBILE RESPONSIVE FIXES
   ============================================= */

@media (max-width: 768px) {
    .testimonial-slider-outer {
        gap: 8px;
    }

    .testimonial-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .testimonial-logo-center img {
        width: 55px;
        height: 55px;
    }

    .form-container,
    #review-form-page {
        padding: 24px !important;
    }

    /* Fix header section below on mobile */
    .hero-section {
        padding-top: 40px !important;
    }

    #welcome-screen .main-heading {
        font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    }
}


/* =============================================
   10. LIGHT THEME — Complete Implementation
   ============================================= */

[data-theme="light"] {
    /* Core Colors */
    --color-bg: #f5f7fa;
    --color-bg-alt: #ffffff;
    --color-text: #1a1a2e;
    --color-text-muted: rgba(26, 26, 46, 0.6);
    --color-primary: #1b98e0;
    --color-secondary: #10b981;
    --color-accent: #8b5cf6;
    --glass-bg-dark: rgba(255, 255, 255, 0.85);
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(27, 152, 224, 0.15);
    --shadow-color: rgba(0, 0, 0, 0.06);
}

/* Light theme body */
[data-theme="light"] body {
    background: linear-gradient(180deg, #f0f4f8 0%, #e8ecf1 50%, #f0f4f8 100%) !important;
    color: #1a1a2e !important;
}

/* Light theme main bg animation */
[data-theme="light"] .main-bg-animation span {
    background: rgba(27, 152, 224, 0.04) !important;
    border: 1px solid rgba(27, 152, 224, 0.06) !important;
}

/* Light theme particles */
[data-theme="light"] #particles-js {
    opacity: 0.3 !important;
}

/* ---- HEADER ---- */
[data-theme="light"] .ultra-header {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(27, 152, 224, 0.1) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .h-brand-name {
    color: #1a1a2e !important;
}

[data-theme="light"] .u-link {
    color: #4a5568 !important;
}

[data-theme="light"] .u-link:hover,
[data-theme="light"] .u-link.active {
    color: #1b98e0 !important;
}

[data-theme="light"] .u-theme-btn {
    background: rgba(27, 152, 224, 0.08) !important;
    color: #1b98e0 !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
}

[data-theme="light"] .lang-btn {
    color: #4a5568 !important;
    border-color: rgba(27, 152, 224, 0.15) !important;
}

[data-theme="light"] .lang-btn.active {
    background: #1b98e0 !important;
    color: #fff !important;
}

/* ---- HERO SECTION ---- */
[data-theme="light"] .hero-section {
    color: #1a1a2e !important;
}

[data-theme="light"] .hero-headline {
    color: #1a1a2e !important;
}

[data-theme="light"] .hero-subheadline {
    color: rgba(26, 26, 46, 0.65) !important;
}

[data-theme="light"] .hero-badge {
    background: rgba(27, 152, 224, 0.08) !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
    color: #1b98e0 !important;
}

[data-theme="light"] .hero-trust-stats {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .trust-stat-label {
    color: rgba(26, 26, 46, 0.5) !important;
}

[data-theme="light"] .trust-stat-divider {
    background: rgba(27, 152, 224, 0.12) !important;
}

/* ---- IMAGE FRAME ---- */
[data-theme="light"] .image-frame {
    border-color: rgba(27, 152, 224, 0.2) !important;
    box-shadow: 0 10px 40px rgba(27, 152, 224, 0.1) !important;
}

/* ---- BUTTONS ---- */
[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #1b98e0, #8b5cf6) !important;
    color: #fff !important;
}

[data-theme="light"] .btn-secondary {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1a1a2e !important;
    border: 1px solid rgba(27, 152, 224, 0.2) !important;
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(27, 152, 224, 0.08) !important;
}

/* ---- SECTION TITLES ---- */
[data-theme="light"] .section-title {
    color: #1a1a2e !important;
}

[data-theme="light"] .section-subtitle {
    color: rgba(26, 26, 46, 0.6) !important;
}

/* ---- FOUNDER SECTION ---- */
[data-theme="light"] .founder-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .founder-name {
    color: #1a1a2e !important;
}

[data-theme="light"] .founder-title {
    color: rgba(26, 26, 46, 0.6) !important;
}

[data-theme="light"] .founder-location {
    color: rgba(26, 26, 46, 0.5) !important;
}

[data-theme="light"] .founder-bio-text p {
    color: rgba(26, 26, 46, 0.7) !important;
}

[data-theme="light"] .founder-bio-text strong {
    color: #1a1a2e !important;
}

[data-theme="light"] .founder-stat-card {
    background: rgba(27, 152, 224, 0.04) !important;
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
}

[data-theme="light"] .stat-lbl {
    color: rgba(26, 26, 46, 0.5) !important;
}

[data-theme="light"] .interest-pill {
    background: rgba(27, 152, 224, 0.06) !important;
    color: #1b98e0 !important;
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
}

[data-theme="light"] .yt-channel-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(271, 152, 224, 0.1) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .yt-channel-card strong {
    color: #1a1a2e !important;
}

[data-theme="light"] .yt-channel-card span {
    color: rgba(26, 26, 46, 0.5) !important;
}

/* ---- SERVICES SECTION ---- */
[data-theme="light"] .services-hero-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(155, 89, 182, 0.12) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .services-hero-card h3 {
    color: #1a1a2e !important;
}

[data-theme="light"] .services-hero-card p,
[data-theme="light"] .services-hero-card span {
    color: rgba(26, 26, 46, 0.65) !important;
}

[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .feature-card:hover {
    box-shadow: 0 10px 30px rgba(27, 152, 224, 0.1) !important;
}

[data-theme="light"] .feature-card h3 {
    color: #1a1a2e !important;
}

[data-theme="light"] .feature-card p {
    color: rgba(26, 26, 46, 0.6) !important;
}

[data-theme="light"] .services-category-title {
    border-bottom-color: rgba(27, 152, 224, 0.1) !important;
}

/* ---- HOW WE WORK ---- */
[data-theme="light"] .how-work-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .how-work-card:hover {
    box-shadow: 0 15px 40px rgba(27, 152, 224, 0.08) !important;
}

[data-theme="light"] .how-work-card h3 {
    color: #1a1a2e !important;
}

[data-theme="light"] .how-work-card p {
    color: rgba(26, 26, 46, 0.6) !important;
}

[data-theme="light"] .how-work-number {
    color: rgba(27, 152, 224, 0.06) !important;
}

/* ---- POPULAR TOOLS ---- */
[data-theme="light"] #popular-tools .feature-card h3 {
    color: #1a1a2e !important;
}

[data-theme="light"] #popular-tools .feature-card p {
    color: rgba(26, 26, 46, 0.6) !important;
}

/* ---- CONTACT FORM ---- */
[data-theme="light"] .form-container,
[data-theme="light"] #review-form-page {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .form-container label,
[data-theme="light"] #review-form-page label {
    color: rgba(26, 26, 46, 0.7) !important;
}

[data-theme="light"] .input-wrapper {
    border-color: rgba(27, 152, 224, 0.15) !important;
    background: rgba(245, 247, 250, 0.8) !important;
}

[data-theme="light"] .input-wrapper:focus-within {
    border-color: #1b98e0 !important;
    background: rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .input-wrapper input,
[data-theme="light"] .form-container textarea,
[data-theme="light"] #review-form-page textarea {
    color: #1a1a2e !important;
}

[data-theme="light"] .form-container textarea,
[data-theme="light"] #review-form-page textarea {
    border-color: rgba(27, 152, 224, 0.15) !important;
    background: rgba(245, 247, 250, 0.8) !important;
}

[data-theme="light"] .form-container textarea:focus,
[data-theme="light"] #review-form-page textarea:focus {
    border-color: #1b98e0 !important;
    background: rgba(255, 255, 255, 1) !important;
}

/* ---- FLIP CARDS / BENEFITS ---- */
[data-theme="light"] .flip-card .card-front,
[data-theme="light"] .flip-card .card-back {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
}

[data-theme="light"] .flip-card .card-front h3,
[data-theme="light"] .flip-card .card-back h3 {
    color: #1a1a2e !important;
}

[data-theme="light"] .flip-card .card-front p,
[data-theme="light"] .flip-card .card-back p {
    color: rgba(26, 26, 46, 0.6) !important;
}

/* ---- TESTIMONIALS ---- */
[data-theme="light"] .testimonial-slider-container {
    background: transparent !important;
}

[data-theme="light"] .testimonial-card,
[data-theme="light"] .testimonial-slide {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .testimonial-card .t-name,
[data-theme="light"] .testimonial-slide .t-name,
[data-theme="light"] .testimonial-card h4,
[data-theme="light"] .testimonial-slide h4 {
    color: #1a1a2e !important;
}

[data-theme="light"] .testimonial-card .t-location,
[data-theme="light"] .testimonial-slide .t-location,
[data-theme="light"] .testimonial-card p,
[data-theme="light"] .testimonial-slide p {
    color: rgba(26, 26, 46, 0.6) !important;
}

[data-theme="light"] .testimonial-nav-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(27, 152, 224, 0.2) !important;
    color: #1b98e0 !important;
}

[data-theme="light"] .testimonial-nav-btn:hover {
    background: rgba(27, 152, 224, 0.08) !important;
}

[data-theme="light"] .testimonial-logo-center img {
    border-color: rgba(27, 152, 224, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    background: #fff !important;
}

/* ---- FAQ ---- */
[data-theme="light"] .faq-item {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(27, 152, 224, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .faq-question {
    color: #1a1a2e !important;
}

[data-theme="light"] .faq-answer p {
    color: rgba(26, 26, 46, 0.6) !important;
}

/* ---- DIGITAL ECOSYSTEM ---- */
[data-theme="light"] #digital-ecosystem .feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="light"] #digital-ecosystem .feature-card h3 {
    color: #1a1a2e !important;
}

[data-theme="light"] #digital-ecosystem .feature-card p {
    color: rgba(26, 26, 46, 0.6) !important;
}

/* ---- PARTNERS ---- */
[data-theme="light"] #partners .feature-card,
[data-theme="light"] #partners .card-grid>div {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(27, 152, 224, 0.08) !important;
}

/* ---- FOOTER ---- */
[data-theme="light"] .ultra-footer {
    background: linear-gradient(180deg, #1a1a2e, #0e0e1a) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="light"] .ultra-footer .brand-name {
    color: #fff !important;
}

[data-theme="light"] .ultra-footer .brand-desc {
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] .ultra-footer .col-title {
    color: #fff !important;
}

[data-theme="light"] .ultra-footer .link-list a {
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] .ultra-footer .link-list a:hover {
    color: #1b98e0 !important;
}

[data-theme="light"] .ultra-footer .connect-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] .ultra-footer .footer-copyright {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ---- CHATBOT & VOICE BUTTONS ---- */
[data-theme="light"] #chatbot-toggle {
    background: linear-gradient(135deg, #1b98e0, #8b5cf6) !important;
}

[data-theme="light"] #voice-assistant-btn {
    background: linear-gradient(135deg, #8b5cf6, #1b98e0) !important;
}

[data-theme="light"] #chatbot-container {
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .chatbot-header {
    background: linear-gradient(135deg, #1b98e0, #8b5cf6) !important;
    color: #fff !important;
}

[data-theme="light"] .chat-message.bot {
    background: rgba(27, 152, 224, 0.06) !important;
    color: #1a1a2e !important;
}

[data-theme="light"] .chat-message.user {
    background: linear-gradient(135deg, #1b98e0, #8b5cf6) !important;
    color: #fff !important;
}

[data-theme="light"] #chatbot-input {
    background: rgba(245, 247, 250, 0.8) !important;
    color: #1a1a2e !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
}

/* ---- SCROLL BAR LIGHT ---- */
[data-theme="light"] ::-webkit-scrollbar {
    width: 8px;
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f0f4f8;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(27, 152, 224, 0.25);
    border-radius: 4px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 152, 224, 0.4);
}

/* ---- MOBILE NAV LIGHT ---- */
[data-theme="light"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-top: 1px solid rgba(27, 152, 224, 0.08) !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .mobile-bottom-nav a {
    color: #4a5568 !important;
}

[data-theme="light"] .mobile-bottom-nav a.active {
    color: #1b98e0 !important;
}

/* ---- CAPTCHA BOX LIGHT ---- */
[data-theme="light"] #captcha-question {
    background: rgba(245, 247, 250, 0.8) !important;
    color: #1a1a2e !important;
    border-color: rgba(27, 152, 224, 0.15) !important;
}

[data-theme="light"] .captcha-refresh {
    background: rgba(27, 152, 224, 0.06) !important;
    color: #1b98e0 !important;
}

/* ---- BTN GENERAL LIGHT ---- */
[data-theme="light"] .btn {
    color: #fff !important;
}

[data-theme="light"] .btn-secondary {
    color: #1a1a2e !important;
}

/* ---- STAR RATING LIGHT ---- */
[data-theme="light"] .star-rating .fa-star {
    color: rgba(26, 26, 46, 0.15) !important;
}

[data-theme="light"] .star-rating .fa-star.active,
[data-theme="light"] .star-rating .fa-star.selected {
    color: #f59e0b !important;
}

/* ---- REFERRAL SECTION LIGHT ---- */
[data-theme="light"] #verify-referral-btn {
    background: rgba(27, 152, 224, 0.08) !important;
    color: #1b98e0 !important;
    border: 1px solid rgba(27, 152, 224, 0.2) !important;
}

/* ---- SECTION BACKGROUNDS LIGHT ---- */
[data-theme="light"] .how-we-work-section,
[data-theme="light"] #services,
[data-theme="light"] #popular-tools,
[data-theme="light"] #contact,
[data-theme="light"] #benefits,
[data-theme="light"] #about,
[data-theme="light"] #faq,
[data-theme="light"] #partners,
[data-theme="light"] #digital-ecosystem,
[data-theme="light"] .founder-section {
    background: transparent !important;
}

/* Alternate section backgrounds for depth */
[data-theme="light"] #services,
[data-theme="light"] #benefits,
[data-theme="light"] #faq {
    background: rgba(27, 152, 224, 0.015) !important;
}

/* ---- MOBILE MENU LIGHT ---- */
[data-theme="light"] .mobile-menu-toggle {
    color: #1a1a2e !important;
    border-color: rgba(27, 152, 224, 0.15) !important;
}

[data-theme="light"] .header-right {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* Smooth transitions for theme switching */
body,
.ultra-header,
.feature-card,
.founder-card,
.faq-item,
.input-wrapper,
.form-container,
.how-work-card,
.flip-card .card-front,
.flip-card .card-back,
#chatbot-container {
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}/* =============================================
   FINAL FIXES — Comprehensive Override Layer
   Author: Prompt Minds Enhancement
   Last Layer — loaded after improvements.css
   ============================================= */

/* =============================================
   1. SPLASH SCREEN POLISH
   ============================================= */

/* Reduce "PROMPT MINDS" font size for balanced desktop/laptop display */
#welcome-screen .main-heading {
    font-size: clamp(2rem, 4.5vw, 2.8rem) !important;
    letter-spacing: 2px;
}

/* Smooth intro animation for the royal card */
#welcome-screen .royal-card {
    animation: splashCardEntry 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    opacity: 0;
}

@keyframes splashCardEntry {
    0% {
        opacity: 0;
        transform: scale(0.88) translateY(40px);
        filter: blur(8px);
    }

    60% {
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* Splash version smooth slide-up */
#welcome-screen .splash-version {
    animation: splashSlideUp 1s ease 0.8s backwards;
}

#welcome-screen .splash-loader {
    animation-name: none;
    /* keep existing positioning, just add entry */
    opacity: 0;
    animation: splashFadeIn 0.8s ease 0.6s forwards;
}

@keyframes splashSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Smooth logo entrance */
#welcome-screen .logo-spotlight {
    animation: splashLogoEntry 1s ease 0.2s backwards;
}

@keyframes splashLogoEntry {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}


/* =============================================
   2. TEXT COLOR / CONTRAST FIXES (FULL PAGE)
   ============================================= */

/* Ensure all feature-card text is readable */
.feature-card h3 {
    color: var(--color-text) !important;
}

.feature-card p {
    color: var(--color-text-muted) !important;
}

/* Fix "Try Now" buttons in tool cards */
.feature-card .btn {
    color: #fff !important;
}

/* Fix flip cards text */
.flip-card .card-front h3,
.flip-card .card-back h3 {
    color: var(--color-text) !important;
}

.flip-card .card-front p,
.flip-card .card-back p {
    color: var(--color-text-muted) !important;
}

/* FREE badge styling */
.free-service-badge {
    display: inline-block;
    background: linear-gradient(135deg, #32de84, #1b98e0) !important;
    color: #fff !important;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Section subtitles */
.section-subtitle {
    color: var(--color-text-muted) !important;
}

/* FAQ text */
.faq-question {
    color: var(--color-text) !important;
}

.faq-answer,
.faq-answer p {
    color: var(--color-text-muted) !important;
}

/* Footer text fixes */
.ultra-footer .brand-desc {
    color: var(--color-text-muted) !important;
}

.ultra-footer .col-title {
    color: var(--color-text) !important;
}

.ultra-footer .link-list a {
    color: var(--color-text-muted) !important;
    transition: color 0.3s ease;
}

.ultra-footer .link-list a:hover {
    color: var(--color-primary) !important;
}

/* Services hero card text fixes */
.services-hero-card h3 {
    color: var(--color-text) !important;
}

/* How We Work text fixes */
.how-work-card h3 {
    color: var(--color-text) !important;
}

.how-work-card p {
    color: var(--color-text-muted) !important;
}


/* =============================================
   3. HOW WE WORK — PROFESSIONAL 3-BLOCK LAYOUT
   ============================================= */

.how-we-work-section {
    padding: 100px 0;
    position: relative;
}

.how-work-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin-top: 50px;
}

.how-work-card {
    position: relative !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(27, 152, 224, 0.04)) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 35px 24px 30px !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    overflow: hidden;
}

.how-work-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    height: 4px !important;
    border-radius: 20px 20px 0 0;
}

.how-work-card:nth-child(1)::before {
    background: linear-gradient(90deg, #ffffff, #7ec8ff) !important;
}

.how-work-card:nth-child(2)::before {
    background: linear-gradient(90deg, #a8d8ff, #3b82f6) !important;
}

.how-work-card:nth-child(3)::before {
    background: linear-gradient(90deg, #dbeafe, #60a5fa) !important;
}

.how-work-card:nth-child(4)::before {
    background: linear-gradient(90deg, #93c5fd, #2563eb) !important;
}

.how-work-card:nth-child(5)::before {
    background: linear-gradient(90deg, #bfdbfe, #3b82f6) !important;
}

.how-work-card:nth-child(6)::before {
    background: linear-gradient(90deg, #60a5fa, #1d4ed8) !important;
}

.how-work-card:nth-child(7)::before {
    background: linear-gradient(90deg, #93c5fd, #7c3aed) !important;
}

.how-work-card:nth-child(8)::before {
    background: linear-gradient(90deg, #a78bfa, #3b82f6) !important;
}

.how-work-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(59, 130, 246, 0.08) !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(59, 130, 246, 0.08)) !important;
}

/* Step Number — Large faded behind */
.how-work-number {
    font-size: 4rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(59, 130, 246, 0.08)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    line-height: 1 !important;
    margin-bottom: 12px !important;
    letter-spacing: -2px;
}

/* Icon Circle — White to Blue variations */
.how-work-icon {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(59, 130, 246, 0.12)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 18px !important;
    font-size: 1.4rem !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.how-work-card:nth-child(2) .how-work-icon {
    color: #60a5fa !important;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.08)) !important;
    border-color: rgba(96, 165, 250, 0.2);
}

.how-work-card:nth-child(3) .how-work-icon {
    color: #3b82f6 !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.08)) !important;
    border-color: rgba(59, 130, 246, 0.2);
}

.how-work-card:nth-child(4) .how-work-icon {
    color: #a78bfa !important;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(124, 58, 237, 0.08)) !important;
    border-color: rgba(167, 139, 250, 0.2);
}

.how-work-card:nth-child(5) .how-work-icon {
    color: #2563eb !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(29, 78, 216, 0.08)) !important;
    border-color: rgba(37, 99, 235, 0.2);
}

.how-work-card:nth-child(6) .how-work-icon {
    color: #818cf8 !important;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.12), rgba(99, 102, 241, 0.08)) !important;
    border-color: rgba(129, 140, 248, 0.2);
}

.how-work-card:nth-child(7) .how-work-icon {
    color: #c084fc !important;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.12), rgba(124, 58, 237, 0.08)) !important;
    border-color: rgba(192, 132, 252, 0.2);
}

.how-work-card:nth-child(8) .how-work-icon {
    color: #34d399 !important;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(16, 185, 129, 0.08)) !important;
    border-color: rgba(52, 211, 153, 0.2);
}

.how-work-card:hover .how-work-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.how-work-card h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
}

.how-work-card p {
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

/* Responsive */
@media (max-width: 1100px) {
    .how-work-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .how-work-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}


/* =============================================
   4. POPULAR FREE TOOLS — CARD FIXES
   ============================================= */

#popular-tools .feature-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

#popular-tools .feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(27, 152, 224, 0.12),
        0 0 20px rgba(27, 152, 224, 0.05) !important;
    border-color: rgba(27, 152, 224, 0.3) !important;
}

#popular-tools .feature-card h3 {
    color: var(--color-text) !important;
}

#popular-tools .feature-card p {
    color: var(--color-text-muted) !important;
}

#popular-tools .feature-card .icon {
    color: var(--color-primary) !important;
}


/* =============================================
   5. TESTIMONIALS — PREMIUM SLIDER
   ============================================= */

.testimonial-section-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-logo-center {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-logo-center img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(27, 152, 224, 0.3);
    box-shadow: 0 0 20px rgba(27, 152, 224, 0.15);
}

.testimonial-slider-outer {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    position: relative;
}

.testimonial-slider-container {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Arrow Buttons — Premium with Glow */
.testimonial-nav-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(27, 152, 224, 0.25) !important;
    background: var(--card-bg) !important;
    backdrop-filter: blur(10px);
    color: var(--color-primary) !important;
    font-size: 1.1rem !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0;
    z-index: 5;
}

.testimonial-nav-btn:hover {
    background: rgba(27, 152, 224, 0.15) !important;
    border-color: rgba(27, 152, 224, 0.5) !important;
    box-shadow: 0 0 20px rgba(27, 152, 224, 0.3),
        0 0 40px rgba(27, 152, 224, 0.1) !important;
    color: #fff !important;
    transform: scale(1.1);
}

.testimonial-nav-btn:active {
    transform: scale(0.95);
}

/* Testimonial Card */
.testimonial-card {
    min-width: 100% !important;
    background: var(--card-bg) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
    border-radius: 20px !important;
    padding: 35px 30px !important;
    text-align: center;
    box-sizing: border-box;
}

.testimonial-card .review-text {
    color: var(--color-text-muted) !important;
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .name {
    color: var(--color-text) !important;
    font-weight: 700;
    font-size: 1.05rem;
}

.testimonial-card .location {
    color: var(--color-text-muted) !important;
    font-size: 0.85rem;
}

.testimonial-card .stars {
    color: #f39c12 !important;
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(27, 152, 224, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.slider-dots .dot.active {
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(27, 152, 224, 0.4);
    transform: scale(1.2);
}

/* Mobile testimonial arrows */
@media (max-width: 600px) {
    .testimonial-nav-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
}


/* =============================================
   6. CONTACT FORM — PREMIUM INPUTS
   ============================================= */

#contact .form-container,
.review-form-onpage .form-container {
    background: var(--card-bg) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 152, 224, 0.1) !important;
    border-radius: 24px !important;
    padding: 40px 35px !important;
}

#contact .input-wrapper,
.review-form-onpage .input-wrapper {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
    border-radius: 14px !important;
    padding: 0 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#contact .input-wrapper:focus-within,
.review-form-onpage .input-wrapper:focus-within {
    border-color: rgba(27, 152, 224, 0.4) !important;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

#contact .input-wrapper input,
.review-form-onpage .input-wrapper input {
    background: transparent !important;
    border: none !important;
    color: var(--color-text) !important;
    font-size: 0.95rem;
    padding: 14px 8px !important;
    width: 100%;
    outline: none;
}

#contact textarea,
.review-form-onpage textarea {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    color: var(--color-text) !important;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#contact textarea:focus,
.review-form-onpage textarea:focus {
    border-color: rgba(27, 152, 224, 0.4) !important;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.08) !important;
    outline: none;
}

#contact label,
.review-form-onpage label {
    color: var(--color-text) !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.input-icon {
    color: var(--color-primary) !important;
    opacity: 0.7;
}

/* Referral section */
.referral-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(27, 152, 224, 0.08);
    border-radius: 16px;
    padding: 20px;
}

/* Captcha box */
.captcha-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(27, 152, 224, 0.08);
    border-radius: 16px;
    padding: 20px;
}


/* =============================================
   7. FOOTER — CLEAN & MINIMAL
   ============================================= */

.ultra-footer {
    padding: 80px 0 30px !important;
    position: relative;
    overflow: hidden;
}

.footer-wrapper {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
    gap: 40px !important;
}

.footer-copyright {
    margin-top: 50px !important;
    padding-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    text-align: center;
}

.footer-copyright p {
    color: var(--color-text-muted) !important;
    font-size: 0.85rem;
}

.footer-copyright .made-with {
    margin-top: 6px;
    font-size: 0.8rem;
}

/* Connect cards premium look */
.connect-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin-bottom: 10px !important;
}

.connect-card:hover {
    background: rgba(27, 152, 224, 0.08) !important;
    border-color: rgba(27, 152, 224, 0.2) !important;
    transform: translateX(4px);
}

.connect-card .card-content .card-label {
    font-size: 0.7rem !important;
    color: var(--color-text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.connect-card .card-content .card-value {
    color: var(--color-text) !important;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Social buttons */
.social-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.s-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--color-text-muted) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
}

.s-btn:hover {
    transform: translateY(-3px) !important;
    color: #fff !important;
}

.s-btn.fb:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
}

.s-btn.insta:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    border-color: #dc2743 !important;
}

.s-btn.x:hover {
    background: #1da1f2 !important;
    border-color: #1da1f2 !important;
}

.s-btn.tg:hover {
    background: #0088cc !important;
    border-color: #0088cc !important;
}

/* Footer responsive */
@media (max-width: 900px) {
    .footer-wrapper {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 600px) {
    .footer-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}


/* =============================================
   8. MOBILE UI FIX
   ============================================= */

@media (max-width: 768px) {

    /* Fix hero section alignment under header */
    .hero-section {
        flex-direction: column !important;
        padding-top: 30px !important;
        text-align: center;
    }

    .hero-section .hero-image {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-section .hero-content {
        align-items: center;
    }

    .hero-cta-group {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust-stats {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    /* Fix hero badge centering */
    .hero-badge {
        justify-content: center;
    }

    /* Founder section mobile */
    .founder-layout {
        flex-direction: column !important;
    }

    .founder-stats-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    /* Fix mobile header spacing */
    .ultra-header {
        padding: 10px 0 !important;
    }

    .ultra-header .header-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .founder-stats-row {
        grid-template-columns: 1fr !important;
    }
}


/* =============================================
   9. MEET THE FOUNDER — COUNTER STYLING
   ============================================= */

.founder-stats-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin-top: 30px !important;
    margin-bottom: 25px !important;
}

.founder-stat-card {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.08), rgba(155, 89, 182, 0.06)) !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
    border-radius: 16px !important;
    padding: 22px 16px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.founder-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1b98e0, #9b59b6) !important;
    border-radius: 16px 16px 0 0;
}

.founder-stat-card:nth-child(2)::before {
    background: linear-gradient(90deg, #9b59b6, #32de84) !important;
}

.founder-stat-card:nth-child(3)::before {
    background: linear-gradient(90deg, #32de84, #f39c12) !important;
}

.founder-stat-card:nth-child(4)::before {
    background: linear-gradient(90deg, #f39c12, #1b98e0) !important;
}

.founder-stat-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(27, 152, 224, 0.3) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(27, 152, 224, 0.08) !important;
}

.founder-stat-card .stat-num,
.founder-stat-card .stat-num-text {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: block;
    line-height: 1.2;
}

.founder-stat-card .stat-suffix {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.founder-stat-card .stat-lbl {
    display: block;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: var(--color-text-muted) !important;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =============================================
   10. LIGHT THEME — FULL PREMIUM VERSION
   ============================================= */

html[data-theme="light"] {
    /* Override variables for a premium light palette */
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef1f5;
    --color-primary: #1b6ec2;
    --color-secondary: #1a9e5a;
    --color-danger: #e74c3c;
    --color-accent: #8e44ad;
    --color-text: #1a1a2e;
    --color-text-muted: #5a6070;
    --border-color: #d8dce6;
    --header-bg: rgba(255, 255, 255, 0.92);
    --shadow-color: rgba(27, 110, 194, 0.2);
    --glow-shadow: 0 4px 15px var(--shadow-color);
    --card-bg: rgba(255, 255, 255, 0.9);
    --form-bg: rgba(255, 255, 255, 0.95);
}

/* Light theme body */
html[data-theme="light"] body {
    background: linear-gradient(180deg, #f5f7fa 0%, #eef1f5 100%) !important;
}

/* Light theme header */
html[data-theme="light"] .ultra-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .h-brand-name {
    color: var(--color-text) !important;
}

html[data-theme="light"] .u-link {
    color: var(--color-text) !important;
}

html[data-theme="light"] .u-link:hover,
html[data-theme="light"] .u-link.active {
    color: var(--color-primary) !important;
}

/* Light theme feature cards */
html[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .feature-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(27, 110, 194, 0.2) !important;
}

/* Light theme How We Work cards */
html[data-theme="light"] .how-work-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .how-work-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .how-work-number {
    background: linear-gradient(135deg, rgba(27, 110, 194, 0.12), rgba(142, 68, 173, 0.08)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Light theme flip cards */
html[data-theme="light"] .flip-card .card-front,
html[data-theme="light"] .flip-card .card-back {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Light theme form */
html[data-theme="light"] #contact .form-container,
html[data-theme="light"] .review-form-onpage .form-container {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] #contact .input-wrapper,
html[data-theme="light"] .review-form-onpage .input-wrapper {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] #contact .input-wrapper:focus-within,
html[data-theme="light"] .review-form-onpage .input-wrapper:focus-within {
    border-color: rgba(27, 110, 194, 0.4) !important;
    box-shadow: 0 0 12px rgba(27, 110, 194, 0.08) !important;
}

html[data-theme="light"] #contact textarea,
html[data-theme="light"] .review-form-onpage textarea {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] #contact textarea:focus,
html[data-theme="light"] .review-form-onpage textarea:focus {
    border-color: rgba(27, 110, 194, 0.4) !important;
}

/* Light theme testimonials */
html[data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .testimonial-nav-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: var(--color-primary) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .testimonial-nav-btn:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(27, 110, 194, 0.2) !important;
}

/* Light theme founder card */
html[data-theme="light"] .founder-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .founder-stat-card {
    background: linear-gradient(135deg, rgba(27, 110, 194, 0.06), rgba(142, 68, 173, 0.04)) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .founder-name {
    color: var(--color-text) !important;
}

html[data-theme="light"] .founder-title {
    color: var(--color-text-muted) !important;
}

html[data-theme="light"] .founder-bio-text,
html[data-theme="light"] .founder-bio-text p {
    color: var(--color-text-muted) !important;
}

/* Light theme interest pills */
html[data-theme="light"] .interest-pill {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: var(--color-text) !important;
}

/* Light theme YT cards */
html[data-theme="light"] .yt-channel-card {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .yt-channel-card:hover {
    background: rgba(255, 0, 0, 0.04) !important;
    border-color: rgba(255, 0, 0, 0.15) !important;
}

/* Light theme FAQ */
html[data-theme="light"] .faq-item {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .faq-question {
    color: var(--color-text) !important;
}

/* Light theme services hero card */
html[data-theme="light"] .services-hero-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

/* Light theme footer */
html[data-theme="light"] .ultra-footer {
    background: #f0f2f5 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .ultra-footer .brand-desc {
    color: var(--color-text-muted) !important;
}

html[data-theme="light"] .ultra-footer .col-title {
    color: var(--color-text) !important;
}

html[data-theme="light"] .ultra-footer .footer-copyright {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .connect-card {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .connect-card:hover {
    background: rgba(27, 110, 194, 0.05) !important;
    border-color: rgba(27, 110, 194, 0.15) !important;
}

html[data-theme="light"] .s-btn {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: var(--color-text-muted) !important;
}

html[data-theme="light"] .trust-badge {
    background: rgba(27, 110, 194, 0.06) !important;
    color: var(--color-primary) !important;
}

/* Light theme section titles */
html[data-theme="light"] .section-title {
    color: var(--color-text) !important;
}

/* Light theme hero */
html[data-theme="light"] .hero-headline {
    color: var(--color-text) !important;
}

html[data-theme="light"] .hero-subheadline {
    color: var(--color-text-muted) !important;
}

html[data-theme="light"] .hero-badge {
    background: rgba(27, 110, 194, 0.08) !important;
    border: 1px solid rgba(27, 110, 194, 0.15);
}

/* Light theme btn overrides */
html[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #1b6ec2, #8e44ad) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(27, 110, 194, 0.3);
}

html[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(27, 110, 194, 0.4) !important;
}

html[data-theme="light"] .btn-secondary {
    border-color: rgba(27, 110, 194, 0.3) !important;
    color: var(--color-primary) !important;
}

/* Light theme theme switcher */
html[data-theme="light"] .u-theme-btn {
    color: var(--color-text) !important;
}

/* Light theme digital ecosystem cards */
html[data-theme="light"] #digital-ecosystem .feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Light theme chatbot */
html[data-theme="light"] #chatbot-container {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] #chatbot-container .chatbot-header {
    background: linear-gradient(135deg, #1b6ec2, #8e44ad) !important;
    color: #fff !important;
}

/* Light theme referral & captcha */
html[data-theme="light"] .referral-section {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .captcha-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

/* Light theme dots */
html[data-theme="light"] .slider-dots .dot {
    background: rgba(27, 110, 194, 0.15);
}

html[data-theme="light"] .slider-dots .dot.active {
    background: var(--color-primary);
}

/* Light theme lang switcher */
html[data-theme="light"] .lang-btn {
    color: var(--color-text-muted) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .lang-btn.active {
    color: var(--color-primary) !important;
    background: rgba(27, 110, 194, 0.08) !important;
}

/* Light theme — background animation spans */
html[data-theme="light"] .main-bg-animation span {
    background: rgba(27, 110, 194, 0.04) !important;
    border-color: rgba(27, 110, 194, 0.08) !important;
}

/* Light theme partner cards */
html[data-theme="light"] .partner-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Light theme star rating */
html[data-theme="light"] .star-rating .fas.fa-star {
    color: #d0d0d0;
}

html[data-theme="light"] .star-rating .fas.fa-star.active {
    color: #f39c12 !important;
}

/* Smooth transition for all theme changes */
body,
.feature-card,
.how-work-card,
.founder-card,
.founder-stat-card,
.testimonial-card,
.faq-item,
.ultra-footer,
.ultra-header,
.connect-card,
.s-btn,
.interest-pill,
.yt-channel-card,
.input-wrapper,
textarea,
.btn {
    transition: background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease !important;
}/* =============================================
   V5 FIXES — Comprehensive Fix Layer
   Loaded LAST after all other CSS files
   Fixes: Background animation, Dark mode,
   Language switcher, Responsiveness
   ============================================= */

/* =============================================
   1. BACKGROUND ANIMATION — SUBTLE FLOAT (NO ROTATION)
   Particles float gently upward without spinning
   ============================================= */
.main-bg-animation {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.main-bg-animation span {
    animation: bgParticleFloatFixed 20s linear infinite !important;
}

@keyframes bgParticleFloatFixed {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    25% {
        transform: translateY(50vh) translateX(15px);
    }
    50% {
        opacity: 0.3;
        transform: translateY(0vh) translateX(-10px);
    }
    75% {
        transform: translateY(-50vh) translateX(10px);
    }
    95% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(0px);
        opacity: 0;
    }
}

/* Hide bg animation on welcome screen */
body:has(#welcome-screen) .main-bg-animation {
    opacity: 0 !important;
}

body:has(#welcome-screen) .main-bg-animation span {
    animation-play-state: paused !important;
}

/* =============================================
   2. FIX HERO PHOTO LEFT SIDE LINE/BORDER  
   Clean look on both sides
   ============================================= */
.hero-image .image-frame {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: visible !important;
}

.hero-image .image-frame::before,
.hero-image .image-frame::after {
    display: none !important;
    content: none !important;
}

.image-frame {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.image-frame::before,
.image-frame::after {
    display: none !important;
    content: none !important;
}

.hero-image .image-frame img {
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 40px rgba(27, 152, 224, 0.15) !important;
    border-radius: 20px !important;
}


/* =============================================
   3. HERO STATS — WHITE TEXT + GRADIENT (DARK MODE)
   ============================================= */
.hero-trust-stats .trust-stat-number {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4) !important;
}

.hero-trust-stats .trust-stat-plus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4) !important;
}

.hero-trust-stats .trust-stat-label {
    color: rgba(255, 255, 255, 0.85) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 0.75rem !important;
}

.hero-trust-stats {
    background: linear-gradient(135deg, rgba(10, 25, 50, 0.6), rgba(27, 100, 200, 0.15)) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-radius: 16px !important;
    padding: 20px 30px !important;
    backdrop-filter: blur(10px) !important;
}

.hero-trust-stats .trust-stat-divider {
    background: rgba(255, 255, 255, 0.15) !important;
}


/* =============================================
   4. FOUNDER STATS — WHITE TEXT + BLUE GRADIENT
   ============================================= */
.founder-stat-card .stat-num,
.founder-stat-card .stat-num-text {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4) !important;
}

.founder-stat-card .stat-suffix {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4) !important;
}

.founder-stat-card .stat-lbl {
    color: rgba(255, 255, 255, 0.8) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
    background: none !important;
}

.founder-stat-card {
    background: linear-gradient(135deg, rgba(27, 100, 200, 0.2), rgba(59, 130, 246, 0.1)) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}


/* =============================================
   5. YOUTUBE ICON — RED COLOR
   ============================================= */
.yt-icon,
.yt-channel-card .fab.fa-youtube,
.founder-yt-cards .fab.fa-youtube {
    color: #FF0000 !important;
    -webkit-text-fill-color: #FF0000 !important;
}

.yt-channel-card {
    border: 1px solid rgba(255, 0, 0, 0.12) !important;
}

.yt-channel-card:hover {
    border-color: rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.1) !important;
}

.connect-card.card-yt .card-icon i {
    color: #FF0000 !important;
}


/* =============================================
   6. "Complete A-Z Earning Package" HEADING
   ============================================= */
.services-hero-card h3 {
    background: linear-gradient(135deg, #ffffff 0%, #a8d8ff 50%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}


/* =============================================
   7. ALL SECTION HEADINGS — GRADIENT
   ============================================= */
.section-title {
    background: linear-gradient(135deg, #ffffff 0%, #7ec8ff 40%, #ffffff 70%, #a8d8ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 800 !important;
}

.services-category-title {
    background: linear-gradient(135deg, #ffffff 0%, #7ec8ff 50%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.services-category-title i {
    -webkit-text-fill-color: currentColor !important;
}


/* =============================================
   8. "Get Started Today" BUTTON FIX
   ============================================= */
.services-hero-card .btn,
.services-hero-card .btn-primary,
.services-hero-card a.btn {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: linear-gradient(135deg, #1b98e0, #9b59b6) !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 14px 32px !important;
    border-radius: 14px !important;
    text-shadow: none !important;
    letter-spacing: 0.3px;
}

.services-hero-card .btn i,
.services-hero-card .btn-primary i,
.services-hero-card a.btn i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.services-hero-card .btn:hover,
.services-hero-card .btn-primary:hover {
    background: linear-gradient(135deg, #2ba5ed, #a66fc1) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.35) !important;
}


/* =============================================
   9. SERVICE FEATURE CARDS — PREMIUM STYLE
   ============================================= */
#services .feature-card {
    background: var(--card-bg, rgba(15, 25, 50, 0.6)) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(27, 152, 224, 0.12) !important;
    border-radius: 20px !important;
    padding: 35px 28px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

#services .feature-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #1b98e0, #9b59b6) !important;
    border-radius: 20px 20px 0 0 !important;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#services .feature-card:hover::before {
    opacity: 1;
}

#services .feature-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(27, 152, 224, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(27, 152, 224, 0.08) !important;
}

#services .feature-card .icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.15), rgba(155, 89, 182, 0.08)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    color: var(--color-primary) !important;
    margin-bottom: 18px !important;
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
    transition: all 0.3s ease;
}

#services .feature-card:hover .icon {
    transform: scale(1.08);
    box-shadow: 0 5px 20px rgba(27, 152, 224, 0.2);
}

#services .feature-card--highlight {
    background: var(--card-bg, rgba(15, 25, 50, 0.6)) !important;
    border: 1px solid rgba(155, 89, 182, 0.15) !important;
}

#services .feature-card--highlight::before {
    background: linear-gradient(90deg, #9b59b6, #32de84) !important;
}

#services .feature-card--highlight:hover {
    border-color: rgba(155, 89, 182, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(155, 89, 182, 0.08) !important;
}


/* =============================================
   10. COMPREHENSIVE LIGHT MODE THEME
   Fix all dark mode + light mode issues
   ============================================= */
html[data-theme="light"] body {
    background-color: #f0f4f8 !important;
    color: #1a1a2e !important;
}

html[data-theme="light"] #particles-js {
    background-image: linear-gradient(180deg, #f0f4f8, #e8edf5) !important;
}

html[data-theme="light"] .main-bg-animation span {
    background: rgba(27, 152, 224, 0.12) !important;
    box-shadow: 0 0 6px rgba(27, 152, 224, 0.1) !important;
}

html[data-theme="light"] .section-title {
    background: linear-gradient(135deg, #1a1a2e 0%, #1b6ec2 40%, #1a1a2e 70%, #3b82f6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

html[data-theme="light"] .section-subtitle {
    color: #5a6070 !important;
}

html[data-theme="light"] .services-hero-card h3 {
    background: linear-gradient(135deg, #1a1a2e 0%, #1b6ec2 50%, #1a1a2e 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

html[data-theme="light"] .services-category-title {
    background: linear-gradient(135deg, #1a1a2e 0%, #1b6ec2 50%, #1a1a2e 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Header in light mode */
html[data-theme="light"] .ultra-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
}

html[data-theme="light"] .ultra-header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

html[data-theme="light"] .h-brand-name,
html[data-theme="light"] .brand-name {
    color: #1a1a2e !important;
}

html[data-theme="light"] .u-link {
    color: #3a3a5c !important;
}

html[data-theme="light"] .u-link:hover,
html[data-theme="light"] .u-link.active {
    color: #1b6ec2 !important;
}

/* Theme & Lang buttons in light mode */
html[data-theme="light"] .u-theme-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #1a1a2e !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .lang-btn {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #3a3a5c !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .lang-btn.active {
    background: linear-gradient(135deg, #1b6ec2, #3b82f6) !important;
    color: #fff !important;
    border-color: #1b6ec2 !important;
}

/* Hero Section */
html[data-theme="light"] .hero-headline {
    color: #1a1a2e !important;
}

html[data-theme="light"] .hero-subheadline {
    color: #5a6070 !important;
}

html[data-theme="light"] .hero-badge {
    background: rgba(27, 110, 194, 0.08) !important;
    border: 1px solid rgba(27, 110, 194, 0.12) !important;
}

html[data-theme="light"] .hero-badge span {
    color: #1b6ec2 !important;
}

html[data-theme="light"] .hero-trust-stats {
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.9), rgba(59, 130, 246, 0.08)) !important;
    border: 1px solid rgba(59, 130, 246, 0.12) !important;
}

html[data-theme="light"] .hero-trust-stats .trust-stat-number {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    text-shadow: none !important;
}

html[data-theme="light"] .hero-trust-stats .trust-stat-plus {
    color: #1b6ec2 !important;
    -webkit-text-fill-color: #1b6ec2 !important;
    text-shadow: none !important;
}

html[data-theme="light"] .hero-trust-stats .trust-stat-label {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

html[data-theme="light"] .hero-trust-stats .trust-stat-divider {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Cards in light mode */
html[data-theme="light"] .feature-card,
html[data-theme="light"] .founder-card,
html[data-theme="light"] .how-work-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .partner-card,
html[data-theme="light"] .testimonial-card,
html[data-theme="light"] #contact .form-container,
html[data-theme="light"] .review-form-onpage .form-container,
html[data-theme="light"] #review-form-page {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
}

html[data-theme="light"] .feature-card:hover,
html[data-theme="light"] .how-work-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] #services .feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] #services .feature-card:hover {
    border-color: rgba(27, 110, 194, 0.2) !important;
    box-shadow: 0 15px 40px rgba(27, 110, 194, 0.12) !important;
}

/* Feature card text in light mode */
html[data-theme="light"] .feature-card h3 {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

html[data-theme="light"] .feature-card p {
    color: #5a6070 !important;
}

/* Services hero card in light mode */
html[data-theme="light"] .services-hero-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(27, 110, 194, 0.12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .services-hero-card p {
    color: #5a6070 !important;
}

/* Founder section light mode */
html[data-theme="light"] .founder-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .founder-name {
    color: #1a1a2e !important;
}

html[data-theme="light"] .founder-title,
html[data-theme="light"] .founder-location {
    color: #5a6070 !important;
}

html[data-theme="light"] .founder-bio-text,
html[data-theme="light"] .founder-bio-text p {
    color: #3a3a5c !important;
}

html[data-theme="light"] .founder-stat-card {
    background: linear-gradient(135deg, rgba(27, 110, 194, 0.06), rgba(59, 130, 246, 0.04)) !important;
    border: 1px solid rgba(59, 130, 246, 0.12) !important;
}

html[data-theme="light"] .founder-stat-card .stat-num,
html[data-theme="light"] .founder-stat-card .stat-num-text {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    text-shadow: none !important;
}

html[data-theme="light"] .founder-stat-card .stat-suffix {
    color: #1b6ec2 !important;
    -webkit-text-fill-color: #1b6ec2 !important;
    text-shadow: none !important;
}

html[data-theme="light"] .founder-stat-card .stat-lbl {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

html[data-theme="light"] .interest-pill {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #3a3a5c !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* How We Work in light mode */
html[data-theme="light"] .how-work-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .how-work-card h3 {
    background: linear-gradient(135deg, #1a1a2e 0%, #1b6ec2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

html[data-theme="light"] .how-work-card p {
    color: #5a6070 !important;
}

html[data-theme="light"] .how-work-number {
    color: rgba(27, 110, 194, 0.15) !important;
}

/* FAQ in light mode */
html[data-theme="light"] .faq-question {
    color: #1a1a2e !important;
}

html[data-theme="light"] .faq-answer,
html[data-theme="light"] .faq-answer p {
    color: #5a6070 !important;
}

/* Form elements in light mode */
html[data-theme="light"] .input-wrapper {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .input-wrapper input,
html[data-theme="light"] .input-wrapper select {
    color: #1a1a2e !important;
}

html[data-theme="light"] textarea {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1a1a2e !important;
}

html[data-theme="light"] label {
    color: #3a3a5c !important;
}

/* Chatbot in light mode */
html[data-theme="light"] #chatbot-container {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] .chatbot-header {
    background: linear-gradient(135deg, #1b6ec2, #3b82f6) !important;
    color: #fff !important;
}

html[data-theme="light"] .chat-message.bot {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #1a1a2e !important;
}

html[data-theme="light"] .chat-message.user {
    background: linear-gradient(135deg, #1b6ec2, #3b82f6) !important;
    color: #fff !important;
}

html[data-theme="light"] #chatbot-input {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1a1a2e !important;
}

/* Chatbot toggle button in light mode */
html[data-theme="light"] #chatbot-toggle {
    background: linear-gradient(135deg, #1b6ec2, #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 5px 20px rgba(27, 110, 194, 0.3) !important;
}

html[data-theme="light"] #voice-assistant-btn {
    background: linear-gradient(135deg, #9b59b6, #6c3483) !important;
    color: #fff !important;
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.3) !important;
}

/* Footer in light mode */
html[data-theme="light"] .ultra-footer {
    background: linear-gradient(180deg, #f8f9fa, #e8edf3) !important;
}

html[data-theme="light"] .ultra-footer .brand-desc {
    color: #5a6070 !important;
}

html[data-theme="light"] .ultra-footer .col-title {
    color: #1a1a2e !important;
}

html[data-theme="light"] .ultra-footer .link-list a {
    color: #5a6070 !important;
}

html[data-theme="light"] .ultra-footer .link-list a:hover {
    color: #1b6ec2 !important;
}

html[data-theme="light"] .ultra-footer .footer-copyright p {
    color: #5a6070 !important;
}

html[data-theme="light"] .s-btn {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #3a3a5c !important;
}

html[data-theme="light"] .s-btn:hover {
    background: rgba(27, 110, 194, 0.08) !important;
    color: #1b6ec2 !important;
}

/* Connect cards in light mode */
html[data-theme="light"] .connect-card {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .connect-card:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Buttons in light mode */
html[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #1b6ec2, #3b82f6) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

html[data-theme="light"] .btn-secondary {
    background: transparent !important;
    border: 2px solid #1b6ec2 !important;
    color: #1b6ec2 !important;
    -webkit-text-fill-color: #1b6ec2 !important;
}

html[data-theme="light"] .btn-secondary:hover {
    background: #1b6ec2 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Flip cards in light mode */
html[data-theme="light"] .flip-card .card-front,
html[data-theme="light"] .flip-card .card-inner .card-front {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .flip-card .card-back,
html[data-theme="light"] .flip-card .card-inner .card-back {
    background: linear-gradient(135deg, #1b6ec2, #3b82f6) !important;
    color: #fff !important;
}

html[data-theme="light"] .flip-card .card-front h3 {
    color: #1a1a2e !important;
}

html[data-theme="light"] .flip-card .card-front p {
    color: #5a6070 !important;
}

/* Testimonial cards in light mode */
html[data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .testimonial-card .name {
    color: #1a1a2e !important;
}

html[data-theme="light"] .testimonial-card .review-text {
    color: #3a3a5c !important;
}

/* Captcha in light mode */
html[data-theme="light"] #captcha-question {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1a1a2e !important;
}

/* Digital ecosystem cards in light mode */
html[data-theme="light"] #digital-ecosystem .feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] #digital-ecosystem .feature-card h3 {
    color: #1a1a2e !important;
}

html[data-theme="light"] #digital-ecosystem .feature-card p {
    color: #5a6070 !important;
}

/* YT Cards in light mode */
html[data-theme="light"] .yt-channel-card {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .yt-channel-card strong {
    color: #1a1a2e !important;
}

html[data-theme="light"] .yt-channel-card span {
    color: #5a6070 !important;
}

/* Referral section light mode */
html[data-theme="light"] #verify-referral-btn {
    background: linear-gradient(135deg, #1b6ec2, #3b82f6) !important;
    color: #fff !important;
}

/* Mobile menu in light mode */
html[data-theme="light"] .mobile-menu-toggle {
    color: #1a1a2e !important;
}

/* Star rating in light mode */
html[data-theme="light"] .star-rating i {
    color: rgba(0, 0, 0, 0.15) !important;
}

html[data-theme="light"] .star-rating i.selected {
    color: #f59e0b !important;
}

/* Transition smoothness for theme switch */
html[data-theme="light"] *,
html[data-theme="dark"] * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}


/* =============================================
   11. COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ============================================= */

/* === Mobile Header Fix === */
@media (max-width: 768px) {
    .ultra-header .header-container {
        padding: 0 15px !important;
    }

    .header-right {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: var(--bg-secondary, #121220) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 80px 30px 40px !important;
        gap: 10px !important;
        z-index: 999 !important;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3) !important;
        border-left: 1px solid rgba(255,255,255,0.05) !important;
        overflow-y: auto !important;
    }

    html[data-theme="light"] .header-right {
        background: #ffffff !important;
        box-shadow: -10px 0 40px rgba(0,0,0,0.08) !important;
        border-left: 1px solid rgba(0,0,0,0.06) !important;
    }

    .header-right.active {
        right: 0 !important;
    }

    .header-right nav {
        width: 100% !important;
    }

    .header-right .u-nav-list {
        flex-direction: column !important;
        width: 100% !important;
        gap: 5px !important;
    }

    .header-right .u-nav-list li {
        width: 100% !important;
    }

    .header-right .u-link {
        display: block !important;
        padding: 12px 16px !important;
        border-radius: 10px !important;
        font-size: 1rem !important;
        width: 100% !important;
    }

    .header-right .u-link:hover,
    .header-right .u-link.active {
        background: rgba(27, 152, 224, 0.08) !important;
    }

    .header-right .action-group {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        margin-top: 20px !important;
        padding-top: 20px !important;
        border-top: 1px solid rgba(255,255,255,0.06) !important;
    }

    html[data-theme="light"] .header-right .action-group {
        border-top: 1px solid rgba(0,0,0,0.06) !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001 !important;
    }

    .h-brand-name {
        font-size: 1.2rem !important;
    }

    .h-logo-img {
        width: 35px !important;
        height: 35px !important;
    }
}

/* === Mobile Hero Section === */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 0 !important;
        gap: 30px !important;
    }

    .hero-content {
        order: 1 !important;
        padding: 0 10px !important;
    }

    .hero-image {
        order: 2 !important;
        margin: 0 auto !important;
    }

    .hero-headline {
        font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
        text-align: center !important;
    }

    .hero-subheadline {
        font-size: 0.9rem !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .hero-badge {
        justify-content: center !important;
    }

    .hero-cta-group {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .hero-cta-group .btn {
        width: 100% !important;
        max-width: 300px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-trust-stats {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 15px !important;
        padding: 15px !important;
        flex-wrap: wrap !important;
    }

    .trust-stat {
        text-align: center !important;
        min-width: 80px !important;
    }

    .hero-trust-stats .trust-stat-number {
        font-size: 1.5rem !important;
    }
    
    .hero-image .image-frame img {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

/* === Mobile Founder Section === */
@media (max-width: 768px) {
    .founder-layout {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .founder-photo-side {
        text-align: center !important;
    }

    .founder-bio-side {
        padding: 0 10px !important;
    }

    .founder-stats-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .founder-yt-cards {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .founder-interests {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}

/* === Mobile Card Grid === */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .feature-card {
        padding: 25px 20px !important;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* === Mobile Services Hero Card === */
@media (max-width: 768px) {
    .services-hero-card {
        padding: 30px 20px !important;
    }

    .services-hero-card > div > div:first-child {
        flex-direction: column !important;
    }

    .services-hero-card h3 {
        font-size: 1.4rem !important;
    }
}

/* === Mobile How We Work === */
@media (max-width: 768px) {
    .how-work-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    .how-work-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* === Mobile Contact Form === */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .form-group.full-width {
        grid-column: 1 !important;
    }

    .form-container {
        padding: 25px 18px !important;
    }

    .captcha-box > div {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .referral-section {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #verify-referral-btn {
        width: 100% !important;
    }
}

/* === Mobile Testimonials === */
@media (max-width: 768px) {
    .testimonial-slider-outer {
        padding: 0 !important;
    }

    .testimonial-nav-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }

    .testimonial-card {
        min-width: 260px !important;
        padding: 25px 20px !important;
    }
}

/* === Mobile FAQ === */
@media (max-width: 768px) {
    .faq-question {
        font-size: 0.95rem !important;
        padding: 14px 16px !important;
    }

    .faq-answer p {
        font-size: 0.9rem !important;
        padding: 0 16px 14px !important;
    }
}

/* === Mobile Footer === */
@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .brand-col {
        text-align: center !important;
    }

    .links-col {
        text-align: center !important;
    }

    .connect-col {
        text-align: center !important;
    }

    .social-row {
        justify-content: center !important;
    }

    .footer-brand {
        justify-content: center !important;
    }

    .trust-badge {
        justify-content: center !important;
    }
}

/* === Mobile Chatbot === */
@media (max-width: 768px) {
    #chatbot-container {
        width: calc(100vw - 20px) !important;
        max-width: 380px !important;
        right: 10px !important;
        bottom: 80px !important;
        max-height: 70vh !important;
    }

    #chatbot-toggle {
        bottom: 20px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }

    #voice-assistant-btn {
        bottom: 20px !important;
        right: 75px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
}

/* === Mobile Welcome Screen === */
@media (max-width: 480px) {
    .royal-card {
        padding: 40px 20px !important;
        max-width: 90% !important;
    }

    .main-heading {
        font-size: 2rem !important;
    }

    .royal-btn {
        padding: 14px 40px !important;
        font-size: 1rem !important;
    }
}

/* === Mobile Digital Ecosystem === */
@media (max-width: 768px) {
    #digital-ecosystem > .container > div:nth-child(3) {
        grid-template-columns: 1fr !important;
    }
}

/* === Section spacing on mobile === */
@media (max-width: 768px) {
    section {
        padding: 60px 0 !important;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }

    .section-subtitle {
        font-size: 0.9rem !important;
        padding: 0 10px !important;
    }
}

/* === Prevent horizontal overflow === */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

img {
    max-width: 100% !important;
    height: auto !important;
}

/* === Mobile Bottom Navigation space === */
@media (max-width: 768px) {
    footer {
        padding-bottom: 80px !important;
    }
}

/* === Fix inline styles overflows === */
@media (max-width: 768px) {
    [style*="display: flex"][style*="gap: 40px"] {
        flex-direction: column !important;
        gap: 20px !important;
    }

    [style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
}

/* === Mobile Flip Cards === */
@media (max-width: 768px) {
    .flip-card {
        min-height: 200px !important;
    }

    .card-front,
    .card-back {
        padding: 25px 20px !important;
    }
}

/* === Fix service card text in inline style cards === */
@media (max-width: 768px) {
    .services-hero-card [style*="padding: 48px 40px"] {
        padding: 25px 18px !important;
    }

    .services-hero-card [style*="min-width: 280px"] {
        min-width: unset !important;
    }
}

/* === Small phone specific fixes === */
@media (max-width: 360px) {
    .hero-trust-stats {
        padding: 12px 10px !important;
    }

    .trust-stat {
        min-width: 70px !important;
    }

    .hero-headline {
        font-size: 1.4rem !important;
    }

    .container {
        padding: 0 12px !important;
    }
}/* =============================================
   V6 MASTER FIX — Final Comprehensive Layer
   Loaded LAST after v5-fixes.css
   Fixes: Rotating rectangle, Dark/Light mode,
   Language switcher, Mobile responsiveness
   ============================================= */

/* =============================================
   1. FIX ROTATING RECTANGLE ON WELCOME SCREEN
   The .royal-card::before has a rotating border
   animation — STOP it completely
   ============================================= */
.royal-card::before {
    animation: none !important;
    transform: none !important;
    background: linear-gradient(135deg, 
        rgba(27, 152, 224, 0.3), 
        rgba(155, 89, 182, 0.2), 
        rgba(50, 222, 132, 0.15), 
        rgba(27, 152, 224, 0.3)) !important;
    opacity: 0.5 !important;
    filter: blur(2px) !important;
}

/* Also stop the glow-ring rotation — make it a static glow */
.glow-ring {
    animation: none !important;
    border: 2px solid rgba(27, 152, 224, 0.3) !important;
    box-shadow: 0 0 20px rgba(27, 152, 224, 0.2), 
                0 0 40px rgba(27, 152, 224, 0.1) !important;
}

.glow-ring::before {
    animation: none !important;
    border: 1px solid rgba(50, 222, 132, 0.2) !important;
    box-shadow: 0 0 15px rgba(50, 222, 132, 0.1) !important;
}

.glow-ring::after {
    animation: none !important;
    border: 1px solid rgba(155, 89, 182, 0.15) !important;
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.08) !important;
}

/* Subtle static glow instead of messy rotation */
.royal-card {
    border: 1px solid rgba(27, 152, 224, 0.15) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(27, 152, 224, 0.08),
                inset 0 0 60px rgba(27, 152, 224, 0.02) !important;
}

/* =============================================
   2. FIX BACKGROUND PARTICLES — NO ROTATION
   Override any rotate() in the bg animation
   ============================================= */
.main-bg-animation span {
    animation: bgParticleFloatV6 20s linear infinite !important;
}

@keyframes bgParticleFloatV6 {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
    }
    25% {
        transform: translateY(50vh) translateX(12px);
    }
    50% {
        opacity: 0.25;
        transform: translateY(0vh) translateX(-8px);
    }
    75% {
        transform: translateY(-50vh) translateX(8px);
    }
    95% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(0);
        opacity: 0;
    }
}


/* =============================================
   3. FIX LANGUAGE SWITCHER — CRITICAL
   The parent elements (.section-title, .feature-card h3, etc.)
   use -webkit-text-fill-color: transparent for gradient text.
   This CASCADES to child .lang-en/.lang-hi spans, making them
   INVISIBLE. We must break this inheritance chain.
   ============================================= */

/* === GLOBAL: Force all lang spans to have SOLID text color === */
/* CRITICAL: Using 'initial' NOT 'inherit' — inherit re-reads 'transparent' from parent gradient text */
.lang-en,
.lang-hi {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: inherit !important;
}

/* === Section Titles with gradient text — force child spans solid === */
.section-title .lang-en,
.section-title .lang-hi {
    -webkit-text-fill-color: var(--color-text, #ffffff) !important;
    color: var(--color-text, #ffffff) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* === Services category titles === */
.services-category-title .lang-en,
.services-category-title .lang-hi {
    -webkit-text-fill-color: currentColor !important;
    color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Services hero card — all text spans === */
.services-hero-card h3 .lang-en,
.services-hero-card h3 .lang-hi {
    -webkit-text-fill-color: var(--color-text, #ffffff) !important;
    color: var(--color-text, #ffffff) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.services-hero-card p .lang-en,
.services-hero-card p .lang-hi,
.services-hero-card span .lang-en,
.services-hero-card span .lang-hi,
.services-hero-card .lang-en,
.services-hero-card .lang-hi {
    color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    -webkit-text-fill-color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Feature card text spans === */
.feature-card h3 .lang-en,
.feature-card h3 .lang-hi {
    color: var(--color-text, #e8eaed) !important;
    -webkit-text-fill-color: var(--color-text, #e8eaed) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.feature-card p .lang-en,
.feature-card p .lang-hi {
    color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    -webkit-text-fill-color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Button text spans === */
.btn .lang-en,
.btn .lang-hi,
.btn-primary .lang-en,
.btn-primary .lang-hi,
.btn-secondary .lang-en,
.btn-secondary .lang-hi,
.royal-btn .lang-en,
.royal-btn .lang-hi {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === How We Work card text === */
.how-work-card h3 .lang-en,
.how-work-card h3 .lang-hi {
    color: var(--color-text, #ffffff) !important;
    -webkit-text-fill-color: var(--color-text, #ffffff) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.how-work-card p .lang-en,
.how-work-card p .lang-hi {
    color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    -webkit-text-fill-color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: unset !important;
}

/* === FAQ text spans === */
.faq-question .lang-en,
.faq-question .lang-hi {
    color: var(--color-text, #e8eaed) !important;
    -webkit-text-fill-color: var(--color-text, #e8eaed) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.faq-answer .lang-en,
.faq-answer .lang-hi,
.faq-answer p .lang-en,
.faq-answer p .lang-hi {
    color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    -webkit-text-fill-color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Flip card text === */
.flip-card .card-front h3 .lang-en,
.flip-card .card-front h3 .lang-hi,
.flip-card .card-back h3 .lang-en,
.flip-card .card-back h3 .lang-hi {
    color: var(--color-text, #e8eaed) !important;
    -webkit-text-fill-color: var(--color-text, #e8eaed) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.flip-card .card-front p .lang-en,
.flip-card .card-front p .lang-hi,
.flip-card .card-back p .lang-en,
.flip-card .card-back p .lang-hi {
    color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    -webkit-text-fill-color: var(--color-text-muted, rgba(255,255,255,0.65)) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Label text spans === */
label .lang-en,
label .lang-hi {
    color: var(--color-text, #e8eaed) !important;
    -webkit-text-fill-color: var(--color-text, #e8eaed) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Hero section text spans === */
.hero-headline .lang-en,
.hero-headline .lang-hi,
#typewriter-text .lang-en,
#typewriter-text .lang-hi {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.hero-subheadline .lang-en,
.hero-subheadline .lang-hi {
    color: rgba(255,255,255,0.7) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.7) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.hero-badge .lang-en,
.hero-badge .lang-hi {
    color: var(--color-primary, #1b98e0) !important;
    -webkit-text-fill-color: var(--color-primary, #1b98e0) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Footer text spans === */
.ultra-footer .lang-en,
.ultra-footer .lang-hi {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Welcome screen / splash text === */
.sub-heading .lang-en,
.sub-heading .lang-hi {
    color: rgba(255, 255, 255, 0.7) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.tagline .lang-en,
.tagline .lang-hi {
    color: rgba(176, 176, 192, 0.8) !important;
    -webkit-text-fill-color: rgba(176, 176, 192, 0.8) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Founder section text spans === */
.founder-bio-text .lang-en,
.founder-bio-text .lang-hi,
.founder-bio-text p .lang-en,
.founder-bio-text p .lang-hi {
    color: rgba(255,255,255,0.7) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.7) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.founder-name .lang-en,
.founder-name .lang-hi {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Digital ecosystem spans === */
#digital-ecosystem .lang-en,
#digital-ecosystem .lang-hi {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* === Stat labels === */
.trust-stat-label .lang-en,
.trust-stat-label .lang-hi {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.stat-lbl .lang-en,
.stat-lbl .lang-hi {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}


/* =============================================
   4. COMPREHENSIVE DARK MODE FIXES
   ============================================= */

/* Dark mode base — ensure proper variables */
html[data-theme="dark"] {
    --color-text: #e8eaed;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --card-bg: rgba(15, 25, 50, 0.6);
    --bg-secondary: #0a0a1a;
    --border-color: rgba(255, 255, 255, 0.06);
    --glass-bg-dark: rgba(10, 15, 30, 0.7);
}

html[data-theme="dark"] body {
    background-color: #030014 !important;
    color: #e8eaed !important;
}

html[data-theme="dark"] .hero-headline,
html[data-theme="dark"] #typewriter-text {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] .hero-subheadline {
    color: rgba(255, 255, 255, 0.7) !important;
}

html[data-theme="dark"] .how-work-card h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

html[data-theme="dark"] .how-work-card p {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* Fix icon colors in dark mode */
html[data-theme="dark"] .feature-card .icon i,
html[data-theme="dark"] .how-work-icon i {
    color: var(--color-primary, #1b98e0) !important;
    -webkit-text-fill-color: var(--color-primary, #1b98e0) !important;
}

/* Fix services hero card text in dark */
html[data-theme="dark"] .services-hero-card [style*="color: var(--color-text)"] {
    color: #e8eaed !important;
}

html[data-theme="dark"] .services-hero-card [style*="color: var(--color-text-muted)"] {
    color: rgba(255, 255, 255, 0.6) !important;
}


/* =============================================
   5. COMPREHENSIVE LIGHT MODE FIXES
   Fix all text visibility in light mode
   ============================================= */

html[data-theme="light"] body {
    background-color: #f0f4f8 !important;
    color: #1a1a2e !important;
}

/* CRITICAL: Fix text in all cards in light mode */
html[data-theme="light"] .feature-card h3,
html[data-theme="light"] .feature-card h3 span {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

html[data-theme="light"] .feature-card p,
html[data-theme="light"] .feature-card p span {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* Fix section titles in light mode — gradient only on parent, NOT on lang spans */
html[data-theme="light"] .section-title {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
}

html[data-theme="light"] .section-title .lang-en,
html[data-theme="light"] .section-title .lang-hi {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .section-subtitle .lang-en,
html[data-theme="light"] .section-subtitle .lang-hi {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
    background: none !important;
}

/* Fix services category title in light mode */
html[data-theme="light"] .services-category-title,
html[data-theme="light"] .services-category-title .lang-en,
html[data-theme="light"] .services-category-title .lang-hi {
    color: #1b6ec2 !important;
    -webkit-text-fill-color: #1b6ec2 !important;
}

/* Fix "Complete A-Z" hero card heading in light mode */
html[data-theme="light"] .services-hero-card h3 {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
}

html[data-theme="light"] .services-hero-card h3 span {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Fix services hero card description */
html[data-theme="light"] .services-hero-card p,
html[data-theme="light"] .services-hero-card p span {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
    background: none !important;
}

/* Fix check icon text items in services-hero-card */
html[data-theme="light"] .services-hero-card [style*="color: var(--color-text)"],
html[data-theme="light"] .services-hero-card span[style*="color: var(--color-text)"] {
    color: #1a1a2e !important;
}

/* Fix How We Work card headings in light mode */
html[data-theme="light"] .how-work-card h3,
html[data-theme="light"] .how-work-card h3 span {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
}

html[data-theme="light"] .how-work-card p,
html[data-theme="light"] .how-work-card p span {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* Fix FAQ items in light mode */
html[data-theme="light"] .faq-question,
html[data-theme="light"] .faq-question span {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

html[data-theme="light"] .faq-answer p,
html[data-theme="light"] .faq-answer p span {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* Fix hero section light mode */
html[data-theme="light"] .hero-headline,
html[data-theme="light"] #typewriter-text {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

html[data-theme="light"] .hero-subheadline,
html[data-theme="light"] .hero-subheadline span {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

html[data-theme="light"] .hero-badge span {
    color: #1b6ec2 !important;
    -webkit-text-fill-color: #1b6ec2 !important;
}

/* Fix founder section in light */
html[data-theme="light"] .founder-bio-text p,
html[data-theme="light"] .founder-bio-text span {
    color: #3a3a5c !important;
    -webkit-text-fill-color: #3a3a5c !important;
}

html[data-theme="light"] .founder-bio-text strong {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

/* Fix "MOST POPULAR" badge in light mode */
html[data-theme="light"] .services-hero-card [style*="color: #1b98e0"] {
    color: #1b6ec2 !important;
}

/* Fix form labels and inputs in light mode */
html[data-theme="light"] .form-container label,
html[data-theme="light"] .form-container label span {
    color: #3a3a5c !important;
    -webkit-text-fill-color: #3a3a5c !important;
}

html[data-theme="light"] .form-container input,
html[data-theme="light"] .form-container textarea,
html[data-theme="light"] .form-container select {
    color: #1a1a2e !important;
    background: rgba(0, 0, 0, 0.02) !important;
}

html[data-theme="light"] .form-container input::placeholder,
html[data-theme="light"] .form-container textarea::placeholder {
    color: rgba(0, 0, 0, 0.35) !important;
}

/* Fix button text in light mode */
html[data-theme="light"] .btn,
html[data-theme="light"] .feature-card .btn {
    background: linear-gradient(135deg, #1b6ec2, #3b82f6) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: none !important;
}

html[data-theme="light"] .btn span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="light"] .btn:hover {
    background: linear-gradient(135deg, #1958a8, #2563eb) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 110, 194, 0.3) !important;
}

/* Fix flip card text */
html[data-theme="light"] .flip-card .card-front h3,
html[data-theme="light"] .flip-card .card-front h3 span {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

html[data-theme="light"] .flip-card .card-front p,
html[data-theme="light"] .flip-card .card-front p span {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

html[data-theme="light"] .flip-card .card-back h3,
html[data-theme="light"] .flip-card .card-back h3 span,
html[data-theme="light"] .flip-card .card-back p,
html[data-theme="light"] .flip-card .card-back p span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Fix chatbot input form in light */
html[data-theme="light"] .chatbot-input-form input {
    color: #1a1a2e !important;
}

/* Fix: Digital ecosystem section text in light mode */
html[data-theme="light"] #digital-ecosystem h3,
html[data-theme="light"] #digital-ecosystem h3 span,
html[data-theme="light"] #digital-ecosystem [style*="color: var(--color-text)"] {
    color: #1a1a2e !important;
}

html[data-theme="light"] #digital-ecosystem p,
html[data-theme="light"] #digital-ecosystem p span,
html[data-theme="light"] #digital-ecosystem [style*="color: var(--color-text-muted)"] {
    color: #5a6070 !important;
}

/* Fix: review form text in light */
html[data-theme="light"] .review-form-onpage h3 {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
}

html[data-theme="light"] .review-form-onpage h3 span {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Fix: Light mode footer text */
html[data-theme="light"] .ultra-footer .brand-name {
    color: #1a1a2e !important;
}

html[data-theme="light"] .ultra-footer .footer-copyright p {
    color: #5a6070 !important;
}

/* Fix: Welcome Screen — ensure it looks good on light mode too */
html[data-theme="light"] #welcome-screen {
    background: linear-gradient(135deg, #e8edf5, #dfe5f0) !important;
}

html[data-theme="light"] .royal-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(27, 110, 194, 0.15) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08),
                0 0 30px rgba(27, 110, 194, 0.06) !important;
}

html[data-theme="light"] .royal-card::before {
    background: linear-gradient(135deg, 
        rgba(27, 152, 224, 0.2), 
        rgba(155, 89, 182, 0.15), 
        rgba(50, 222, 132, 0.1)) !important;
    opacity: 0.4 !important;
}

html[data-theme="light"] .sub-heading {
    color: #5a6070 !important;
}

html[data-theme="light"] .shine-text {
    background: linear-gradient(90deg,
        #1b6ec2 0%,
        #10b981 25%,
        #1a1a2e 50%,
        #9b59b6 75%,
        #1b6ec2 100%) !important;
    background-size: 300% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

html[data-theme="light"] .tagline,
html[data-theme="light"] .tagline span {
    color: #5a6070 !important;
}

html[data-theme="light"] .splash-version {
    color: rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="light"] .splash-loader {
    background: rgba(0, 0, 0, 0.08) !important;
}


/* =============================================
   6. ENHANCED MOBILE RESPONSIVENESS
   ============================================= */

/* Fix overall container overflow */
*, *::before, *::after {
    box-sizing: border-box;
}

/* === Extra Small Phones (320px) === */
@media (max-width: 360px) {
    .royal-card {
        padding: 35px 15px !important;
        max-width: 95% !important;
    }

    .main-heading {
        font-size: 1.8rem !important;
    }

    .sub-heading {
        font-size: 0.75rem !important;
        letter-spacing: 1.5px !important;
    }

    .royal-btn {
        padding: 12px 35px !important;
        font-size: 0.95rem !important;
    }

    .hero-headline {
        font-size: 1.3rem !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .feature-card {
        padding: 20px 15px !important;
    }

    .services-hero-card {
        padding: 20px 14px !important;
    }
}

/* === Mobile: 361px - 480px === */
@media (min-width: 361px) and (max-width: 480px) {
    .hero-headline {
        font-size: 1.5rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }
}

/* === All Mobile: up to 768px === */
@media (max-width: 768px) {
    /* Hero section alignment */
    .hero-section {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 0 40px !important;
        gap: 25px !important;
    }

    .hero-image {
        order: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .hero-content {
        order: 1 !important;
        width: 100% !important;
    }

    .hero-image .image-frame img {
        width: 160px !important;
        height: 160px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }

    .hero-badge {
        display: inline-flex !important;
        margin: 0 auto 10px !important;
    }

    .hero-cta-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .hero-cta-group .btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 12px 24px !important;
    }

    /* Trust stats */
    .hero-trust-stats {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 15px 12px !important;
    }

    .trust-stat {
        text-align: center !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .hero-trust-stats .trust-stat-number {
        font-size: 1.4rem !important;
    }

    .hero-trust-stats .trust-stat-label {
        font-size: 0.65rem !important;
    }

    /* Founder section */
    .founder-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }

    .founder-photo-side {
        text-align: center !important;
    }

    .founder-photo-frame img {
        width: 140px !important;
        height: 140px !important;
    }

    .founder-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .founder-stat-card {
        padding: 15px 10px !important;
        text-align: center !important;
    }

    .founder-stat-card .stat-num,
    .founder-stat-card .stat-num-text {
        font-size: 1.4rem !important;
    }

    .founder-yt-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .founder-interests {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .interest-pill {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* Card Grid */
    .card-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .feature-card {
        padding: 22px 18px !important;
    }

    .feature-card h3 {
        font-size: 1rem !important;
    }

    .feature-card p {
        font-size: 0.88rem !important;
    }

    /* Services Hero */
    .services-hero-card {
        padding: 25px 16px !important;
        border-radius: 18px !important;
        margin-bottom: 40px !important;
    }

    .services-hero-card h3 {
        font-size: 1.3rem !important;
    }

    /* How we work grid */
    .how-work-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .how-work-card {
        padding: 25px 18px !important;
    }

    /* FAQ */
    .faq-item {
        margin-bottom: 10px !important;
    }

    .faq-question {
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
    }

    .faq-answer p {
        padding: 0 16px 14px !important;
        font-size: 0.88rem !important;
    }

    /* Contact form */
    .form-container {
        padding: 22px 16px !important;
    }

    .form-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .form-group.full-width {
        grid-column: 1 !important;
    }

    /* Referral section */
    .referral-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    #verify-referral-btn {
        width: 100% !important;
    }

    /* Captcha box */
    .captcha-box > div {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* Flip cards */
    .flip-card {
        min-height: 200px !important;
    }

    .card-front,
    .card-back {
        padding: 22px 18px !important;
    }

    /* Footer */
    .footer-wrapper {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .social-row {
        justify-content: center !important;
    }

    .footer-brand {
        justify-content: center !important;
    }

    .trust-badge {
        justify-content: center !important;
    }

    /* Digital Ecosystem */
    #digital-ecosystem > .container > div:nth-child(3) {
        grid-template-columns: 1fr !important;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 250px !important;
        padding: 25px 18px !important;
    }

    .testimonial-nav-btn {
        width: 34px !important;
        height: 34px !important;
    }

    /* Chatbot */
    #chatbot-container {
        width: calc(100vw - 20px) !important;
        max-width: 360px !important;
        right: 10px !important;
        bottom: 75px !important;
        max-height: 65vh !important;
        border-radius: 16px !important;
    }

    #chatbot-toggle {
        bottom: 18px !important;
        right: 15px !important;
        width: 48px !important;
        height: 48px !important;
    }

    #voice-assistant-btn {
        bottom: 18px !important;
        right: 72px !important;
        width: 48px !important;
        height: 48px !important;
    }

    /* Section spacing */
    section {
        padding: 50px 0 !important;
    }

    .section-title {
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
    }

    .section-subtitle {
        font-size: 0.88rem !important;
        margin-bottom: 25px !important;
        line-height: 1.6 !important;
    }

    /* Inline style overrides for mobile */
    [style*="padding: 48px 40px"] {
        padding: 22px 16px !important;
    }

    [style*="min-width: 280px"] {
        min-width: unset !important;
    }

    [style*="gap: 40px"] {
        gap: 20px !important;
    }

    /* Footer bottom spacing for mobile nav */
    footer.ultra-footer {
        padding-bottom: 80px !important;
    }

    /* Welcome screen mobile */
    .royal-card {
        padding: 35px 20px !important;
        max-width: 92% !important;
    }
}

/* === Tablet: 769px - 1024px === */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .how-work-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .hero-section {
        gap: 30px !important;
    }
}

/* === Medium Mobile: 481px - 768px === */
@media (min-width: 481px) and (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }

    .how-work-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .founder-stats-row {
        grid-template-columns: 1fr 1fr !important;
    }
}


/* =============================================
   7. PREVENT HORIZONTAL OVERFLOW
   ============================================= */
html {
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden !important;
    min-height: 100vh;
}

img {
    max-width: 100% !important;
    height: auto !important;
}

/* Fix any inline styled elements that can cause overflow */
.services-hero-card > div {
    max-width: 100% !important;
}

.services-hero-card [style*="display: grid"] {
    max-width: 100% !important;
}

/* =============================================
   8. SMOOTH THEME TRANSITION
   ============================================= */
html {
    transition: background-color 0.4s ease !important;
}

body {
    transition: background-color 0.4s ease, color 0.4s ease !important;
}

.ultra-header,
.feature-card,
.founder-card,
.how-work-card,
.faq-item,
.form-container,
.testimonial-card,
.partner-card,
.flip-card .card-front,
.flip-card .card-back,
#chatbot-container,
.ultra-footer,
.services-hero-card {
    transition: background-color 0.3s ease, color 0.3s ease, 
                border-color 0.3s ease, box-shadow 0.3s ease !important;
}


/* =============================================
   9. TYPEWRITER CURSOR FIX
   ============================================= */
.typewriter-cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: var(--color-primary, #1b98e0) !important;
    -webkit-text-fill-color: var(--color-primary, #1b98e0) !important;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

html[data-theme="light"] .typewriter-cursor {
    color: #1b6ec2 !important;
    -webkit-text-fill-color: #1b6ec2 !important;
}


/* =============================================
   10. STAR RATING FIX
   ============================================= */
.star-rating i {
    cursor: pointer;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.15);
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating i:hover {
    transform: scale(1.2);
}

.star-rating i.selected {
    color: #f59e0b !important;
    -webkit-text-fill-color: #f59e0b !important;
}

html[data-theme="light"] .star-rating i {
    color: rgba(0, 0, 0, 0.12);
}


/* =============================================
   11. FIX PARTNER CARDS
   ============================================= */
.partner-card {
    text-align: center !important;
    padding: 25px 20px !important;
}

.partner-img-wrapper {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 12px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

.partner-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.ref-id-badge {
    font-size: 0.8rem !important;
    color: var(--color-primary, #1b98e0) !important;
    background: rgba(27, 152, 224, 0.08) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    margin-top: 8px !important;
}


/* =============================================
   12. FIX WELCOME SCREEN PARTICLES (stop rotation)
   ============================================= */
.particles span {
    animation-name: floatUpV6 !important;
}

@keyframes floatUpV6 {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(-10vh) scale(1);
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-110vh) scale(0.5);
        opacity: 0;
    }
}

/* Stop meshFloat rotation too */
#welcome-screen::before {
    animation-name: meshFloatV6 !important;
}

@keyframes meshFloatV6 {
    0% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-20px, 15px);
    }
    66% {
        transform: translate(15px, -20px);
    }
    100% {
        transform: translate(-8px, 8px);
    }
}


/* ==============================================
   V7 — COMPREHENSIVE BUG FIX LAYER
   Final layer loaded after everything.
   Fixes: light mode text, bg overlap, mobile cards
   ============================================== */

/* --- FIX 1: Background animation must NOT overlap content --- */
.main-bg-animation {
    z-index: 0 !important;
    pointer-events: none !important;
}

main,
footer.ultra-footer {
    position: relative;
    z-index: 1;
}

/* --- FIX 2: How We Work card h3 gradient text override in LIGHT MODE --- */
/* v5-fixes.css applies gradient text to .how-work-card h3 in light mode.
   That makes the text invisible when lang-en/hi spans inherit transparent fill.
   Force SOLID text in light mode. */
html[data-theme="light"] .how-work-card h3,
html[data-theme="light"] .how-work-card h3 .lang-en,
html[data-theme="light"] .how-work-card h3 .lang-hi {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #1a1a2e !important;
    color: #1a1a2e !important;
}

html[data-theme="light"] .how-work-card p,
html[data-theme="light"] .how-work-card p .lang-en,
html[data-theme="light"] .how-work-card p .lang-hi {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* Light mode section titles — force solid */
html[data-theme="light"] .section-title,
html[data-theme="light"] .section-title .lang-en,
html[data-theme="light"] .section-title .lang-hi {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #1a1a2e !important;
    color: #1a1a2e !important;
}

html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .section-subtitle .lang-en,
html[data-theme="light"] .section-subtitle .lang-hi {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* --- FIX 3: Light mode — services category title colors --- */
html[data-theme="light"] .services-category-title {
    -webkit-text-fill-color: currentColor !important;
}

/* --- FIX 4: Light mode — feature card icon should keep color --- */
html[data-theme="light"] .feature-card .icon i {
    color: var(--color-primary, #1b6ec2) !important;
    -webkit-text-fill-color: var(--color-primary, #1b6ec2) !important;
}

html[data-theme="light"] .how-work-icon i {
    color: var(--color-primary, #1b6ec2) !important;
    -webkit-text-fill-color: var(--color-primary, #1b6ec2) !important;
}

/* --- FIX 5: Light mode — how-work-number styling --- */
html[data-theme="light"] .how-work-number {
    -webkit-text-fill-color: rgba(27, 110, 194, 0.15) !important;
    color: rgba(27, 110, 194, 0.15) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* --- FIX 6: Light mode — Fix any remaining inline-style color vars --- */
html[data-theme="light"] [style*="color: var(--color-text)"] {
    color: #1a1a2e !important;
}

html[data-theme="light"] [style*="color: var(--color-text-muted)"] {
    color: #5a6070 !important;
}

/* --- FIX 7: Light mode — footer text fully visible --- */
html[data-theme="light"] .ultra-footer .brand-name {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #1a1a2e !important;
    color: #1a1a2e !important;
}

html[data-theme="light"] .ultra-footer .link-list a {
    color: #5a6070 !important;
}

html[data-theme="light"] .ultra-footer .link-list a:hover {
    color: #1b6ec2 !important;
}

html[data-theme="light"] .ultra-footer .card-value {
    color: #1a1a2e !important;
}

html[data-theme="light"] .ultra-footer .card-label {
    color: #5a6070 !important;
}

html[data-theme="light"] .ultra-footer .card-arrow {
    color: #5a6070 !important;
}

/* --- FIX 8: Light mode — Founder section text fully solid --- */
html[data-theme="light"] .founder-name {
    -webkit-text-fill-color: #1a1a2e !important;
    color: #1a1a2e !important;
    background: none !important;
}

html[data-theme="light"] .founder-title,
html[data-theme="light"] .founder-location {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

html[data-theme="light"] .founder-bio-text p,
html[data-theme="light"] .founder-bio-text p .lang-en,
html[data-theme="light"] .founder-bio-text p .lang-hi {
    color: #3a3a5c !important;
    -webkit-text-fill-color: #3a3a5c !important;
}

html[data-theme="light"] .founder-bio-text strong {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

/* --- FIX 9: Light mode — digital ecosystem section text --- */
html[data-theme="light"] #digital-ecosystem h3,
html[data-theme="light"] #digital-ecosystem h3 .lang-en,
html[data-theme="light"] #digital-ecosystem h3 .lang-hi {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

html[data-theme="light"] #digital-ecosystem p,
html[data-theme="light"] #digital-ecosystem p .lang-en,
html[data-theme="light"] #digital-ecosystem p .lang-hi {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* --- FIX 10: Light mode — FAQ fully visible --- */
html[data-theme="light"] .faq-question,
html[data-theme="light"] .faq-question .lang-en,
html[data-theme="light"] .faq-question .lang-hi {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
    -webkit-background-clip: unset !important;
}

html[data-theme="light"] .faq-answer,
html[data-theme="light"] .faq-answer p,
html[data-theme="light"] .faq-answer p .lang-en,
html[data-theme="light"] .faq-answer p .lang-hi {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* --- FIX 11: Light mode — Contact form text --- */
html[data-theme="light"] #contact .section-title,
html[data-theme="light"] #contact .section-title .lang-en,
html[data-theme="light"] #contact .section-title .lang-hi {
    -webkit-text-fill-color: #1a1a2e !important;
    color: #1a1a2e !important;
    background: none !important;
}

html[data-theme="light"] #contact .section-subtitle,
html[data-theme="light"] #contact .section-subtitle .lang-en,
html[data-theme="light"] #contact .section-subtitle .lang-hi {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* --- FIX 12: Light mode — review/testimonial text --- */
html[data-theme="light"] .review-form-onpage h3,
html[data-theme="light"] .review-form-onpage h3 .lang-en,
html[data-theme="light"] .review-form-onpage h3 .lang-hi {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
    -webkit-background-clip: unset !important;
}

html[data-theme="light"] .testimonial-card .name {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

html[data-theme="light"] .testimonial-card .review-text {
    color: #3a3a5c !important;
    -webkit-text-fill-color: #3a3a5c !important;
}

/* --- FIX 13: Mobile — ensure how-work-card text is fully visible --- */
@media (max-width: 768px) {
    .how-work-card h3 {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: unset !important;
    }

    .how-work-card p {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        overflow: visible !important;
    }

    .how-work-card h3 .lang-en,
    .how-work-card h3 .lang-hi {
        display: inline !important;
        overflow: visible !important;
    }
}

/* --- FIX 14: Services hero card light mode — check marks text --- */
html[data-theme="light"] .services-hero-card span[style*="color: var(--color-text)"],
html[data-theme="light"] .services-hero-card span[style*="color: var(--color-text)"] .lang-en,
html[data-theme="light"] .services-hero-card span[style*="color: var(--color-text)"] .lang-hi {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

/* --- FIX 15: Light mode — "MOST POPULAR" and badges --- */
html[data-theme="light"] .services-hero-card .lang-en,
html[data-theme="light"] .services-hero-card .lang-hi {
    -webkit-text-fill-color: inherit !important;
}

html[data-theme="light"] .free-service-badge {
    color: #1a9e5a !important;
    -webkit-text-fill-color: #1a9e5a !important;
}

/* --- FIX 16: Ensure btn-secondary has visible text in light mode --- */
html[data-theme="light"] .btn-secondary .lang-en,
html[data-theme="light"] .btn-secondary .lang-hi {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

html[data-theme="light"] .btn-secondary i {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

/* --- FIX 17: Light mode background animation toning down --- */
html[data-theme="light"] .main-bg-animation span {
    opacity: 0.05 !important;
}

/* --- FIX 18: Light mode hero section text on light bg ensure contrast --- */
html[data-theme="light"] .hero-headline,
html[data-theme="light"] #typewriter-text {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
    background: none !important;
    -webkit-background-clip: unset !important;
}

html[data-theme="light"] .hero-subheadline,
html[data-theme="light"] .hero-subheadline .lang-en,
html[data-theme="light"] .hero-subheadline .lang-hi {
    color: #5a6070 !important;
    -webkit-text-fill-color: #5a6070 !important;
}

/* --- FIX 19: Fix tools page buttons in light mode --- */
html[data-theme="light"] .btn,
html[data-theme="light"] .btn .lang-en,
html[data-theme="light"] .btn .lang-hi {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="light"] .btn i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
/* =============================================
   MOBILE FIX CSS — Comprehensive Mobile Responsiveness
   Loaded LAST after v6-master-fix.css
   Fixes:
   1. "Abhinav Kumar" text line-breaking on welcome screen
   2. Hero photo cut/cropped on mobile
   3. Contact form UI/UX broken on mobile
   4. Captcha layout broken on mobile
   5. General mobile spacing and overflow
   ============================================= */

/* =============================================
   1. WELCOME SCREEN — Fix "Abhinav Kumar" text
   The splash-version text was breaking into lines
   ============================================= */
@media (max-width: 768px) {
    .splash-version {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 90vw !important;
        padding: 0 10px !important;
        letter-spacing: 0.5px !important;
        text-align: center !important;
    }

    /* Welcome screen card — prevent text overflow */
    .royal-card {
        padding: 30px 18px !important;
        max-width: 90vw !important;
        width: 90vw !important;
    }

    .main-heading {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .main-heading .shine-text {
        font-size: inherit !important;
        white-space: nowrap !important;
    }

    .sub-heading {
        font-size: 0.7rem !important;
        letter-spacing: 1.5px !important;
    }

    .tagline {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .royal-btn {
        padding: 11px 30px !important;
        font-size: 0.9rem !important;
    }

    /* Royal logo smaller on mobile */
    .royal-logo {
        width: 80px !important;
        height: 80px !important;
    }

    .logo-spotlight {
        margin-bottom: 12px !important;
    }

    .glow-ring {
        width: 100px !important;
        height: 100px !important;
    }
}

@media (max-width: 360px) {
    .splash-version {
        font-size: 0.6rem !important;
    }

    .main-heading {
        font-size: 1.4rem !important;
    }

    .royal-card {
        padding: 25px 14px !important;
    }
}


/* =============================================
   2. HERO PHOTO — Fix image cut/cropped on mobile
   The image was being clipped due to strict sizing
   ============================================= */
@media (max-width: 768px) {
    /* CRITICAL: The hero section is inside a <section> which has
       overflow: hidden from redesign-master.css. This clips the image.
       Also the header is position: fixed, so we need extra top padding. */
    #home.hero-section,
    .hero-section {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        padding: 80px 16px 40px !important;
        gap: 20px !important;
        overflow: visible !important;
        min-height: auto !important;
    }

    /* Force the parent section to NOT clip hero content */
    section#home,
    section:has(.hero-section) {
        overflow: visible !important;
    }

    .hero-image {
        order: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: visible !important;
        min-width: unset !important;
        padding: 10px 0 !important;
    }

    .hero-image .image-frame {
        width: 220px !important;
        height: 220px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: visible !important;
        margin: 0 auto !important;
        border-radius: 50% !important;
        padding: 0 !important;
        animation: none !important;
    }

    .hero-image .image-frame img {
        width: 220px !important;
        height: 220px !important;
        min-width: 220px !important;
        min-height: 220px !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: top center !important;
        border-radius: 50% !important;
        display: block !important;
        margin: 0 auto !important;
        box-shadow: 0 0 30px rgba(27, 152, 224, 0.2),
                    0 0 60px rgba(27, 152, 224, 0.08) !important;
    }

    /* Also override the global img max-width for hero specifically */
    .hero-image .image-frame img {
        max-width: 220px !important;
        height: 220px !important;
    }

    .hero-content {
        order: 1 !important;
        width: 100% !important;
        padding: 0 4px !important;
    }

    /* Hero badge centered */
    .hero-badge {
        display: inline-flex !important;
        margin: 0 auto 12px !important;
    }

    /* Hero headline */
    .hero-headline {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    .hero-subheadline {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
        padding: 0 8px !important;
    }

    /* CTA buttons stacked */
    .hero-cta-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .hero-cta-group .btn {
        width: 100% !important;
        max-width: 300px !important;
        justify-content: center !important;
        padding: 13px 24px !important;
        font-size: 0.92rem !important;
    }

    /* Trust stats row */
    .hero-trust-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 14px 10px !important;
        flex-wrap: nowrap !important;
        border-radius: 14px !important;
    }

    .trust-stat {
        text-align: center !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .hero-trust-stats .trust-stat-number {
        font-size: 1.3rem !important;
    }

    .hero-trust-stats .trust-stat-label {
        font-size: 0.6rem !important;
        letter-spacing: 0.5px !important;
    }

    .hero-trust-stats .trust-stat-plus {
        font-size: 1rem !important;
    }

    .trust-stat-divider {
        width: 1px !important;
        height: 30px !important;
        align-self: center !important;
    }
}

@media (max-width: 360px) {
    .hero-image .image-frame,
    .hero-image .image-frame img {
        width: 170px !important;
        height: 170px !important;
        min-width: 170px !important;
        min-height: 170px !important;
    }

    .hero-headline {
        font-size: 1.2rem !important;
    }
}


/* =============================================
   3. CONTACT FORM — Fix UI/UX on mobile
   Form inputs, labels, grid layout, captcha
   ============================================= */
@media (max-width: 768px) {
    /* Form container */
    #contact .form-container,
    .form-container {
        padding: 22px 16px !important;
        border-radius: 16px !important;
        margin: 15px auto !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* Form grid — single column on mobile
       MUST match specificity of redesign-master-p2.css which uses
       #contact .form-container .form-grid { grid-template-columns: 1fr 1fr !important } */
    #contact .form-container .form-grid,
    #contact form .form-grid,
    .form-container .form-grid,
    .form-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .form-group.full-width,
    .form-grid .full-width {
        grid-column: 1 !important;
    }

    /* Form group spacing */
    .form-group {
        margin-bottom: 4px !important;
    }

    /* Labels */
    .form-group label {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 6px !important;
        display: block !important;
    }

    /* Input wrapper */
    .form-group .input-wrapper {
        width: 100% !important;
        position: relative !important;
    }

    /* All inputs — full width, proper sizing */
    .form-group input,
    .form-group textarea,
    .form-group select,
    #contact-form input,
    #contact-form textarea,
    #contact-form select {
        width: 100% !important;
        min-width: 0 !important;
        padding: 12px 14px 12px 42px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }

    /* Textarea — no left icon padding */
    .form-group textarea,
    #contact-form textarea {
        padding-left: 14px !important;
        padding-top: 12px !important;
        min-height: 100px !important;
        resize: vertical !important;
    }

    /* Input icons */
    .form-group .input-icon {
        left: 14px !important;
        font-size: 0.9rem !important;
    }

    /* ===== CAPTCHA SECTION FIX ===== */
    .captcha-box {
        margin-top: 16px !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .captcha-box label {
        font-size: 0.75rem !important;
        margin-bottom: 10px !important;
    }

    /* Captcha inner row — make it wrap properly */
    .captcha-box > div,
    .captcha-box [style*="display: flex"] {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Captcha question number */
    #captcha-question {
        font-size: 1rem !important;
        padding: 8px 14px !important;
        min-width: 70px !important;
        text-align: center !important;
        border-radius: 8px !important;
    }

    /* Captcha answer input — proper width */
    .captcha-box .input-wrapper,
    .captcha-box [style*="max-width: 100px"] {
        max-width: 80px !important;
        min-width: 70px !important;
        flex-shrink: 0 !important;
    }

    .captcha-box .input-wrapper input,
    #captcha-answer {
        width: 100% !important;
        padding: 8px 6px !important;
        font-size: 1rem !important;
        text-align: center !important;
        border-radius: 8px !important;
        padding-left: 6px !important;
    }

    /* Captcha refresh button */
    .captcha-refresh,
    #refresh-captcha {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 10px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }

    /* Equals sign */
    .captcha-box [style*="color: var(--color-text-muted)"] {
        font-size: 1rem !important;
        flex-shrink: 0 !important;
    }

    /* ===== REFERRAL SECTION FIX ===== */
    .referral-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 16px !important;
    }

    .referral-section .form-group {
        width: 100% !important;
    }

    .referral-section .form-group .input-wrapper {
        width: 100% !important;
    }

    .referral-section .form-group input {
        width: 100% !important;
    }

    #verify-referral-btn {
        width: 100% !important;
        padding: 12px 20px !important;
        border-radius: 10px !important;
        font-size: 0.9rem !important;
    }

    /* Submit button */
    #contact-form .btn[type="submit"],
    #contact-form > .btn,
    .form-container > .btn,
    .form-container .btn[style*="width: 100%"] {
        width: 100% !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        margin-top: 16px !important;
    }
}

@media (max-width: 360px) {
    #contact .form-container,
    .form-container {
        padding: 18px 12px !important;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px 10px 38px !important;
        font-size: 0.9rem !important;
    }

    .form-group textarea {
        padding-left: 12px !important;
    }

    .form-group label {
        font-size: 0.72rem !important;
    }
}


/* =============================================
   4. FOUNDER SECTION — Fix photo & layout
   ============================================= */
@media (max-width: 768px) {
    .founder-section {
        padding: 40px 0 !important;
    }

    .founder-card {
        padding: 24px 16px !important;
        border-radius: 18px !important;
    }

    .founder-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .founder-photo-side {
        text-align: center !important;
    }

    .founder-photo-frame {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .founder-photo-frame img {
        width: 160px !important;
        height: 160px !important;
        object-fit: cover !important;
        object-position: top center !important;
        border-radius: 50% !important;
    }

    .founder-name {
        font-size: 1.3rem !important;
        margin-top: 12px !important;
        line-height: 1.2 !important;
        word-break: normal !important;
        white-space: nowrap !important;
    }

    .founder-title {
        font-size: 0.85rem !important;
    }

    .founder-location {
        font-size: 0.82rem !important;
    }

    .founder-bio-side {
        padding: 0 4px !important;
    }

    .founder-bio-text p {
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
        margin-bottom: 10px !important;
    }

    .founder-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-top: 16px !important;
    }

    .founder-stat-card {
        padding: 14px 8px !important;
        text-align: center !important;
        border-radius: 12px !important;
    }

    .founder-stat-card .stat-num,
    .founder-stat-card .stat-num-text {
        font-size: 1.3rem !important;
    }

    .founder-stat-card .stat-lbl {
        font-size: 0.68rem !important;
    }

    .founder-yt-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 14px !important;
    }

    .yt-channel-card {
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    .founder-interests {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        margin-top: 14px !important;
    }

    .interest-pill {
        font-size: 0.75rem !important;
        padding: 5px 10px !important;
        border-radius: 20px !important;
    }
}


/* =============================================
   5. SECTIONS — General mobile spacing
   ============================================= */
@media (max-width: 768px) {
    /* Sections */
    section {
        padding: 40px 0 !important;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .section-title {
        font-size: 1.35rem !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    .section-subtitle {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
        padding: 0 8px !important;
    }

    /* Card Grid */
    .card-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .feature-card {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    .feature-card h3 {
        font-size: 0.95rem !important;
    }

    .feature-card p {
        font-size: 0.85rem !important;
        line-height: 1.55 !important;
    }

    /* Services hero card */
    .services-hero-card {
        padding: 22px 14px !important;
        border-radius: 16px !important;
        margin-bottom: 30px !important;
    }

    .services-hero-card h3 {
        font-size: 1.2rem !important;
    }

    .services-hero-card p {
        font-size: 0.85rem !important;
    }

    /* Services hero card inner grid */
    .services-hero-card [style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .services-hero-card [style*="display: flex"][style*="flex-wrap: wrap"] {
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* How we work */
    .how-work-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .how-work-card {
        padding: 20px 16px !important;
    }

    /* FAQ */
    .faq-item {
        margin-bottom: 8px !important;
    }

    .faq-question {
        padding: 13px 14px !important;
        font-size: 0.9rem !important;
    }

    .faq-answer p {
        padding: 0 14px 12px !important;
        font-size: 0.85rem !important;
    }

    /* Flip cards */
    .flip-card {
        min-height: 180px !important;
    }

    .card-front,
    .card-back {
        padding: 20px 16px !important;
    }

    /* Footer */
    .footer-wrapper {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: center !important;
    }

    .social-row {
        justify-content: center !important;
    }

    footer.ultra-footer {
        padding-bottom: 75px !important;
    }

    /* Chatbot & Voice buttons */
    #chatbot-container {
        width: calc(100vw - 16px) !important;
        max-width: 360px !important;
        right: 8px !important;
        bottom: 72px !important;
        max-height: 60vh !important;
        border-radius: 16px !important;
    }

    #chatbot-toggle {
        bottom: 16px !important;
        right: 14px !important;
        width: 46px !important;
        height: 46px !important;
    }

    #voice-assistant-btn {
        bottom: 16px !important;
        right: 68px !important;
        width: 46px !important;
        height: 46px !important;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 250px !important;
        padding: 20px 16px !important;
    }

    /* Digital Ecosystem */
    #digital-ecosystem > .container > div:nth-child(3) {
        grid-template-columns: 1fr !important;
    }
}

/* Medium phones — 2 column card grid */
@media (min-width: 481px) and (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .how-work-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .services-hero-card [style*="display: grid"] {
        grid-template-columns: 1fr 1fr !important;
    }
}


/* =============================================
   6. PREVENT HORIZONTAL SCROLL (mobile only)
   ============================================= */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }

    .container {
        overflow-x: hidden !important;
    }

    /* Any inline styled element shouldn't cause overflow */
    [style*="padding: 48px 40px"] {
        padding: 22px 14px !important;
    }

    [style*="min-width: 280px"] {
        min-width: unset !important;
    }

    [style*="gap: 40px"] {
        gap: 16px !important;
    }

    /* Inline flex containers shouldn't overflow */
    [style*="display: flex"][style*="gap: 12px"] {
        flex-wrap: wrap !important;
    }
}


/* =============================================
   7. HEADER — Mobile adjustments
   ============================================= */
@media (max-width: 768px) {
    .ultra-header {
        padding: 8px 0 !important;
    }

    .header-container {
        padding: 0 12px !important;
    }

    .h-logo-img {
        width: 30px !important;
        height: 30px !important;
    }

    .h-brand-name {
        font-size: 1rem !important;
    }

    .mobile-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
    }
}


/* =============================================
   8. FINAL OVERRIDE — Hero & Founder photo
   These MUST be at the very end to win specificity
   ============================================= */

/* Override ALL global img rules for hero photo */
@media (max-width: 768px) {
    section.hero-section .hero-image .image-frame img,
    #home.hero-section .hero-image .image-frame img,
    .hero-section .hero-image .image-frame img,
    .hero-image .image-frame img {
        width: 220px !important;
        height: 220px !important;
        min-width: 220px !important;
        min-height: 220px !important;
        max-width: 220px !important;
        max-height: 220px !important;
        object-fit: cover !important;
        object-position: top center !important;
        border-radius: 50% !important;
        display: block !important;
    }

    /* Ensure the frame itself is not clipping */
    section.hero-section .hero-image .image-frame,
    #home.hero-section .hero-image .image-frame,
    .hero-section .hero-image .image-frame,
    .hero-image .image-frame {
        width: 220px !important;
        height: 220px !important;
        overflow: visible !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }

    /* Section must not clip */
    section.hero-section,
    section#home {
        overflow: visible !important;
    }

    /* Main element must not clip hero */
    main {
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }
}

@media (max-width: 360px) {
    section.hero-section .hero-image .image-frame img,
    .hero-image .image-frame img {
        width: 180px !important;
        height: 180px !important;
        min-width: 180px !important;
        min-height: 180px !important;
        max-width: 180px !important;
        max-height: 180px !important;
    }

    section.hero-section .hero-image .image-frame,
    .hero-image .image-frame {
        width: 180px !important;
        height: 180px !important;
    }
}


/* Fix alignment issues: Center tool header descriptions and upload area texts */
.tool-header p,
.upload-area p,
.upload-content p {
    text-align: center !important;
}


/* Responsive Chatbot Placement Fix: Reposition chatbot button to the header on mobile devices */
@media (max-width: 768px) {
    /*
     * Equal-spacing layout for 3 header icons: [Moon] [Robot] [Hamburger]
     * Each button is 42px wide. Gap between each = 12px.
     * Hamburger: right: 15px (header padding) -> left edge at 57px from screen right
     * Chatbot  : right: 69px -> left edge at 111px from screen right
     * Theme    : right edge at 123px -> header-right margin-right = 123 - 15(padding) = 108px
     */
    .mobile-menu-toggle {
        order: 100 !important;
        flex-shrink: 0 !important;
    }
    
    .header-right {
        gap: 0 !important;
        margin-right: 108px !important;
    }
    
    #chatbot-toggle {
        position: fixed !important;
        top: 15px !important;
        bottom: auto !important;
        right: 69px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1.1rem !important;
        z-index: 10000 !important;
        background: var(--bg-tertiary, #1a1a2e) !important;
        border: 1px solid var(--border-color, #3a476a) !important;
        color: var(--text-primary, #ffffff) !important;
        box-shadow: none !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #chatbot-toggle:hover {
        background: var(--primary-blue, #1b98e0) !important;
        border-color: var(--primary-blue, #1b98e0) !important;
        color: #fff !important;
    }
    
    #chatbot-container {
        position: fixed !important;
        top: 75px !important;
        bottom: auto !important;
        right: 15px !important;
        left: 15px !important;
        width: auto !important;
        max-width: none !important;
        height: 60vh !important;
        max-height: 400px !important;
        z-index: 10000 !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    }
}

@media (max-width: 480px) {
    /*
     * Equal-spacing on small phones. Each button 38px wide. Gap = 10px.
     * Hamburger: right: 12px -> left edge at 50px
     * Chatbot  : right: 60px -> left edge at 98px
     * Theme    : right edge at 108px -> header-right margin-right = 108 - 12 = 96px
     */
    .header-right {
        margin-right: 96px !important;
    }

    #chatbot-toggle {
        top: 13px !important;
        right: 60px !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }
    
    #chatbot-container {
        top: 68px !important;
        right: 10px !important;
        left: 10px !important;
        height: 55vh !important;
    }
}
