:root {
    --bg-dark: #05040a;
    --primary-purple: #7000ff;
    --accent-pink: #d900ff;
    --glass-bg: rgba(20, 20, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-gray: #a8b2d1;
    --whatsapp-green: #25d366;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Dynamic Background */
.background-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 10%, rgba(112, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(217, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(30, 0, 60, 0.8) 0%, transparent 100%);
    animation: bgPulse 10s infinite alternate;
}

@keyframes bgPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 1s ease-out;
}

.badge-tech {
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid rgba(112, 0, 255, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-pink);
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Trusted Partners Slider */
.partners-section {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background: rgba(10, 5, 20, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    content-visibility: auto;
}

.partners-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 40px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.partners-marquee {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marqueeScroll 20s linear infinite;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    white-space: nowrap;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.logo-item:hover {
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.15) 0%, rgba(217, 0, 255, 0.1) 100%);
    border-color: var(--primary-purple);
    color: #fff;
    transform: translateY(-3px);
}

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

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    content-visibility: auto;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--accent-pink);
}

.feature-icon {
    width: 32px;
    height: 32px;
    animation: iconPulse 3s infinite ease-in-out;
}

@keyframes iconPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(217, 0, 255, 0.3));
    }

    50% {
        opacity: 0.8;
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(217, 0, 255, 0.8));
    }
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: #fff;
}

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

/* Glass Mini Cards */
.glass-mini-card {
    background: var(--card-bg-gradient);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Gold border hint */
    border-radius: 16px;
    padding: 20px 30px;
    /* Increased padding */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    gap: 15px;
    min-width: 220px;
    /* Wider */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.05);
    position: relative;
    /* For absolute icon */
    overflow: visible;
    /* Let icon pop out */
    margin-top: 50px;
    /* Space for the icon on top */
}

/* Mobile Section */
.mobile-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    content-visibility: auto;
}

.mobile-content {
    flex: 1;
    min-width: 300px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.tech-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Specific background tweaks for the container if needed, or transparent */
.income-icon {
    position: absolute;
    top: -140px;
    /* Moved up from -100px to fix overlap */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.css-gold-icon {
    font-size: 10rem;
    /* Huge 3D Icon */
    font-weight: 900;
    line-height: 0.8;
    color: #ffd700;
    /* Fallback */
    background: linear-gradient(to bottom, #fff7cc 0%, #ffd700 30%, #b8860b 70%, #8b6508 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* 3D Depth using text-shadow */
    text-shadow:
        0px 2px 0px #c6930a,
        0px 4px 0px #b08209,
        0px 6px 0px #996f08,
        0px 8px 0px #825d07,
        0px 10px 0px #6b4d06,
        0px 15px 20px rgba(0, 0, 0, 0.4),
        0px 0px 40px rgba(255, 215, 0, 0.4);
    /* Glow */

    position: relative;
    animation: goldFlash 3s infinite ease-in-out alternate;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

/* Flash/Sparkle Animation */
@keyframes goldFlash {
    0% {
        transform: scale(1) rotateY(0deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }

    50% {
        transform: scale(1.05) rotateY(10deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
    }

    100% {
        transform: scale(1) rotateY(0deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }
}

.left-card .card-text {
    text-align: center;
    margin-top: 10px;
    /* Push text down strictly if needed, but flex handles it */
}

.card-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Default for others */
}

/* Specific for left card text centering */
.left-card .glass-mini-card {
    flex-direction: column;
}

.success-style .card-icon {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    color: #FFD700;
    /* Gold */
}

.mobile-image-wrap {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mobile-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(112, 0, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.5s;
}

.mobile-img:hover {
    transform: scale(1.02);
}

.glow-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    opacity: 0.4;
    z-index: 1;
    top: 0;
    left: 0;
}

/* Buttons */
.primary-btn {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #1a9c54 100%);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.small-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-cta {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.small-btn {
    background: transparent;
    border: 2px solid var(--whatsapp-green);
    color: var(--whatsapp-green);
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.small-btn:hover {
    background: var(--whatsapp-green);
    color: white;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Response Breakpoints */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .mobile-section {
        flex-direction: column-reverse;
        /* Reorder mobile section text/img */
        text-align: center;
        padding-top: 0;
    }

    .tech-stats {
        justify-content: center;
    }

    /* Mobile Hero Layout Rewrite */
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
        padding-top: 100px;
        position: relative;
    }

    /* Unwrap the container to re-order children */
    .hero-visuals {
        display: contents;
    }

    /* Disable decorations interfering with flow */
    .orb {
        display: none;
    }

    /* Cards become static blocks in flow */
    .float-element {
        position: static;
        width: 100%;
        max-width: 320px;
        margin: 20px auto;
        transform: none !important;
        /* Disable parallax */
        animation: none !important;
        /* Stable focus */
    }

    /* Order: 1. Dollar Card, 2. Text Content, 3. Stats Card */

    .left-card {
        order: -1;
        /* Put at top */
        margin-top: 80px;
        /* Space for the floating icon */
        margin-bottom: 20px;
    }

    .badge-tech,
    .hero-title,
    .hero-desc,
    .action-wrap {
        order: 2;
        /* Content in middle */
    }

    /* Specific overrides for content elements to ensure order works if they aren't wrapped */
    /* Since they are separate siblings in HTML structure, we rely on the fact that naturally they come after hero-visuals.
       But since hero-visuals is contents, left-card is sibling 1.
       We set left-card to order -1 to be really sure. 
    */

    .right-card {
        order: 10;
        /* Put at bottom */
        margin-top: 40px;
        margin-bottom: 60px;
    }

    /* Mobile Styling fixes */
    .income-icon {
        top: -140px;
        /* Lifted high like desktop to prevent overlap */
    }

    .css-gold-icon {
        font-size: 8rem;
        /* Scale down slightly from 10rem */
    }

    .glass-mini-card {
        padding: 20px;
    }

    /* Extra safety for text overlap */
    .left-card .glass-mini-card {
        padding-top: 50px;
    }

    /* Testimonials Mobile */
    .section-heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .testimonial-card {
        flex: 0 0 300px;
        min-width: 300px;
        padding: 25px;
    }

    .testimonial-emoji {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }

    .testimonial-name {
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}