/**
 * Modern Style 2.0 - Futurystyczny look dla LKH Intermedia
 * Neonowe akcenty, glassmorphism i responsywne siatki
 */

:root {
    /* Kolory bazowe */
    --primary: #6af0ff;
    --primary-strong: #38d2f4;
    --secondary: #b57bff;
    --accent: #ff8c5f;
    --success: #5df0b3;
    --warning: #ffd166;
    --danger: #ff6b6b;

    /* Tła i powierzchnie */
    --bg: #f6f8ff;
    --bg-soft: #eef2ff;
    --bg-contrast: #0e1024;
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.75);
    --surface-glow: rgba(106, 240, 255, 0.12);

    /* Tekst i obramowania - zwiększony kontrast */
    --text-main: #0f172a;
    --text-dim: #374151;
    --text-muted: #4b5563;
    --border: #d1d5db;

    /* Cienie i promienie */
    --shadow-soft: 0 20px 60px rgba(14, 16, 36, 0.08);
    --shadow-strong: 0 30px 90px rgba(14, 16, 36, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    /* Typografia i animacje */
    --font-sans: 'Manrope', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.28s ease;
    
    /* ===== Zmienne kompatybilności z komponentami ===== */
    /* Glassmorphism - tryb jasny */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(14, 16, 36, 0.12);
    
    /* Tekst - aliasy - zwiększony kontrast */
    --text-primary: #0f172a;
    --text-secondary: #374151;
    
    /* Tła - aliasy */
    --bg-secondary: #f0f4ff;
    --bg-tertiary: #e8eeff;
    
    /* Primary RGB dla rgba() */
    --primary-rgb: 56, 210, 244;
    --secondary-rgb: 181, 123, 255;
    
    /* Kolory komponentów */
    --primary-color: #38d2f4;
    --secondary-color: #b57bff;
}

/* Reset i baza */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text-main);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #e8eeff 100%);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(56, 210, 244, 0.08), transparent 40%),
        radial-gradient(ellipse at 80% 10%, rgba(139, 92, 246, 0.06), transparent 40%),
        radial-gradient(ellipse at 70% 75%, rgba(255, 140, 95, 0.05), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: #0891b2;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #0e7490;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0 0 0.75rem 0;
}

p {
    margin: 0 0 1rem 0;
    color: #374151;
}

.text-center {
    text-align: center;
}

.subtitle {
    color: #4b5563;
    font-size: 1.05rem;
}

/* Layout ogólny */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

/* Nagłówek i nawigacja */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100000;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(14, 16, 36, 0.1);
    box-shadow: 0 4px 20px rgba(14, 16, 36, 0.08);
}

.navbar {
    padding: 1.1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.logo {
    height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(14, 16, 36, 0.12);
}

/* Nowe logo - sieć światłowodowa z animacją */
.logo-modern {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 170, 0.3));
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
    filter: drop-shadow(0 6px 20px rgba(0, 212, 170, 0.5));
    transform: scale(1.05);
}

