*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f3f4f6;
    color: #111827;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

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

.section {
    padding: 80px 0;
}

.section-muted {
    background-color: #f9fafb;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-head h2 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16px;
    color: #6b7280;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 250, 252, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 16px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.logo-link img {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover {
    background-color: rgba(148, 163, 184, 0.15);
    color: #111827;
}

/* Login button */

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background-color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    color: #111827;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
}

.login-btn:hover {
    background-color: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.login-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    position: relative;
}

.login-icon::before {
    content: "";
    position: absolute;
    inset: 3px 3px 9px;
    border-radius: 999px 999px 0 0;
    border-bottom: none;
    border: 1px solid rgba(148, 163, 184, 0.9);
}

.login-icon::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 4px;
    right: 4px;
    height: 4px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease, color 0.1s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #ffffff;
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.55);
    background: linear-gradient(135deg, #4f46e5, #2563eb);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.8);
    color: #1f2937;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.btn-outline:hover {
    background-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.16);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
    background: radial-gradient(circle at top, #dbeafe 0, #e5e7eb 60%, #f3f4f6 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.55), transparent 60%),
                radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.5), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    z-index: 1;
}

.hero-content {
    max-width: 520px;
}

.hero-tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.08);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
    color: #020617;
}

.hero-subtitle {
    font-size: 16px;
    color: #374151;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    color: #4b5563;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Hero visual */

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-phone {
    width: 280px;
    max-width: 100%;
    background: linear-gradient(145deg, #111827, #020617);
    padding: 10px 10px 16px;
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.7);
    position: relative;
}

.hero-phone::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 6px;
    border-radius: 999px;
    background-color: #0f172a;
}

.hero-phone img {
    display: block;
    border-radius: 26px;
    width: 100%;
    height: auto;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.stat-item {
    min-width: 100px;
    padding: 10px 12px;
    background-color: rgba(248, 250, 252, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
}

/* Features */

.features-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    grid-auto-rows: 1fr;
    gap: 20px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    align-items: center;
    gap: 18px;
}

.feature-wide {
    grid-column: span 2;
}

.feature-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 8px;
}

.feature-text ul {
    list-style: disc;
    padding-left: 18px;
    font-size: 13px;
    color: #6b7280;
}

.feature-text li + li {
    margin-top: 4px;
}

.feature-image {
    text-align: right;
}

.feature-image img {
    max-width: 220px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.25);
}

.feature-image.small img {
    max-width: 170px;
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-item {
    background-color: #ffffff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.step-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-item p {
    font-size: 14px;
    color: #4b5563;
}

/* Pricing */

.pricing-card {
    max-width: 720px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 26px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
    padding: 28px 26px 26px;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-header p {
    font-size: 14px;
    color: #6b7280;
}

.pricing-body {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.6fr);
    gap: 20px;
    margin-top: 20px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 6px;
}

.price-currency {
    font-size: 20px;
    font-weight: 500;
}

.price-value {
    font-size: 34px;
    font-weight: 700;
}

.price-period {
    font-size: 14px;
    color: #6b7280;
}

.price-description {
    font-size: 14px;
    color: #4b5563;
}

.pricing-list h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.pricing-list ul {
    list-style: disc;
    padding-left: 18px;
    font-size: 13px;
    color: #6b7280;
}

.pricing-list li + li {
    margin-top: 4px;
}

.pricing-footer {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-note {
    font-size: 12px;
    color: #6b7280;
}

/* Reviews */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.review-card {
    background-color: #ffffff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #a855f7, #6366f1);
}

.review-name {
    font-size: 14px;
    font-weight: 600;
}

.review-role {
    font-size: 12px;
    color: #6b7280;
}

.review-text {
    font-size: 13px;
    color: #4b5563;
}

/* FAQ */

.faq-grid {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 14px 18px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "▾";
    font-size: 10px;
    margin-left: 10px;
    color: #9ca3af;
}

.faq-item[open] summary::after {
    content: "▴";
}

.faq-item p {
    margin-top: 8px;
    font-size: 13px;
    color: #4b5563;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.contact-list {
    margin: 16px 0;
    padding-left: 18px;
    list-style: disc;
    font-size: 14px;
    color: #4b5563;
}

.contact-list li + li {
    margin-top: 4px;
}

.contact-link {
    font-size: 14px;
    color: #4b5563;
}

.contact-link a {
    color: #2563eb;
}

.contact-form {
    background-color: #ffffff;
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.contact-form-head h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.contact-form-head p {
    font-size: 13px;
    color: #6b7280;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
    font-size: 13px;
}

.field span {
    color: #4b5563;
}

.field input,
.field textarea {
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
    background-color: #f9fafb;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4);
    background-color: #ffffff;
}

.form-note {
    margin-top: 10px;
    font-size: 11px;
    color: #9ca3af;
}

.form-note.small {
    margin-top: 8px;
}

/* Footer */

.footer {
    background-color: #020617;
    color: #e5e7eb;
    padding-top: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 28px;
    padding-bottom: 24px;
}

.footer-logo .logo-link span {
    color: #f9fafb;
}

.footer-text {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 12px;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    font-size: 13px;
}

.footer-links li + li {
    margin-top: 4px;
}

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

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

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 10px 0 14px;
    margin-top: 4px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: #6b7280;
}

.footer-bottom-inner a {
    color: #9ca3af;
}

/* Modal */

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 70;
    padding: 16px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    position: relative;
    background-color: #f9fafb;
    border-radius: 22px;
    padding: 22px 22px 20px;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.5);
}

.modal-header h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 13px;
    color: #6b7280;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #9ca3af;
}

.login-form {
    margin-top: 14px;
}

/* Responsive */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-card {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    }

    .feature-wide {
        grid-column: span 1;
    }

    .steps-grid,
    .reviews-grid,
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid,
    .pricing-body {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .header-inner {
        gap: 12px;
    }

    .nav {
        display: none; /* при желании можно заменить на бургер-меню */
    }

    .hero {
        padding-top: 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .features-grid,
    .steps-grid,
    .reviews-grid,
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 60px 0;
    }
}