﻿:root {
    --bg: #04070d;
    --bg-soft: #0b1220;
    --surface: rgba(12, 22, 38, 0.82);
    --surface-strong: #0d1f35;
    --line: rgba(122, 196, 255, 0.24);
    --ink: #f1f7ff;
    --muted: #9fb4c9;
    --brand: #4bb6ff;
    --brand-strong: #1487ff;
    --accent: #d9f0ff;
    --success: #17a26f;
    --danger: #d04a4a;
    --radius-xl: 30px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --container: min(1180px, calc(100vw - 34px));
    --pointer-x: 50%;
    --pointer-y: 50%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Sora", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    background:
        radial-gradient(620px circle at 12% 8%, rgba(75, 182, 255, 0.22), transparent 62%),
        radial-gradient(700px circle at 88% 20%, rgba(20, 135, 255, 0.18), transparent 64%),
        linear-gradient(160deg, #02050a 0%, #07101b 42%, #03060c 100%);
    min-width: 320px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(360px circle at var(--pointer-x) var(--pointer-y), rgba(75, 182, 255, 0.15), transparent 70%),
        repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 22px);
    animation: bgShift 20s ease-in-out infinite;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 80%, rgba(75, 182, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(20, 135, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(75, 182, 255, 0.05) 0%, transparent 30%);
    animation: floatingOrbs 15s ease-in-out infinite alternate;
}

@keyframes bgShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes floatingOrbs {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(75, 182, 255, 0.5);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(4, 10, 18, 0.8);
    border-bottom: 1px solid rgba(122, 196, 255, 0.18);
}

.header-inner {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 84px;
    width: auto;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(10, 18, 30, 0.9);
    align-items: center;
    justify-content: center;
}

.nav-toggle-box,
.nav-toggle-box::before,
.nav-toggle-box::after {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    content: "";
    display: block;
    transition: 0.25s ease;
}

.nav-toggle-box {
    position: relative;
}

.nav-toggle-box::before {
    position: absolute;
    transform: translateY(-6px);
}

.nav-toggle-box::after {
    position: absolute;
    transform: translateY(6px);
}

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

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: #c8d8e9;
    transition: 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: #ffffff;
    background: rgba(75, 182, 255, 0.2);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    color: #02111f;
    background: linear-gradient(135deg, #b8e5ff 0%, #56bfff 45%, #1f92ff 100%);
    font-weight: 700;
}

main {
    padding-bottom: 28px;
}

.page-hero,
.hero-dark {
    padding: 86px 0 58px;
}

.hero-dark {
    background:
        linear-gradient(130deg, rgba(6, 12, 22, 0.95) 0%, rgba(7, 22, 42, 0.9) 55%, rgba(4, 9, 16, 0.95) 100%);
    border-bottom: 1px solid rgba(122, 196, 255, 0.14);
}

.hero-grid,
.contact-grid,
.split-grid,
.footer-grid,
.content-with-visual {
    display: grid;
    gap: 24px;
}

.eyebrow,
.mini-label {
    display: inline-flex;
    margin-bottom: 12px;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ed8ff;
    font-weight: 700;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    font-family: "Barlow Condensed", sans-serif;
    line-height: 1.08;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(1.9rem, 4.2vw, 3.4rem);
    background: linear-gradient(135deg, #d7f1ff 0%, #7ecbff 35%, #4bb6ff 60%, #1c94ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    background: linear-gradient(135deg, #e3f5ff 0%, #9ed8ff 50%, #4bb6ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.lead,
.section-lead,
.supporting-copy {
    color: #c4d4e6;
    max-width: 66ch;
    margin: 0;
}

.hero-panel,
.contact-panel,
.card,
.media-card,
.testimonial,
.legal-copy,
.footer-grid {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(12, 22, 38, 0.82) 0%, rgba(8, 16, 27, 0.92) 100%);
    box-shadow: var(--shadow);
}

.hero-panel,
.contact-panel,
.card,
.testimonial,
.legal-copy {
    padding: 22px;
}

.hero-note + .hero-note {
    margin-top: 12px;
}

.hero-note strong {
    display: block;
    color: #d5efff;
    margin-bottom: 4px;
}

.section {
    padding: 56px 0;
}

.section-band {
    padding: 56px 0;
    background: linear-gradient(180deg, rgba(8, 15, 26, 0.65) 0%, rgba(4, 9, 17, 0.3) 100%);
    border-top: 1px solid rgba(122, 196, 255, 0.1);
    border-bottom: 1px solid rgba(122, 196, 255, 0.1);
}

.section-head {
    margin-bottom: 24px;
}

.card-grid {
    display: grid;
    gap: 16px;
}

.card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(75, 182, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.card:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(75, 182, 255, 0.25);
    border-color: rgba(75, 182, 255, 0.5);
}

.card p,
.testimonial p,
.contact-panel p,
.legal-copy p {
    margin: 0;
    color: var(--muted);
}

.quick-points,
.feature-list,
.contact-data-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.quick-points li,
.feature-list li,
.contact-data-item {
    border: 1px solid rgba(122, 196, 255, 0.18);
    border-radius: var(--radius-md);
    background: rgba(9, 17, 29, 0.72);
    padding: 14px 14px;
    color: #d2deec;
}

.contact-data-row {
    display: flex;
    flex-direction: column;
}

.contact-data-row:nth-child(4),
.contact-data-row:nth-child(5) {
    margin-top: 14px;
}

.cd-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9fb4c9;
    margin-bottom: 6px;
}

.quick-points li strong,
.feature-list li span {
    display: block;
    margin-bottom: 4px;
    color: #e3f5ff;
}

.media-card {
    padding: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(75, 182, 255, 0.2);
}

.media-card img {
    border-radius: var(--radius-md);
    transition: transform 0.5s ease;
}

.media-card:hover img {
    transform: scale(1.05);
}

.media-card figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.94rem;
}

