/* EVA VPN Landing Page - Деловой стиль */
/* Основные переменные цветов */
:root {
    --primary-color: #16213e;
    --secondary-color: #1a1a2e;
    --accent-color: #e94560;
    --success-color: #00d4aa;
    --warning-color: #ff9500;
    --text-primary: #1a1a2e;
    --text-secondary: #666;
    --text-light: #999;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e1e5e9;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b7a 100%);
;}

/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
;}

html {
    scroll-behavior: smooth;
    font-size: 16px;
;}

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

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
;}

/* Языковой переключатель */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
;}

.lang-dropdown {
    position: relative;
    display: inline-block;
;}

.lang-button {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
;}

.lang-button:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
;}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    min-width: 150px;
    z-index: 1001;
;}

.lang-dropdown:hover .lang-menu {
    display: block;
;}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
;}

.lang-option:hover,
.lang-option.active {
    background: var(--bg-secondary);
;}

.lang-option:first-child {
    border-radius: 6px 6px 0 0;
;}

.lang-option:last-child {
    border-radius: 0 0 6px 6px;
;}

/* Главный экран */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
;}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
;}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
;}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e6ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
;}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.5;
;}

.hero-features {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
;}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
;}

.feature-icon {
    font-size: 1.2em;
;}

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

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    min-width: 200px;
;}

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

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

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
;}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
;}

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

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
;}

.hero-visual {
    text-align: center;
;}

.hero-visual img {
    max-width: 100%;
    height: auto;
;}

/* Преимущества */
.advantages {
    padding: 100px 0;
    background: var(--bg-primary);
;}

.advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
;}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
;}

.advantage-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
;}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
;}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
;}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
;}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
;}

/* Социальное доказательство */
.social-proof {
    background: var(--bg-secondary);
    padding: 80px 0;
;}

.social-proof h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
;}

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
;}

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

/* Платформы */
.platforms {
    padding: 100px 0;
    background: var(--bg-primary);
;}

.platforms h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
;}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
;}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
;}

.platform-item:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
;}

.platform-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
;}

.platform-item span {
    font-weight: 500;
    color: var(--text-primary);
;}

.platform-cta {
    text-align: center;
;}

/* Как использовать */
.how-to {
    background: var(--bg-secondary);
    padding: 100px 0;
;}

.how-to h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
;}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
;}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
;}

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

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
;}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
;}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--bg-primary);
;}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
;}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
;}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
;}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
;}

.faq-question:hover {
    background: var(--bg-secondary);
;}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
;}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    transition: transform 0.3s ease;
;}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
;}

.faq-answer {
    padding: 0 24px 24px;
    background: var(--bg-secondary);
    display: none;
;}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
;}

.faq-item.active .faq-answer {
    display: block;
;}

/* Финальный CTA */
.final-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
;}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
;}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
;}

/* Футер */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
;}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
;}

.footer-logo img {
    margin-bottom: 16px;
;}

.footer-logo p {
    opacity: 0.8;
    margin: 0;
;}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
;}
    
    .hero-text h1 {
        font-size: 2.8rem;
;}
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
;}
;}

@media (max-width: 768px) {
    .lang-switcher {
        top: 10px;
        right: 10px;
;}
    
    .hero {
        padding: 80px 0 60px;
;}
    
    .hero-text h1 {
        font-size: 2.2rem;
;}
    
    .hero-subtitle {
        font-size: 1.1rem;
;}
    
    .hero-features {
        justify-content: center;
;}
    
    .cta-buttons {
        justify-content: center;
;}
    
    .btn {
        min-width: 180px;
        padding: 14px 28px;
;}
    
    .advantages,
    .platforms,
    .how-to,
    .faq {
        padding: 60px 0;
;}
    
    .advantages h2,
    .platforms h2,
    .how-to h2,
    .faq h2,
    .social-proof h2 {
        font-size: 2rem;
;}
    
    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
;}
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
;}
    
    .steps {
        grid-template-columns: 1fr;
;}
    
    .final-cta h2 {
        font-size: 2rem;
;}
;}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
;}
    
    .hero-text h1 {
        font-size: 1.8rem;
;}
    
    .advantages-grid {
        grid-template-columns: 1fr;
;}
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
;}
    
    .stats {
        grid-template-columns: 1fr;
;}
    
    .cta-buttons {
        flex-direction: column;
;}
    
    .btn {
        width: 100%;
;}
;}

/* RTL Поддержка для Farsi */
[dir="rtl"] {
    text-align: right;
;}

[dir="rtl"] .lang-switcher {
    right: auto;
    left: 20px;
;}

[dir="rtl"] .hero-features {
    justify-content: flex-end;
;}

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

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

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

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

.hero-text,
.advantage-card,
.platform-item,
.step,
.faq-item {
    animation: fadeInUp 0.6s ease forwards;
;}

.advantage-card:nth-child(1) { animation-delay: 0.1s; ;}
.advantage-card:nth-child(2) { animation-delay: 0.2s; ;}
.advantage-card:nth-child(3) { animation-delay: 0.3s; ;}
.advantage-card:nth-child(4) { animation-delay: 0.4s; ;}
.advantage-card:nth-child(5) { animation-delay: 0.5s; ;}
.advantage-card:nth-child(6) { animation-delay: 0.6s; ;}

/* Фокус стили для доступности */
.btn:focus,
.lang-button:focus,
.faq-question:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
;}

/* Предзагрузка изображений */
.hero-visual img,
.footer-logo img {
    loading: lazy;
;}

/* Предотвращение CLS */
img {
    height: auto;
    max-width: 100%;
;}