body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top left, #233867 0%, #0a1230 55%, #050818 100%);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
    position: static;
}

body.main-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.main-page::before {
    content: none;
}

main {
    flex: 1 0 auto;
}

header {
    position: absolute;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    height: 80px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: transparent;
}

#logo {
    width: 160px;
    height: auto;
    margin-left: -27px;
}

nav {
    display: flex;
    gap: 30px;
    margin-left: 0;
}

nav a {
    color: #f5f7ff;
    text-decoration: none;
    font-size: 18px;
    padding: 6px 8px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

nav a:hover {
    opacity: 0.8;
}

nav a {
    color: #b3c1ff;
}

nav a.active {
    color: #ffffff;
}

.hero-section {
    max-width: 1320px;
    margin: 140px auto 40px auto;
    padding: 72px 80px 40px 80px;
    color: #f5f7ff;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-text {
    max-width: 500px;
}

.hero-kicker {
    font-size: 16px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9fb3ff;
    margin: 0 0 12px 0;
}

.hero-section h1 {
    font-size: 56px;
    line-height: 1.12;
    margin: 0 0 16px 0;
}

.hero-section h1 span {
    display: inline-block;
    font-size: 64px;
    font-weight: 800;
}

.hero-subtitle {
    margin: 0 0 26px 0;
    font-size: 15px;
    color: #d5ddff;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #c7d2ff;
}

.hero-bullets span::before {
    content: "+";
    margin-right: 8px;
    font-weight: 700;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image {
    max-width: 640px;
    width: 108%;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
    border-radius: 24px;
    transform: scale(1.15) translateY(10px);
}

.contact-section {
    margin-top: 100px;
}

.contact-card {
    flex: 1;
    max-width: 480px;
    background: transparent;
    border-radius: 24px;
    padding: 28px 24px 32px 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.form-row label {
    color: #d5ddff;
    font-weight: 500;
}

.form-row input,
.form-row textarea,
.form-row select {
    background-color: rgba(7, 12, 30, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(119, 140, 255, 0.6);
    padding: 10px 12px;
    color: #f5f7ff;
    font-family: inherit;
    font-size: 14px;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #4f7dff;
    box-shadow: 0 0 0 1px rgba(79, 125, 255, 0.5);
}

.form-row textarea {
    resize: vertical;
    min-height: 96px;
}

.form-row-inline {
    margin-top: 10px;
    margin-bottom: 6px;
}

.form-row-inline-pair {
    flex-direction: row;
    gap: 12px;
}

.form-row-inline-pair .form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #c7d2ff;
    font-size: 12px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.captcha-row {
    margin-top: 6px;
    margin-bottom: 4px;
    align-items: center;
}

.captcha-placeholder {
    height: auto;
    border: none;
    padding: 0;
    background: transparent;
}

.form-field-submit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cta-button {
    background-color: #f5f7ff;
    color: #0b1530;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 28px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.cta-button.primary {
    background-color: #4f7dff;
    color: #ffffff;
}

.cta-button.primary:hover {
    background-color: #688dff;
}

.operator-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.operator-modal-overlay.is-visible {
    display: flex;
}

.operator-modal {
    background: radial-gradient(circle at top, #1f2f63 0%, #0b1530 80%);
    border-radius: 24px;
    padding: 24px 28px 28px 28px;
    max-width: 520px;
    width: 100%;
    color: #f5f7ff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.operator-modal h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
}

.operator-modal p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #d5ddff;
}

.operator-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.operator-logo {
    background: rgba(7, 12, 30, 0.9);
    border-radius: 14px;
    border: 1px solid rgba(119, 140, 255, 0.6);
    padding: 10px 18px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.operator-logo img {
    height: 40px;
    display: block;
}

.operator-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
    border-color: #4f7dff;
}

.operator-cancel {
    background: transparent;
    border-radius: 999px;
    border: 1px solid rgba(179, 194, 255, 0.6);
    color: #c7d2ff;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 20px;
    margin-top: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.error-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.error-modal-overlay.is-visible {
    display: flex;
}

.error-modal {
    background: radial-gradient(circle at top, #1f2f63 0%, #0b1530 80%);
    border-radius: 24px;
    padding: 24px 28px 28px 28px;
    max-width: 400px;
    width: 100%;
    color: #f5f7ff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.error-modal h2 {
    margin: 0 0 16px 0;
    font-size: 18px;
}

.error-modal p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #d5ddff;
}

.error-ok {
    background-color: #4f7dff;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.error-ok:hover {
    background-color: #688dff;
}

.cta-button.secondary {
    background-color: transparent;
    color: #f5f7ff;
    border: 1px solid rgba(179, 194, 255, 0.6);
}

.cta-button.secondary:hover {
    background-color: rgba(23, 40, 88, 0.8);
}

.features-section {
    max-width: 1200px;
    margin: 0 auto 120px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    background: radial-gradient(circle at top, #141f3c 0%, #050816 80%);
    border-radius: 24px;
    padding: 28px 24px;
    color: #e3e7ff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.feature-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #c3c9f2;
}

.white-section {
    position: relative;
    max-width: 1200px;
    margin: 8px auto 16px auto;
    padding: 8px 0 0 0;
    background: transparent;
}

.about-section {
    max-width: 960px;
    margin: 40px auto 0 auto;
    padding: 0 32px 40px 32px;
    color: #f5f7ff;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.about-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 1.1;
}

.about-kicker {
    font-size: 16px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9fb3ff;
    margin: 0 0 10px 0;
}

.about-text h2 {
    font-size: 50px;
    margin: 0 0 16px 0;
}

.about-lead {
    font-size: 18px;
    color: #d5ddff;
    margin: 0 0 18px 0;
}

.about-text h3 {
    font-size: 20px;
    margin: 16px 0 6px 0;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    color: #c7d2ff;
}

.about-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 520px;
    border-radius: 0;
    display: block;
    box-shadow: none;
}

.about-header {
    max-width: 520px;
    margin-bottom: 0;
}

.about-illustration {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 24px;
    background: transparent;
}

.about-illustration-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 24px;
}

.about-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin: 0 auto 36px auto;
    max-width: 960px;
}

.about-feature h3 {
    font-size: 22px;
    margin: 0 0 10px 0;
}

.about-feature p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    color: #d5ddff;
}

.about-feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-feature li {
    font-size: 16px;
    color: #d5ddff;
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

.about-feature li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}

.about-team {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.about-team-photo {
    flex: 0 0 220px;
}

.about-team-image {
    width: 100%;
    border-radius: 24px;
    display: block;
}

.about-team-text h3 {
    font-size: 22px;
    margin: 0 0 10px 0;
}

.about-team-text p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    color: #d5ddff;
}

.docs-section {
    max-width: 1200px;
    margin: 320px auto 80px auto;
    padding: 0 40px;
    color: #f5f7ff;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.docs-inner {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr;
    gap: 64px;
    align-items: flex-start;
    justify-items: center;
}

.docs-left {
    max-width: 420px;
    text-align: left;
}

.docs-kicker {
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9fb3ff;
    margin: 0 0 10px 0;
}

.docs-title {
    font-size: 52px;
    margin: 0 0 18px 0;
}

.docs-lead {
    font-size: 15px;
    line-height: 1.7;
    color: #d5ddff;
    margin: 0;
}

.docs-right {
    padding-left: 0;
    text-align: left;
}

.docs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

.docs-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    justify-content: flex-start;
}

.docs-icon {
    width: 24px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid rgba(203, 213, 255, 0.8);
    position: relative;
}

.docs-icon::after {
    content: "";
    position: absolute;
    top: 6px;
    right: -2px;
    width: 10px;
    height: 8px;
    border-top: 2px solid rgba(203, 213, 255, 0.8);
    border-right: 2px solid rgba(203, 213, 255, 0.8);
    border-radius: 2px;
}

.docs-link {
    color: #f5f7ff;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.docs-link:hover {
    color: #ffffff;
    opacity: 0.85;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    text-align: center;
}

.partners-container h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: bold;
}

