/* --- Global Reset & Variables --- */
:root {
    --primary-color: #2563eb;       /* Blue for trust */
    --secondary-color: #1e40af;     /* Darker blue for hover */
    --accent-color: #f59e0b;        /* Amber for highlights */
    --text-dark: #1f2937;           /* Dark gray for headings */
    --text-light: #4b5563;          /* Lighter gray for body text */
    --bg-light: #f3f4f6;            /* Light gray background */
    --white: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Layout --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-section {
    padding: 60px 0;
    min-height: 80vh; /* Ensure it takes up good space */
}

.content-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* --- Typography --- */
h1, h2, h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
    position: relative;
}

/* Decorative line under H2 */
h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.lead {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
    background: var(--white);
}

/* --- Benefits List --- */
.benefits-list {
    list-style: none;
    margin-top: 20px;
}

.benefits-list li {
    background: var(--white);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    border-right: 4px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.benefits-list li strong {
    color: var(--text-dark);
    margin-right: 5px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 25px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}
/* --- Contact Page Styles --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info takes less space than form */
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-left: 15px;
    background: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr; /* Stack info and form on mobile */
    }

    .contact-info,
    .contact-form-container {
        padding: 20px;
    }
}
/* --- Auth Pages (Login/Register) Styles --- */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh; /* Center vertically */
}

.auth-wrapper {
    width: 100%;
    max-width: 450px; /* Limit width for better readability */
    padding: 0 20px;
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Stronger shadow for depth */
    text-align: center;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.auth-header p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.auth-form {
    text-align: right;
}

.auth-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.auth-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Password Input with Toggle Button */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding-left: 45px; /* Space for the toggle button */
}

.toggle-password {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-color);
}

.toggle-password .eye-icon {
    font-size: 1.2rem;
}

/* Terms and Privacy Pages Styles */
.terms-section,
.privacy-section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f9fafb;
    border-radius: var(--border-radius);
    border-right: 4px solid var(--primary-color);
}

.terms-section h2,
.privacy-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.terms-section h3,
.privacy-section h3 {
    color: var(--text-dark);
    margin: 20px 0 12px 0;
    font-size: 1.2rem;
}

.terms-section p,
.privacy-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.terms-section ul,
.privacy-section ul {
    margin-right: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.terms-section li,
.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.terms-section a,
.privacy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.terms-section a:hover,
.privacy-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.intro {
    background-color: #e0f2fe;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    color: #0369a1;
    font-weight: 500;
}

.terms-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label input {
    width: auto;
    margin-left: 10px;
    margin-top: 3px;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: page_desc;
    width: 100%;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.auth-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* --- Alert Messages --- */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    text-align: center;
}

.alert.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #0f0f1a;
    color: #e0e0e0;
    direction: rtl;
    min-height: 100vh;
}

