/* --- FUNDAMENTY I ZMIENNE --- */
:root {
    --bg: #030712;
    --panel: #0f172a;
    --primary: #3b82f6;
    --accent: #60a5fa;
    --danger: #ef4444;
    --text: #f9fafb;
    --muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(3, 7, 18, 0.8);
}

* { 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtelny efekt tła z poświatą */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* --- NAWIGACJA (NAVBAR) --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 15px 0;
    background: var(--nav-bg);
    border-color: var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* --- MENU MOBILNE (HAMBURGER) --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- SEKCJA HERO --- */
.hero {
    padding: 200px 20px 100px;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.hero h1 span {
    background: linear-gradient(to right, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 48px;
    font-size: 22px;
    color: var(--muted);
    font-weight: 400;
}

.cta {
    padding: 20px 48px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cta:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

/* --- OGÓLNE STYLE SEKCJI --- */
.section {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
}

.section h2 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 20px;
    color: var(--muted);
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

/* --- SIATKA PROBLEMÓW (RYZYKA) --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.problem-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 24px;
    transition: 0.3s ease;
    position: relative;
}

.problem-card:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.02);
}

.problem-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.problem-card h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.problem-card p {
    font-size: 15px;
    color: var(--muted);
    margin: 0;
}

/* --- KARTY USŁUG (FILARY) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--border);
    padding: 50px 40px;
    border-radius: 32px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.5);
    transform: translateY(-8px);
}

.icon-box {
    width: 60px; height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}

.icon-box i { font-size: 26px; color: var(--primary); }

.card h3 {
    margin: 0 0 16px;
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}

.card p {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}

.check-highlight {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
    border-left: 4px solid var(--primary);
    padding: 30px 40px;
    margin-top: 60px;
    border-radius: 0 24px 24px 0;
}

.check-highlight p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

/* --- CENNIK --- */
.pricing-box {
    max-width: 650px;
    margin: 100px auto 0;
    background: #0f172a;
    border: 1px solid var(--primary);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.pricing-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.price {
    font-size: 80px;
    font-weight: 800;
    color: #fff;
    margin: 20px 0;
    letter-spacing: -0.05em;
}

.price span {
    font-size: 20px;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 400px;
    text-align: left;
}

.features-list li {
    font-size: 17px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    color: var(--text);
}

.features-list li i {
    color: var(--primary);
    margin-right: 16px;
    font-size: 18px;
}

/* --- PODSTRONY PRAWNE (POLITYKA / REGULAMIN) --- */
.content-wrapper {
    max-width: 800px;
    margin: 140px auto 100px;
    padding: 0 20px;
}

.legal-box {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
}

.legal-box h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.legal-box h2 {
    color: var(--primary);
    font-size: 22px;
    margin: 30px 0 15px;
    font-weight: 700;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: 0.3s;
}

.back-link i { margin-right: 8px; }
.back-link:hover { padding-left: 5px; }

/* --- STOPKA --- */
footer {
    text-align: center;
    padding: 80px 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

.legal-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
}

.legal-links a:hover { color: var(--primary); }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--panel);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hero { padding: 150px 20px 60px; }
    .price { font-size: 60px; }
    .legal-box { padding: 25px; }
}


/* FAQ Styling */
        .faq-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .faq-item {
            background: var(--panel);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 16px;
            overflow: hidden;
            transition: 0.3s;
        }

        .faq-item:hover {
            border-color: var(--primary);
        }

        .faq-question {
            padding: 25px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 18px;
            color: #fff;
        }

        .faq-answer {
            padding: 0 25px 25px;
            color: var(--muted);
            font-size: 16px;
            display: none;
        }

        .faq-answer strong {
            color: var(--accent);
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        .faq-item.active .faq-question i {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .faq-question i {
            transition: 0.3s;
            font-size: 14px;
        }