/* ===================================================
   DOMINIK CIESIELSKI – dominik-coder.pl
   Style: nowoczesny ciemny motyw z gradientem cyan
   =================================================== */

/* ---- Zmienne ---- */
:root {
    --c1: #00f298;
    --c2: #07f7f7;
    --dark1: #1c1c1c;
    --dark2: #22252c;
    --dark3: #2a2e38;
    --text: #aeaeae;
    --white: #ededed;
    --accent: linear-gradient(90deg, #00f298, #07f7f7);
    --nav-h: 70px;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Epilogue', sans-serif;
    background-color: var(--dark1);
    color: var(--text);
    font-weight: 300;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Epilogue', sans-serif;
    font-weight: 500;
    color: var(--white);
}

a {
    transition: color .3s;
}

/* ---- Scrollbar ---- */
body::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

body::-webkit-scrollbar {
    width: 8px;
    background: #1a1a1a;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: linear-gradient(var(--c1), var(--c2));
}

/* ===================================================
   REUŻYWALNE KOMPONENTY
   =================================================== */

/* Gradient tekst – nagłówki sekcji */
.tytul_kolor {
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Nagłówek sekcji */
.section-header {
    margin-bottom: 0.5rem;
}

.section-sub {
    color: var(--text);
    font-size: 17px;
    margin-top: 8px;
}

/* Przyciski */
.btn-gradient {
    background: var(--accent);
    color: #111 !important;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 13px 32px;
    font-size: 15px;
    transition: transform .2s, box-shadow .2s;
    display: inline-block;
    text-decoration: none;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 242, 152, .35);
    color: #111 !important;
}

.btn-gradient-sm {
    background: var(--accent);
    color: #111 !important;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 11px 24px 9px !important;
    font-size: 14px;
    transition: transform .2s, box-shadow .2s;
    display: inline-block !important;
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
}

.btn-gradient-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 152, .3);
    color: #111 !important;
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid var(--c1);
    color: var(--c1) !important;
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background .25s, color .25s, transform .2s;
}

.btn-outline-gradient:hover {
    background: var(--accent);
    color: #111 !important;
    transform: translateY(-2px);
}

.btn-facebook {
    background: #1877f2;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 9px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background .25s, transform .2s;
}

.btn-facebook:hover {
    background: #145dbf;
    transform: translateY(-2px);
}

/* ===================================================
   NAWIGACJA
   =================================================== */
#main-nav {
    background: rgba(28, 28, 28, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    transition: background .35s, box-shadow .35s, padding .35s;
    border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
    background: rgba(28, 28, 28, .97);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .5);
    border-bottom-color: rgba(255, 255, 255, .05);
    padding: 8px 0;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-toggler {
    border: 0;
    padding-right: 0;
    font-size: 26px;
    color: var(--white);
    position: relative;
    z-index: 1050;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, .7) !important;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 30px !important;
    transition: color .25s;
    display: flex !important;
    align-items: center;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    margin-right: 8px;
    font-size: 16px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--c1) !important;
}

/* ===================================================
   HERO
   =================================================== */
#hero {
    background: var(--dark1);
    height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--nav-h) 0 0;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 152, .07) 0%, transparent 70%);
    pointer-events: none;
    animation: blobMove 12s infinite alternate;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 247, 247, .06) 0%, transparent 70%);
    pointer-events: none;
    animation: blobMove 18s infinite alternate-reverse;
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 80px) scale(1.1);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 242, 152, .1);
    border: 1px solid rgba(0, 242, 152, .3);
    color: var(--c1);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: .5px;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 152, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 242, 152, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 152, 0);
    }
}

