/* --- Globalne Resetowanie i Zmienne --- */
:root {
    --bg-dark: #0b0f19;
    --bg-card: #131b2e;
    --border-card: #1e293b;
    --cyan: #06b6d4;
    --violet: #8b5cf6;
    --blue: #3b82f6;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    antialiased: true;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Layout Kontenery --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-card);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.logo span {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.logo span span {
    background: linear-gradient(135deg, #06b6d4 0%, #42e122 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-desktop a:hover {
    color: var(--cyan);
    transition: color 0.2s ease;
}

/* --- Sekcja 1 (Hero) --- */
.hero-section {
    position: relative;
    padding: 4rem 0 6rem 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text-box h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #42e122 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.highlight-card {
    background-color: rgba(19, 27, 46, 0.9);
    border: 1px solid var(--border-card);
    padding: 1.25rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-3px);
}

.highlight-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.image-glow-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.image-glow-frame::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    border-radius: 1.5rem;
    filter: blur(10px);
    opacity: 0.25;
}

.image-container {
    position: relative;
    background-color: var(--bg-card);
    padding: 0.75rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border-card);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 0.85rem;
    object-fit: cover;
    display: block;
}

/* --- Sekcja 2 (Oferta i Cennik) --- */
.pricing-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0f1526, var(--bg-dark));
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    display: inline-block;
    color: #42e122;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.75rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.rule-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 2rem;
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.35);
}

.rule-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.rule-card.cyan-accent::after { background: linear-gradient(to bottom, #42e122, var(--blue)); }
.rule-card.violet-accent::after { background: linear-gradient(to bottom, var(--blue), #42e122); }
.rule-card.blue-accent::after { background: linear-gradient(to bottom, #42e122, var(--cyan)); }

.rule-icon {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.rule-icon.cyan { background-color: rgba(6, 182, 212, 0.1); color: var(--cyan); }
.rule-icon.violet { background-color: rgba(139, 92, 246, 0.1); color: var(--violet); }
.rule-icon.blue { background-color: rgba(6, 182, 212, 0.1); color: var(--cyan); }
.rule-icon img { width: 75px; height: 75px; object-fit: contain; }

.rule-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.rule-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tabela cenowa */
.price-table-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.price-table-header {
    padding: 1.5rem 2rem;
    background-color: #172138;
    border-bottom: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-table-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-table-header h3 i {
    color: var(--cyan);
}

.price-table-header span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-list {
    display: flex;
    flex-direction: column;
}

.price-item {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-card);
    transition: background-color 0.2s ease;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item:hover {
    background-color: rgba(13, 20, 36, 0.6);
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

.price-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-badge {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    white-space: nowrap;
}

/* --- Sekcja 3 (Kontakt) --- */
.contact-section {
    padding: 6rem 0;
}

.contact-card-box {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: rgba(11, 15, 25, 0.5);
    border: 1px solid var(--border-card);
    border-radius: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cyan-bg { background-color: rgba(6, 182, 212, 0.1); color: var(--cyan); }
.violet-bg { background-color: rgba(139, 92, 246, 0.1); color: var(--violet); }
.blue-bg { background-color: rgba(59, 130, 246, 0.1); color: var(--blue); }
.green-bg { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }

.contact-item label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item a, .contact-item span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    word-break: break-word;
}

.contact-item a:hover {
    color: var(--cyan);
    transition: color 0.2s ease;
}

/* --- Footer --- */
footer {
    background-color: #070a12;
    border-top: 1px solid var(--border-card);
    padding: 3rem 0;
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.footer-subtitle-text {
    font-size: 0.8rem;
    color: #64748b;
}

.footer-copy {
    text-align: right;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-credits {
    color: #475569;
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

/* --- Responsywność (Mobile / Tablet) --- */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .nav-desktop {
        display: none;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .price-badge {
        align-self: flex-start;
    }

    .contact-card-box {
        padding: 1.5rem;
    }
}