.partners-scroll {
    overflow: hidden;
    width: 100%;
    height: 120px;
}

.partners-grid {
    display: flex;
    gap: 40px;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    flex-shrink: 0;
}

.partner-item img {
    height: 60px;
    object-fit: contain;
    display: block;
}

footer {
    background: transparent;
    color: #f5f7ff;
    padding: 16px 0 0 0;
    margin-top: 16px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 4px 60px;
    gap: 40px;
}

.footer-section {
    flex: 1;
    padding: 0 20px;
}

.footer-section:nth-child(2) {
    padding-left: 10px;
    padding-right: 10px;
}

.footer-section:not(:last-child) {
    border-right: 1px solid #233867;
}

.footer-section:first-child {
    padding-left: 0;
}

.footer-logo {
    width: 110px;
    height: auto;
    margin: 0 20px 0 0;
    vertical-align: text-bottom;
}

.footer-description {
    display: inline-flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-section p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    color: #233867;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #233867;
}

.footer-section a {
    display: block;
    color: #233867;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 8px;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.7;
}

.footer-bottom {
    width: 100%;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.35);
    border-top: none;
    color: rgba(245, 247, 255, 0.8);
    font-size: 12px;
}

.footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    display: inline-flex;
    align-items: center;
    color: rgba(245, 247, 255, 0.75);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
    padding: 0 18px;
}