.hero-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(90deg, #00f298, #07f7f7, #00f298, #07f7f7);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: gradientText 5s linear infinite;
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-sub {
    font-size: 17px;
    color: var(--text);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-sub strong {
    color: var(--white);
}

.hero-cta {
    margin-bottom: 48px;
}

.hero-cta .btn-outline-light {
    border-radius: 50px;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.stat-icon {
    font-size: 20px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.custom-clock {
    width: 22px;
    height: 22px;
    border: 2px solid var(--c1);
    border-radius: 50%;
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
    background: transparent !important;
}

.clock-hand {
    position: absolute;
    width: 2px;
    height: 7px;
    background: var(--c1);
    top: 50%;
    left: calc(50% - 1px);
    transform-origin: top center;
    animation: clockRotate 3s linear infinite;
}

@keyframes clockRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#hero-avatar {
    max-height: 65vh;
    margin-top: -80px;
    animation: float 6s ease-in-out infinite, neonOutline 3s ease-in-out infinite alternate;
    z-index: 5;
    position: relative;
}

@keyframes neonOutline {
    0% {
        filter: drop-shadow(0 0 5px rgba(0, 242, 152, 0.4)) drop-shadow(0 0 10px rgba(7, 247, 247, 0.2));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(0, 242, 152, 0.6)) drop-shadow(0 0 25px rgba(7, 247, 247, 0.4));
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Scroll indicator */
#przewijak {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    transition: color .3s;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 65px;
    text-align: center;
    white-space: nowrap;
}

#przewijak:hover {
    color: var(--c1);
}

#przewijak span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 28px;
    height: 46px;
    margin-left: -14px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 50px;
}

#przewijak span::before {
    position: absolute;
    top: 8px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: var(--c1);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        transform: translateY(18px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ===================================================
   OFERTA
   =================================================== */
#oferta {
    background: var(--dark2);
    padding: 100px 0;
}

.oferta-card {
    background: var(--dark3);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.oferta-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 242, 152, .5);
    box-shadow: 0 20px 60px rgba(0, 242, 152, .15);
}

.oferta-card--featured {
    border-color: rgba(0, 242, 152, .25);
    background: linear-gradient(135deg, rgba(0, 242, 152, .05) 0%, var(--dark3) 60%);
    position: relative;
}

.oferta-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #111;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.oferta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    overflow: visible;
}

.oferta-icon i {
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 30px;
    animation: iconColorShift 6s infinite alternate;
}

@keyframes iconColorShift {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(60deg);
    }
}

.oferta-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--white);
}

.oferta-problem {
    font-size: 13px;
    color: #f0a500;
    background: rgba(240, 165, 0, .08);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.oferta-problem i {
    color: #f0a500;
}

.oferta-lista {
    list-style: none;
    padding: 0;
    margin: 14px 0 20px;
    flex: 1;
}

.oferta-lista li {
    padding: 5px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.oferta-lista li i {
    color: var(--c1);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ===================================================
   DLACZEGO JA
   =================================================== */
#dlaczego-ja {
    background: var(--dark1);
    padding: 100px 0;
}

.dlaczego-avatar {
    border-radius: 20px;
    filter: drop-shadow(0 0 30px rgba(0, 242, 152, .12));
    max-height: 480px;
    object-fit: cover;
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 242, 152, .1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
}

.why-icon i {
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 22px;
}

.why-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--white);
}

.why-item p {
    font-size: 14px;
    margin: 0;
}

/* ===================================================
   PORTFOLIO
   =================================================== */
#portfolio {
    background: var(--dark2);
    padding: 100px 0;
}

.portfolio-card {
    background: var(--dark3);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .06);
    transition: transform .3s, box-shadow .3s;
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 242, 152, .5);
    box-shadow: 0 20px 60px rgba(0, 242, 152, .2);
}

.portfolio-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c1);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.portfolio-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.portfolio-info p {
    font-size: 14px;
    margin-bottom: 6px;
}

.portfolio-info strong {
    color: var(--white);
}

/* ===================================================
   PROCES
   =================================================== */
#proces {
    background: var(--dark1);
    padding: 100px 0;
}

.proces-step {
    background: var(--dark3);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: border-color .3s, transform .3s;
    height: 100%;
}

.proces-step:hover {
    border-color: rgba(0, 242, 152, .25);
    transform: translateY(-4px);
}

.proces-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    color: #111;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proces-icon {
    font-size: 32px;
    margin: 16px 0 14px;
}

.proces-icon i {
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proces-step h4 {
    font-size: 17px;
    margin-bottom: 10px;
}

.proces-step p {
    font-size: 14px;
    margin: 0;
}

/* ===================================================
   BLOG
   =================================================== */
#blog {
    background: var(--dark1);
    padding: 100px 0;
}

