/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #00a8ff;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --bg-light-alt: #fafbfc;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхний баннер со скидкой */
.top-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.top-banner #countdown {
    font-weight: 700;
    color: #ffd700;
}

/* Шапка */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.language-option:hover {
    border-color: var(--primary-color);
}

.language-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.language-text {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.language-dropdown-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0066cc;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.language-dropdown-btn:hover {
    background: #0052a3;
}

.language-dropdown-btn i {
    font-size: 10px;
    margin: 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Главный баннер */
.hero {
    background-image: url('https://www.aeroadmin.com/images/remote-desktop-software-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.hero-short-domain {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ffd700;
    font-weight: 600;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-description h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.hero-description p {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.feature-badge span {
    color: #4ade80;
    font-weight: 700;
    margin-right: 8px;
}

.hero-actions {
    margin: 40px 0;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--success-color);
    color: white;
}

.btn-primary:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

.btn i {
    margin-right: 8px;
}

.os-support {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.os-item {
    font-size: 16px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-item span {
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.os-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* Секции */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 40px;
}

.description {
    background: var(--bg-white);
}

.description p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Применение */
.use-cases {
    background: var(--bg-light);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.use-case-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.use-case-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.use-case-card ul {
    list-style: none;
}

.use-case-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.use-case-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Преимущества */
.advantages {
    background-image: url('https://www.aeroadmin.com/images/section_blue.jpg');
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Возможности */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.features-column ul {
    list-style: none;
}

.features-column li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.features-column li:last-child {
    border-bottom: none;
}

/* Скриншоты - Карусель */
.screenshot-block {
    background-image: url('https://www.aeroadmin.com/images/section_light_grey.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-white);
    padding: 60px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-10 {
    width: 83.333333%;
    padding: 0 15px;
}

.col-md-offset-1 {
    margin-left: 8.333333%;
}

.text-center {
    text-align: center;
    margin-bottom: 40px;
}

.text-center h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.text-center h3 {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 400;
}

/* Карусель */
.carousel-container {
    position: relative;
    margin-top: 40px;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.carousel-stage {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.5s;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item .item {
    padding: 20px;
    text-align: center;
}

.carousel-item .item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.carousel-item .item p {
    margin: 0;
}

/* Управление каруселью */
.carousel-controls {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.carousel-nav {
    display: flex;
    gap: 15px;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-weight: bold;
    line-height: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-prev:active,
.carousel-next:active {
    transform: scale(0.95);
}

.carousel-prev:disabled,
.carousel-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-prev:disabled:hover,
.carousel-next:disabled:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: scale(1);
}

/* Точки навигации */
.carousel-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.carousel-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Как работает */
.how-it-works {
    background: var(--bg-light);
}

.how-it-works p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Контакты */
.contacts {
    background: var(--bg-white);
    padding: 60px 0;
}

.contacts h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--text-color);
}

.contacts-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 30px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.contacts-intro h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contacts-intro p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.contacts-intro p:last-child {
    margin-bottom: 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

.contact-note {
    color: #ff6b35;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: normal;
}

.contact-info {
    margin: 15px 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-icon-small {
    font-size: 16px;
    color: #666;
    display: inline-block;
}

.contact-link {
    margin-top: 15px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-details {
    color: var(--text-color);
    line-height: 1.8;
}

.contact-details p {
    margin: 8px 0;
}

.contact-details strong {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

/* Скачать */
.download {
    background-image: url('https://www.aeroadmin.com/images/section_dark_grey.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2c3e50;
    color: white;
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.85);
    z-index: 0;
}

.download .container {
    position: relative;
    z-index: 1;
}

.download h2 {
    color: white;
}

.download .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.download-info {
    margin-top: 20px;
    opacity: 0.9;
    font-size: 14px;
}

/* Футер */
.footer {
    background-image: url('https://www.aeroadmin.com/images/section_dark_grey.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.85);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section > a {
    display: inline-block;
    text-decoration: none;
}

.footer-logo {
    height: 35px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description h3 {
        font-size: 24px;
    }

    section h2 {
        font-size: 28px;
    }

    .use-cases-grid,
    .advantages-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 32px;
    }

    .footer-logo {
        height: 28px;
    }

    .os-support {
        flex-direction: column;
        gap: 15px;
    }

    .col-md-10 {
        width: 100%;
    }

    .col-md-offset-1 {
        margin-left: 0;
    }

    .text-center h2 {
        font-size: 28px;
    }

    .text-center h3 {
        font-size: 16px;
    }

    .carousel-item .item {
        padding: 10px;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 25px;
    }

    .contacts h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }

    section {
        padding: 40px 0;
    }
}

