@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;900&display=swap');

:root {
    --primary: #00ff88;
    --primary-dim: #00cf6e;
    --secondary: #7000ff;
    --dark: #050510;
    --card-bg: rgba(20, 20, 35, 0.7);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--dark);
    color: #e2e8f0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* REUSABLE UTILS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 3D BUTTONS (ULTRA-PRO) */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 1rem;
    position: relative;
    top: 0;
}

.btn-primary {
    background: linear-gradient(180deg, #00ff88 0%, #00cc6a 100%);
    color: #003310;
    box-shadow: 0 6px 0 #00994d, 0 15px 20px rgba(0, 255, 136, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
    top: 6px;
    box-shadow: 0 0 0 #00994d, inset 0 3px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(180deg, #2a2a40 0%, #1a1a2e 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 0 #0f0f1a, 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary:active {
    top: 6px;
    box-shadow: 0 0 0 #0f0f1a;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* CAROUSEL 3D FIX */
.swiper-slide {
    width: 300px;
}

/* Fixed width for 3D effect */
.feature-card {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--primary));
}

/* BG FX (GLOBAL PERSISTENT) */
.bg-universe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, #101020 0%, #020205 100%);
}

.floating-icon {
    position: fixed;
    animation: floatUp 15s infinite linear;
    color: var(--primary);
    font-size: 2rem;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
    text-shadow: 0 0 10px var(--primary);
}

.ray {
    position: fixed;
    width: 2px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.15;
    transform: skewX(-20deg);
    z-index: -1;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes floatUp {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* HERO GRID */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .chat-container {
        margin: 40px auto;
    }
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* MODAL & OTHERS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 95%;
    max-width: 1000px;
    max-height: 95vh;
    overflow-y: auto;
    background: transparent;
    padding: 10px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.price-card {
    background: #151525;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.price-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 10;
    background: #1a1a30;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.1);
}

.price-tag {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.price-features li {
    list-style: none;
    margin-bottom: 15px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.badge-popular {
    background: var(--primary);
    color: #003310;
    padding: 8px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chat-container {
    background: #0b141a;
    border-radius: 24px;
    padding: 20px;
    max-width: 400px;
    height: 500px;
    overflow-y: auto;
    border: 4px solid #333;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.chat-bubble {
    padding: 12px 18px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.95rem;
    animation: popIn 0.5s forwards;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.chat-left {
    background: #202c33;
    color: white;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.chat-right {
    background: #005c4b;
    color: white;
    align-self: flex-end;
    border-top-right-radius: 0;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.scarcity-bar {
    background: linear-gradient(90deg, #b91c1c, #991b1b);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.avatar-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}