/* ==========================================================================
   HOSTCONTROL.PL - PREMIUM APPLE STYLE CSS (FLUID & 3D MOTION)
   ========================================================================== */

/* --- 1. ZMIENNE KOLORYSTYCZNE & GLOBALNE --- */
:root {
    --bg-color: #0c111c;       /* Mniej głęboka czerń, bardziej luksusowy grafit */
    --surface-color: rgba(22, 28, 42, 0.4); /* Glassmorphism background */
    --surface-border: rgba(255, 255, 255, 0.1);
    --text-main: #fcfcfd;
    --text-muted: #86868b;     /* Apple Gray */
    --accent: #0071e3;         /* Apple San Francisco Blue */
    --accent-hover: #47a1ff;
    
    /* Głębia bocznych paneli */
    --container-max: 1440px;
    --bezier-smooth: cubic-bezier(0.28, 0.11, 0.32, 1);
}

/* --- 2. RESET I BASE (ROZŚWIETLENIE TŁA) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pasek przewijania */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }

/* Zaznaczenie tekstu */
::selection {
    background: rgba(0, 113, 227, 0.4);
    color: #fff;
}

body {
    background-color: var(--bg-color);
    /* NOWE: Radial-gradient rozświetlający centrum tła */
    background-image: radial-gradient(circle at center, #1d253a 0%, var(--bg-color) 70%);
    color: var(--text-main);
    line-height: 1.5;
    letter-spacing: -0.022em;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --- 3. DYNAMICZNA TYPOGRAFIA (FLUID SCALING) --- */
h1 { font-size: clamp(3.5rem, 8vw, 8.5rem); letter-spacing: clamp(-4px, -0.5vw, -1px); font-weight: 900; line-height: 1.05; }
h2 { font-size: clamp(2.5rem, 6vw, 4.8rem); letter-spacing: -0.015em; font-weight: 800; line-height: 1.1; }
p { font-size: clamp(1.15rem, 1.5vw, 1.6rem); color: var(--text-muted); }

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a1a1a6 50%, #47a1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 6s ease-in-out infinite alternate;
}

/* --- 4. NAWIGACJA (APPLE FLOATING ISLAND) --- */
.main-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%; 
    max-width: 1000px;
    background: rgba(22, 28, 42, 0.8);
    backdrop-filter: blur(25px) saturate(180%); 
    -webkit-backdrop-filter: blur(25px) saturate(180%); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px 8px 28px; 
    border-radius: 100px; 
    border: 1px solid rgba(255, 255, 255, 0.12); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.1);
    z-index: 9999;
    animation: slideDownNav 1.2s var(--bezier-smooth) forwards;
}

.main-nav .logo { font-size: 1.25rem; font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }
.main-nav .logo span { color: var(--accent); }
.nav-logo-img { height: 26px; width: auto; margin-right: 10px; vertical-align: middle; }

.main-nav ul.nav-links { list-style: none; display: flex; gap: 0.5rem; align-items: center; }
.main-nav ul.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.9rem; padding: 10px 22px; border-radius: 50px; transition: all 0.4s var(--bezier-smooth); }
.main-nav ul.nav-links a:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.08); }

