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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
                 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #2481cc;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button, .btn {
    display: inline-block;
    padding: 15px 40px;
    background: #2481cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover, .btn:hover {
    background: #1a6ba8;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-primary {
    background: #2481cc;
}

.btn-primary:hover {
    background: #1a6ba8;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f9f9f9;
}

.about h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.about > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #666;
}

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

.feature {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
}

.pricing h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

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

.pricing-card.featured {
    border-color: #2481cc;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2481cc;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 30px;
}

.price .amount {
    font-size: 48px;
    font-weight: bold;
    color: #2481cc;
}

.price .period {
    font-size: 18px;
    color: #666;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 14px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    opacity: 0.7;
}

/* Legal Pages */
.legal-page, .contacts-page {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1, .contacts-page h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.legal-page .date {
    color: #666;
    margin-bottom: 40px;
    display: block;
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.legal-page p, .legal-page ul {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-page ul {
    padding-left: 30px;
}

.legal-page ul li {
    margin-bottom: 10px;
}

/* Contacts */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-method {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
}

.contact-method h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.contact-method a {
    color: #2481cc;
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.company-info {
    margin-top: 60px;
}

.company-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.requisites {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.requisites tr {
    border-bottom: 1px solid #e5e5e5;
}

.requisites td {
    padding: 15px;
    text-align: left;
}

.requisites td:first-child {
    color: #666;
    width: 200px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .nav {
        display: none;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .requisites td:first-child {
        width: 120px;
        font-size: 14px;
    }

    .requisites td {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

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

    .about, .pricing {
        padding: 50px 0;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}
