:root {
    --primary: #CC0000;
    --dark: #0a0a0b;
    --light: #F5F5F5;
    --text-muted: #888;
    --border: #222;
    --success: #00cc66;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: #fff;
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(10, 10, 11, 0.9);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
}

.btn {
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: #ff1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.3);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    box-sizing: border-box;
    background: url('Spawacz.jpeg') center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0.8), var(--dark));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #ccc;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.hero-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 1.5rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.hero-btn:hover {
    border-color: var(--primary);
    background: rgba(204, 0, 0, 0.1);
}

.hero-btn span {
    font-weight: 800;
    font-size: 1.1rem;
}

.hero-btn small {
    color: var(--text-muted);
}

.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-pulse {
    background: url('background_v2.png') center/cover;
    position: relative;
}

.section-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 11, 0.85);
    z-index: 0;
}

.section-pulse>div {
    position: relative;
    z-index: 1;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
    transition: 0.3s;
}

.kuba-tip {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(204, 0, 0, 0.1);
    border-left: 3px solid var(--primary);
    font-size: 0.9rem;
    color: #ddd;
    border-radius: 0 8px 8px 0;
}

ul {
    padding-left: 1.5rem;
    color: #ccc;
    line-height: 1.8;
}

li {
    margin-bottom: 0.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
}

th,
td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    font-weight: 800;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.wizard-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 1.5rem;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.wizard-option:hover {
    border-color: #fff;
}

.wizard-option.active {
    border-color: var(--primary);
    background: rgba(204, 0, 0, 0.1);
}

#success-msg {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
    align-items: flex-start; /* Ensure top of content is always reachable */
    justify-content: center;
}

.modal-content {
    background: var(--dark);
    border: 1px solid var(--border);
    padding: 2rem 1.5rem;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

@media (min-width: 901px) {
    .modal {
        align-items: center;
    }
    .modal-content {
        padding: 3rem;
    }
}

.close-modal {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.2rem;
    cursor: pointer;
    color: #fff;
    z-index: 10002;
    background: rgba(0,0,0,0.5);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Optymalizacja Mobile (CRO & Responsywność) */
.sticky-mobile-cta {
    display: none;
}

@media (max-width: 900px) {
    .hide-mobile { display: none !important; }
    
    nav { padding: 1rem 1.5rem; justify-content: space-between; gap: 1rem; }
    .header-phone { font-size: 0.95rem !important; margin-right: 0 !important; }

    .hero h1 { font-size: 2.5rem; line-height: 1.1; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }
    .hero-actions { flex-direction: column; gap: 1rem; }
    .hero-btn { padding: 1rem; width: 100%; box-sizing: border-box; }

    .section { padding: 4rem 1.5rem; }
    h2[data-reveal] { font-size: 2rem !important; }

    /* Układanie kolumn jedna pod drugą */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .form-grid { grid-template-columns: 1fr !important; }

    .wizard-option { padding: 1rem; font-size: 0.9rem; }

    /* Animowany, Zawsze widoczny Przycisk Telefonu */
    .sticky-mobile-cta {
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%;
        background: var(--primary); color: white; text-align: center;
        padding: 1.2rem; font-weight: 800; font-size: 1.1rem;
        justify-content: center; text-decoration: none;
        box-shadow: 0 -10px 20px rgba(0,0,0,0.5); z-index: 9000;
        text-transform: uppercase; letter-spacing: 1px;
    }
    
    body { padding-bottom: 80px; } /* Miejsce na sticky button */
    footer { padding: 2rem 1.5rem !important; }
}