/* Remote AI Tasks - Clean Dark Green Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 🟠⚫ Orange + Dark Theme - High Energy */
    --primary: #FF6B35;
    --primary-dark: #E85D2A;
    --primary-light: #FF8C5F;
    
    /* Light Backgrounds for Landing Page */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-card: rgba(248, 249, 250, 0.8);
    --bg-card-hover: rgba(240, 242, 245, 0.9);
    
    /* Text Colors for Light Background */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #6B6B6B;
    
    /* Border & Shadow */
    --border: rgba(255, 107, 53, 0.2);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(255, 107, 53, 0.15);
    
    /* Spacing */
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    
    /* Border Radius */
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Navigation */
.navbar {
    background: #FFFFFF;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
}

.nav-links a {
    color: #64748B;
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5F 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E85D2A 0%, #FF6B35 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.45);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 50%, #F0F4F8 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1E293B;
}

.hero .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: #64748B;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.stat-card {
    background: linear-gradient(135deg, #F0F4F8 0%, #E1E8ED 100%);
    border: 2px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.2);
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF8F3 0%, #FFEDE0 100%);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-2);
    line-height: 1.2;
    white-space: nowrap;
    display: block;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.1);
}

.stat-label {
    font-size: 0.9375rem;
    color: #64748B;
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

/* Sections */
.section {
    padding: var(--space-16) 0;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: #1E293B;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748B;
    max-width: 650px;
    margin: 0 auto;
}

/* Task Cards */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.task-card {
    background: linear-gradient(135deg, #F0F4F8 0%, #E1E8ED 100%);
    border: 2px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.task-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.2);
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF8F3 0%, #FFEDE0 100%);
}

.task-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: #1E40AF;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.task-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1E293B;
}

.task-description {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.task-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.1);
}

.task-cta {
    width: 100%;
}

/* Steps Section */
.steps-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.step-item {
    text-align: center;
    background: linear-gradient(135deg, #F0F4F8 0%, #E1E8ED 100%);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(59, 130, 246, 0.12);
    transition: all 0.3s;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.2);
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF8F3 0%, #FFEDE0 100%);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5F 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.step-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1E293B;
}

.step-description {
    color: #64748B;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: var(--space-16) 0 var(--space-8);
    margin-top: var(--space-16);
    border-top: 2px solid rgba(255, 107, 53, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-section h3 {
    color: #1E293B;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: #475569;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 2px solid rgba(255, 107, 53, 0.15);
    color: #64748B;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #FF6B35;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: var(--space-6);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.earnings-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    transition: width 0.5s;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
}

.referral-code {
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 1.25rem;
    font-family: 'Courier New', monospace;
}

/* Utilities */
.bg-light {
    background: var(--bg-secondary);
}

.text-center {
    text-align: center;
}


/* Task Filters */
.filter-btn {
    padding: 0.625rem 1.5rem;
    border: 2px solid transparent;
    background: transparent;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.filter-btn:hover {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.15);
}

.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Locked Cards */
.task-card.locked {
    opacity: 0.7;
    position: relative;
}

.lock-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.25rem;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}


/* Auth Pages */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem var(--space-6);
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 50%, #F0F4F8 100%);
}

.auth-box {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F5 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15);
}

.auth-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #1E293B;
}

.auth-box p {
    color: #64748B;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s;
    background: #FFFFFF;
    color: #1E293B;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-group small {
    color: #64748B;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    border: 1px solid rgba(255, 107, 53, 0.4);
}

.alert-success::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 0.5rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-error::before {
    content: '✕';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 0.5rem;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.alert-info::before {
    content: 'i';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Responsive Auth */
@media (max-width: 480px) {
    .auth-box {
        padding: 2rem 1.5rem;
    }
    
    .auth-box h2 {
        font-size: 1.75rem;
    }
}


/* FAQ Items */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.faq-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}


/* Button Spinner - Three Dots Style */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::before,
.btn-loading::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    top: 50%;
    animation: dotPulse 1.4s infinite ease-in-out;
}

.btn-loading::before {
    left: 50%;
    margin-left: -16px;
    margin-top: -3px;
    animation-delay: -0.32s;
}

.btn-loading::after {
    left: 50%;
    margin-left: 10px;
    margin-top: -3px;
    animation-delay: 0s;
}

/* Middle dot */
.btn-loading {
    overflow: visible;
}

.btn-loading span::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin-left: -3px;
    margin-top: -3px;
    animation: dotPulse 1.4s infinite ease-in-out;
    animation-delay: -0.16s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    min-width: 300px;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.toast-success {
    border-left: 4px solid var(--primary);
}

.toast.toast-error {
    border-left: 4px solid #ef4444;
}

.toast.toast-info {
    border-left: 4px solid #3b82f6;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Modal/Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Toast */
@media (max-width: 480px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* Hero Background Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-40px) rotate(-5deg);
    }
    75% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.hero-animation .float-icon,
.hero-animation .particle {
    animation: float 8s ease-in-out infinite;
}

/* Responsive hero animation */
@media (max-width: 768px) {
    .hero-animation {
        opacity: 0.08 !important;
    }
    
    .hero-animation .float-icon {
        transform: scale(0.7);
    }
}