.nav-btn { background: #fff; color: #000; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all 0.4s var(--bezier-smooth); }
.nav-btn:hover { transform: scale(1.03); filter: brightness(0.9); }

/* --- 5. SEKCJA HERO (CYLINDRICAL INFINITE MARQUEE) --- */
.cylindrical-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Środowisko 3D (Amfiteatr) */
.marquee-environment {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    perspective: 1500px; /* Tworzy głębię przestrzenną */
    z-index: 1;
    pointer-events: none;
}

/* Pojedyncza ścieżka z kartami */
.marquee-track {
    width: clamp(230px, 18vw, 320px); /* Nieco węższe panele */
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform-style: preserve-3d;
    /* Maska fade u góry i na dole */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* NOWE: Odsunięcie i wygięcie w tył dla LEWEJ kolumny (PANELE BLIŻEJ ŚRODKA) */
.track-left {
    transform-origin: right center;
    transform: rotateY(20deg) translateZ(-100px) translateX(-2vw); /* Bliżej środka */
}

/* NOWE: Odsunięcie i wygięcie w tył dla PRAWEJ kolumny (PANELE BLIŻEJ ŚRODKA) */
.track-right {
    transform-origin: left center;
    transform: rotateY(-20deg) translateZ(-100px) translateX(2vw); /* Bliżej środka */
}

.marquee-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Nieskończona animacja (Przesuwanie) */
.scroll-down { animation: scrollDownAnim 35s linear infinite; }
.scroll-up { animation: scrollUpAnim 35s linear infinite; }

@keyframes scrollDownAnim { 0% { transform: translateY(-100%); } 100% { transform: translateY(0); } }
@keyframes scrollUpAnim { 0% { transform: translateY(0); } 100% { transform: translateY(-100%); } }

/* Styl Paneli animacyjnych (Zacieśnienie proporcji) */
.anim-panel {
    height: clamp(180px, 20vh, 230px); /* Nieco niższe dla lepszych proporcji na telefonie */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
}

.anim-panel .panel-label {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* -------------------------------------------
   GLOBALNE ANIMACJE CSS DLA KAŻDEGO PANELU
--------------------------------------------- */
/* UNIKALNA: UX (Morfujący User Flow) */
.ux-anim { width: 80px; height: 80px; position: relative; }
.ux-anim .path { position: absolute; inset: 0; border: 2px dashed rgba(255,255,255,0.2); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; animation: uxFlow 5s ease-in-out infinite alternate; }
.ux-anim .cursor { width: 15px; height: 15px; background: var(--accent); border-radius: 50%; position: absolute; top: 0; left: 0; box-shadow: 0 0 15px var(--accent); animation: uxCursor 5s ease-in-out infinite; }
@keyframes uxFlow { 0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } 100% { border-radius: 70% 30% 50% 50% / 30% 40% 70% 60%; } }
@keyframes uxCursor { 0% { top: 0%; left: 0%; } 25% { top: 70%; left: 80%; } 50% { top: 100%; left: 20%; } 75% { top: 30%; left: 0%; } 100% { top: 0%; left: 0%; } }

/* UNIKALNA: SEO (Bar chart up + search loop) */
.seo-anim { display: flex; flex-direction: column; gap: 8px; align-items: center; width: 80px; }
.seo-anim .search-bar { width: 100%; height: 10px; background: rgba(255,255,255,0.05); border-radius: 5px; position: relative; border: 1px solid rgba(255,255,255,0.1); }
.seo-anim .search-bar::before { content: '✓ HC'; color: #fff; font-size: 6px; font-weight: bold; position: absolute; left: 5px; top: 50%; transform: translateY(-50%); animation: textAppear 3s linear infinite; }
.seo-anim .bars { display: flex; gap: 4px; align-items: flex-end; height: 50px; width: 80%; }
.seo-anim .bars::before, .seo-anim .bars::after { content:''; width: 20%; height: 40%; background: var(--surface-border); border-radius: 3px; }
.seo-anim .bars::before { height: 100%; background: var(--accent); box-shadow: 0 0 10px rgba(0, 113, 227, 0.4); animation: seoBarUp 1.5s ease-out infinite alternate; }

/* UNIKALNA: KOD (Syntax highlighted pre) */
.kod-anim { font-family: 'Fira Code', 'Courier New', Courier, monospace; font-size: 0.9rem; line-height: 1.2; text-align: left; animation: kodType 4s steps(20, end) infinite; width: 80%; }
.kod-anim .prop { color: #8b9bb4; } .kod-anim .val { color: var(--accent); }

/* UNIKALNA: Firebase (Cloud + DB Tree pulse) */
.firebase-anim { width: 80px; height: 80px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.firebase-anim .cloud { width: 50px; height: 30px; background: rgba(255,255,255,0.05); border-radius: 15px; position: relative; border: 1px solid rgba(255,255,255,0.15); animation: floatCloud 4s ease-in-out infinite; }
.firebase-anim .database-tree { width: 30px; height: 30px; border-radius: 4px; border-left: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); position: absolute; bottom: 10px; right: 20px; transform-origin: top; animation: dbPulse 2s linear infinite; }

/* UNIKALNA: Security (Shield + Scanner) */
.security-anim { width: 80px; height: 80px; position: relative; display: flex; justify-content: center; align-items: center; }
.security-anim .shield { width: 60px; height: 70px; background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.15); border-radius: 10px 10px 30px 30px; position: relative; }
.security-anim .scan-line { width: 100%; height: 2px; background: var(--accent); position: absolute; top: 10%; left: 0; box-shadow: 0 0 15px var(--accent); animation: securityScan 2.5s linear infinite; }

/* UNIKALNA: Performance (Needle Gauge + ⚡) */
.perf-anim { width: 80px; height: 80px; position: relative; display: flex; justify-content: center; align-items: center; border-radius: 50%; border: 4px solid rgba(255,255,255,0.05); }
.perf-anim .meter { width: 100%; height: 100%; position: relative; overflow: hidden; border-radius: 50%; }
.perf-anim .meter::before { content: ''; position: absolute; width: 100%; height: 100%; background: linear-gradient(135deg, transparent 50%, var(--accent) 51%, transparent 100%); opacity: 0.1; }
.perf-anim .needle { width: 2px; height: 40px; background: var(--text-main); position: absolute; bottom: 40px; left: 39px; transform-origin: 50% 100%; transform: rotate(-70deg); animation: gaugeMove 2s ease-in-out infinite alternate; }

/* UNIKALNA: E-Commerce (Shopping cart + floating coins) */
.ecom-anim { width: 80px; height: 80px; position: relative; display: flex; justify-content: center; align-items: center; }
.ecom-anim .cart { width: 50px; height: 40px; border-left: 2px solid rgba(255,255,255,0.2); border-bottom: 2px solid rgba(255,255,255,0.2); position: relative; }
.ecom-anim .cart::after { content: ''; width: 30px; height: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; position: absolute; top: -15px; left: 5px; }
.ecom-anim .money-symbol { font-size: 2.5rem; font-weight: 800; color: #10b981; position: absolute; top: 0; opacity: 0; animation: moneyFloat 3s linear infinite; }

/* UNIKALNA: CMS (Blocks rearrange) */
.cms-anim { width: 80px; height: 80px; position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; }
.cms-anim .blocks .b1 { width: 30px; height: 30px; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 6px; animation: b1Move 3s ease-in-out infinite alternate; }
.cms-anim .blocks .b2 { width: 20px; height: 20px; background: var(--surface-color); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; animation: b2Move 3s ease-in-out infinite alternate; }

/* UNIKALNA: Design (Grid dots + color palette) */
.design-anim { width: 80px; height: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.design-anim .grid { grid-column: 1 / -1; height: 1px; background: rgba(255,255,255,0.05); }
.design-anim .color-palette { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.design-anim .color-palette::before, .design-anim .color-palette::after, .design-anim .color-palette .dot { content:''; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); }
.design-anim .color-palette::before { background: var(--accent); } .design-anim .color-palette::after { background: var(--bg-color); }

/* UNIKALNA: Responsywność (Desktop -> Mobile swap) */
.resp-anim { width: 80px; height: 80px; position: relative; display: flex; justify-content: center; align-items: center; }
.resp-anim .desktop { width: 70px; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; position: relative; animation: desktopAppear 6s linear infinite; }
.resp-anim .desktop::after { content: ''; width: 20px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 2px; position: absolute; bottom: -8px; left: 25px; }
.resp-anim .mobile { width: 30px; height: 60px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; position: absolute; left: 25px; top: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.4); animation: mobileAppear 6s linear infinite; }

/* UNIKALNA: Analityka (Line chart + points pulse) */
.analytics-anim { width: 80px; height: 80px; border-left: 2px solid rgba(255,255,255,0.1); border-bottom: 2px solid rgba(255,255,255,0.1); position: relative; display: flex; align-items: flex-end; }
.analytics-anim .chart-line { width: 100%; height: 60%; background: linear-gradient(135deg, transparent 30%, rgba(59, 130, 246, 0.4) 30%, rgba(59, 130, 246, 0.1) 100%); clip-path: polygon(0 100%, 30% 60%, 60% 80%, 100% 0%, 100% 100%); animation: chartPulse 3s infinite; }
.analytics-anim .point { width: 8px; height: 8px; background: var(--text-main); border-radius: 50%; position: absolute; box-shadow: 0 0 10px rgba(255,255,255,0.6); animation: pointPulse 1s infinite alternate; }
.analytics-anim .point.p1 { left: 30%; bottom: 60%; } .analytics-anim .point.p2 { left: 60%; bottom: 80%; }

/* UNIKALNA: Wsparcie (Headset + chat dots) */
.support-anim { width: 80px; height: 80px; position: relative; display: flex; justify-content: center; align-items: center; }
.support-anim .headset { width: 50px; height: 50px; border: 3px solid rgba(255,255,255,0.15); border-bottom: none; border-radius: 25px 25px 0 0; position: relative; }
.support-anim .headset::after { content: ''; width: 10px; height: 20px; background: rgba(255,255,255,0.1); border-radius: 3px; position: absolute; left: -8px; bottom: 0; }
.support-anim .dots { display: flex; gap: 4px; position: absolute; top: 20px; right: 20px; }
.support-anim .dots::after, .support-anim .dots::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; opacity: 0.2; animation: supportDot 1.5s linear infinite; }
.support-anim .dots::before { animation-delay: 0.5s; }

/* -------------------------------------------
   GLOBALNY SYSTEM ANIMACJI KEYFRAMES
--------------------------------------------- */
@keyframes uxCursor { 0% { top: 0%; left: 0%; opacity:0; } 10% { opacity:1; } 90% { opacity:1; } 100% { top: 100%; left: 100%; opacity:0; } }
@keyframes moneyFloat { 0% { top: 50px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 0px; opacity: 0; } }
@keyframes dbPulse { 0% { transform: scaleY(0.5); opacity: 0.4; } 100% { transform: scaleY(1); opacity: 1; } }
@keyframes floatCloud { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }
@keyframes securityScan { 0% { top: 10%; } 100% { top: 80%; } }
@keyframes gaugeMove { 0% { transform: rotate(-70deg); } 100% { transform: rotate(70deg); } }
@keyframes chartPulse { 0% { opacity: 0.6; } 100% { opacity: 1; } }
@keyframes kodType { 0% { opacity: 0.1; width: 0; } 100% { opacity: 1; width: 80%; } }
@keyframes b1Move { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-15px) scale(1.1); } }
@keyframes desktopAppear { 0% { opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mobileAppear { 0% { opacity: 0; transform: translateX(20px); } 10% { opacity: 1; transform: translateX(0px); } 90% { opacity: 1; transform: translateX(0px); } 100% { opacity: 0; transform: translateX(-20px); } }
@keyframes supportDot { 0% { opacity: 0.2; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1.2); } }
@keyframes textAppear { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes seoBarUp { 0% { transform: scaleY(0.4); } 100% { transform: scaleY(1); } }
@keyframes rotate3d { 100% { transform: rotateX(360deg) rotateY(360deg); } }
@keyframes rotate { 100% { transform: rotate(360deg); } }


/* -------------------------------------------
   CENTRALNA TYPOGRAFIA (TEKST NA ŚRODKU)
--------------------------------------------- */
.center-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: clamp(600px, 60vw, 850px); /* Elastyczna szerokość tekstu */
    width: 90%;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(22, 28, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    margin-bottom: 2.5rem;
}

/* Potężny, gruby nagłówek Apple H1 */
.hero-title {
    font-size: clamp(3.5rem, 8vw, 8.5rem);
    font-weight: 900; 
    line-height: 1.05;
    letter-spacing: -0.04em; /* Mocne ściśnięcie liter */
    margin-bottom: 2rem;
    color: var(--text-main);
    text-shadow: 0 20px 40px rgba(0,0,0,0.5); /* Odcięcie od tła */
}

.hero-desc {
    font-size: clamp(1.15rem, 1.5vw, 1.6rem);
    color: #a1a1a6; /* Jasniejszy odcień szarości Apple dla czytelności */
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.hero-actions { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

.glow-cursor {
    position: absolute; top: -250px; left: -250px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: 5; transition: transform 0.05s linear; 
}

/* -------------------------------------------
   RESPONSYWNOŚĆ (MOBILE & TABLET)
--------------------------------------------- */
@media (max-width: 1024px) {
    /* Mniejszy kąt odgięcia na tabletach */
    .track-left { transform: rotateY(15deg) translateZ(-50px) translateX(-5vw); }
    .track-right { transform: rotateY(-15deg) translateZ(-50px) translateX(5vw); }
    .marquee-track { width: clamp(200px, 20vw, 250px); opacity: 0.4; } /* Ściemnienie bocznych */
}

@media (max-width: 850px) {
    .main-nav ul.nav-links { display: none; }
    .main-nav { top: 15px; padding: 6px 12px 6px 20px; }
}

@media (max-width: 768px) {
    .cylindrical-hero { padding-top: 8rem; }
    /* Na telefonach wyłączamy boczne kolumny dla wydajności */
    .marquee-environment { display: none; }
    .hero-title { font-size: 3.5rem; }
}

/* --- 6. GLOBALNE KOMPONENTY (KARTY) --- */
/* (Te sekcje zostają bez zmian, spójne z resztą strony) */
.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3rem);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--bezier-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    z-index: 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.12);
}

.about-header, .services-header, .pricing-header, .contact-header, .portfolio-header, .process-header {
    text-align: center;
    margin-bottom: 5rem;
}

.page-content {
    padding-top: 160px; 
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    padding-bottom: 6rem;
}

/* Siatki podstron */
.about-grid, .services-grid, .pricing-grid, .portfolio-grid {
    display: grid;
    gap: clamp(2rem, 3vw, 3rem);
    max-width: var(--container-max);
    width: 90%;
    margin: 0 auto;
}

.about-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* --- 7. PODSTRONY --- */
/* (Zostają bez zmian, spójne z resztą strony) */
/* O mnie */
.apple-about, .apple-services { padding: 8rem 5%; width: 100%; }
.main-card { grid-column: 1 / -1; }
.stat-card { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-number { font-size: 4rem; font-weight: 800; background: linear-gradient(135deg, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--text-muted); font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }

/* Usługi */
.service-icon { width: 56px; height: 56px; margin-bottom: 2rem; color: var(--text-main); transition: all 0.5s var(--bezier-apple); }
.service-card:hover .service-icon { transform: scale(1.15) translateY(-5px); }
.service-card:hover .blue-glow { filter: drop-shadow(0 10px 20px rgba(59,130,246,0.5)); color: #60a5fa; }
.service-card:hover .purple-glow { filter: drop-shadow(0 10px 20px rgba(168,85,247,0.5)); color: #c084fc; }
.service-card:hover .pink-glow { filter: drop-shadow(0 10px 20px rgba(236,72,153,0.5)); color: #f472b6; }

/* Cennik */
.pricing-card .price { font-size: 3.5rem; font-weight: 800; margin: 1.5rem 0; letter-spacing: -2px; }
.features-list { list-style: none; margin: 2.5rem 0; flex-grow: 1; }
.features-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.1rem; display: flex; align-items: center; }
.features-list li::before { content: '✓'; color: var(--accent); margin-right: 12px; font-weight: bold; }
.premium-card { border: 1px solid rgba(59, 130, 246, 0.4); transform: scale(1.03); }
.premium-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; padding: 6px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }

/* Formularz kontaktowy */
.contact-form-wrapper { max-width: 650px; width: 90%; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem); }
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; margin-bottom: 0.8rem; font-weight: 500; }
.form-control { width: 100%; padding: 16px 20px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; color: var(--text-main); font-size: 1.05rem; font-family: inherit; transition: all 0.3s ease; }
.form-control:focus { border-color: var(--accent); background: rgba(0,0,0,0.5); box-shadow: 0 0 0 4px rgba(59,130,246,0.15); outline: none; }

/* Portfolio */
.project-image { height: 240px; border-radius: 16px; margin-bottom: 2rem; overflow: hidden; }
.placeholder-bg { background: linear-gradient(135deg, #1e293b, #05070a); height: 100%; display: flex; justify-content: center; align-items: center; color: var(--text-muted); font-weight: 600; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.5s var(--bezier-smooth); }
.project-card:hover .placeholder-bg { transform: scale(1.05); }
.tech-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.tech-stack span { background: rgba(255,255,255,0.05); font-size: 0.85rem; padding: 6px 14px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); }

/* Proces */
.process-timeline { display: flex; flex-direction: column; gap: 2.5rem; max-width: 900px; width: 90%; margin: 0 auto; }
.step-card { display: flex; align-items: flex-start; gap: 3rem; }
.step-number { font-size: 5rem; font-weight: 900; line-height: 0.8; opacity: 0.9; letter-spacing: -3px; }

/* Stopka */
footer { text-align: center; padding: 3rem; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; background: rgba(0,0,0,0.2); }

/* --- 8. SYSTEM ANIMACJI --- */
.fade-up { opacity: 0; transform: translateY(40px); animation: fadeUpAnim 1.4s var(--bezier-smooth) forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }

@keyframes fadeUpAnim { to { opacity: 1; transform: translateY(0); } }
@keyframes slideDownNav { from { top: -60px; opacity: 0; transform: translate(-50%, -10px) scale(0.95); } to { top: 24px; opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes floatElement { 0% { transform: translateY(0px) translateZ(50px); } 100% { transform: translateY(-20px) translateZ(50px); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }