.subpage-theme {
    position: relative;
    padding: 140px 0 80px;
    background:
        linear-gradient(180deg, rgba(10, 43, 99, 0.72), rgba(8, 31, 74, 0.82)),
        url('/images/main_bg_1.png') no-repeat center top / cover;
}

.subpage-theme::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(145, 243, 255, 0.32), transparent 40%),
                radial-gradient(circle at 85% 80%, rgba(168, 195, 213, 0.24), transparent 42%);
    pointer-events: none;
}

.subpage-theme .container {
    position: relative;
    z-index: 1;
    max-width: 1120px;
}

.subpage-theme h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 1px 2px 8px rgba(0, 19, 56, 0.4);
}

.subpage-theme .section-description,
.subpage-theme > .container > p {
    margin: 0 0 28px;
    color: #d3ecff;
    font-size: 18px;
    text-align: center;
}

.subpage-theme .step,
.subpage-theme .pricing-item,
.subpage-theme .free-trial,
.subpage-theme .additional-info,
.subpage-theme .developer-section section,
.subpage-theme .developer-section pre,
.subpage-theme .developer-section .data-format,
.subpage-theme .developer-section .data-description {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(183, 221, 255, 0.52);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(6, 27, 71, 0.22);
    backdrop-filter: blur(3px);
}

.subpage-theme .instruction-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.subpage-theme .step {
    margin: 0;
    padding: 24px;
}

.subpage-theme .step-title,
.subpage-theme .pricing-item h3,
.subpage-theme .developer-section h3 {
    color: #244b9d;
    border-bottom-color: rgba(36, 75, 157, 0.2);
}

.subpage-theme .pricing-container {
    gap: 16px;
}

.subpage-theme .pricing-item {
    margin: 0;
}

.subpage-theme .free-trial {
    margin-top: 0;
}

.subpage-theme .cta-inline {
    text-align: center;
    margin-top: 28px;
}

.subpage-theme .btn-primary {
    background: linear-gradient(90deg, #2f6ce5, #3f8dff);
    border: 0;
    line-height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(46, 109, 229, 0.35);
}

.subpage-theme .btn-primary:hover {
    background: linear-gradient(90deg, #1f58ca, #337ee9);
}

.subpage-theme.developer-page.developer-section {
    padding-top: 0;
    padding-bottom: 0;
}

.subpage-theme.developer-page.developer-section > .container > h2 {
    border-bottom: 0;
    margin-bottom: 20px;
}

.subpage-theme.developer-page.developer-section section {
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .subpage-theme {
        padding: 120px 0 56px;
    }

    .subpage-theme h2 {
        font-size: 32px;
    }

    .subpage-theme .section-description,
    .subpage-theme > .container > p {
        font-size: 16px;
    }
}

.subpage-theme.auth-page {
    min-height: calc(100vh - 120px);
    padding-top: 130px;
}

.subpage-theme.auth-page .form-container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(183, 221, 255, 0.52);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(6, 27, 71, 0.22);
    backdrop-filter: blur(3px);
}

.subpage-theme.auth-page .form-container h2 {
    color: #1b3566;
}

.subpage-theme.auth-page .form-group input[type="text"],
.subpage-theme.auth-page .form-group input[type="password"],
.subpage-theme.auth-page .form-group input[type="email"] {
    border: 1px solid #bfd6f5;
    background-color: #f8fbff;
}

.subpage-theme.auth-page .form-group input[type="submit"] {
    background: linear-gradient(90deg, #2f6ce5, #3f8dff);
}

.subpage-theme.auth-page .form-group input[type="submit"]:hover {
    background: linear-gradient(90deg, #1f58ca, #337ee9);
}

@media (max-width: 768px) {
    .subpage-theme.auth-page {
        padding-top: 110px;
    }
}