.technical-inserts .media-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.technical-inserts .media-card {
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.technical-inserts .media-card:hover {
    transform: translateY(-4px);
    border-color: rgba(122, 196, 255, 0.45);
}

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

.button,
.button-secondary {
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.button {
    color: #031626;
    background: linear-gradient(135deg, #d7f1ff 0%, #7ecbff 50%, #1c94ff 100%);
    position: relative;
    overflow: hidden;
    animation: pulseGlow 2s ease-in-out infinite;
}

.button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.button:hover::after {
    left: 100%;
}

.button-secondary {
    color: #d3e8fb;
    border-color: rgba(122, 196, 255, 0.4);
    background: rgba(9, 20, 36, 0.6);
    transition: all 0.3s ease;
}

.button-secondary:hover {
    border-color: rgba(75, 182, 255, 0.7);
    background: rgba(75, 182, 255, 0.15);
    box-shadow: 0 0 20px rgba(75, 182, 255, 0.3);
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(75, 182, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(75, 182, 255, 0.2);
    }
}

.list-check {
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(122, 196, 255, 0.18);
    background: rgba(9, 17, 29, 0.66);
    color: #d2deec;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.field-group {
    display: grid;
    gap: 7px;
}

.field-group label,
.checkbox-row label {
    color: #dff3ff;
    font-weight: 600;
}

.field-group input,
.field-group textarea,
.field-group select {
    width: 100%;
    border: 1px solid rgba(122, 196, 255, 0.24);
    border-radius: 12px;
    background: rgba(7, 14, 24, 0.9);
    padding: 12px 14px;
    color: #f0f8ff;
}

.field-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-status {
    min-height: 1.5rem;
    margin: 0;
}

.form-status.is-success {
    color: var(--success);
}

.form-status.is-error {
    color: var(--danger);
}

.testimonial cite {
    display: inline-block;
    margin-top: 10px;
    color: #9cd8ff;
    font-style: normal;
    font-weight: 700;
}

.site-footer {
    padding: 18px 0 28px;
}

.footer-grid {
    padding: 24px;
}

.footer-links,
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-links a,
.footer-legal a {
    color: #c5d6e8;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #ffffff;
}

.footer-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.footer-meta a {
    color: #9ed8ff;
    text-decoration: underline;
}

.single-panel-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.legal-copy h2,
.legal-copy h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.legal-copy h3 {
    margin-top: 20px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(4px);
    transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
    transition-delay: calc(var(--delay, 0) * 80ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (min-width: 720px) {
    .hero-grid,
    .contact-grid,
    .split-grid,
    .footer-grid,
    .content-with-visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid.two-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid.two-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1040px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    }

    .card-grid.three-up {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 959px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        background: rgba(4, 10, 18, 0.96);
        border: 1px solid rgba(122, 196, 255, 0.2);
        border-radius: 18px;
        padding: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-list a,
    .nav-cta {
        width: 100%;
    }
}

@media (max-width: 719px) {
    .page-hero,
    .hero-dark {
        padding-top: 60px;
        padding-bottom: 42px;
    }

    .hero-panel,
    .contact-panel,
    .card,
    .testimonial,
    .legal-copy,
    .footer-grid {
        padding: 16px;
    }

    .brand-logo {
        height: 72px;
    }
}

.lang-switch, .offer-submenu { display: none !important; }
.v-center { display: grid; gap: 10px; }

/* Consent modal (GDPR / Regulamin) */
#consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 18, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
}

#consent-overlay.active {
    display: flex;
}

#consent-modal {
    width: min(680px, 96%);
    background: var(--bg-soft, #0b1220);
    border: 1px solid rgba(122, 196, 255, 0.24);
    border-radius: var(--radius-lg, 20px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
    padding: 28px 28px 24px;
    color: var(--ink, #f1f7ff);
    max-height: 90vh;
    overflow: auto;
}

#consent-modal h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink, #f1f7ff);
}

#consent-modal p {
    font-size: 0.93rem;
    color: var(--muted, #9fb4c9);
    margin-bottom: 4px;
    line-height: 1.55;
}

#consent-modal p a {
    color: var(--brand, #4bb6ff);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-list {
    margin-top: 14px;
    display: grid;
    gap: 4px;
}

.consent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(122, 196, 255, 0.14);
    font-size: 0.92rem;
    color: var(--ink, #f1f7ff);
}

.consent-item:last-child {
    border-bottom: none;
}

.consent-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--brand, #4bb6ff);
    cursor: pointer;
}

.consent-item label {
    cursor: pointer;
    line-height: 1.45;
}

.consent-item label a {
    color: var(--brand, #4bb6ff);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}

.consent-btn {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease;
    font-family: "Sora", sans-serif;
}

.consent-btn:hover {
    transform: translateY(-1px);
}

.consent-btn.primary {
    background: var(--brand, #4bb6ff);
    color: var(--bg, #04070d);
}

.consent-btn.primary:hover {
    background: var(--brand-strong, #1487ff);
}

.consent-btn.primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.consent-btn.outline {
    background: transparent;
    border: 1px solid rgba(122, 196, 255, 0.24);
    color: var(--muted, #9fb4c9);
}

.consent-btn.outline:hover {
    background: rgba(122, 196, 255, 0.08);
}

.consent-item.consent-required-highlight {
    background: rgba(208, 74, 74, 0.12);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
    outline: 2px solid var(--danger, #d04a4a);
    outline-offset: 2px;
    animation: consentShake 0.4s ease;
}

.consent-item.consent-required-highlight label {
    color: var(--danger, #d04a4a);
    font-weight: 700;
}

@keyframes consentShake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-5px); }
    40%  { transform: translateX(5px); }
    60%  { transform: translateX(-4px); }
    80%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

#consent-modal.consent-pulse {
    animation: consentPulse 400ms ease;
}

@keyframes consentPulse {
    0%   { transform: scale(1);     box-shadow: 0 24px 64px rgba(0,0,0,0.42); }
    40%  { transform: scale(1.012); box-shadow: 0 28px 72px rgba(75, 182, 255, 0.14); }
    100% { transform: scale(1);     box-shadow: 0 24px 64px rgba(0,0,0,0.42); }
}

