:root {
    --bg: #050812;
    --card-bg: #0c1020;
    --accent: #7b5cff;
    --text: #f5f5ff;
    --text-muted: #adb0cc;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #22274e 0, #050812 55%);
    color: var(--text);
}

.site-header {
    background: rgba(5, 8, 18, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
}

.logo span {
    color: var(--accent);
}

.nav-inner nav a {
    margin-left: 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
}

.nav-inner nav a:hover {
    color: var(--text);
}

.page {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 16px 60px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b6dff, #6542ff);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.site-footer {
    text-align: center;
    padding: 16px;
    font-size: 12px;
    color: #777c98;
}

/* Nagłówki sekcji */
h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

/* HERO */
.hero {
    padding: 60px 20px;
    text-align: center;
}

.hero p {
    color: #adb0cc;
    margin-bottom: 20px;
}

/* USŁUGI */
.services {
    padding: 60px 20px;
}

.services-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
    background: #0c1020;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2f365e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ABOUT */
.about {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about p {
    color: #adb0cc;
    line-height: 1.6;
}

/* PORTFOLIO */
.portfolio {
    padding: 60px 20px;
}

.portfolio-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-item {
    background: #0c1020;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2f365e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* NAVBAR PREMIUM */
.nav-premium {
    backdrop-filter: blur(12px);
    background: rgba(10, 14, 30, 0.65);
    border-bottom: 1px solid rgba(123, 92, 255, 0.25);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.logo span {
    color: var(--accent);
    text-shadow: 0 0 12px var(--accent-glow);
}

.nav-links a {
    margin-left: 22px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
}

/* HERO PREMIUM */
.hero-premium {
    padding: 140px 20px;
    text-align: center;
}

.neon-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    text-shadow:
        0 0 10px var(--accent),
        0 0 20px var(--accent),
        0 0 40px var(--accent-glow);
}

.neon-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* PRZYCISK NEONOWY */
.btn-neon {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b6dff, #6542ff);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow:
        0 0 10px var(--accent),
        0 0 20px var(--accent-glow),
        0 0 40px var(--accent-glow);
    transition: 0.2s ease;
}

.btn-neon:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* SEKCJE */
h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 8px var(--accent-glow);
}

/* USŁUGI */
.services {
    padding: 60px 20px;
}

.services-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
    background: var(--bg-soft);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(123, 92, 255, 0.25);
    box-shadow: 0 0 20px rgba(123, 92, 255, 0.15);
    transition: 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(123, 92, 255, 0.35);
}

/* ABOUT */
.about {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* PORTFOLIO */
.portfolio {
    padding: 60px 20px;
}

.portfolio-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-item {
    background: var(--bg-soft);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(123, 92, 255, 0.25);
    box-shadow: 0 0 20px rgba(123, 92, 255, 0.15);
    transition: 0.2s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(123, 92, 255, 0.35);
}

.footer-premium {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    border-top: 1px solid rgba(123, 92, 255, 0.2);
    margin-top: 60px;
}

/* ============================
   NEONOWE STATYSTYKI
   ============================ */

.stats {
    padding: 60px 20px;
    text-align: center;
}

.stats-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 30px;
}

.stat-card {
    background: var(--bg-soft);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid rgba(123, 92, 255, 0.25);
    box-shadow: 0 0 20px rgba(123, 92, 255, 0.15);
    transition: 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(123, 92, 255, 0.35);
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

/* Ikonka odwiedzin (oko) */
.visits-icon {
    border: 3px solid var(--accent);
    border-radius: 50%;
    position: relative;
}

.visits-icon::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 9px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
}

/* Ikonka zegara */
.clock-icon {
    border: 3px solid var(--accent);
    border-radius: 50%;
    position: relative;
}

.clock-icon::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 12px;
    background: var(--accent);
    top: 6px;
    left: 19px;
    transform-origin: bottom;
    transform: rotate(45deg);
}

.clock-icon::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 18px;
    background: var(--accent);
    top: 3px;
    left: 19px;
}

/* Teksty */
.stat-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Kontakt jako karta */
.contact-card {
    max-width: 520px;
    width: 100%;
    margin: 60px auto;
    padding: 36px 32px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid #323b66;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9)
    color: var(--text);
}

/* Nagłówek */
.contact-card h1 {
    margin: 0 0 6px;
    font-size: 24px;
}

/* Podtytuł */
.contact-lead {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid #323b66;
    max-width: 520px;
    width: 100%;
    padding: 26px 24px 24px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9);
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #d5d7f2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid #2f365e;
    background: #050816;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8b6dff;
    box-shadow: 0 0 12px #6542ff;
    background: rgba(20, 0, 30, 0.75);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Przycisk */
.btn-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #8b6dff, #6542ff);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(70, 46, 180, 0.85);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-purple:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 20px 50px rgba(70, 46, 180, 1);
}

/* Status */
.contact-status {
    margin-top: 18px;
    font-size: 1.05rem;
    min-height: 24px;
    text-align: center;
}

.contact-status.success {
    color: #7dffcf;
    text-shadow: 0 0 8px #7dffcf;
}

.contact-status.error {
    color: #ff4d6d;
    text-shadow: 0 0 8px #ff4d6d;
}

/* Alternatywny kontakt */
.contact-alt {
    font-size: 1rem;
    color: #c7c7d9;
}

.contact-alt a {
    color: #7b5cff;
    text-decoration: none;
}

/* Pasek animacyjny Premium */
.sysek-anim-bar {
    width: 100vw;
    margin-top: -24px;
    height: 4px;
    margin-left: calc(50% - 50vw);
    background: linear-gradient(90deg, #7b5cff, #00ff88, #7b5cff);
    background-size: 800% 100%;
    /* DŁUŻSZY PAS WZDŁUŻ */
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(123, 92, 255, 0.6);
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.sysek-anim-glow {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #7b5cff, #00ff88, #7b5cff);
    background-size: 300% 100%;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(123, 92, 255, 0.6);
    animation: neonFlow 6s linear infinite;
    margin-bottom: 12px;
}

@keyframes neonFlow {
    0%   { background-position:   0%   0%; }
    100%  { background-position: 300%   0%; }
}

.nav-container {
    position: relative;
}

.nav-loading-bar {
    width: 100%;
    height: 4px;
    background: #111;
    border-radius: 999px;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: -15px; /* na razie 0, żeby w ogóle go zobaczyć */
}

.nav-loading-glow {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #7b5cff, #00ff88, #7b5cff);
    background-size: 300% 100%;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(123, 92, 255, 0.6);
    animation: neonFlow 6s linear infinite;
    margin-bottom: 12px;
}