/* Animacje logo */
.logo-center {
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.logo-node {
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.5s; }
.node-3 { animation-delay: 1s; }
.node-4 { animation-delay: 1.5s; }

@keyframes nodePulse {
    0%, 100% { opacity: 0.5; r: 3; }
    50% { opacity: 1; r: 4; }
}

.logo-corner {
    animation: cornerGlow 4s ease-in-out infinite;
}

.corner-1 { animation-delay: 0s; }
.corner-2 { animation-delay: 1s; }
.corner-3 { animation-delay: 2s; }
.corner-4 { animation-delay: 3s; }

@keyframes cornerGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Pakiety danych - animowane kropki */
.data-packet {
    opacity: 0.9;
    filter: blur(0.5px);
}

.brand-name {
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: 0.01em;
    color: var(--text-main);
}

.brand-name strong {
    font-weight: 700;
    color: #00d4aa;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-weight: 600;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-strong), var(--secondary));
    opacity: 0;
    transform: translateY(4px);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-main);
    background: rgba(106, 240, 255, 0.12);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #0b1021 !important;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(106, 240, 255, 0.25);
    border: 1px solid rgba(106, 240, 255, 0.6);
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(181, 123, 255, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.7rem;
    font-size: 1.25rem;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(14, 16, 36, 0.08);
}

/* Przyciski */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 1.4rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    color: #0b1021;
    box-shadow: 0 16px 40px rgba(106, 240, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(181, 123, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: rgba(106, 240, 255, 0.6);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(106, 240, 255, 0.08);
}

.btn-text {
    background: none;
    color: var(--text-main);
    padding-left: 0;
}

.btn-text i {
    transition: transform var(--transition);
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 10% 20%, rgba(106, 240, 255, 0.18), transparent 45%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(14, 16, 36, 0.05) 0%, rgba(14, 16, 36, 0.2) 80%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: auto, 120px 120px, 120px 120px;
    opacity: 0.5;
    z-index: 0;
}

/* Animowana sieć światłowodowa w tle */
.fiber-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.fiber-network {
    width: 100%;
    height: 100%;
}

/* Węzły sieci */
.network-nodes .node {
    animation: nodeGlow 3s ease-in-out infinite;
}

.network-nodes .node-main {
    animation: nodeMainGlow 2s ease-in-out infinite;
}

@keyframes nodeGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes nodeMainGlow {
    0%, 100% { opacity: 0.6; r: 7; }
    50% { opacity: 1; r: 9; }
}

/* Pakiety danych przepływające */
.data-packets .packet {
    opacity: 0.9;
}

/* Linie światłowodowe - subtelne pulsowanie */
.fiber-lines line {
    animation: lineFlow 4s ease-in-out infinite;
}

.fiber-lines line:nth-child(odd) {
    animation-delay: 0.5s;
}

.fiber-lines line:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes lineFlow {
    0%, 100% { stroke-opacity: 0.1; }
    50% { stroke-opacity: 0.25; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.1;
}

.hero-title .highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.2rem 0.6rem 0.2rem 0.35rem;
    border-radius: 999px;
    background: rgba(106, 240, 255, 0.18);
    color: #0b1021;
    box-shadow: 0 10px 30px rgba(106, 240, 255, 0.35);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 620px;
    color: var(--text-dim);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.2rem 0 1.6rem 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(10, 31, 68, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.chip.success { border-color: rgba(93, 240, 179, 0.6); background: rgba(10, 60, 40, 0.85); color: #5df0b3; }
.chip.accent { border-color: rgba(181, 123, 255, 0.6); background: rgba(50, 20, 80, 0.85); color: #b57bff; }

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.meta-card {
    background: var(--surface);
    border: 1px solid rgba(14, 16, 36, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 20px rgba(14, 16, 36, 0.1);
    position: relative;
    overflow: hidden;
}

.meta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(106, 240, 255, 0.08), rgba(181, 123, 255, 0.08));
    opacity: 0;
    transition: var(--transition);
}

.meta-card:hover::after {
    opacity: 1;
}

.meta-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Stats Banner - wyraziste statystyki */
.stats-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.stats-banner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.stat-banner-item {
    text-align: center;
    padding: 25px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-banner-item.highlight {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ffd700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    padding: 35px 30px;
}

.stat-banner-item.highlight .stat-banner-number {
    color: #667eea;
    font-size: 3.5rem;
}

.stat-banner-item.highlight .stat-banner-label {
    color: #1a1a2e;
    font-size: 1.3rem;
}

.stat-banner-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.stat-banner-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-banner-desc {
    font-size: 0.9rem;
    color: #5f6368;
    margin-top: 10px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .stats-banner-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-banner-item.highlight {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .stats-banner-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-banner-item.highlight {
        grid-column: span 1;
    }
    
    .stat-banner-item.highlight .stat-banner-number {
        font-size: 2.8rem;
    }
}

.hero-visual {
    position: relative;
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(145deg, rgba(14, 16, 36, 0.75), rgba(14, 16, 36, 0.55));
    box-shadow: var(--shadow-strong);
}

.hero-visual::before,
.hero-visual::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 30%, rgba(106, 240, 255, 0.35), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(181, 123, 255, 0.35), transparent 45%);
    filter: blur(20px);
}

.mesh-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.orb.one { width: 160px; height: 160px; top: 16%; left: 10%; background: radial-gradient(circle, #6af0ff 0%, #0e1024 65%); opacity: 0.75; }
.orb.two { width: 240px; height: 240px; bottom: -20px; right: 8%; background: radial-gradient(circle, #b57bff 0%, #0e1024 65%); opacity: 0.6; }
.orb.three { width: 110px; height: 110px; bottom: 25%; left: 35%; background: radial-gradient(circle, #ff8c5f 0%, #0e1024 70%); opacity: 0.65; }

/* Sprawdź dostępność */
.dostepnosc-section {
    position: relative;
    background: radial-gradient(circle at 10% 10%, rgba(106, 240, 255, 0.12), transparent 35%), var(--bg);
}

.dostepnosc-form-wrapper {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(14, 16, 36, 0.06);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.dostepnosc-form-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(106, 240, 255, 0.08), rgba(181, 123, 255, 0.08));
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.dostepnosc-form-wrapper:hover::after {
    opacity: 1;
}

.dostepnosc-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

/* Zabezpieczenie przed wychodzeniem poza kontener */
.form-group input,
.form-group select,
.form-group textarea {
    max-width: 100%;
    box-sizing: border-box;
}

.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.form-submit-row .btn {
    min-width: 280px;
    padding: 1rem 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #fdfdff;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-strong);
    box-shadow: 0 0 0 4px rgba(106, 240, 255, 0.18);
}

.dostepnosc-result {
    margin-top: 1.25rem;
}

.result-success,
.result-warning,
.result-error {
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.result-success { border-color: rgba(93, 240, 179, 0.4); }
.result-warning { border-color: rgba(255, 209, 102, 0.5); }
.result-error { border-color: rgba(255, 107, 107, 0.4); }

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

/* Usługi */
.uslugi-section {
    position: relative;
}

.uslugi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.usluga-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(14, 16, 36, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.usluga-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(106, 240, 255, 0.12), rgba(181, 123, 255, 0.12));
    opacity: 0;
    transition: var(--transition);
}

.usluga-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.usluga-card:hover::before {
    opacity: 1;
}

.usluga-card h3 {
    position: relative;
    z-index: 1;
}

.usluga-card p,
.usluga-card a {
    position: relative;
    z-index: 1;
}

.usluga-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #0b1021;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 16px 40px rgba(106, 240, 255, 0.3);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.btn.btn-text {
    color: var(--text-main);
    font-weight: 700;
}

/* Feature grid */
.features-section {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    border: 1px solid rgba(14, 16, 36, 0.05);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(106, 240, 255, 0.6);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #0b1021;
    background: rgba(106, 240, 255, 0.25);
    margin-bottom: 0.7rem;
}

/* Mapa */
.map-section .map-container {
    margin-top: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(14, 16, 36, 0.12);
}

.map-container iframe {
    display: block;
}

/* CTA */
.cta-section {
    background: radial-gradient(circle at 20% 20%, rgba(106, 240, 255, 0.2), transparent 50%),
                radial-gradient(circle at 80% 10%, rgba(181, 123, 255, 0.2), transparent 50%),
                linear-gradient(120deg, #0e1224 0%, #121b33 70%, #141e3a 100%);
    color: #e9ecf8;
    border-radius: var(--radius-lg);
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    opacity: 0.4;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: #ffffff;
}

.cta-section p {
    color: rgba(233, 236, 248, 0.85);
    font-size: 1.15rem;
    margin-bottom: 1.6rem;
}

.cta-section .btn-primary {
    box-shadow: 0 20px 40px rgba(106, 240, 255, 0.3);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.3rem;
    margin-top: 2rem;
}

.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid rgba(14, 16, 36, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(14, 16, 36, 0.12), 0 2px 8px rgba(14, 16, 36, 0.08);
    padding: 1.4rem;
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-strong);
    box-shadow: 0 16px 48px rgba(56, 210, 244, 0.2), 0 4px 16px rgba(14, 16, 36, 0.12);
}

.pricing-card.featured {
    background: linear-gradient(150deg, #ffffff 0%, rgba(106, 240, 255, 0.08) 50%, rgba(181, 123, 255, 0.1) 100%);
    border: 2px solid var(--primary-strong);
    box-shadow: 0 12px 40px rgba(56, 210, 244, 0.25), 0 4px 16px rgba(14, 16, 36, 0.1);
}

.pricing-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    transform: none;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.02em;
    z-index: 10;
}

.pricing-header {
    margin-bottom: 1rem;
}

.pricing-header h3 {
    margin: 0 0 0.5rem 0;
    color: #0f172a;
    font-weight: 700;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.price .amount {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
}

.price .currency {
    color: #4b5563;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    display: grid;
    gap: 0.65rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #1f2937;
    font-weight: 500;
}

.pricing-features i {
    color: var(--success);
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    background: linear-gradient(180deg, #0e1224 0%, #0c101f 100%);
    color: #e9ecf8;
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 0.9rem;
}

.footer-section p,
.footer-section li,
.footer-section a {
    color: rgba(233, 236, 248, 0.8);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-section a:hover {
    color: #ffffff;
}

.contact-info {
    display: grid;
    gap: 0.5rem;
}

.contact-info i {
    margin-right: 0.4rem;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: #ffffff;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(233, 236, 248, 0.65);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 220px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(14, 16, 36, 0.06);
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    display: block;
    color: var(--text-dim);
}

.dropdown-item:hover {
    background: rgba(106, 240, 255, 0.08);
    color: var(--text-main);
}

/* Ecosystem cards */
.ecosystem-section {
    background: var(--bg-soft);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.3rem;
}

.ecosystem-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.ecosystem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.ecosystem-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ecosystem-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}

.ecosystem-content {
    padding: 1.4rem;
}

.ecosystem-title {
    font-size: 1.35rem;
}

.ecosystem-desc {
    color: var(--text-dim);
}

/* Kontakt */
.kontakt-section {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.3rem;
}

.kontakt-info,
.kontakt-form-wrapper {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(14, 16, 36, 0.06);
    box-shadow: var(--shadow-soft);
}

.kontakt-item {
    display: flex;
    gap: 0.9rem;
    padding: 0.8rem 0;
    align-items: center;
}

.kontakt-item i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(106, 240, 255, 0.2);
    color: #0b1021;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
}

/* Page headers / hero mniejsze */
.page-header {
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0f1d32 100%);
    padding: 3.2rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(56, 210, 244, 0.2);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2338d2f4' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 20s linear infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.page-header > * {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.3rem;
    color: #ffffff;
}

.page-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
}

.content-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    align-items: center;
}

.content-image .image-placeholder {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(106, 240, 255, 0.16), rgba(181, 123, 255, 0.2));
    padding: 2.5rem;
    color: rgba(14, 16, 36, 0.5);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.7rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-dim);
}

.feature-list i {
    color: var(--success);
}

/* FAQ */
.faq-section {
    background: var(--bg-soft);
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
    display: grid;
    gap: 0.8rem;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(14, 16, 36, 0.06);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    padding: 1.1rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 1.3rem 1.3rem;
    color: var(--text-dim);
}

/* Responsywność */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        display: none;
        z-index: 120000;
    }

    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        color: #1a1a2e;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(59, 130, 246, 0.1);
        color: #3b82f6;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 10001;
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
    
    .mobile-menu-toggle.active {
        background: #3b82f6;
        color: white;
        border-color: #3b82f6;
    }

    .hero-section {
        padding-top: 4.5rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    /* Formularz sprawdź dostępność - mobile */
    .dostepnosc-form-wrapper {
        padding: 1rem;
        margin: 0 -0.5rem;
        border-radius: var(--radius-md);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.8rem 0.9rem;
        font-size: 16px; /* Zapobiega zoomowaniu na iOS */
    }
    
    .form-submit-row .btn {
        min-width: auto;
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
}

/* ===== TRYB JASNY - Poprawki kontrastów ===== */
/* Te style działają TYLKO gdy NIE jest włączony dark-mode */

/* Duration toggle w trybie jasnym */
body:not(.dark-mode) .duration-toggle {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(14, 16, 36, 0.15);
    box-shadow: 0 4px 15px rgba(14, 16, 36, 0.08);
}

body:not(.dark-mode) .duration-btn {
    color: #1f2937;
    font-weight: 600;
}

body:not(.dark-mode) .duration-btn:hover {
    background: rgba(8, 145, 178, 0.1);
}

body:not(.dark-mode) .duration-btn.active {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}

body:not(.dark-mode) .duration-label {
    color: #374151;
    font-weight: 500;
}

/* Tech toggle w trybie jasnym */
body:not(.dark-mode) .tech-toggle {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(14, 16, 36, 0.15);
}

body:not(.dark-mode) .tech-toggle-btn {
    color: #1f2937;
    font-weight: 600;
}

body:not(.dark-mode) .tech-toggle-btn:hover {
    background: rgba(14, 16, 36, 0.05);
}

/* Info banner */
body:not(.dark-mode) .tech-info-banner {
    color: #1f2937;
    font-weight: 500;
}

body:not(.dark-mode) .tech-info-banner span {
    color: #374151;
}

/* Install info bar */
body:not(.dark-mode) .install-info-bar {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(14, 16, 36, 0.12);
    color: #1f2937;
}

/* FAQ sekcja */
body:not(.dark-mode) .faq-item {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(14, 16, 36, 0.12);
}

body:not(.dark-mode) .faq-question h3 {
    color: #0f172a;
}

body:not(.dark-mode) .faq-answer p {
    color: #374151;
}

/* Instalacja karty */
body:not(.dark-mode) .instalacja-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(14, 16, 36, 0.12);
}

body:not(.dark-mode) .instalacja-card .instalacja-header h4 {
    color: #0f172a;
}

body:not(.dark-mode) .instalacja-card .inst-period {
    color: #374151;
}

body:not(.dark-mode) .instalacja-card .inst-amount {
    color: #0f172a;
}

/* Benefit cards */
body:not(.dark-mode) .benefit-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(14, 16, 36, 0.12);
}

body:not(.dark-mode) .benefit-card h4 {
    color: #0f172a;
}

body:not(.dark-mode) .benefit-card p {
    color: #374151;
}

/* Multiroom i inne sekcje */
body:not(.dark-mode) .multiroom-card,
body:not(.dark-mode) .telefon-info-bar,
body:not(.dark-mode) .dodatkowe-oplaty {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(14, 16, 36, 0.12);
}

/* Tytuły sekcji */
body:not(.dark-mode) .section-title,
body:not(.dark-mode) .section-title-modern h2 {
    color: #0f172a;
}

/* Subtitles */
body:not(.dark-mode) .subtitle-modern,
body:not(.dark-mode) .section p.subtitle {
    color: #4b5563;
}

/* Cena w featured card - tryb jasny */
body:not(.dark-mode) .pricing-card.featured .price .amount {
    color: #0f172a;
}

body:not(.dark-mode) .pricing-card.featured .pricing-features li {
    color: #1f2937;
}

/* Okres umowy pod ceną - tryb jasny */
body:not(.dark-mode) .price-subtitle,
body:not(.dark-mode) .pricing-card small {
    color: #4b5563;
}

/* Badge prędkości w pakietach - tryb jasny */
body:not(.dark-mode) .speed-badge {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: #ffffff;
}
