/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --background-light: #f8fafc;
    --white: #ffffff;
    --max-width: 1200px;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --premium-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --glass-background: rgba(255, 255, 255, 0.95);
    --transition-bezier: cubic-bezier(0.4, 0, 0.2, 1);
    --premium-border: 1px solid rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8fafc, #f0f9ff);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--text-dark);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 101;
        padding: 0.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 4rem 0;
        transition: 0.3s ease;
        z-index: 100;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a:hover {
        background: rgba(var(--primary-rgb), 0.05);
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 1.5rem 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    .menu-overlay.active {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 6rem 2rem;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: var(--background-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Earn Section */
.earn-section {
    padding: 2rem 0;
    background: var(--background-light);
}

.earn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    perspective: 1000px;
}

.earn-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.earn-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.1),
        rgba(147, 51, 234, 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.earn-card:hover {
    transform: translateY(-5px) rotateX(2deg) rotateY(2deg);
    border-color: var(--primary-color);
    box-shadow: 
        0 10px 20px -10px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(var(--primary-rgb), 0.1);
}

.earn-card:hover::before {
    opacity: 1;
}

.earn-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.earn-card:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.earn-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.earn-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.earn-card:hover h3::after {
    width: 100%;
}

.earn-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.earn-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Task Details Styling */
.task-details, .referral-details, .payout-details {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 1.5rem;
}

.task-details li, .referral-details li, .payout-details li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border-radius: 5px;
}

.task-details li:hover, .referral-details li:hover, .payout-details li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.task-details li i, .referral-details li i, .payout-details li i {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    animation: iconPulse 2s ease-in-out infinite;
}

.task-details li:hover i, 
.referral-details li:hover i, 
.payout-details li:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Referral Info Styling */
.referral-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.referral-info h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .earn-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .earn-card {
        padding: 1.5rem;
    }
    
    .task-details, .referral-details, .payout-details {
        padding: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .earn-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Features Section */
.features-section {
    background: var(--background-light);
    padding: 6rem 2rem;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    border-radius: 10px;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
    border-color: var(--primary-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.feature-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Updates Section */
.updates-section {
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.updates-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.update-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.update-card:hover {
    transform: translateY(-5px);
}

.update-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.update-card .fab.fa-telegram {
    color: #0088cc;
}

.update-card .fab.fa-whatsapp {
    color: #25D366;
}

.update-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.update-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Achievements Section */
.achievements-section {
    background: var(--background-light);
    padding: 6rem 2rem;
    text-align: center;
}

.achievements-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.achievements-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.1),
        rgba(147, 51, 234, 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(var(--primary-rgb), 0.1);
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-card h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-card .rating-number {
    display: inline-flex;
    align-items: baseline;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-card .rating-number .counter {
    font-size: inherit;
    min-width: auto;
    margin: 0;
}

.achievement-card .rating {
    display: inline-flex;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.achievement-card .rating i {
    color: #FFD700;
    font-size: 1.8rem;
    margin: 0 0.1rem;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.2));
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-card:hover .rating i {
    animation: starPulse 1s ease-in-out infinite;
}

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.achievement-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Update counter styles for rating */
.achievement-card .counter {
    font-size: 3rem;
    vertical-align: middle;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .achievement-card .rating i {
        font-size: 1.5rem;
    }
    
    .achievement-card .rating-number {
        font-size: 2.5rem;
    }
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    background: var(--background-light);
    padding: 6rem 2rem;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    font-size: 1.5rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Task Details Styling */
.task-details, .referral-details, .payout-details {
    margin-top: 1.5rem;
    text-align: left;
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.task-details h4, .referral-details h4, .payout-details h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.task-details ul, .referral-details ul, .payout-details ul {
    list-style: none;
}

.task-details li, .referral-details li, .payout-details li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.5s var(--transition-bezier) forwards;
}

.task-details li:nth-child(2n),
.referral-details li:nth-child(2n),
.payout-details li:nth-child(2n) {
    transform: translateX(20px);
    animation: slideInRight 0.5s var(--transition-bezier) forwards;
}

.task-details i, .referral-details i, .payout-details i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Referral Levels Styling */
.referral-levels {
    margin-top: 1.5rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
}

.referral-levels h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: var(--background-light);
    border-radius: 5px;
}

.level-name {
    font-weight: 600;
    color: var(--primary-color);
}

.level-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Payout Info Styling */
.payout-info {
    margin-top: 1.5rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
}

.payout-info h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Earning Stats Section */
.earning-stats {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, 
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color));
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    color: var(--white);
    text-align: center;
}

.earning-stats h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
}

.stats-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.stats-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.stats-card .amount {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stats-card .desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.stats-card:hover .amount {
    animation: scale 2s ease-in-out infinite;
}

/* Sub Tasks Styling */
.sub-tasks {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    list-style: none;
}

.sub-tasks li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    position: relative;
}

.sub-tasks li:before {
    content: "â€¢";
    color: var(--primary-color);
    position: absolute;
    left: -1rem;
}

/* Payout Note Styling */
.payout-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-top: 0.2rem;
}

/* Task Categories Section */
.task-categories {
    padding: 6rem 2rem;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.task-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.task-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.categories-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    border-radius: 10px;
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.category-card:hover::after {
    width: 80%;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
    border-color: var(--primary-color);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.category-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.category-card ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.category-card ul li:before {
    content: "âœ“";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.why-choose .features-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-choose .feature-card {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.why-choose .feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
    border-color: var(--primary-color);
}

.why-choose .feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
}

.why-choose .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.why-choose .feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: 0.3s ease-in-out;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 2rem;
    }

    .nav-menu ul li {
        margin-bottom: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .earn-card, .category-card, .feature-card {
        padding: 1.5rem;
        transform: none !important;
        animation: fadeInUp 0.5s ease forwards;
    }

    .task-details li, .referral-details li, .payout-details li {
        transform: none !important;
        animation: fadeInUp 0.5s ease forwards;
    }

    .stats-card .amount {
        font-size: 1.5rem;
    }

    .stats-card .desc {
        font-size: 0.8rem;
    }

    .sub-tasks {
        margin-left: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-card ul li {
        font-size: 0.9rem;
    }

    .why-choose .feature-card {
        padding: 1.5rem;
    }
}

/* Additional Tablet Responsive Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 4rem 2rem;
    }

    .earn-grid {
        gap: 2rem;
        padding: 0 1rem;
    }

    .earn-card {
        padding: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Ensure consistent max-width for content */
.section-content,
.earn-grid,
.features-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* Fix container widths */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s var(--transition-bezier);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        top: 1rem;
        right: 1rem;
        position: fixed;
        padding: 0.8rem;
        background: var(--glass-background);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .menu-toggle i {
        font-size: 1.5rem;
    }

    .sidebar {
        width: 85%;
        max-width: 300px;
        left: -100%;
        padding-top: 4rem;
    }

    .sidebar-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1rem 1.5rem;
        background: var(--glass-background);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
        z-index: 1002;
    }

    .close-sidebar {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-nav {
        margin-top: 1rem;
    }

    .sidebar-nav a {
        padding: 1rem;
        font-size: 1.1rem;
    }

    body.sidebar-open {
        overflow: hidden;
    }
}

/* Tablet Responsive Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 320px;
        left: -320px;
    }

    .menu-toggle {
        display: block;
        top: 1rem;
        right: 1rem;
    }
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border-right: var(--premium-border);
    transition: all 0.4s var(--transition-bezier);
    z-index: 1000;
    padding: 2rem;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.close-sidebar {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.close-sidebar:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s var(--transition-bezier);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-nav a i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.sidebar-nav a:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition-bezier);
    z-index: 999;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        top: 1rem;
        right: 1rem;
        position: fixed;
        padding: 0.8rem;
        background: var(--glass-background);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .menu-toggle i {
        font-size: 1.5rem;
    }

    .sidebar {
        width: 85%;
        max-width: 300px;
        left: -100%;
        padding-top: 4rem;
    }

    .sidebar-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1rem 1.5rem;
        background: var(--glass-background);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
        z-index: 1002;
    }

    .close-sidebar {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-nav {
        margin-top: 1rem;
    }

    .sidebar-nav a {
        padding: 1rem;
        font-size: 1.1rem;
    }

    body.sidebar-open {
        overflow: hidden;
    }
}

/* Tablet Responsive Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 320px;
        left: -320px;
    }

    .menu-toggle {
        display: block;
        top: 1rem;
        right: 1rem;
    }
}

/* Premium Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes slideInLeft {
    0% { transform: translateX(-30px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Premium Responsive Design */
@media (max-width: 768px) {
    .earn-section {
        padding: 2rem 1rem;
        background: linear-gradient(
            135deg,
            rgba(var(--primary-rgb), 0.05),
            rgba(147, 51, 234, 0.05)
        );
    }

    .earn-section h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
        line-height: 1.2;
        background: linear-gradient(135deg, var(--primary-color), #9333ea);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
    }

    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        padding: 0 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
        color: var(--text-secondary);
    }

    .earn-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .earn-card {
        padding: 1.75rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transform: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .earn-card:hover {
        transform: translateY(-5px);
        box-shadow: 
            0 15px 30px -10px rgba(0, 0, 0, 0.2),
            0 0 15px rgba(var(--primary-rgb), 0.1);
    }

    .earn-card i {
        font-size: 2.2rem;
        margin-bottom: 1.25rem;
        display: inline-block;
        background: linear-gradient(135deg, var(--primary-color), #9333ea);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .earn-card h3 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
        background: linear-gradient(135deg, var(--text-primary), #e2e8f0);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .earn-card p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        color: var(--text-secondary);
    }

    .task-details, .referral-details, .payout-details {
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        padding: 1.25rem;
    }

    .task-details h4, .referral-details h4, .payout-details h4 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
        color: var(--text-primary);
        font-weight: 600;
    }

    .task-details ul, .referral-details ul, .payout-details ul {
        gap: 0.875rem;
    }

    .task-details li, .referral-details li, .payout-details li {
        padding: 0.875rem 1.125rem;
        border-radius: 10px;
        font-size: 0.95rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        gap: 0.875rem;
        transition: all 0.3s ease;
    }

    .task-details li i, .referral-details li i, .payout-details li i {
        font-size: 1.1rem;
        background: linear-gradient(135deg, var(--primary-color), #9333ea);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .task-details li:hover, .referral-details li:hover, .payout-details li:hover {
        transform: translateX(5px);
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(var(--primary-rgb), 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Enhanced Mobile Navigation */
    .nav-container {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .nav-menu {
        padding: 0.5rem;
    }

    .nav-menu ul {
        gap: 0.75rem;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu a:hover {
        background: rgba(var(--primary-rgb), 0.1);
        border-color: rgba(var(--primary-rgb), 0.3);
        transform: translateY(-2px);
    }

    /* Mobile Buttons */
    .button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--primary-color), #9333ea);
        border: none;
        color: white;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
    }

    .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3);
    }

    /* Mobile Animations */
    @keyframes slideIn {
        from {
            transform: translateY(20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .earn-card {
        animation: slideIn 0.5s ease-out forwards;
        opacity: 0;
    }

    .earn-card:nth-child(1) { animation-delay: 0.1s; }
    .earn-card:nth-child(2) { animation-delay: 0.2s; }
    .earn-card:nth-child(3) { animation-delay: 0.3s; }

    /* Mobile Scrollbar */
    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02);
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(var(--primary-rgb), 0.3);
        border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(var(--primary-rgb), 0.5);
    }
}

/* Animation Classes */
.slide-in-left { animation: slideInLeft 0.6s ease forwards; }
.slide-in-right { animation: slideInRight 0.6s ease forwards; }
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add keyframes for continuous floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Add keyframes for icon pulse */
@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