a { color: #ffd700; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }

/* ===== HEADER ===== */
.main-header {
    background: #1a1a2e;
    padding: 15px 0;
    border-bottom: 2px solid #ffd700;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
}

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: #ccc; font-size: 0.95rem; }
.nav-links a:hover { color: #ffd700; }

.btn-small {
    background: #ffd700;
    color: #0f0f1a !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 20px;
    text-align: center;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero .brand { color: #ffd700; }
.hero-sub { font-size: 1.2rem; color: #aaa; margin-bottom: 30px; }

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn {
    background: #ffd700;
    color: #0f0f1a;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}
.btn:hover { background: #ffed4a; text-decoration: none; }
.btn:disabled {
    background: #555;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-outline {
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    background: transparent;
    cursor: pointer;
}
.btn-outline:hover { background: rgba(255,215,0,0.1); text-decoration: none; }

/* ===== SUCCESS STORIES ===== */
.success-stories {
    padding: 60px 20px;
    text-align: center;
    background: #1a1a2e;
}
.success-stories h2 { color: #ffd700; margin-bottom: 30px; font-size: 1.8rem; }

.stories-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.story-box {
    background: #16213e;
    border-radius: 15px;
    padding: 30px;
    min-width: 250px;
    scroll-snap-align: start;
    flex-shrink: 0;
    border: 1px solid #2a2a4a;
}

.story-box .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.story-box h3 { color: #ffd700; margin-bottom: 10px; }

/* ===== FEATURES ===== */
.features {
    padding: 60px 20px;
    text-align: center;
}
.features .title { color: #ffd700; margin-bottom: 40px; font-size: 1.8rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-box {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s;
}
.feature-box:hover { transform: translateY(-5px); border-color: #ffd700; }
.feature-box h3 { color: #ffd700; margin-bottom: 10px; }

/* ===== AUTH PAGES ===== */
.auth-container {
    max-width: 400px;
    margin: 80px auto;
    background: #1a1a2e;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #2a2a4a;
    text-align: center;
}

.auth-container h2 { color: #ffd700; margin-bottom: 25px; }

.auth-container input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #2a2a4a;
    border-radius: 10px;
    background: #0f0f1a;
    color: #e0e0e0;
    font-size: 1rem;
}

.auth-container input:focus { border-color: #ffd700; outline: none; }
.auth-container button { width: 100%; margin-top: 10px; }

.error-msg { color: #ff4444; margin-bottom: 15px; }

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.alert.success {
    background-color: #4CAF50;
    color: white;
}

.alert.error {
    background-color: #f44336;
    color: white;
}

.auth-container form input[type="password"] {
    margin-bottom: 15px;
}

/* ===== DASHBOARD ===== */
.dashboard-header { margin-bottom: 30px; }
.dashboard-header h1 { font-size: 1.8rem; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-3px); }

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.stat-number { font-size: 2.2rem; font-weight: bold; color: #ffd700; }
.stat-label { color: #888; margin-top: 5px; }

.dashboard-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ===== TASKS ===== */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.task-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s;
}
.task-card:hover { transform: translateY(-3px); border-color: #ffd700; }

.task-platform { font-size: 1.2rem; margin-bottom: 8px; }
.task-card h3 { color: #ffd700; margin-bottom: 10px; }
.reward { color: #4ade80; font-weight: bold; margin: 10px 0; }

.done-badge {
    display: inline-block;
    background: #065f46;
    color: #4ade80;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.task-hint {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Progress bar */
.progress-bar {
    background: #2a2a4a;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4a);
    border-radius: 10px;
    transition: width 0.5s;
}

.status-badge { font-size: 0.85rem; }

.btn-delete {
    background: #dc2626;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-delete:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

/* ===== TASK FORM ===== */
.task-form {
    max-width: 500px;
    background: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #2a2a4a;
}

.task-form label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    margin-top: 15px;
}

.task-form select,
.task-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2a2a4a;
    border-radius: 10px;
    background: #0f0f1a;
    color: #e0e0e0;
    font-size: 1rem;
}

.task-form select:focus,
.task-form input:focus { border-color: #ffd700; outline: none; }

.cost-info { color: #ffd700; margin: 15px 0; font-weight: bold; }

.task-form button { margin-top: 20px; width: 100%; }

/* ===== ALERTS ===== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}
.alert.success { background: #065f46; color: #4ade80; border: 1px solid #4ade80; }
.alert.error { background: #450a0a; color: #f87171; border: 1px solid #f87171; }
.alert.info { background: #1e3a5f; color: #60a5fa; border: 1px solid #60a5fa; }

/* ===== TABLE ===== */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a2e;
    border-radius: 15px;
    overflow: hidden;
}

.styled-table th {
    background: #16213e;
    color: #ffd700;
    padding: 12px 15px;
    text-align: right;
}

.styled-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #2a2a4a;
}

.points-plus { color: #4ade80; font-weight: bold; }
.points-minus { color: #f87171; font-weight: bold; }

/* ===== FOOTER ===== */
.main-footer {
    background: #1a1a2e;
    text-align: center;
    padding: 20px;
    color: #666;
    border-top: 1px solid #2a2a4a;
    margin-top: 50px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-container { 
        flex-direction: column; 
        gap: 15px;
        padding: 10px 15px;
    }
    .nav-links { 
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .nav-links a {
        padding: 8px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255,215,0,0.1);
    }
    .lang-switcher {
        width: 100%;
        text-align: center;
    }
    .lang-btn {
        display: inline-block;
        padding: 8px 20px;
    }
    .hero h1 { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero { padding: 50px 15px; }
}
.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
.stats {
    margin: 40px auto;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}

.stat-box {
    background: #fff;
    width: 200px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-8px);
}

.stat-box .number {
    font-size: 32px;
    font-weight: bold;
    color: #0066ff;
}

.stat-box .label {
    font-size: 18px;
    color: #555;
}

/* ===== SPECIAL TASK ===== */
.task-card.special-task {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    border: 2px solid #ff3333;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.task-card.special-task::before {
    content: 'ðŸ”¥ Ù…Ù‡Ù…Ø© Ø®Ø§ØµØ©';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.task-card.special-task:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5);
    border-color: #ff6666;
}

.task-card.special-task .task-platform {
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
}

.task-card.special-task h3 {
    color: #fff;
    font-size: 1.4rem;
}

.task-card.special-task p {
    color: #fff;
}

.task-card.special-task .reward {
    color: #ffeb3b;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== ABOUT PAGE ===== */
.page-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-section h1 {
    color: #ffd700;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.page-section h2 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid #0f3460;
}

.about-hero h2 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-hero p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: #0f0f1a;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
}

.about-section {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #2a2a4a;
}

.about-section h2 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-section p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    background: #0f0f1a;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.value-card p {
    color: #ccc;
    font-size: 0.95rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step-card {
    background: #0f0f1a;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ffd700;
    color: #0f0f1a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
    margin-top: 10px;
}

.step-card p {
    color: #ccc;
    font-size: 0.95rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.platform-card {
    background: #0f0f1a;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.platform-card.youtube:hover {
    border-color: #ff0000;
}

.platform-card.tiktok:hover {
    border-color: #00f2ea;
}

.platform-card.instagram:hover {
    border-color: #e1306c;
}

.platform-card.facebook:hover {
    border-color: #1877f2;
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.platform-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.platform-card p {
    color: #ccc;
    font-size: 0.95rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #0f0f1a;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-item h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.feature-item p {
    color: #ccc;
    font-size: 0.95rem;
}

/* ===== LANDING PAGE ENHANCEMENTS ===== */

/* Hero Section Enhancements */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .brand {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-sub {
    font-size: 1.3rem;
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.hero-stat .stat-label {
    color: #888;
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-primary {
    background: #ffd700;
    color: #0f0f1a;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #ffed4a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

.trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trust-badges span {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #888;
    font-size: 1.1rem;
}

/* Success Stories Enhancements */
.story-box {
    background: #16213e;
    border-radius: 15px;
    padding: 30px;
    min-width: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
    border: 1px solid #2a2a4a;
    transition: all 0.3s ease;
}

.story-box:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.story-box .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.story-box h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.story-box p {
    color: #ccc;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #2a2a4a;
}

.user-avatar {
    font-size: 1.5rem;
}

.user-name {
    color: #888;
    font-size: 0.9rem;
}

/* Features Enhancements */
.feature-box {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 35px;
    border: 1px solid #2a2a4a;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-box h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-box p {
    color: #ccc;
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: #0f0f1a;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #2a2a4a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ffd700;
    color: #0f0f1a;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.step-card p {
    color: #ccc;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    text-align: center;
}

.cta-content h2 {
    color: #0f0f1a;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: #0f0f1a;
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #0f0f1a;
    color: #ffd700;
}

.cta-buttons .btn-primary:hover {
    background: #1a1a2e;
    color: #ffed4a;
}

/* ===== DASHBOARD ENHANCEMENTS ===== */

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 30px;
}

.user-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.level-icon {
    font-size: 1.5rem;
}

.level-name {
    color: #ffd700;
    font-weight: bold;
}

.level-number {
    color: #888;
    font-size: 0.9rem;
}

/* Motivational Messages */
.motivational-messages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.motivation-card {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid #ffd700;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.motivation-card.level {
    border-right-color: #ffd700;
}

.motivation-card.achievement {
    border-right-color: #4ade80;
}

.motivation-card.streak {
    border-right-color: #f59e0b;
}

.motivation-icon {
    font-size: 2rem;
}

.motivation-card p {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
}

/* Level Progress */
.level-progress-section {
    background: #1a1a2e;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #2a2a4a;
}

.level-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.current-level {
    color: #ffd700;
    font-weight: bold;
}

.next-level {
    color: #888;
    font-size: 0.9rem;
}

.level-progress-bar {
    background: #2a2a4a;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.level-progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4a);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.level-progress-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.current-points {
    color: #888;
}

.progress-percentage {
    color: #ffd700;
    font-weight: bold;
}

/* Stat Cards Enhancement */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-trend {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.8rem;
    color: #888;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 5px;
}

.stat-trend.positive {
    color: #4ade80;
}

/* Dashboard Actions */
.dashboard-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-secondary {
    background: #6366f1;
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Achievements Section */
.achievements-section {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #2a2a4a;
}

.achievements-section h2 {
    color: #ffd700;
    margin-bottom: 20px;
    text-align: center;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.achievement-card {
    background: #0f0f1a;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #2a2a4a;
    transition: all 0.3s ease;
}

.achievement-card.earned {
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.achievement-card.locked {
    opacity: 0.6;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.achievement-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.achievement-card p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.achievement-earned-at {
    color: #4ade80;
    font-size: 0.85rem;
}

.achievement-reward {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.9rem;
}

.view-all-achievements {
    text-align: center;
    margin-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-box.animate,
.step-card.animate,
.story-box.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
/* 🔥 HARD MOBILE RESET */
@media (max-width: 768px){

    /* reset أي positioning خاسر */
    * {
        position: static !important;
        float: none !important;
    }

    body {
        overflow-x: hidden;
    }

    /* header */
    .header, .navbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px;
        padding: 15px;
        text-align: center;
    }

    /* logo */
    .logo {
        font-size: 22px;
    }

    /* nav links */
    .nav-links, .nav-right {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px;
        width: 100%;
    }

    /* buttons */
    .btn, .btn-primary, .btn-outline {
        display: block;
        width: 100%;
        max-width: 250px;
        margin: auto;
        padding: 12px;
        font-size: 15px;
    }

}