/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design tokens: see tokens.css (loaded before this file) */

body {
    font-family: 'IranYekan', 'Segoe UI', Tahoma, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    direction: rtl;
}

body.menu-open {
    overflow: hidden;
}

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

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 12000;
    padding: 12px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    justify-self: start;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.logo-img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--blue-950, #0b1f3a);
    line-height: 1.2;
}

.logo i {
    font-size: 24px;
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    justify-self: center;
    flex-wrap: nowrap;
}

.nav-auth-mobile {
    display: none;
}

.header-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    justify-self: end;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-color);
    color: white;
}

.btn-login {
    background: var(--primary-color);
    color: white !important;
}

.btn-logout {
    color: var(--text-light);
}

.panel-menu-trigger {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.panel-menu-caret {
    font-size: 0.7rem;
    margin-inline-start: 2px;
    transition: transform 0.15s ease;
}

.panel-menu-trigger[aria-expanded="true"] .panel-menu-caret {
    transform: rotate(180deg);
}

.panel-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    padding: 6px;
    z-index: 1200;
}

.panel-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.panel-menu__item:hover {
    background: var(--primary-light);
    color: var(--primary-deeper);
}

.panel-menu__item i {
    width: 16px;
    text-align: center;
    color: var(--primary-color);
}

.panel-switch {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

.panel-switch__label {
    margin: 0;
    padding: 0 4px;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
}

.panel-switch__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.panel-switch__item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: white;
    padding: 60px 16px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Sections */
section {
    padding: 48px 16px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-color);
}

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

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-color);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    color: var(--text-color);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Categories */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.category-card {
    background: var(--bg-color);
    padding: 24px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 140px;
    flex: 0 0 auto;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
    color: var(--text-color);
    border-color: #b6d4f5;
}

.category-card i {
    font-size: 32px;
    color: var(--primary-color);
}

.category-card:hover i {
    color: var(--primary-dark);
}

.category-card span {
    font-size: 14px;
    font-weight: 500;
}

/* How It Works */
.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-color);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 8px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 320px));
    gap: 24px;
    justify-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.project-card {
    background: var(--bg-color);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 320px));
    gap: 24px;
    justify-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.service-card {
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.project-header h3 {
    font-size: 18px;
    color: var(--text-color);
    flex: 1;
}

.project-budget {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.project-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.project-time {
    color: var(--text-light);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-view {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

/* Social Proof */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.testimonial-card {
    background: var(--bg-color);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 4px;
    color: var(--text-color);
}

.rating {
    color: #fbbf24;
    font-size: 14px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat-item {
    background: var(--bg-color);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer — same navy family as heroes/header chrome */
.footer,
.footer-pro {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 56px 16px 24px;
}

.footer .container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3,
.footer-section h4 {
    margin: 0 0 16px;
    color: var(--footer-heading);
    font-size: var(--font-size-base);
    font-weight: 700;
}

.footer-brand h3 {
    font-size: var(--font-size-lg);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.footer-logo img,
.footer-logo .logo-img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo .logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--footer-heading);
}

.footer-section p {
    color: var(--footer-text);
    font-size: 14px;
    margin: 0 0 16px;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a,
.footer-phone,
.footer-email {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: inline-block;
}

.footer-section ul li a:hover,
.footer-phone:hover,
.footer-email:hover {
    color: var(--footer-link-hover);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(151, 157, 172, 0.12);
    border: 1px solid var(--footer-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

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

.footer-bottom p {
    margin: 0;
}

.footer-contact .footer-phone + .footer-email {
    margin-top: 8px;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 32px auto;
    background: var(--bg-color);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    direction: rtl;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    padding: 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-sidebar {
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.dashboard-menu {
    list-style: none;
}

.dashboard-menu li {
    margin-bottom: 8px;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    font-size: 14px;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background: var(--primary-color);
    color: white;
}

.dashboard-menu a.logout-btn:hover {
    background: #ef4444;
    color: white;
}

.dashboard-content {
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.dashboard-title {
    font-size: 24px;
    color: var(--text-color);
}

/* Cards */
.card {
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 18px;
    color: var(--text-color);
}

/* Profile */
.profile-header {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.profile-info h2 {
    margin-bottom: 8px;
    color: var(--text-color);
}

.profile-stats {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.profile-stat {
    text-align: center;
}

.profile-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.profile-stat-label {
    font-size: 12px;
    color: var(--text-light);
}

/* Mobile Responsive - Web App Style */
@media (max-width: 768px) {

    /* Base Mobile Styles */
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    section {
        padding: 24px 12px;
    }

    /* Header Mobile */
    .header {
        padding: 8px 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 12px;
        grid-template-columns: none;
    }

    .logo {
        font-size: 18px;
        justify-self: auto;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 0.98rem;
    }

    .logo i {
        font-size: 20px;
    }

    .header-actions {
        display: none;
    }

    .header-end {
        justify-self: auto;
    }

    .menu-toggle {
        display: block;
        font-size: 22px;
        padding: 8px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        justify-self: auto;
        padding: 60px 24px 24px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 2000;
        pointer-events: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-auth-mobile {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        transition: all 0.3s;
    }

    .nav-menu-close:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }

    .nav-menu-close:active {
        transform: scale(0.9);
    }

    .nav-link {
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        margin-bottom: 8px;
        font-size: 15px;
        justify-content: flex-start;
        cursor: pointer;
    }

    .nav-link span {
        margin-right: auto;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
        pointer-events: none;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Hero Mobile */
    .hero {
        padding: 40px 12px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    /* Sections Mobile */
    .section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Grids Mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .categories-grid {
        justify-content: center;
        gap: 12px;
    }
    
    .category-card {
        min-width: 120px;
        flex: 0 0 auto;
    }

    .category-card {
        padding: 16px 12px;
    }

    .category-card i {
        font-size: 28px;
    }

    .category-card span {
        font-size: 12px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card {
        padding: 16px;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .project-header h3 {
        font-size: 16px;
    }

    .project-budget {
        font-size: 13px;
        padding: 6px 12px;
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 16px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    /* Steps Mobile */
    .steps {
        gap: 16px;
    }

    .step {
        padding: 16px;
        gap: 16px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Dashboard Mobile */
    .dashboard {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .dashboard-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        z-index: 10000;
        border-radius: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 80px 20px 24px;
    }

    .dashboard-sidebar.active {
        right: 0;
    }

    .dashboard-content {
        padding: 16px 12px;
        border-radius: 0;
        box-shadow: none;
        min-height: calc(100vh - 60px);
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 12px;
        margin-bottom: 20px;
    }

    .dashboard-title {
        font-size: 20px;
    }

    .dashboard-header .btn {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px;
    }

    /* Cards Mobile */
    .card {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: var(--radius-sm);
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .card-title {
        font-size: 16px;
    }

    /* Profile Mobile */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .profile-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    /* Forms Mobile */
    .form-container {
        padding: 24px 16px;
        margin: 16px auto;
        border-radius: var(--radius-sm);
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    /* Buttons Mobile */
    .btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .btn-sm {
        padding: 10px 16px;
        font-size: 13px;
    }

    .btn-block {
        width: 100%;
        justify-content: center;
    }

    /* Footer Mobile */
    .footer {
        padding: 32px 12px 16px;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-title {
        font-size: 18px;
    }

    .card-title {
        font-size: 15px;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        width: 56px;
        height: 56px;
        background: var(--primary-color);
        color: white;
        border-radius: 50%;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 999;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.hidden {
    display: none;
}