/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    line-height: 1.5;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #1976d2;
    color: white;
}

.btn-primary:hover {
    background-color: #1565c0;
}

.btn-secondary {
    background-color: transparent;
    color: #1976d2;
    border: 1px solid #1976d2;
}

.btn-secondary:hover {
    background-color: rgba(25, 118, 210, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: #1976d2;
    border: 1px solid #1976d2;
}

.btn-outline:hover {
    background-color: #1976d2;
    color: white;
}

/* Шапка */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 24px;
}

.logo-icon {
    font-size: 28px;
}

.nav ul {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    color: #475569;
    transition: color 0.2s;
}

.nav a:hover {
    color: #1976d2;
}

/* Герой */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e6f0fa 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #0f172a;
}

.hero-content h1 span {
    color: #1976d2;
}

.hero-content p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

.stat-label {
    color: #64748b;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Секция с заголовком */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #0f172a;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Возможности */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    color: #1976d2;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #64748b;
}

/* Как это работает */
.how-it-works {
    padding: 80px 0;
    background-color: #f8fafc;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #1976d2;
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    color: #64748b;
}

/* Тарифы */
.pricing {
    padding: 80px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid #1976d2;
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1976d2;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.price {
    font-size: 36px;
    font-weight: 700;
    margin: 24px 0;
}

.price span {
    font-size: 16px;
    color: #64748b;
    font-weight: 400;
}

.pricing-card ul {
    margin: 24px 0;
}

.pricing-card li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card li i {
    color: #1976d2;
    width: 20px;
}

.pricing-card li.disabled i {
    color: #cbd5e1;
}

.pricing-card li.disabled {
    color: #94a3b8;
}

/* Форма */
.contact {
    padding: 80px 0;
    background-color: #f8fafc;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1976d2;
}

.btn-submit {
    width: 100%;
    font-size: 18px;
    padding: 16px;
}

.form-message {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    color: #10b981;
}

.form-message.error {
    color: #ef4444;
}

/* Футер */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col p {
    color: #94a3b8;
    margin-top: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #94a3b8;
    font-size: 24px;
    transition: color 0.2s;
}

.social-links a:hover {
    color: white;
}

/* Страница входа */
.login-page .coming-soon {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.login-page .coming-soon h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #0f172a;
}

.login-page .coming-soon p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 40px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 20px 0;
    }
    .nav {
        order: 3;
        width: 100%;
        margin-top: 16px;
    }
    .nav ul {
        justify-content: center;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        transform: none;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}