:root {
    --dark-bg: #070B14;
    --navy-bg: #0D1424;
    --gold: #D4AF37;
    --gold-hover: #F3E5AB;
    --text-light: #E0E6ED;
    --glass-bg: rgba(13, 20, 36, 0.6);
    --glass-border: rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    background-image: radial-gradient(circle at 50% 0%, #152238 0%, #070B14 70%);
    overflow-x: hidden;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    align-items: center;
    padding: 15px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
    margin-right: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-gold {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--gold);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
    padding: 40px;
}

.hero-content img {
    display: block;
    margin: 40px auto 5px;
    border-radius: 10px;
}

.hero h1 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.hero p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

section {
    padding: 80px 20px;
    min-height: auto;
}

h2 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 40px;
    font-size: 2rem;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    padding: 30px;
    width: 300px;
    text-align: center;
}

.info-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group.double {
    display: flex;
    gap: 20px;
}

.form-group.double div {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gold);
}

input, textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px;
    outline: none;
    transition: border 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--gold);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.1rem;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    font-size: 1.1rem;
}

.terms-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
}

.terms-card p {
    margin-bottom: 20px;
}

.partner-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 28px;
    text-align: center;
    align-self: center;
    background: #fff;
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.partner-logo:hover {
    transform: translateY(-2px);
}

.partner-logo img {
    width: min(220px, 100%);
    height: auto;
}

.terms-modal[hidden] {
    display: none;
}

.terms-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.terms-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: min(850px, 94vh);
    padding: 30px;
    background: var(--navy-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.7);
}

.terms-modal-content h2 {
    margin-bottom: 20px;
}

.terms-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-light);
    background: transparent;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.terms-modal-close:hover {
    color: var(--gold);
}

.terms-frame {
    width: 100%;
    min-height: 420px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #fff;
}

.terms-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: var(--text-light);
    cursor: pointer;
}

.terms-consent input {
    width: auto;
    accent-color: var(--gold);
}

.terms-modal-content > .btn-gold {
    align-self: flex-end;
}

footer {
    text-align: center;
    padding: 20px;
    background: #000;
    font-size: 0.8rem;
    color: #666;
}

@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap; /* Pozwala linkom spaść do nowej linii */
        align-items: center;
        justify-content: space-between; /* Wymusza logo na lewo, suwak na prawo */
        padding: 12px 16px;
    }

    .logo {
        order: 1; /* Pierwsze w rzędzie */
        gap: 10px;
        font-size: 1rem;
    }

    .logo img {
        height: 44px;
    }

    .lang-switch-container {
        order: 2; /* Drugie w rzędzie (prawy górny róg) */
        margin: 0;
    }

    .nav-links {
        order: 3;
        flex: 0 0 100%;
        margin-top: 15px;
        margin-left: 0; 
        margin-right: 0;
        justify-content: center;
        gap: 12px 16px;
    }

    section { padding: 64px 16px; }
    h2 { font-size: 1.6rem; margin-bottom: 28px; }
    .form-group.double { flex-direction: column; gap: 0; }
    .hero { min-height: 100svh; padding: 96px 16px 64px; }
    .hero-content { padding: 24px 18px; }
    .hero-content img { height: 180px !important; object-fit: contain; margin: 12px auto !important; }
    .hero h1 { font-size: 1.8rem; margin-bottom: 16px; }
    .hero p { font-size: 1rem; margin-bottom: 22px; }
    .cards-container { gap: 18px; }
    .info-card, .contact-card, .faq-container, .form-container, .slider-container, .additional-fees { width: 100%; max-width: 100%; }
    .info-card, .contact-card, .faq-container, .form-container { padding: 22px 16px; }
    .terms-modal-content { padding: 24px 16px 18px; }
    .terms-frame { min-height: 360px; }
    .terms-modal-content > .btn-gold { width: 100%; }
    .transfer-toggle { flex-direction: column; }
    .transfer-toggle label { padding: 14px 12px; }
    .slider-container { padding: 12px; }
    .slide img { height: 220px; }
    .slider-btn { top: auto; bottom: 16px; transform: none; padding: 10px 12px; font-size: 1.1rem; }
    .prev-slide { left: 16px; }
    .next-slide { right: 16px; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
    .whatsapp-float img { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
    .hero { padding-top: 88px; }
    .hero-content { padding: 20px 14px; }
    .hero h1 { font-size: 1.5rem; }
    .hero p, .contact-card, details p, .additional-fees p { font-size: 0.95rem; }
    .btn-gold { width: 100%; text-align: center; }
    .slide img { height: 190px; }
    .slider-btn { bottom: 12px; }
    .slide-caption { font-size: 0.95rem; }
}

.pricing-subtitle {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.pricing-table-wrap {
    max-width: 1180px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    background: rgba(13, 20, 36, 0.55);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.pricing-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    text-align: center;
}

.pricing-table caption {
    padding: 20px 24px;
    color: #a0aabf;
    font-size: 0.9rem;
    text-align: left;
}

.pricing-table th,
.pricing-table td {
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table thead th {
    min-width: 160px;
    padding: 24px 20px;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.18);
    vertical-align: bottom;
}

.pricing-table thead th:first-child {
    width: 38%;
    color: var(--gold);
    text-align: left;
}

.pricing-table tbody th {
    color: var(--text-light);
    font-weight: 400;
    text-align: left;
}

.pricing-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.06);
}

.pricing-plan-name,
.pricing-table thead strong {
    display: block;
}

.pricing-plan-name {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.pricing-table thead strong {
    color: var(--gold);
    font-size: 1.25rem;
}

.pricing-plan-featured {
    background: rgba(212, 175, 55, 0.08) !important;
    border-left: 1px solid rgba(212, 175, 55, 0.35);
    border-right: 1px solid rgba(212, 175, 55, 0.35);
}

.pricing-badge {
    display: block;
    min-height: 18px;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.included,
.not-included {
    font-size: 1.35rem;
    font-weight: 700;
}

.included {
    color: var(--gold);
}

.not-included {
    color: #687386;
}

.additional-fees {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 25px;
    text-align: center;
}

.additional-fees h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.additional-fees p {
    font-size: 0.95rem;
}

.transfer-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transfer-toggle input[type="radio"] {
    display: none;
}

.transfer-toggle label {
    flex: 1;
    text-align: center;
    padding: 12px;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.transfer-toggle input[type="radio"]:checked + label {
    background: var(--gold);
    color: var(--dark-bg);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.15);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

details {
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

details:last-child {
    border-bottom: none;
}

summary {
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

details[open] summary:after {
    transform: rotate(45deg);
}

details p {
    padding-top: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 20px;
    text-align: center;
    overflow: hidden;
}

.slides-wrapper {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
    animation: fadeEffect 0.5s;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-caption {
    margin-top: 15px;
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--gold);
    border: 1px solid var(--glass-border);
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.prev-slide { left: 30px; }
.next-slide { right: 30px; }

@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}

@media (max-width: 768px) {
    .slide img { height: 250px; }
    .slider-btn { padding: 10px; font-size: 1.2rem; }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.lang-switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.lang-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.lang-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    border-radius: 24px;
    border: 1px solid var(--gold);
}

.lang-switch .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--gold);
    transition: 0.4s;
    border-radius: 50%;
}

.lang-switch input:checked + .slider {
    background-color: rgba(212, 175, 55, 0.2);
}

.lang-switch input:checked + .slider:before {
    transform: translateX(22px);
}