.blog-card {
    background: var(--dark3);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
    transition: transform .3s, border-color .3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 152, .2);
}

.blog-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 242, 152, .1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-icon i {
    font-size: 22px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-info {
    flex: 1;
}

.blog-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c1);
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.blog-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-info p {
    font-size: 13px;
    margin-bottom: 12px;
}

.blog-link {
    font-size: 13px;
    color: var(--c1);
    text-decoration: none;
    font-weight: 500;
    transition: gap .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-link:hover {
    color: var(--c2);
    gap: 10px;
}

.blog-link i {
    transition: transform .2s;
}

.blog-link:hover i {
    transform: translateX(4px);
}

.blog-cta-box {
    border: 1px dashed rgba(0, 242, 152, .25);
    border-radius: 16px;
    width: 100%;
}

.blog-cta-icon {
    font-size: 36px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

/* ===================================================
   KONTAKT
   =================================================== */
#kontakt {
    background: var(--dark1);
    padding: 100px 0;
}

.kontakt-info h3 {
    font-size: 26px;
    margin-bottom: 14px;
}

.kontakt-info>p {
    font-size: 15px;
    margin-bottom: 32px;
}

.kontakt-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.kontakt-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 242, 152, .1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kontakt-icon i {
    font-size: 18px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kontakt-detail strong {
    display: block;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 2px;
}

.kontakt-detail a,
.kontakt-detail span {
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
}

.kontakt-detail a:hover {
    color: var(--c1);
}

/* Formularz */
.kontakt-form .form-label {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 6px;
}

.kontakt-form .form-control,
.kontakt-form .form-select {
    background: var(--dark3);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--white);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color .25s;
}

.kontakt-form .form-control::placeholder {
    color: rgba(255, 255, 255, .3);
}

.kontakt-form .form-control:focus,
.kontakt-form .form-select:focus {
    background: var(--dark3);
    border-color: var(--c1);
    color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 242, 152, .15);
}

.kontakt-form .form-select option {
    background: var(--dark2);
    color: var(--white);
}

.kontakt-form .form-check-input {
    background-color: var(--dark3);
    border-color: rgba(255, 255, 255, .2);
}

.kontakt-form .form-check-input:checked {
    background-color: var(--c1);
    border-color: var(--c1);
}

.kontakt-form .form-check-label {
    font-size: 13px;
    color: var(--text);
}

/* ===================================================
   FOOTER
   =================================================== */
#stopka {
    background: var(--dark2);
    padding: 60px 0 30px;
}

.footer-heading {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text);
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: color .25s;
}

.footer-links a:hover {
    color: var(--c1);
}

.footer-hr {
    border-color: rgba(255, 255, 255, .08);
    margin: 32px 0 20px;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .06);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    transition: background .25s, color .25s;
}

.social-link:hover {
    background: #1877f2;
    color: #fff;
}

/* ===================================================
   RESPONSYWNOŚĆ
   =================================================== */
@media (max-width: 991px) {
    .tytul_kolor { font-size: 30px; }
    #hero { height: 100vh; padding-top: calc(var(--nav-h) + 5px); }
    .hero-title { font-size: 28px; }
    .hero-stats { gap: 24px; justify-content: center; }
    .stat-number { font-size: 28px; }
    .social-banner { padding: 28px; }
    .social-banner h3 { font-size: 22px; }
}

