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

body {
    font-family: 'Poppins', sans-serif;
    background: #1E1E2F;
    color: #D4D4D8;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #25253B;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #FBBF24;
    text-transform: uppercase;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    color: #D4D4D8;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav a:hover, .nav a.active {
    color: #60A5FA;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #25253B;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #FBBF24;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 40px;
    color: #FBBF24;
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeIn 1s ease-in;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #A1A1AA;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #60A5FA;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #3B82F6;
    transform: scale(1.05);
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 14px;
    padding: 10px 0;
    color: #A1A1AA;
}

.breadcrumbs a {
    color: #60A5FA;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Table */
.table-section {
    padding: 60px 0;
}

.table-section h2 {
    font-size: 32px;
    color: #FBBF24;
    text-align: center;
    margin-bottom: 30px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #25253B;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #3F3F46;
}

th {
    background: #60A5FA;
    color: #fff;
    font-weight: 600;
}

td {
    color: #D4D4D8;
}

td a {
    color: #60A5FA;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

/* Reviews */
.reviews {
    padding: 60px 0;
}

.reviews h2 {
    font-size: 32px;
    color: #FBBF24;
    text-align: center;
    margin-bottom: 30px;
}

.review-card {
    background: #25253B;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card h3 {
    font-size: 24px;
    color: #60A5FA;
    margin-bottom: 15px;
}

.review-img {
    width: 100%;
    max-width: 800px;
    max-height: 300px; /* Максимальная высота из прошлого запроса */
    height: auto;
    object-fit: contain; /* Сохраняет пропорции */
    border-radius: 8px;
    margin-bottom: 15px;
    margin-right: auto; /* Выравнивание по левому краю */
    display: block; /* Для корректного выравнивания */
}

.review-card p {
    margin-bottom: 15px;
    color: #A1A1AA;
}

.features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.features li {
    background: #3F3F46;
    color: #D4D4D8;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.pros-cons {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.pros-cons ul {
    list-style: disc;
    margin-left: 20px;
    color: #A1A1AA;
}

/* FAQ */
.faq {
    padding: 60px 0;
}

.faq h2 {
    font-size: 32px;
    color: #FBBF24;
    text-align: center;
    margin-bottom: 30px;
}

.faq-item {
    background: #25253B;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item h3 {
    font-size: 18px;
    color: #60A5FA;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3::after {
    content: '+';
    font-size: 24px;
}

.faq-item.active h3::after {
    content: '−';
}

.faq-item p {
    padding: 0 15px 15px;
    display: none;
    color: #A1A1AA;
}

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

/* CTA */
.cta {
    text-align: center;
    padding: 80px 0;
    background: #25253B;
    border-radius: 8px;
}

.cta h2 {
    font-size: 32px;
    color: #FBBF24;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #A1A1AA;
}

/* Footer */
.footer {
    background: #25253B;
    padding: 40px 0;
}

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

.footer h4 {
    font-size: 18px;
    color: #FBBF24;
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
}

.footer a {
    color: #D4D4D8;
    text-decoration: none;
}

.footer a:hover {
    color: #60A5FA;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25253B;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 300px;
}

.cookie-popup p {
    font-size: 14px;
    color: #A1A1AA;
}

.cookie-popup a {
    color: #60A5FA;
}

.cookie-popup .btn {
    padding: 8px 15px;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1, .hero p, .btn {
    animation: fadeIn 1s ease-in;
}

/* Mobile */
@media (max-width: 768px) {
    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #25253B;
        padding: 20px;
    }

    .nav ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .dropdown-content {
        position: static;
        background: none;
        box-shadow: none;
    }

    .hero h1 {
        font-size: 28px;
    }

    .pros-cons {
        flex-direction: column;
    }

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