/* Основные переменные */
:root {
    --primary: #4a76a8;
    --secondary: #5181b8;
    --accent: #ffa000;
    --light: #f5f5f5;
    --dark: #333333;
    --success: #4bb34b;
    --gray: #e3e3e3;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark);
    background-color: var(--gray);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

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

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

/* Хедер */
header {
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Секция Hero */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    color: white;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero .btn {
    margin-top: 20px;
}

/* Секция Features */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2, 
.pricing h2,
.payment h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
    font-size: 32px;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.feature-card {
    flex: 1 1 300px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Секция Pricing */
.pricing {
    padding: 80px 0;
    background-color: var(--light);
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    flex: 1 1 300px;
    max-width: 350px;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: white;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.pricing-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 24px;
}

.price {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--dark);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    padding: 0 20px;
}

.pricing-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.pricing-features li:before {
    content: "✓";
    color: var(--success);
    position: absolute;
    left: 0;
}

/* Секция Payment */
.payment {
    padding: 80px 0;
    background-color: white;
}

.payment-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.payment-form {
    flex: 1 1 600px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(74, 118, 168, 0.2);
}

.payment-methods {
    margin: 30px 0;
}

.payment-logos {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.payment-logo {
    max-height: 30px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.terms-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.terms-checkbox a {
    color: var(--primary);
}

.payment-info {
    flex: 1 1 300px;
}

.info-card {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: var(--light);
    margin-bottom: 30px;
}

.info-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card p {
    margin-bottom: 10px;
}

.testimonial {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: var(--primary);
    color: white;
    position: relative;
}

.testimonial:before {
    content: """;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    opacity: 0.2;
}

.testimonial p {
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
}

/* Футер */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1 1 300px;
    margin-bottom: 20px;
}

.footer-logo p {
    margin-top: 10px;
    opacity: 0.8;
}

.footer-links {
    flex: 1 1 500px;
    display: flex;
    justify-content: space-around;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .feature-card, 
    .pricing-card {
        flex: 1 1 100%;
    }
    
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .payment-form {
        padding: 20px;
    }
}