/* =========================================
   Binary MLM Platform
   Elegant, Trustworthy, Modern Design
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-base: #0f172a;        /* Deep Navy Blue Base */
    --bg-surface: rgba(15, 23, 42, 0.6); /* Dark Glass Surface */
    --bg-dark: #0f172a;        /* Deep Navy Blue */
    --bg-gradient: linear-gradient(135deg, #0f172a, #1e293b);
    
    --primary: #8b5cf6;        /* Vibrant Purple */
    --primary-dark: #6d28d9;   /* Deep Purple */
    --secondary: #ec4899;      /* Hot Pink */
    --secondary-light: #f472b6;
    --accent: #06b6d4;         /* Trust Cyan */
    
    --text-main: #cbd5e1;      /* Slate Blue/Gray for readability */
    --text-heading: #ffffff;   /* White for headings */
    --text-light: #f8fafc;     /* White/Light text */
    --text-muted: #94a3b8;     /* Muted Gray */

    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.6);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --gradient-primary: linear-gradient(135deg, #8b5cf6, #0ea5e9);
    --gradient-secondary: linear-gradient(135deg, #ec4899, #8b5cf6);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-heading);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    color: white;
}

.btn-outline {
    display: inline-block;
    padding: 13px 32px;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-gold {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gradient-secondary);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
    color: white;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 5%;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-heading);
    text-decoration: none;
}

.nav-logo i {
    color: var(--primary);
    font-size: 2rem;
}

.nav-logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 30px;
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.btn-gold {
    color: white;
    margin-left: 35px;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 5% 80px;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-dark);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- DECORATIVE BLOBS --- */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}
.blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #06b6d4, var(--primary));
}

/* --- INFO/ABOUT SECTION --- */
.section-pad {
    padding: 60px 5%;
    position: relative;
    background: transparent;
}

.section-white {
    background: rgba(15, 23, 42, 0.4);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    display: block;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-list i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    padding: 8px;
    border-radius: 50%;
}

/* --- PLAN/PRICING CARDS --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.glass-card {
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139, 92, 246, 0.2);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: 0.3s;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card.gold::before {
    background: var(--gradient-secondary);
}
.glass-card.blue::before {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}
.icon-green { color: var(--primary); }
.icon-gold { color: var(--secondary); }
.icon-blue { color: var(--accent); }

.glass-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 600;
}

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

.price-box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}
.price-box .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
}

/* --- RANKS SECTION (CUSTOM) --- */
.ranks-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.ranks-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(-50%);
}

.rank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.rank-item:nth-child(even) {
    flex-direction: row-reverse;
}

.rank-content {
    width: 45%;
    background: var(--bg-surface);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s;
}

.rank-content:hover {
    transform: scale(1.02);
    border-color: var(--secondary-light);
}

.rank-badge {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--secondary);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
    z-index: 2;
}

.rank-content h4 {
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* --- STATISTICS STRIP --- */
.stats-strip {
    background: rgba(15, 23, 42, 0.8);
    padding: 40px 0;
    color: white;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 15px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN --- */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-heading);
    cursor: pointer;
}

@media (max-width: 991px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        width: 80%;
        max-width: 500px;
    }

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

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        gap: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0;
        padding: 10px;
        display: block;
    }

    .nav-links a.btn-gold {
        margin: 10px auto;
        display: inline-block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .ranks-timeline::before {
        left: 25px;
    }

    .rank-badge {
        left: 25px;
        width: 40px;
        height: 40px;
    }

    .rank-item, .rank-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-end;
    }

    .rank-content {
        width: calc(100% - 70px);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* --- CUSTOM LOGO --- */
.custom-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    /* Adding a drop shadow to make it pop and matching primary color vibe if it has transparency */
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.custom-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.6));
}