.footer-bottom-links a + a {
    position: relative;
}

.footer-bottom-links a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 22px;
    background: rgba(245, 247, 255, 0.35);
}

.footer-bottom-links a:hover {
    color: rgba(245, 247, 255, 0.95);
}

.footer-bottom-copy {
    color: rgba(245, 247, 255, 0.65);
    font-size: 12px;
    line-height: 1.4;
    text-align: right;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 1024px) {
    .hero-section {
        margin: 120px 24px 32px 24px;
        padding: 48px 32px 32px 32px;
    }

    .hero-inner {
        gap: 40px;
    }

    .about-section {
        margin: 36px 24px 0 24px;
        padding: 0 32px 32px 32px;
    }
}

@media (max-width: 700px) {
    header {
        padding: 0 20px;
    }

    nav {
        gap: 16px;
    }

    nav a {
        font-size: 14px;
    }

    .hero-section {
        margin: 110px 16px 24px 16px;
        padding: 36px 20px 28px 20px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .hero-text {
        max-width: none;
    }

    .hero-section h1 {
        font-size: 38px;
    }

    .hero-section h1 span {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .contact-section {
        margin-top: 80px;
    }

    .contact-card {
        max-width: 100%;
        padding: 22px 18px 26px 18px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-section {
        margin: 32px 16px 0 16px;
        padding: 0 20px 26px 20px;
    }

    .about-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .about-team {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-text h2,
    .about-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    header {
        top: 20px;
        padding: 0 12px;
    }

    #logo {
        width: 130px;
        margin-left: 0;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 12px;
        padding: 4px 6px;
    }

    .hero-section {
        margin: 96px 12px 20px 12px;
        padding: 28px 16px 22px 16px;
    }

    .hero-section h1 {
        font-size: 30px;
    }

    .hero-section h1 span {
        font-size: 34px;
    }

    .hero-inner {
        gap: 24px;
    }

    .contact-card {
        padding: 18px 14px 22px 14px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
    }

    .form-row-inline-pair {
        flex-direction: column;
    }

    .captcha-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .form-field-submit {
        justify-content: flex-start;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .partners-scroll {
        height: auto;
    }

    .about-section {
        margin: 28px 12px 0 12px;
        padding: 26px 14px 22px 14px;
    }
}
