:root {
    --bg-main: #001477;
    --bg-card: #040939;
    --bg-card-hover: #1a2334;
    --primary: #ff5500;
    --primary-hover: #ff7733;
    --secondary: #00e676;
    --accent: #29b6f6;
    --text: #ffffff;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --gradient-primary: linear-gradient(135deg, #ff5500 0%, #ff2200 100%);
    --glass: rgba(18, 24, 36, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    background: linear-gradient(180deg, #0012b3 0%, #000c80 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-main);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.5px;
    max-width: 160px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    white-space: nowrap;
}

.btn-outline {
    background: var(--text);
    color: var(--bg-card);
    border: 1px solid var(--border);
}

.btn-outline i {
    color: #29b6f6;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 85, 0, 0.05);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 85, 0, 0.5);
}

/* Hero Section */
.hero {
    padding: 160px 5% 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: radial-gradient(circle at 90% 10%, rgba(255, 85, 0, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(0, 230, 118, 0.08) 0%, transparent 40%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.3);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-description {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 35px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.stat-card h3 {
    font-size: 28px;
    color: var(--secondary);
    font-weight: 800;
}

.stat-card p {
    font-size: 13px;
    color: var(--text-dim);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Sections */
.section {
    padding: 90px 5%;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 25px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 85, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 14px;
}

/* Commission Deals Section */
.deals-section {
    background: rgba(18, 24, 36, 0.4);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.deal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.deal-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 25px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.deal-rate {
    font-size: 38px;
    font-weight: 900;
    color: var(--secondary);
    margin: 15px 0;
}

.deal-features {
    list-style: none;
    margin: 25px 0 35px;
}

.deal-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 12px;
}

.deal-features i {
    color: var(--secondary);
    font-size: 14px;
}




/* Payouts Section */
/*.payouts {      */
/*    background: #0e2ae0;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    padding: 20px 5%;*/
/*}*/

/*.payouts-container {*/
/*    width: 100%;*/
/*    max-width: 1200px;*/
/*    background: radial-gradient(circle at top right, #004fe6, #0d26e0 70%);*/
/*    padding: 30px 20px;*/
/*    border-radius: 20px;*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);*/
/*    text-align: center;*/
/*}*/

/*.payouts-title {*/
/*    color: #ffffff;*/
/*    font-size: 28px;*/
/*    font-weight: 800;*/
/*    letter-spacing: 1.5px;*/
/*    margin-bottom: 30px;*/
/*    text-transform: uppercase;*/
/*}*/

/*.payouts-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(4, 1fr);*/
/*    gap: 15px;*/
/*}*/

/*.payout-card {*/
/*    background: rgba(255, 255, 255, 0.08);*/
/*    border: 1px solid rgba(255, 255, 255, 0.12);*/
/*    border-radius: 14px;*/
/*    height: 85px;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    padding: 10px;*/
/*    transition: transform 0.3s ease, background 0.3s ease;*/
/*    backdrop-filter: blur(5px);*/
    overflow: hidden; /* কার্ডের বাইরে লেখা বা ডিজাইন চলে যাওয়া রোধ করতে 
/*}*/

/*.payout-card:hover {*/
/*    transform: translateY(-5px);*/
/*    background: rgba(255, 255, 255, 0.15);*/
/*    border-color: rgba(255, 255, 255, 0.3);*/
/*}*/

/*.card-text {*/
/*    color: #ffffff;*/
/*    font-weight: 800;*/
/*    font-size: 18px;*/
/*    letter-spacing: 0.5px;*/
/*    text-align: center;*/
/*    word-break: break-word;*/
/*}*/



/* Laptop & Large Tablets (Max-width: 992px) */
@media (max-width: 992px) {
    /* ... আগের কোডগুলো অপরিবর্তিত থাকবে ... */

    .payouts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Devices, iPhones & 720x1608px Displays (Max-width: 768px) */
@media (max-width: 768px) {
    /* ... আগের কোডগুলো অপরিবرتিত থাকবে ... */

    .payouts-container {
        width: 100%;
        max-width: 100%;
        padding: 20px 10px;
    }

    .payouts-grid {
        grid-template-columns: repeat(2, 1fr); /* মোবাইলে ২ কলামে দেখাবে */
        gap: 10px;
    }

    .payout-card {
        height: 70px;
        padding: 8px;
    }

    .card-text {
        font-size: 15px; /* ফন্ট সাইজ ছোট করা হয়েছে যাতে ভেঙে না যায় */
    }
}

/* Extra Small Devices / Portrait Phones (Max-width: 480px) */
@media (max-width: 480px) {
    .payouts-grid {
        grid-template-columns: repeat(2, 1fr); /* চাইলে ছোট স্কিনেও ২ কলাম রাখতে পারেন অথবা 1fr দিতে পারেন */
        gap: 8px;
    }
    
    .card-text {
        font-size: 14px;
    }
}


/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 5% 30px;
    background: var(--bg-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-desc p {
    color: var(--text-dim);
    font-size: 14px;
    margin-top: 15px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 13px;
}


/* ==========================================
   RESPONSIVE BREAKPOINTS (720*1608px, iPhone, PC)
   ========================================== */

/* Laptop & Large Tablets (Max-width: 992px) */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 130px;
    }

    .hero-description {
        margin: 0 auto 35px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .payouts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile Devices, iPhones & 720x1608px Displays (Max-width: 768px) */
@media (max-width: 768px) {
    header {
        padding: 12px 4%;
    }

    .logo {
        max-width: 100%;
        display: block;
    }
    
    .logo img{
        width: 100%;
        height: auto;
    }

    .header-actions .btn {
        width: 120px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .hero {
        padding: 120px 4% 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-card h3 {
        font-size: 20px;
    }

    .stat-card p {
        font-size: 11px;
    }

    .section {
        padding: 60px 4%;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .payouts-container {
        width: 100%;
        max-width: 100%;
        padding: 20px 10px;
    }

    .payouts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .payout-card {
        height: 75px;
        padding: 10px;
    }

    .card-text {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo-desc p {
        margin: 15px auto 0;
    }
}

/* Extra Small Devices / Portrait Phones (Max-width: 480px) */
@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .deal-card {
        padding: 25px 20px;
    }

    .modal-box {
        padding: 20px;
        width: 95%;
    }
}