@font-face {
    font-family: 'IRANSansX';
    src: url('IRANSansX-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --primary-glow: rgba(13, 148, 136, 0.3);
    --text-dark: #0f172a;
    --text-light: #334155;
    --text-muted: #64748b;
    --bg-page: #f0f4f8;
    --bg-card: rgba(255, 255, 255, 0.75);
    --border-glass: rgba(255, 255, 255, 0.6);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 50px rgba(13, 148, 136, 0.15);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'IRANSansX', 'Vazirmatn', system-ui, -apple-system, sans-serif;
    background: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

.bg-shape-1 {
    width: 600px;
    height: 600px;
    background: #0d9488;
    top: -200px;
    left: -150px;
}

.bg-shape-2 {
    width: 500px;
    height: 500px;
    background: #14b8a6;
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

.bg-shape-3 {
    width: 400px;
    height: 400px;
    background: #0f766e;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

.bg-shape-4 {
    width: 350px;
    height: 350px;
    background: #06b6d4;
    top: 20%;
    right: 10%;
    animation-delay: -3s;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(50px, -30px) scale(1.05) rotate(5deg);
    }

    50% {
        transform: translate(-20px, 40px) scale(0.95) rotate(-3deg);
    }

    75% {
        transform: translate(-40px, -20px) scale(1.02) rotate(2deg);
    }
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 148, 136, 0.3);
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 48px);
    max-width: 1200px;
    border-radius: var(--radius-xl);
    padding: 16px 32px;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    top: 10px;
    box-shadow: var(--shadow-hover);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--text-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 100px;
    left: 24px;
    right: 24px;
    z-index: 999;
    padding: 24px;
    border-radius: var(--radius-lg);
    flex-direction: column;
    gap: 16px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.mobile-link:hover {
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    position: relative;
    z-index: 1;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    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-logo-wrapper {
    margin-bottom: 24px;
}

.hero-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(13, 148, 136, 0.3));
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 500px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.45);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 148, 136, 0.3);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    width: 300px;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.phone-screen {
    background: #1e293b;
    border-radius: 28px;
    padding: 20px;
    min-height: 400px;
}

.phone-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.phone-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #475569;
}

.phone-dot:first-child {
    background: #ef4444;
}

.phone-dot:nth-child(2) {
    background: #f59e0b;
}

.phone-dot:last-child {
    background: #10b981;
}

.phone-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-message {
    background: #0f172a;
    border-radius: 16px;
    padding: 14px;
    border-right: 3px solid var(--primary);
}

.msg-badge {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 8px;
    font-weight: 600;
}

.msg-text {
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1.8;
}

.features-section,
.install-section,
.faq-section {
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

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

.section-badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 14px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-card {
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(20, 184, 166, 0.08));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1300px;
    margin: 0 auto;
    counter-reset: step;
}

.install-card {
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.install-step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(13, 148, 136, 0.1);
    position: absolute;
    top: 16px;
    left: 20px;
    line-height: 1;
}

.install-step-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.install-step-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.install-step-text code {
    background: rgba(13, 148, 136, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--primary);
}

.install-code {
    background: #0f172a;
    color: #e2e8f0;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    position: relative;
    z-index: 1;
}

.install-code code {
    font-family: 'Courier New', monospace;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    font-family: inherit;
    text-align: right;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 28px 22px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

.cta-section {
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.cta-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 28px;
}

.cta-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 36px;
}

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

.footer {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 60px 24px 30px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

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

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

.footer-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .hero-phone {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .navbar {
        top: 10px;
        width: calc(100% - 32px);
        padding: 14px 20px;
        border-radius: var(--radius-lg);
    }

    .hero {
        padding: 110px 16px 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .features-section,
    .install-section,
    .faq-section {
        padding: 60px 16px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a,
    .footer-contact a {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .hero-phone {
        width: 220px;
    }

    .phone-screen {
        padding: 14px;
    }
}

/* ============================================
   استایل‌های اضافی - منوی چندزبانه و موبایل
   ============================================ */

/* استایل دکمه‌های انتخاب زبان - نسخه دسکتاپ */
.lang-selector {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(13, 148, 136, 0.3);
    cursor: pointer;
    padding: 6px 16px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
    background: #0d9488;
    border-color: #0d9488;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.lang-btn:hover:not(.active) {
    background: #0d9488;
    border-color: #0d9488;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.25);
}

/* استایل منوی موبایل */
.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 20px;
    right: 20px;
    z-index: 999;
    padding: 24px;
    border-radius: 24px;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(13, 148, 136, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    display: flex;
    animation: menuSlideDown 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* لینک‌های منوی موبایل */
.mobile-link {
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(13, 148, 136, 0.05);
    text-align: center;
}

.mobile-link:hover {
    background: #0d9488;
    color: white;
    transform: translateX(-5px);
}

/* دکمه‌های زبان در منوی موبایل */
.mobile-menu .lang-selector {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(13, 148, 136, 0.2);
    justify-content: center;
    gap: 12px;
    margin-right: 0;
}

.mobile-menu .lang-btn {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.25);
    padding: 8px 18px;
    font-size: 0.85rem;
    color: #0f172a;
}

.mobile-menu .lang-btn.active {
    background: #0d9488;
    border-color: #0d9488;
    color: white;
}

.mobile-menu .lang-btn:hover:not(.active) {
    background: #0d9488;
    color: white;
}

/* دکمه همبرگر منوی موبایل */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* استایل اسکرول شده نوار ناوبری */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .lang-selector {
        margin-right: 0;
        margin-left: auto;
        gap: 6px;
    }

    .lang-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .mobile-menu {
        top: 80px;
        left: 16px;
        right: 16px;
        padding: 20px;
    }

    .mobile-link {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    .mobile-menu .lang-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .lang-btn {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .mobile-menu {
        top: 75px;
        padding: 16px;
    }

    .mobile-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* ============================================
   استایل پرچم‌های SVG
   ============================================ */

.flag-icon {
    display: inline-block;
    width: 22px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* سایز پرچم‌ها در موبایل */
@media (max-width: 768px) {
    .flag-icon {
        width: 18px;
        height: 12px;
        margin-left: 6px;
    }
}

@media (max-width: 480px) {
    .flag-icon {
        width: 16px;
        height: 11px;
        margin-left: 5px;
    }
}

/* انیمیشن پرچم‌ها هنگام hover */
.lang-btn:hover .flag-icon {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* تنظیم ترتیب دکمه‌ها در حالت RTL (فارسی) */
html[dir="rtl"] .flag-icon {
    margin-left: 0;
    margin-right: 8px;
}

html[dir="rtl"] .lang-btn {
    flex-direction: row-reverse;
}