/* Base Styles */
:root {
    --primary-gradient: linear-gradient(90deg, #2146C2 0%, #40B0FF 100%);
    --text-color: #000000;
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --grey-text: #808080;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--bg-color);
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
}

.nav-links a.active {
    font-weight: 600;
}

/* Button Styles */
.gradient-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 17px;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gradient-btn:hover {
    transform: translateY(-2px);
}

.gradient-btn.large {
    padding: 20px 40px;
    font-size: 24px;
    border-radius: 25px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-image img {
    max-width: 300px;
    height: auto;
}

/* Advantages Section */
.advantages {
    padding: 60px 0;
    text-align: center;
}

.advantages h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
    color: var(--grey-text);
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background-color: var(--card-bg);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.advantage-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 16px;
    color: var(--grey-text);
}

/* Subscriptions Section */
.subscriptions {
    padding: 60px 0;
    text-align: center;
}

.subscriptions h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 40px;
}

.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.subscription-card {
    background-color: var(--card-bg);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.subscription-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.subscription-card h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
}

.crossed-price {
    font-size: 16px;
    color: var(--grey-text);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.price {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}

.price span {
    font-size: 18px;
    font-weight: 300;
}

.telegram-card {
    background-color: var(--card-bg);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.telegram-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.telegram-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
}

.benefits-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefits-text {
    flex: 1;
    max-width: 500px;
}

.benefits-text h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.benefits-text p {
    font-size: 18px;
    line-height: 1.6;
}

.benefits-image img {
    max-width: 400px;
    height: auto;
}

/* Footer Styles */
footer {
    background-color: var(--card-bg);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .advantages-grid,
    .subscriptions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 30px;
    }

    .advantages-grid,
    .subscriptions-grid {
        grid-template-columns: 1fr;
    }

    .benefits-content {
        flex-direction: column;
        text-align: center;
    }

    .benefits-text {
        margin-bottom: 30px;
        max-width: 100%;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .gradient-btn.large {
        padding: 15px 30px;
        font-size: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* Добавьте эти стили в конец файла */

/* Выравнивание карточек подписок */
.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.subscription-card, .telegram-card {
    width: 100%;
    max-width: 300px;
}

/* Стили для информации о компании */
.company-info {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--grey-text);
}

/* Плавная прокрутка при нажатии на ссылки */
html {
    scroll-behavior: smooth;
}

/* Адаптация для меньшего количества карточек */
@media (max-width: 1024px) {
    .subscriptions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .subscriptions-grid {
        grid-template-columns: 1fr;
    }
}