/* css/header-footer.css - تصميم جديد مع خطوط غير متساوية */
:root {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --secondary: #7c3aed;
    --secondary-dark: #5b21b6;
    --dark: #030014;
    --darker: #01000a;
    --light: #f8f9fa;
    --text-dark: #ffffff;
    --text-light: #94a3b8;
    --text-lighter: #cbd5e1;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(10, 8, 36, 0.8);
    --overlay-bg: rgba(3, 0, 20, 0.95);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(135deg, #030014, #1e1b4b);
}

/* ========================
HEADER / NAVIGATION
======================== */
header {
    background: rgba(3, 0, 20, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

.logo span {
    font-size: 0.7rem;
    color: var(--text-light);
    display: block;
    letter-spacing: 3px;
    font-weight: 400;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--text-dark);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-links a:hover i {
    transform: translateY(-1px);
}

/* Auth Buttons - Desktop */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    color: var(--text-dark);
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-login:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.btn-signup {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

/* User Menu - Desktop */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.user-avatar-container {
    position: relative;
    cursor: pointer;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--glass-bg);
    padding: 2px;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    border-color: var(--secondary);
}

.user-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--success);
    border: 2px solid var(--dark);
    border-radius: 50%;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

/* User Dropdown */
.user-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem;
    min-width: 260px;
    z-index: 2000;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-dropdown.active {
    display: block;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar-small img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-details {
    flex: 1;
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.user-email {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.dropdown-item.logout {
    color: var(--danger);
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ========================
MOBILE MENU - DESIGN جديد
======================== */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    z-index: 1003;
    padding: 0.5rem;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hamburger-icon .line {
    display: block;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
}

/* الخطوط غير المتساوية */
.hamburger-icon .line1 {
    width: 25px;
    transform-origin: 0% 0%;
}

.hamburger-icon .line2 {
    width: 20px;
    margin-left: auto;
    transition: all 0.2s ease;
}

.hamburger-icon .line3 {
    width: 28px;
    transform-origin: 0% 100%;
}

.menu-text {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover .menu-text {
    color: var(--primary);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    backdrop-filter: blur(30px);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: var(--darker);
    border-left: 1px solid var(--border);
    padding: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active .mobile-nav-container {
    transform: translateX(0);
}

/* Mobile Header */
.mobile-nav-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(6, 182, 212, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.close-mobile-menu {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.close-mobile-menu:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    transform: rotate(90deg);
    border-color: var(--danger);
}

/* Mobile Navigation Body */
.mobile-nav-body {
    padding: 1.5rem;
}

.mobile-nav-section {
    margin-bottom: 2rem;
}

.section-title {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding-left: 1rem;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.mobile-nav-item:hover::before {
    transform: translateX(100%);
}

.mobile-nav-item:hover {
    background: rgba(6, 182, 212, 0.05);
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.nav-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-item-content {
    flex: 1;
}

.nav-item-title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.nav-item-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.nav-item-arrow {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .nav-item-arrow {
    transform: translateX(5px);
    color: var(--primary);
}

/* Tools List */
.mobile-tools-list {
    list-style: none;
    padding: 0;
}

.mobile-tool-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-tool-item:hover {
    background: rgba(6, 182, 212, 0.05);
    border-color: var(--primary);
    transform: translateX(5px);
}

.tool-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1rem;
}

.tool-info {
    flex: 1;
}

.tool-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.tool-status {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

/* Mobile Auth Sections */
.mobile-user-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mobile-user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.user-avatar-large img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 3px solid var(--primary);
    object-fit: cover;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.user-info-mobile h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.user-email-mobile {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.user-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.user-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.user-action-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.user-action-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.user-action-btn span {
    font-size: 0.85rem;
    font-weight: 600;
}

.logout-btn-mobile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: var(--danger);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.logout-btn-mobile:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

/* Mobile Auth Card */
.mobile-auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.mobile-auth-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.mobile-auth-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-buttons-mobile {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    color: var(--text-dark);
}

.login-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.signup-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.auth-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.feature i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature span {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Mobile Footer */
.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.social-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.social-section h4 {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon.twitter {
    background: linear-gradient(135deg, #1da1f2, #1a91da);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5, #00669c);
}

.social-icon:hover {
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.copyright {
    text-align: center;
    margin-top: 1.5rem;
}

.copyright p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0.3rem 0;
}

.copyright .tagline {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================
FOOTER
======================== */
footer {
    background: var(--darker);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-section p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-section ul li a i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links .social-icon:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-dark);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.newsletter-form button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ========================
RESPONSIVE
======================== */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .desktop-nav {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .navbar {
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }
    
    .mobile-nav-container {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-container {
        max-width: 100%;
        border-left: none;
    }
    
    .user-stats {
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--dark);
        color: var(--text-dark);
    }
}