/* ===== VARIABLES ===== */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1629;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(79, 142, 247, 0.4);
    --text-primary: #f0f4ff;
    --text-secondary: #8899bb;
    --text-muted: #556688;
    --accent-blue: #4f8ef7;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;
    --gradient: linear-gradient(135deg, #4f8ef7, #8b5cf6);
    --gradient-glow: linear-gradient(135deg, rgba(79,142,247,0.2), rgba(139,92,246,0.2));
    --nav-bg: rgba(10, 14, 26, 0.85);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(79, 142, 247, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-primary: #f0f4ff;
    --bg-secondary: #e8eeff;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border: rgba(79, 142, 247, 0.15);
    --border-hover: rgba(79, 142, 247, 0.4);
    --text-primary: #0f1629;
    --text-secondary: #3a4a6b;
    --text-muted: #6b7db8;
    --nav-bg: rgba(240, 244, 255, 0.9);
    --shadow: 0 8px 32px rgba(79, 142, 247, 0.12);
    --shadow-glow: 0 0 30px rgba(79, 142, 247, 0.1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    direction: rtl;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
    min-height: 100vh;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: float 15s ease-in-out infinite;
}

.orb-1 {
    width: 600px; height: 600px;
    background: #4f8ef7;
    top: -200px; right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px; height: 500px;
    background: #8b5cf6;
    bottom: -100px; left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px; height: 400px;
    background: #06b6d4;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

[data-theme="light"] .orb { opacity: 0.06; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.particles { position: absolute; inset: 0; }
.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh); }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-100px); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 70px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 22px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: monospace;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
    background: rgba(79, 142, 247, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 64px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 6px;
    justify-content: space-between;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--border-hover); }

.toggle-icon { font-size: 14px; z-index: 1; }

.toggle-thumb {
    position: absolute;
    width: 24px; height: 24px;
    background: var(--gradient);
    border-radius: 50%;
    right: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(79, 142, 247, 0.4);
}

[data-theme="light"] .toggle-thumb {
    transform: translateX(32px);
    right: auto;
    left: 4px;
}

/* Wait, let me fix toggle positioning for RTL */
[data-theme="dark"] .toggle-thumb { right: 4px; left: auto; transform: none; }
[data-theme="light"] .toggle-thumb { left: 4px; right: auto; transform: none; }

.nav-user { display: flex; gap: 8px; align-items: center; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 142, 247, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 142, 247, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 1.5px solid var(--accent-blue);
}

