body {margin: 0;
    background-color: white;
    color: #172033;
    font-family: Arial, sans-serif;}

a {color: inherit;
    text-decoration: none;}

.nav_bar {display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    background-color: rgb(66, 120, 192);
    border-bottom: 2px solid rgb(50, 100, 160);
    gap: 20px;}

.nav_left {display: flex;
    align-items: center;
    gap: 12px;}

.nav_right {display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;}

.nav_right a {padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 12px;
    font-weight: 500;}

.nav_right .nav_register {background: white;
    color: rgb(50, 100, 160);}

.nav_right a:hover {background: rgba(255, 255, 255, 0.2);}

.nav_right .nav_register:hover {background: #f5f5f5;}

.logo_text {margin: 0;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.header_logo {
    height: 40px;
    width: auto;
}

main {
    width: 100%;
    margin: 0;
}

.welcome_intro,
.info_section,
.tools_section,
.proof_section,
.screenshots_section {
    padding: 50px 7%;
    box-sizing: border-box;
}

.welcome_intro {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: center;
    min-height: calc(100vh - 130px);
    background: white;
}

.small_title {
    margin: 0 0 12px;
    color: rgb(66, 120, 192);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

h2 {
    margin: 0 0 16px;
    color: #333;
    font-size: 34px;
    line-height: 1.2;
}

p {
    font-size: 18px;
    line-height: 1.5;
}

.intro_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.primary_button,
.secondary_button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid rgb(66, 120, 192);
    border-radius: 4px;
    font-weight: bold;
}

.primary_button {
    background: rgb(66, 120, 192);
    color: white;
}

.primary_button:hover {
    background: rgb(50, 100, 160);
}

.secondary_button {
    background: white;
    color: rgb(50, 100, 160);
}

.secondary_button:hover {
    background: #f5f5f5;
}

.preview_box {
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f7f7f7;
}

.preview_block,
.preview_result {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 6px;
    background: rgb(90, 128, 190);
    color: white;
    font-weight: bold;
}

.preview_block span {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    background: white;
    color: #333;
}

.blue_block {
    background: rgb(66, 120, 192);
}

.preview_result {
    margin-left: auto;
    margin-bottom: 0;
    border: 1px solid #b9d8c4;
    background: #e8f3ec;
    color: #2f6b48;
}

.info_section {
    padding-bottom: 70px;
    background: rgb(66, 120, 192);
    color: white;
}

.info_section h2 {
    color: white;
}

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-top: 25px;
}

.steps div {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.steps strong,
.steps span {
    display: block;
}

.step_icon {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #edf2fb;
    color: rgb(50, 100, 160);
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

.steps strong {
    margin-bottom: 8px;
}

.steps span {
    color: #555;
    line-height: 1.4;
}

.tools_section {
    padding-top: 65px;
    background: white;
    text-align: center;
}

.tool_names {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tool_item {
    width: 190px;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f5f5f5;
    text-align: center;
}

.tool_item img {
    height: 70px;
    max-width: 120px;
    margin-bottom: 12px;
    object-fit: contain;
}

.tool_item strong {
    display: block;
    color: rgb(50, 100, 160);
    font-size: 18px;
}

.tool_item p {
    margin: 10px 0 0;
    color: #555;
    font-size: 15px;
    line-height: 1.4;
}

.proof_section {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 30px;
    align-items: center;
    background: white;
}

.proof_section img {
    width: 180px;
    max-width: 100%;
    justify-self: end;
}

.screenshots_section {
    background: #f5f5f5;
}

.screenshot_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

figure {
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    overflow: hidden;
}

figure img {
    display: block;
    width: 100%;
    height: 260px;
    padding: 18px;
    object-fit: contain;
    box-sizing: border-box;
}

figcaption {
    padding: 14px 16px;
    border-top: 1px solid #ddd;
    color: #555;
    font-size: 16px;
}

.footer {
    padding: 30px 7%;
    background: rgb(66, 120, 192);
    color: white;
}

.footer_columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.footer h2 {
    color: white;
    font-size: 24px;
}

.footer p {
    margin: 0 0 8px;
    font-size: 16px;
}

.footer a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.footer_bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 15px;
}

@media (max-width: 900px) {
    .welcome_intro,
    .info_section,
    .tools_section,
    .proof_section,
    .screenshot_grid,
    .footer_columns,
    .steps {
        grid-template-columns: 1fr;
    }

    .proof_section img {
        justify-self: start;
    }

    .footer_bottom {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .nav_bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav_right {
        width: 100%;
    }

    .nav_right a {
        flex: 1;
        text-align: center;
    }

    main {
        width: 100%;
        margin: 0;
    }

    .welcome_intro,
    .info_section,
    .tools_section,
    .proof_section,
    .screenshots_section {
        padding: 35px 20px;
    }

    .welcome_intro {
        min-height: auto;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }
}
