/* --- ZMIENNE --- */
:root {
    --blue: #0690c7;
    --blue-glow: #00d4ff;
    --dark: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--dark);
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
}

/* --- TŁO ANIMOWANE --- */
.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #064563 0%, #0a0a0a 100%);
}
.bg-animation::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(6, 144, 199, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 40%);
    animation: rotateBg 25s linear infinite;
}
@keyframes rotateBg { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0; width: 100%;
    backdrop-filter: blur(15px);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 10px 0;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}
.header-logo { height: 70px; width: auto; transition: 0.3s; }
.header-logo:hover { transform: scale(1.05); }

.nav { display: flex; gap: 30px; }
.nav a {
    color: #aaa; text-decoration: none; font-weight: 700; font-size: 14px;
    text-transform: uppercase; cursor: pointer; transition: 0.3s;
}
.nav a:hover, .nav a.active { color: var(--blue); text-shadow: 0 0 10px var(--blue); }

/* --- SEKCJE SPA --- */
.page-section {
    display: none;
    max-width: 1100px;
    margin: 140px auto 60px;
    padding: 0 20px;
    animation: slideUp 0.6s ease-out;
}
.page-section.active { display: block; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* --- HOME / HERO --- */
.hero { text-align: center; padding: 60px 0; }
.hero-title {
    font-family: 'Montserrat', sans-serif; font-weight: 900;
    font-size: clamp(35px, 7vw, 80px); line-height: 1.1; margin-bottom: 25px;
}
.text-blue { color: var(--blue); }
.hero-subtitle { color: #aaa; font-size: clamp(16px, 2vw, 20px); max-width: 700px; margin: 0 auto 40px; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* --- PRZYCISKI --- */
.btn-main {
    background: var(--blue); color: #fff; border: none; padding: 18px 35px;
    border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s;
    box-shadow: 0 8px 20px rgba(6, 144, 199, 0.3);
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(6, 144, 199, 0.5); }
.btn-outline {
    background: transparent; color: #fff; border: 2px solid var(--blue);
    padding: 16px 35px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s;
}
.btn-outline:hover { background: var(--blue); }

/* --- GLASSMORPHISM CARDS --- */
.glass-card {
    background: var(--glass); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); padding: 40px;
    border-radius: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* --- JAK TO DZIAŁA --- */
.section-container { margin-top: 100px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-family: 'Montserrat', sans-serif; font-weight: 900; letter-spacing: 1px; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.process-card {
    background: var(--glass); border: 1px solid var(--glass-border);
    padding: 40px; border-radius: 25px; position: relative;
}
.process-card.highlight { border-color: var(--blue); box-shadow: 0 0 20px rgba(6, 144, 199, 0.2); }
.step-num {
    font-family: 'Montserrat', sans-serif; font-size: 50px; font-weight: 900;
    color: rgba(6, 144, 199, 0.1); position: absolute; top: 15px; right: 25px;
}

.about-box { text-align: center; }
.underline { width: 60px; height: 4px; background: var(--blue); margin: 20px auto; }

/* --- KONTAKT --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: start; }
.contact-info-cards { display: grid; gap: 20px; }
.info-card {
    background: var(--glass); border: 1px solid var(--glass-border);
    padding: 20px; border-radius: 15px; display: flex; align-items: center; gap: 20px;
}
.info-icon { font-size: 24px; color: var(--blue); background: rgba(6, 144, 199, 0.1); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.info-card h4 { color: var(--blue); margin-bottom: 5px; }

.social-pills { display: flex; gap: 10px; margin-top: 10px; }
.social-item {
    display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none;
    background: var(--glass); padding: 8px 16px; border-radius: 50px; border: 1px solid var(--glass-border);
    font-size: 13px; font-weight: 600; transition: 0.3s;
}
.social-item:hover { border-color: var(--blue); background: rgba(6, 144, 199, 0.2); transform: translateY(-2px); }

/* --- TABELE --- */
.modern-table { width: 100%; border-collapse: collapse; }
.modern-table td { padding: 20px; border-bottom: 1px solid var(--glass-border); text-align: left; }
.price { text-align: right; color: var(--blue); font-weight: 900; }

/* --- FORMULARZE --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 25px; }
.full-row { grid-column: span 2; }
.input-group { margin-bottom: 20px; text-align: left; }
label { display: block; color: #aaa; font-size: 14px; margin-bottom: 8px; }
input, textarea {
    width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    padding: 14px; border-radius: 12px; color: #fff; font-family: inherit; transition: 0.3s;
}
input:focus { border-color: var(--blue); outline: none; background: rgba(255,255,255,0.08); }
.tab-switcher { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; }
.tab-btn { background: var(--glass); color: #fff; border: 1px solid var(--glass-border); padding: 12px 25px; border-radius: 12px; cursor: pointer; transition: 0.3s; }
.tab-btn.active { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 15px var(--blue); }
.full-width { width: 100%; }

/* --- STOPKA --- */
.footer {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 20px;
    margin-top: 100px;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; text-align: left; margin-bottom: 40px;
}
.footer-logo { height: 80px; width: auto; margin-bottom: 5px; }
.footer-brand p { color: #aaa; line-height: 1.6; max-width: 350px; }
.footer-links h4, .footer-social h4 { color: var(--blue); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; color: #aaa; text-decoration: none; margin-bottom: 10px; transition: 0.3s; cursor: pointer; }
.footer-links a:hover { color: #fff; padding-left: 5px; }

.social-icons-footer { display: flex; gap: 15px; }
.social-icons-footer a {
    display: flex; align-items: center; justify-content: center; width: 45px; height: 45px;
    border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-border);
    color: #fff; font-size: 20px; text-decoration: none; transition: 0.3s;
}
.social-icons-footer a:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 0 15px var(--blue); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; color: #aaa; font-size: 13px; text-align: center; }

/* --- RWD --- */
@media (max-width: 850px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-brand p { margin: 10px auto; }
    .social-icons-footer { justify-content: center; }
}
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    .form-grid { grid-template-columns: 1fr; }
    .full-row { grid-column: span 1; }
    .hero-btns { flex-direction: column; }
    .page-section { margin-top: 180px; }
}

/* STYL DLA PODPISU WEBIZONE */
.webizone-credit {
    margin-top: 8px;
    font-size: 11px;
    color: #444; /* Subtelny kolor */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.webizone-credit a {
    color: #666;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.webizone-credit a:hover {
    color: var(--blue); /* Zmienia się na niebieski przy najechaniu */
    text-shadow: 0 0 8px var(--blue);
}