:root {
    /* Современная цветовая палитра 2024 */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --secondary-light: #34d399;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --border: #e2e8f0;
    --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-primary);
}

/* Языковой переключатель */
.language-switcher {
    position: fixed;
    top: 1rem;
    right: 2rem;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.language-toggle {
    background: none;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    width: auto;
}

.language-toggle:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.language-toggle i {
    transition: transform 0.3s ease;
}

.language-switcher.open .language-toggle i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    z-index: 1002;
}

.language-switcher.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.language-option:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.language-option.active {
    background: var(--bg-gradient);
    color: var(--text-white);
}

.language-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
}

.flag-en {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zH30z'/%3E%3C/clipPath%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23a)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}

.flag-ru {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Crect width='9' height='6' fill='%23fff'/%3E%3Crect width='9' height='4' y='2' fill='%23003DA5'/%3E%3Crect width='9' height='2' y='4' fill='%23DA291C'/%3E%3C/svg%3E");
}

.flag-es {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 750 500'%3E%3Crect width='750' height='500' fill='%23c60b1e'/%3E%3Crect width='750' height='250' y='125' fill='%23ffc400'/%3E%3C/svg%3E");
}

.flag-pt {
    background-image: url("data:image/svg+xml,%3Csvg width='900' height='600' viewBox='0 0 900 600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='900' height='600' fill='%23f00'/%3E%3Crect width='900' height='300' y='150' fill='%23ff0'/%3E%3Crect width='900' height='150' y='225' fill='%2300f'/%3E%3C/svg%3E");
}

.flag-fr {
    background-image: url("data:image/svg+xml,%3Csvg width='900' height='600' viewBox='0 0 900 600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='600' fill='%23002395'/%3E%3Crect width='300' height='600' x='300' fill='%23fff'/%3E%3Crect width='300' height='600' x='600' fill='%23ed2939'/%3E%3C/svg%3E");
}

.flag-tr {
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1200' height='800' fill='%23e30a17'/%3E%3Ccircle cx='400' cy='400' r='200' fill='%23fff'/%3E%3Ccircle cx='400' cy='400' r='160' fill='%23e30a17'/%3E%3Cpolygon points='400,240 440,320 520,320 460,360 480,440 400,400 320,440 340,360 280,320 360,320' fill='%23fff'/%3E%3C/svg%3E");
}

.flag-it {
    background-image: url("data:image/svg+xml,%3Csvg width='900' height='600' viewBox='0 0 900 600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='600' fill='%23009246'/%3E%3Crect width='300' height='600' x='300' fill='%23fff'/%3E%3Crect width='300' height='600' x='600' fill='%23ce2b37'/%3E%3C/svg%3E");
}

.flag-th {
    background-image: url("data:image/svg+xml,%3Csvg width='900' height='600' viewBox='0 0 900 600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='900' height='100' fill='%23a51931'/%3E%3Crect width='900' height='100' y='100' fill='%23fff'/%3E%3Crect width='900' height='100' y='200' fill='%23a51931'/%3E%3Crect width='900' height='600' y='300' fill='%23fff'/%3E%3Crect width='200' height='600' fill='%2300247d'/%3E%3C/svg%3E");
}

.flag-ar {
    background-image: url("data:image/svg+xml,%3Csvg width='900' height='600' viewBox='0 0 900 600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='900' height='200' fill='%23000'/%3E%3Crect width='900' height='200' y='200' fill='%23fff'/%3E%3Crect width='900' height='200' y='400' fill='%23009363'/%3E%3Crect width='200' height='600' fill='%23c8102e'/%3E%3C/svg%3E");
}

.flag-zh {
    background-image: url("data:image/svg+xml,%3Csvg width='900' height='600' viewBox='0 0 900 600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='900' height='600' fill='%23de2910'/%3E%3Cpolygon points='450,120 500,200 580,200 520,260 540,340 450,300 360,340 380,260 320,200 400,200' fill='%23ffde00'/%3E%3Cpolygon points='450,400 420,320 340,320 400,380 380,460 450,420 520,460 500,380 560,320 480,320' fill='%23ffde00'/%3E%3C/svg%3E");
}

/* Современный хедер */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    color: var(--primary);
    font-size: 1.75rem;
}

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

.header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.header-btn-google:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

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

.header-btn-apple:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-stat i {
    color: var(--accent-light);
    font-size: 1.2rem;
}

.hero-stat .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

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

.hero-btn-white:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.hero-btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.hero-image {
    position: relative;
}

.phone-mockup {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

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


.typewriter-text {
    color: var(--accent-light);
    font-weight: 600;
    min-width: 150px;
    display: inline-block;
}

.typewriter-cursor {
    color: var(--accent-light);
    font-weight: 300;
    animation: blink 1s infinite;
}

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


.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--bg-gradient-2);
    color: var(--text-white);
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Особенности */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 4rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 300px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* растягиваем содержимое по ширине контейнера */
    text-align: center;
    width: 100%;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.feature-animation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
}

.feature-animation svg {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Растягиваем карточку и анимацию на весь размер обертки */
.feature-card-wrapper .feature-card {
    width: 100%;
    height: 100%;
}

.feature-card-wrapper .feature-animation,
.feature-card-wrapper .feature-animation svg {
    width: 100%;
    height: 100%;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--text-white);
    font-size: 1.75rem;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    margin-top: auto;
    padding-top: 1rem;
}

/* Отзывы в стиле Google Play */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonials .section-title {
    color: var(--text-primary);
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #ffc107;
    font-size: 1.5rem;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
    min-width: 0;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.testimonial-source {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.testimonial-rating {
    display: flex;
    gap: 0.1rem;
    margin-bottom: 0.75rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

/* Скачать */
.download-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.download-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

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

.download-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Футер */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-nav {
        gap: 0.5rem;
    }
    
    .header-download-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .header-download-btn span {
        display: none;
    }
    
    .header-download-btn i {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .phone-mockup {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonials-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .rating-summary {
        order: -1;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .feature-animation {
        width: 100%;
        height: 100%;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .feature-animation svg {
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-card {
        min-height: 250px;
    }


    .language-switcher {
        top: 0.5rem;
        right: 1rem;
    }

    .language-dropdown {
        right: 0;
        min-width: 140px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Дополнительные эффекты */
.glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

/* Поддержка RTL для арабского языка */
[dir="rtl"] .language-switcher {
    right: auto;
    left: 2rem;
}

[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .cta-buttons {
    flex-direction: row-reverse;
}


@media (max-width: 768px) {
    [dir="rtl"] .language-switcher {
        left: 1rem;
        right: auto;
    }
}