@media (max-width: 767px) {
    :root { --nav-h: 57px; }
    .tytul_kolor { font-size: 26px; }
    .section-sub { font-size: 15px; }

    /* Offcanvas Mobile */
    .offcanvas { background: var(--dark2) !important; width: 80% !important; height: 100vh !important; }
    .offcanvas .nav-link {
        font-size: 18px !important;
        padding: 15px 0 !important;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        color: var(--white) !important;
        display: block !important;
    }
    .offcanvas .nav-link i { color: var(--c1); margin-right: 10px; }

    #hero { height: 100vh; padding-top: calc(var(--nav-h) + 10px); padding-bottom: 20px; }
    .hero-title { font-size: 24px; margin-bottom: 8px; }
    .hero-sub { font-size: 13px; margin-bottom: 12px; }
    .hero-badge { margin-bottom: 8px; padding: 4px 12px; font-size: 11px; }
    .hero-cta .btn-gradient, .hero-cta .btn-outline-light { padding: 8px 16px; font-size: 12px; }
    .hero-cta .btn-outline-light { margin-top: 4px; }
    #hero-avatar { max-height: 200px; margin-top: 5px; margin-bottom: 5px; }
    .hero-stats { display: flex; flex-direction: row !important; gap: 40px; justify-content: center; margin-top: -25px; margin-bottom: 110px; width: 100%; }
    
    #przewijak {
        display: flex;
        flex-direction: column;
        align-items: center;
        bottom: 0px;
        font-size: 7px;
        padding-top: 0;
        height: auto;
    }
    #przewijak span {
        position: relative;
        top: 0; left: 0; margin-left: 0;
        width: 12px; height: 20px;
        margin-bottom: 2px;
        display: block;
    }
    #przewijak span::before { left: 50%; margin-left: -1.5px; top: 4px; }

    .stat-number { font-size: 20px; }
    .stat-label { font-size: 10px; }

    #oferta, #dlaczego-ja, #portfolio, #proces, #opinie, #blog, #kontakt { padding: 70px 0; }
    .oferta-card { padding: 28px 22px; }
    .blog-card { flex-direction: column; }
    .blog-icon { width: 44px; height: 44px; }
    .social-banner { padding: 24px 20px; }
    .navbar-brand img { max-height: 32px; }
}

@media (max-width: 480px) {
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat-number { font-size: 24px; }
    .hero-cta { display: flex; flex-direction: column; gap: 12px; }
    .hero-cta .btn-gradient, .hero-cta .btn-outline-light { width: 100%; text-align: center; }
}

/* --- Animacje Specjalne --- */
.stats-float { position: absolute; inset: 0; pointer-events: none; }
.stats-float span {
    position: absolute; font-size: 10px; font-weight: 700; color: var(--c1); opacity: 0; white-space: nowrap; animation: floatUp 3s infinite;
}
.stats-float span:nth-child(1) { left: -40px; top: -10px; animation-delay: 0s; }
.stats-float span:nth-child(2) { right: -40px; top: 10px; animation-delay: 1s; }
.stats-float span:nth-child(3) { bottom: -15px; left: 0; animation-delay: 2s; }

@keyframes floatUp {
    0% { transform: translateY(10px); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(-40px); opacity: 0; }
}

.bug-container { position: absolute; inset: 0; pointer-events: none; }
.bug-container i {
    position: absolute; font-size: 14px; color: #ff4d4d !important; opacity: 0;
    background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
    -webkit-text-fill-color: #ff4d4d !important; filter: none !important;
}

.fas.fa-shield-alt { animation: shieldProtect 1.5s infinite ease-in-out; }
@keyframes shieldProtect {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 242, 152, 0)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(0, 242, 152, 0.6)); }
}

.bug-1 { top: -20px; left: -20px; animation: bugAttack1 4s infinite; }
.bug-2 { top: 0px; right: -30px; animation: bugAttack2 4s infinite 1.3s; }
.bug-3 { bottom: -25px; left: 40%; animation: bugAttack3 4s infinite 2.6s; }

@keyframes bugAttack1 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    40% { transform: translate(30px, 30px); opacity: 1; }
    50% { transform: translate(25px, 25px) rotate(180deg); opacity: 1; }
    100% { transform: translate(-40px, 40px); opacity: 0; }
}
@keyframes bugAttack2 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    40% { transform: translate(-40px, 15px); opacity: 1; }
    50% { transform: translate(-35px, 10px) rotate(180deg); opacity: 1; }
    100% { transform: translate(40px, -40px); opacity: 0; }
}
@keyframes bugAttack3 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    40% { transform: translate(0, -45px); opacity: 1; }
    50% { transform: translate(0, -40px) rotate(180deg); opacity: 1; }
    100% { transform: translate(40px, 40px); opacity: 0; }
}