.btn-outline:hover {
    background: rgba(79, 142, 247, 0.1);
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover { background: var(--bg-card-hover); }

.btn-white {
    background: white;
    color: #0f1629;
    font-weight: 700;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-full { width: 100%; }

/* ===== MESSAGES ===== */
.messages-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 500px;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    backdrop-filter: blur(20px);
    animation: slideDown 0.3s ease;
    border: 1px solid;
}

@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.alert-success { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); color: #10b981; }
.alert-error { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); color: #ef4444; }
.alert-info { background: rgba(79, 142, 247, 0.15); border-color: rgba(79, 142, 247, 0.3); color: var(--accent-blue); }
.alert-close { background: none; border: none; cursor: pointer; font-size: 18px; color: inherit; opacity: 0.7; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5% 60px;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(79, 142, 247, 0.1);
    border: 1px solid rgba(79, 142, 247, 0.25);
    border-radius: 50px;
    font-size: 14px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat { text-align: center; }

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Code Window */
.hero-visual {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.code-window {
    background: rgba(15, 22, 41, 0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow), var(--shadow-glow);
    backdrop-filter: blur(20px);
}

[data-theme="light"] .code-window {
    background: rgba(10, 14, 26, 0.92);
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.window-title { margin-right: auto; font-size: 13px; color: var(--text-muted); font-family: monospace; }

.code-content { padding: 20px; font-family: 'Courier New', monospace; }

.code-line {
    font-size: 14px;
    line-height: 1.9;
    direction: ltr;
}

.c-tag { color: #569cd6; }
.c-attr { color: #9cdcfe; }
.c-str { color: #ce9178; }
.c-comment { color: #6a9955; }

.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: var(--accent-blue);
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.floating-badge {
    position: absolute;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-html { background: #e44d26; top: -20px; right: 40px; animation-delay: 0s; }
.badge-css { background: #264de4; top: -20px; left: 40px; animation-delay: -0.7s; }
.badge-js { background: #f7df1e; color: #000; bottom: -20px; right: 60px; animation-delay: -1.4s; }
.badge-dj { background: #092e20; bottom: -20px; left: 60px; animation-delay: -2.1s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(79, 142, 247, 0.1);
    border: 1px solid rgba(79, 142, 247, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2, .section-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 14px;
}

.section-header p { color: var(--text-secondary); font-size: 16px; }

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li { font-size: 14px; color: var(--text-secondary); }

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.portfolio-grid-full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.portfolio-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary);
}

.portfolio-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img { transform: scale(1.08); }

.portfolio-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gradient-glow);
}

.portfolio-placeholder span { font-size: 48px; }
.portfolio-placeholder p { color: var(--text-secondary); font-size: 14px; }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-info { padding: 20px; }

.portfolio-cat {
    font-size: 12px;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-info h3 { font-size: 18px; font-weight: 700; margin: 8px 0; }
.portfolio-info p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tech-tag {
    padding: 4px 12px;
    background: rgba(79, 142, 247, 0.1);
    border: 1px solid rgba(79, 142, 247, 0.2);
    border-radius: 50px;
    font-size: 12px;
    color: var(--accent-blue);
    font-weight: 500;
}

.section-cta { text-align: center; margin-top: 48px; }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: var(--gradient);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}

.cta-content { flex: 1; }
.cta-content h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: white; margin-bottom: 12px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.cta-rocket { font-size: 80px; animation: rocketFloat 3s ease-in-out infinite; }

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content .section-label { display: inline-block; }
.about-content h2 { font-size: 36px; font-weight: 800; margin: 16px 0; }
.about-content > p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; }

.about-features { display: flex; flex-direction: column; gap: 20px; }

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: rgba(79, 142, 247, 0.1);
    border: 1px solid rgba(79, 142, 247, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feature p { color: var(--text-secondary); font-size: 14px; }

.about-tech {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: blur(10px);
}

.about-tech h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(79, 142, 247, 0.06);
    border: 1px solid rgba(79, 142, 247, 0.1);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(79, 142, 247, 0.12);
    border-color: rgba(79, 142, 247, 0.25);
    transform: translateY(-2px);
}

/* ===== AUTH ===== */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px 60px;
    position: relative;
    z-index: 1;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    align-items: center;
}

.auth-container-wide { max-width: 1100px; }

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

.auth-header { text-align: center; margin-bottom: 32px; }

.auth-logo {
    font-size: 40px;
    font-weight: 900;
    display: block;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: monospace;
}

.auth-header h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.auth-header p { color: var(--text-secondary); font-size: 15px; }

.auth-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label { font-size: 14px; font-weight: 600; color: var(--text-primary); }

.form-input,
.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(79, 142, 247, 0.06);
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.12);
}

[data-theme="light"] .form-input,
[data-theme="light"] .auth-form input,
[data-theme="light"] .auth-form select,
[data-theme="light"] .auth-form textarea {
    background: rgba(255,255,255,0.8);
}

.form-hint { font-size: 12px; color: var(--text-muted); }
.form-error { font-size: 12px; color: var(--accent-red); font-weight: 500; }

.auth-footer { text-align: center; margin-top: 24px; color: var(--text-secondary); font-size: 14px; }
.auth-link { color: var(--accent-blue); font-weight: 600; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }

.auth-visual { display: flex; justify-content: center; }

.auth-illustration {
    text-align: center;
    padding: 40px;
}

.lock-animation {
    font-size: 80px;
    animation: iconBounce 2s ease-in-out infinite;
    display: block;
    margin-bottom: 24px;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.auth-illustration h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.auth-illustration p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }

.auth-benefits, .auth-steps { display: flex; flex-direction: column; gap: 12px; }

.benefit {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.auth-steps { gap: 0; }

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.step:last-child { border-bottom: none; }
.step.active { color: var(--accent-blue); }

.step-num {
    width: 28px; height: 28px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.submit-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(79, 142, 247, 0.08);
    border: 1px solid rgba(79, 142, 247, 0.2);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.submit-note span { font-size: 24px; }
.submit-note p { color: var(--text-secondary); }

.form-actions { display: flex; gap: 12px; }

/* ===== DASHBOARD ===== */
.dashboard-section {
    padding: 90px 0 60px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.dash-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar {
    width: 60px; height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.dashboard-header h1 { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.dashboard-header p { color: var(--text-secondary); font-size: 14px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }

.stat-icon { font-size: 32px; }

.stat-count {
    display: block;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.stat-title { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.stat-pending .stat-count { color: var(--accent-yellow); }
.stat-approved .stat-count { color: var(--accent-green); }
.stat-completed .stat-count { color: var(--accent-cyan); }
.stat-total .stat-count { color: var(--accent-blue); }

.projects-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

.section-header-sm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-header-sm h2 { font-size: 20px; font-weight: 700; }

.projects-list { display: flex; flex-direction: column; gap: 16px; }

.project-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    align-items: flex-start;
}

.project-item:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }

.project-icon { font-size: 28px; flex-shrink: 0; }

.project-info { flex: 1; }
.project-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.project-info p { color: var(--text-secondary); font-size: 13px; line-height: 1.6; margin-bottom: 10px; }

.project-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.project-meta span { font-size: 12px; color: var(--text-muted); }

.project-status { flex-shrink: 0; text-align: left; }

.status-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-pending { background: rgba(245,158,11,0.15); color: var(--accent-yellow); }
.status-reviewing { background: rgba(59,130,246,0.15); color: #3b82f6; }
.status-contacted { background: rgba(139,92,246,0.15); color: var(--accent-purple); }
.status-approved { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.status-rejected { background: rgba(239,68,68,0.15); color: var(--accent-red); }
.status-completed { background: rgba(6,182,212,0.15); color: var(--accent-cyan); }

.admin-note {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(79,142,247,0.06);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.empty-projects {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-icon { font-size: 60px; display: block; margin-bottom: 20px; }
.empty-projects h3 { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.empty-projects p { margin-bottom: 24px; }

.info-banner {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(79,142,247,0.08);
    border: 1px solid rgba(79,142,247,0.2);
    border-radius: var(--radius-sm);
}

.info-icon { font-size: 24px; flex-shrink: 0; }
.info-banner strong { display: block; margin-bottom: 4px; }
.info-banner p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(79,142,247,0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty-state span { font-size: 60px; display: block; margin-bottom: 16px; }
.empty-state h2 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
    padding: 60px 0 0;
}

.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; margin: 16px 0 24px; }

.social-links { display: flex; gap: 12px; }

.social-link {
    width: 40px; height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover { border-color: var(--accent-blue); transform: translateY(-3px); }

.footer-links h4, .footer-contact h4 { font-size: 15px; font-weight: 700; margin-bottom: 20px; }

.footer-links ul, .footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-links a, .footer-contact a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover, .footer-contact a:hover { color: var(--accent-blue); }

.footer-contact li { font-size: 14px; color: var(--text-secondary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal, .reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right { transform: translateX(-30px); }

.reveal.visible, .reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding: 100px 24px 60px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 100%; }
    .about-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }
    .hamburger { display: flex; }
    .auth-container { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-card { flex-direction: column; text-align: center; padding: 40px 24px; }
    .cta-visual { display: none; }
    .dashboard-header { flex-direction: column; align-items: flex-start; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .project-item { flex-direction: column; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 32px; }
    .btn-lg { padding: 12px 24px; font-size: 15px; }
}
