* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #f8f9fb;
    color: #111827;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;

    max-width: 1180px;

    margin: auto;

    padding: 24px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.brand {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #111827;

    text-decoration: none;

    font-size: 18px;

    font-weight: 700;
}

.brand-logo-placeholder {
    width: 38px;
    height: 38px;

    display: block;
    flex: 0 0 38px;
}

.brand img {
    width: 38px;
    height: 38px;

    object-fit: contain;

    border-radius: 8px;
}

.features-link {
    color: #6b7280;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}

.features-link:hover {
    color: #111827;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 530px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        55px 25px
        65px;

    text-align: center;
}

.hero-content {
    max-width: 760px;

    margin: auto;
}

.badge {
    display: inline-block;

    margin-bottom: 22px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #6b7280;
}

h1 {
    margin: 0;

    font-size: clamp(22px, 6vw, 68px);

    line-height: 1.02;

    letter-spacing: -3.5px;

    font-weight: 800;
}

h1 span {
    display: block;

    color: #477deb;
}

.subtitle {
    max-width: 610px;

    margin:
        25px auto
        30px;

    color: #6b7280;

    font-size: 17px;

    line-height: 1.65;
}


/* =========================
   GET STARTED BUTTON
========================= */

.get-started-button {
    border: none;

    padding: 14px 28px;

    border-radius: 10px;

    background: #3b61b3;

    color: white;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(17, 24, 39, 0.14);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.get-started-button:hover {
    transform: translateY(-2px);

    background: #3155a0;

    box-shadow:
        0 14px 30px rgba(17, 24, 39, 0.19);
}

.quick-points {
    margin-top: 20px;

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

    color: #6b7280;

    font-size: 12px;
}


/* =========================
   FEATURES
========================= */

.features {
    max-width: 1080px;

    margin:
        0 auto
        60px;

    padding: 0 25px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid #e2e5e9;
}

.feature {
    padding:
        25px 22px;

    border-right: 1px solid #e2e5e9;
}

.feature:first-child {
    border-left: 1px solid #e2e5e9;
}

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

    color: #9ca3af;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.feature h2 {
    margin: 0 0 8px;

    font-size: 16px;

    letter-spacing: -0.4px;
}

.feature p {
    margin: 0;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.55;
}


/* =========================
   FOOTER
========================= */

footer {
    max-width: 1080px;

    margin: auto;

    padding:
        22px 25px
        28px;

    border-top: 1px solid #e2e5e9;

    display: flex;

    justify-content: space-between;

    color: #9ca3af;

    font-size: 11px;
}


/* =========================
   SUBSCRIBE MODAL
========================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(17, 24, 39, 0.55);

    backdrop-filter: blur(4px);
}

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

.subscribe-modal {
    position: relative;

    width: 100%;

    max-width: 560px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 25px 70px rgba(17, 24, 39, 0.22);
}

.modal-close {
    position: absolute;

    top: 15px;

    right: 18px;

    width: 34px;

    height: 34px;

    border: none;

    background: transparent;

    color: #9ca3af;

    font-size: 27px;

    line-height: 1;

    cursor: pointer;
}

.modal-close:hover {
    color: #111827;
}

.modal-header {
    margin-bottom: 28px;
}

.modal-badge {
    margin-bottom: 10px;

    color: #477deb;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

.modal-header h2 {
    margin: 0 0 10px;

    color: #111827;

    font-size: 28px;

    letter-spacing: -1px;
}

.modal-header p {
    margin: 0;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================
   FORM
========================= */

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

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #374151;

    font-size: 12px;

    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid #dfe3e8;

    border-radius: 8px;

    background: #ffffff;

    color: #111827;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #477deb;

    box-shadow:
        0 0 0 3px rgba(71, 125, 235, 0.10);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


/* =========================
   SUBSCRIBE BUTTON
========================= */

.subscribe-button {
    width: 100%;

    margin-top: 5px;

    padding: 13px;

    border: none;

    border-radius: 9px;

    background: #3b61b3;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.subscribe-button:hover {
    background: #3155a0;

    transform: translateY(-1px);
}

.subscribe-button:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}


/* =========================
   FORM MESSAGE
========================= */

.form-message {
    min-height: 18px;

    margin-bottom: 8px;

    color: #dc2626;

    font-size: 12px;
}


/* =========================
   SUCCESS
========================= */

.success-message {
    display: none;

    text-align: center;

    padding: 25px 10px 10px;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 58px;

    height: 58px;

    margin:
        0 auto
        18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #eef4ff;

    color: #3b61b3;

    font-size: 25px;

    font-weight: 700;
}

.success-message h2 {
    margin: 0 0 12px;

    font-size: 26px;
}

.success-message p {
    margin: 7px 0;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;
}

.success-close-button {
    margin-top: 20px;

    padding: 11px 22px;

    border: none;

    border-radius: 8px;

    background: #3b61b3;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .hero {
        min-height: 500px;

        padding-top: 40px;
    }

    h1 {
        font-size: 46px;
    }

    .features {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .feature:nth-child(3) {
        border-left: 1px solid #e2e5e9;
    }

}


@media (max-width: 520px) {

    .header {
        padding:
            18px 20px;
    }

    .brand {
        font-size: 16px;
    }

    .brand-logo-placeholder {
        width: 34px;

        height: 34px;

        flex: 0 0 34px;
    }

    .brand img {
        width: 34px;

        height: 34px;
    }

    .hero {
        min-height: 510px;

        padding:
            35px 20px
            50px;
    }

    h1 {
        font-size: 40px;

        letter-spacing: -2.5px;
    }

    .subtitle {
        font-size: 15px;
    }

    .get-started-button {
        width: 100%;

        max-width: 320px;
    }

    .quick-points {
        gap: 10px;
    }

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

        margin-bottom: 30px;
    }

    .feature {
        border-left: 1px solid #e2e5e9;
    }

    .subscribe-modal {
        padding:
            28px 20px;

        border-radius: 13px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    footer {
        flex-direction: column;

        gap: 8px;
    }

}
