/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d6ae3;
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #2d6ae3;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-login, .btn-signup {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-login {
    color: #2d6ae3;
    border: 1px solid #2d6ae3;
}

.btn-login:hover {
    background-color: #2d6ae3;
    color: white;
}

.btn-signup {
    background-color: #2d6ae3;
    color: white;
}

.btn-signup:hover {
    background-color: #1a56c9;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #2d3748;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #2d6ae3;
    color: white;
}

.btn-primary:hover {
    background-color: #1a56c9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 106, 227, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2d6ae3;
    border: 2px solid #2d6ae3;
}

.btn-secondary:hover {
    background-color: #2d6ae3;
    color: white;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* How It Works Section */
.how-it-works {
    background-color: #fff;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #2d6ae3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.step p {
    color: #718096;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #2d6ae3 0%, #1a56c9 100%);
    color: white;
}

.stats .section-title,
.stats .section-subtitle {
    color: white;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Offers Section */
.offer-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.category {
    flex: 1;
    min-width: 250px;
    max-width: 270px;
    padding: 30px 25px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category i {
    font-size: 2.5rem;
    color: #2d6ae3;
    margin-bottom: 20px;
}

.category h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.category p {
    color: #718096;
    margin-bottom: 20px;
}

.earn-amount {
    display: inline-block;
    padding: 8px 15px;
    background-color: #e6f0ff;
    color: #2d6ae3;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Call to Action */
.cta {
    background-color: #f8f9fa;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2d3748;
}

.cta p {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: #2d3748;
    color: #cbd5e0;
    padding: 60px 0 30px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    flex: 2;
    min-width: 300px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about .logo h2 {
    color: white;
}

.footer-about p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4a5568;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #2d6ae3;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4a5568;
    font-size: 0.9rem;
    color: #a0aec0;
}

/* FAQ Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background-color: #2d6ae3;
    color: white;
}

.modal-header h2 {
    font-size: 1.8rem;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #e2e8f0;
}

.modal-body {
    padding: 30px;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.faq-item p {
    color: #718096;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2.3rem;
    }
    
    .steps {
        gap: 20px;
    }
    
    .step {
        min-width: 220px;
    }
    
    .stats-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 50px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .step {
        min-width: 100%;
    }
    
    .category {
        min-width: 100%;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
}
/* Auth Page Specific Styles */
.auth-page {
    padding: 60px 0;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

.auth-page .container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.auth-card {
    flex: 1;
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 500px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.auth-header p {
    color: #718096;
}

.auth-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
}

.form-group label i {
    color: #2d6ae3;
    width: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d6ae3;
    box-shadow: 0 0 0 3px rgba(45, 106, 227, 0.1);
}

.password-hint {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.password-hint i {
    color: #2d6ae3;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2d6ae3;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: #2d6ae3;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: #1a56c9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 106, 227, 0.3);
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    margin-bottom: 10px;
    color: #718096;
}

.link {
    color: #2d6ae3;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.85rem;
    color: #a0aec0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 15px !important;
}

.auth-benefits {
    flex: 1;
    max-width: 400px;
}

.auth-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2d3748;
}

.auth-benefits ul {
    list-style: none;
    margin-bottom: 30px;
}

.auth-benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
}

.auth-benefits li i {
    color: #10b981;
}

.testimonial {
    background-color: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2d6ae3;
    margin-top: 30px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    color: #4a5568;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #2d3748;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #718096;
}

/* Login Page Specific */
.forgot-password {
    text-align: right;
    margin-top: 5px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #a0aec0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #e2e8f0;
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    flex: 1;
    padding: 14px;
    border: 1px solid #e2e8f0;
    background-color: white;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.google-btn {
    color: #db4437;
}

.google-btn:hover {
    background-color: #fef2f2;
    border-color: #fecaca;
}

.facebook-btn {
    color: #4267B2;
}

.facebook-btn:hover {
    background-color: #f0f7ff;
    border-color: #bfdbfe;
}

.stats-mini {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-mini {
    background-color: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-mini .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2d6ae3;
    margin-bottom: 5px;
}

.stat-mini .stat-label {
    font-size: 0.9rem;
    color: #718096;
}

.payment-methods {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #4a5568;
}

.payment-methods i {
    opacity: 0.8;
    transition: all 0.3s;
}

.payment-methods i:hover {
    opacity: 1;
    color: #2d6ae3;
    transform: translateY(-3px);
}

/* Success Modal Specific */
.success-modal {
    text-align: center;
    padding: 40px 30px;
    max-width: 450px;
}

.modal-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
}

.success-modal h2 {
    margin-bottom: 15px;
    color: #2d3748;
}

.success-modal p {
    color: #718096;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-actions button {
    flex: 1;
    padding: 12px;
}

.loading-spinner {
    margin: 20px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #2d6ae3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.demo-note {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Back to Home Link */
.back-to-home {
    display: flex;
    align-items: center;
}

.back-to-home a {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-to-home a:hover {
    color: #2d6ae3;
}

/* Responsive Auth Pages */
@media (max-width: 992px) {
    .auth-page .container {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-card,
    .auth-benefits {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}