:root {
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --border-light: #e2e8f0;
    --text-main: #0f172a;
    --text-light: #334155; 
    --primary-color: #1d4ed8;
    --primary-hover: #1e3a8a;
    --focus-ring: #f59e0b;
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(29, 78, 216, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(29, 78, 216, 0.04) 0px, transparent 50%);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

a, button, input, select, textarea { transition: var(--transition); }

*:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
    border-radius: 4px;
}

a { text-decoration: none; color: var(--primary-color); }
a:hover { color: var(--primary-hover); text-decoration: underline; }

img {
    max-width: 100%; height: auto; display: block; border-radius: 20px;
}

.container {
    width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; border-radius: 100px;
    font-family: var(--font-headings); font-weight: 700; font-size: 1.05rem;
    cursor: pointer; border: none; gap: 10px; text-decoration: none !important;
}

.btn-primary {
    background-color: var(--primary-color); color: #ffffff;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
    position: relative; overflow: hidden;
}

.btn-primary::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::after {
    transform: rotate(30deg) translateX(100%);
}

.btn-primary:hover {
    background-color: var(--primary-hover); color: #ffffff;
    transform: translateY(-2px); box-shadow: 0 12px 25px rgba(29, 78, 216, 0.35);
}

.btn-outline {
    background-color: transparent; color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main); color: #ffffff;
    transform: translateY(-2px);
}

header {
    position: fixed; top: 20px; left: 0; width: 100%; z-index: 1000; padding: 0 24px;
}

.nav-inner {
    max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between;
    align-items: center; padding: 12px 30px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 100px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.logo {
    font-family: var(--font-headings); font-size: 1.4rem; font-weight: 800;
    color: var(--primary-color); letter-spacing: -0.5px;
}

.logo:hover { text-decoration: none; }

.nav-links { display: flex; gap: 35px; list-style: none; }
.nav-links a { font-size: 1rem; font-weight: 600; color: var(--text-main); position: relative; }
.nav-links a:hover { color: var(--primary-color); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
    height: 2px; background: var(--primary-color); transition: width 0.3s ease; border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }

.hero { 
    padding: 180px 0 100px; min-height: 90vh; display: flex; align-items: center; position: relative; 
    overflow: hidden;
}

.hero::before {
    content: ''; position: absolute; top: -20%; right: -10%; width: 50%; height: 70%;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; filter: blur(60px); z-index: -1;
    animation: pulse-glow 6s ease-in-out infinite alternate;
}

.hero::after {
    content: ''; position: absolute; bottom: -20%; left: -10%; width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; filter: blur(60px); z-index: -1;
    animation: pulse-glow 8s ease-in-out infinite alternate-reverse;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag {
    display: inline-block; padding: 8px 16px; background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: 100px; color: var(--primary-color); font-size: 0.95rem; font-weight: 700;
    margin-bottom: 24px; animation: fadeIn 1s ease-out both;
}
.hero-text h1 { font-size: 4rem; margin-bottom: 24px; letter-spacing: -1px; animation: fadeInUp 1s ease-out 0.2s both; }
.hero-text p { font-size: 1.25rem; margin-bottom: 40px; max-width: 540px; animation: fadeInUp 1s ease-out 0.4s both; color: var(--text-light); }
.hero-actions { display: flex; gap: 20px; animation: fadeInUp 1s ease-out 0.6s both; }
.hero-image-wrapper { position: relative; animation: float 6s ease-in-out infinite; }
.hero-image-wrapper img { border-radius: 24px; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1); }
.floating-badge {
    position: absolute; bottom: 30px; left: -30px; padding: 20px 25px; display: flex; align-items: center; gap: 15px;
    background: var(--bg-white); border-radius: 16px; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--border-light); animation: pulse-shadow 4s infinite alternate;
}
.floating-badge i { font-size: 28px; color: var(--primary-color); }
.floating-badge-text strong { display: block; font-size: 1.1rem; color: var(--text-main); }
.floating-badge-text span { font-size: 0.9rem; color: var(--text-light); }

.section-padding { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 20px; }
.section-header p { font-size: 1.15rem; }

.stats-section { padding: 60px 0; background-color: var(--primary-color); color: #ffffff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number { font-size: 4rem; font-family: var(--font-headings); font-weight: 800; margin-bottom: 10px; line-height: 1; color: #ffffff; }
.stat-label { font-size: 1.1rem; font-weight: 600; color: #bfdbfe; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { padding: 40px 30px; transition: var(--transition); position: relative; overflow: hidden; text-decoration: none !important; display: block; }
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary-color); opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); border-color: #cbd5e1; }
.service-card:hover::before { opacity: 1; }
.service-icon-wrap {
    width: 70px; height: 70px; border-radius: 16px; background: #eff6ff; display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--primary-color); margin-bottom: 25px; transition: var(--transition);
}
.service-card:hover .service-icon-wrap { background: var(--primary-color); color: #ffffff; transform: scale(1.05) rotate(-5deg); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-main); }
.service-card p { margin-bottom: 25px; font-size: 1rem; }
.service-features { list-style: none; margin-bottom: 30px; }
.service-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.95rem; color: var(--text-light); }
.service-features li i { color: var(--primary-color); font-size: 14px; }
.service-link {
    display: inline-flex; align-items: center; gap: 8px; color: var(--primary-color); font-weight: 700; font-size: 1rem;
    background: none; border: none; cursor: pointer; padding: 0; font-family: inherit;
}
.service-link i { transition: transform 0.3s; }
.service-card:hover .service-link i { transform: translateX(5px); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.portfolio-item {
    display: block; border-radius: 24px; overflow: hidden; position: relative; background: var(--bg-white);
    border: 1px solid var(--border-light); text-decoration: none !important; box-shadow: 0 4px 10px rgba(15,23,42,0.03); transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(15,23,42,0.08); }
.portfolio-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.portfolio-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.5s ease; }
.portfolio-item:hover .portfolio-img-wrap img { transform: scale(1.05); }
.portfolio-content { padding: 25px; }
.portfolio-tag { display: inline-block; background: #eff6ff; color: var(--primary-color); padding: 6px 14px; border-radius: 100px; font-size: 0.85rem; font-weight: 700; margin-bottom: 15px; }
.portfolio-title { font-size: 1.4rem; color: var(--text-main); margin-bottom: 10px; }
.portfolio-desc { color: var(--text-light); font-size: 1rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.pricing-card { padding: 50px 40px; text-align: center; transition: var(--transition); position: relative; }
.pricing-card:hover { transform: translateY(-5px); border-color: #cbd5e1; }
.pricing-card.featured { border: 2px solid var(--primary-color); transform: scale(1.03); box-shadow: 0 20px 40px rgba(29, 78, 216, 0.1); z-index: 2; }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-5px); }
.badge-popular {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--primary-color); color: #ffffff;
    padding: 8px 20px; border-radius: 100px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
}
.pricing-title { font-size: 1.5rem; color: var(--text-main); margin-bottom: 15px; }
.pricing-price { font-size: 3.5rem; font-family: var(--font-headings); font-weight: 800; color: var(--primary-color); margin-bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.pricing-price span { font-size: 1.1rem; color: var(--text-light); font-weight: 600; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 40px; }
.pricing-features li { padding: 14px 0; border-bottom: 1px solid var(--border-light); color: var(--text-light); font-size: 1rem; display: flex; align-items: center; gap: 15px; }
.pricing-features li i { color: var(--primary-color); font-size: 1.1rem; }
.pricing-card .btn { width: 100%; }

.faq-wrapper { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 20px; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 16px; transition: var(--transition); }
.faq-question {
    padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-headings);
    font-size: 1.15rem; font-weight: 700; color: var(--text-main); background: none; border: none; width: 100%; text-align: left; cursor: pointer; border-radius: 16px;
}
.faq-question:hover { color: var(--primary-color); background-color: #f8fafc; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: #eff6ff; display: flex; align-items: center; justify-content: center; color: var(--primary-color); transition: var(--transition); }
.faq-item.active { border-color: var(--primary-color); box-shadow: 0 4px 15px rgba(29, 78, 216, 0.08); }
.faq-item.active .faq-icon { background: var(--primary-color); color: #ffffff; transform: rotate(45deg); }
.faq-answer { padding: 0 30px; max-height: 0; overflow: hidden; transition: all 0.4s ease; color: var(--text-light); }
.faq-item.active .faq-answer { padding: 0 30px 25px; max-height: 500px; }

.contact-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08); background: var(--bg-white);
}
.contact-info { padding: 60px; background-color: var(--text-main); color: #ffffff; }
.contact-info h3 { font-size: 2.5rem; color: #ffffff; margin-bottom: 20px; }
.contact-info p { color: #cbd5e1; margin-bottom: 40px; font-size: 1.1rem; }
.info-list { list-style: none; }
.info-list li { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; font-size: 1.1rem; color: #f8fafc; }
.info-list li i { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: #60a5fa; font-size: 1.2rem; }
.contact-form-wrap { padding: 60px; }
.form-group { margin-bottom: 25px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-main); font-size: 0.95rem; }
.form-control {
    width: 100%; padding: 14px 20px; background: #f8fafc; border: 1px solid var(--border-light);
    border-radius: 12px; color: var(--text-main); font-family: var(--font-body); font-size: 1rem; transition: var(--transition);
}
.form-control:focus { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-color: transparent; background: #ffffff; }
textarea.form-control { min-height: 120px; resize: vertical; }
.contact-form-wrap .btn { width: 100%; margin-top: 10px; }

footer { border-top: 1px solid var(--border-light); padding: 80px 0 30px; background: var(--bg-white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-brand .logo { margin-bottom: 20px; display: inline-block; }
.footer-brand p { margin-bottom: 30px; max-width: 300px; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { width: 45px; height: 45px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: var(--text-main); border: 1px solid transparent; }
.social-icons a:hover { background: var(--primary-color); color: #ffffff; transform: translateY(-3px); }
.footer-col h4 { color: var(--text-main); font-size: 1.2rem; margin-bottom: 25px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-light); transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-color); text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-light); color: #64748b; font-size: 0.95rem; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulse-shadow { 0% { box-shadow: 0 15px 30px rgba(15, 23, 42, 0.05); } 100% { box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15); } }
@keyframes pulse-glow { 0% { opacity: 0.6; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1.1); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3.2rem; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-5px); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 140px 0 60px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .floating-badge { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.reveal-zoom { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-zoom.active { opacity: 1; transform: translate(0) scale(1); }

.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; z-index: 2000; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content { background: var(--bg-white); width: 90%; max-width: 550px; padding: 40px; position: relative; border-radius: 24px; box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25); transform: scale(0.95); transition: transform 0.3s; }
.modal-overlay.active .modal-content { transform: scale(1); }
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 24px; color: var(--text-light); background: none; border: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.close-modal:hover { background: #f1f5f9; color: var(--text-main); }

/* ============================================================
   NOWOCZESNE EFEKTY WIZUALNE v2.1
   ============================================================ */

/* ── 1. Pasek postępu scrolla ────────────────────────────── */
.scroll-progress {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #1d4ed8 0%, #7c3aed 50%, #38bdf8 100%);
    transform-origin: 0 50%; transform: scaleX(0);
    z-index: 9999; pointer-events: none;
    will-change: transform;
}

/* ── 2. Gradient text – H1 bohatera ─────────────────────── */
.hero-text h1 {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 40%, #7c3aed 70%, #0ea5e9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both, gradient-pan 9s ease infinite;
}
@keyframes gradient-pan {
    0%   { background-position: 0% center; }
    50%  { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* ── 3. Akcent pod nagłówkami sekcji ─────────────────────── */
.section-header h2 {
    position: relative; display: inline-block;
}
.section-header h2::after {
    content: ''; display: block; height: 4px; width: 56px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, #1d4ed8, #7c3aed, #38bdf8);
    border-radius: 4px;
    animation: accent-grow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-play-state: paused;
}
.section-header.active h2::after { animation-play-state: running; }
@keyframes accent-grow { from { width: 0; opacity: 0; } to { width: 56px; opacity: 1; } }

/* ── 4. Siatka kropkowa w tle hero ───────────────────────── */
.hero {
    background-image:
        radial-gradient(circle at 15% 50%, rgba(29,78,216,0.07) 0%, transparent 48%),
        radial-gradient(circle at 85% 15%, rgba(124,58,237,0.06) 0%, transparent 40%),
        radial-gradient(circle, rgba(29,78,216,0.10) 1px, transparent 1px);
    background-size: auto, auto, 38px 38px;
}

/* ── 5. Pulsujące świecenie hero-tag ─────────────────────── */
.hero-tag {
    animation: fadeIn 0.9s ease-out both, tag-glow 4s ease-in-out infinite 1.5s;
}
@keyframes tag-glow {
    0%,100% { box-shadow: none; border-color: #bfdbfe; }
    50%      { box-shadow: 0 0 18px rgba(29,78,216,0.22), 0 0 38px rgba(29,78,216,0.08); border-color: #93c5fd; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── 6. Pulsujące świecenie CTA ──────────────────────────── */
@keyframes btn-pulse {
    0%,100% { box-shadow: 0 8px 20px rgba(29,78,216,0.28); }
    50%      { box-shadow: 0 10px 32px rgba(29,78,216,0.48), 0 0 0 5px rgba(29,78,216,0.07); }
}
.btn-primary { animation: btn-pulse 3.5s ease-in-out infinite; }
.btn-primary:hover, .btn-primary:focus { animation: none; box-shadow: 0 12px 32px rgba(29,78,216,0.42); }

/* ── 7. Wyróżniona karta cennika – animowana ramka ───────── */
@property --fp-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}
.pricing-card.featured {
    --fp-angle: 0deg;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--bg-white), var(--bg-white)) padding-box,
        conic-gradient(from var(--fp-angle), #1d4ed8 0%, #7c3aed 30%, #38bdf8 60%, #1d4ed8 100%) border-box;
    animation: rotate-featured 5s linear infinite, none;
}
@keyframes rotate-featured { to { --fp-angle: 360deg; } }
/* Fallback – przeglądarki bez @property */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
    .pricing-card.featured {
        border: 2px solid var(--primary-color);
        box-shadow: 0 0 0 1px rgba(29,78,216,0.15), 0 20px 40px rgba(29,78,216,0.1);
    }
}

/* ── 8. Poświata ikon usług ───────────────────────────────── */
.service-card:hover { box-shadow: 0 22px 48px rgba(29,78,216,0.11), 0 4px 14px rgba(15,23,42,0.05); }
.service-card:hover .service-icon-wrap {
    box-shadow: 0 0 0 8px rgba(29,78,216,0.08), 0 0 0 18px rgba(29,78,216,0.03);
    transform: scale(1.06) rotate(-6deg);
}

/* ── 9. Portfolio – overlay + przycisk podglądu ──────────── */
.portfolio-img-wrap::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.68) 0%, rgba(15,23,42,0.05) 55%, transparent 100%);
    opacity: 0; transition: opacity 0.45s ease;
}
.portfolio-item:hover .portfolio-img-wrap::after { opacity: 1; }

.portfolio-view-hint {
    position: absolute; bottom: 20px; left: 50%; z-index: 2;
    transform: translateX(-50%) translateY(14px);
    opacity: 0; transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    background: rgba(255,255,255,0.94); color: var(--primary-color);
    padding: 10px 24px; border-radius: 100px;
    font-weight: 700; font-size: 0.88rem; white-space: nowrap;
    backdrop-filter: blur(6px); pointer-events: none;
    box-shadow: 0 4px 16px rgba(15,23,42,0.14);
}
.portfolio-item:hover .portfolio-view-hint {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ── 10. Aktywny link nawigacyjny ────────────────────────── */
.nav-links a.is-active { color: var(--primary-color); }
.nav-links a.is-active::after { width: 100%; }

/* ── 11. Dekoracyjna linia stopki ────────────────────────── */
footer { border-top: none !important; }
footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, #1d4ed8 25%, #7c3aed 50%, #38bdf8 75%, transparent 100%);
}

/* ── 12. Ikonki kontaktowe – hover 3D ────────────────────── */
.info-list li i { transition: var(--transition); }
.info-list li:hover i {
    transform: scale(1.12) rotate(6deg);
    background: rgba(96,165,250,0.22) !important;
    color: #7dd3fc !important;
}

/* ── 13. Stagger reveal – dzieci siatek ─────────────────── */
.stagger-child {
    transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.34,1.56,0.64,1);
    transition-delay: calc(var(--si, 0) * 110ms);
}

/* ── 14. FAQ – akcent boczny ─────────────────────────────── */
.faq-item { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.faq-item:hover:not(.active) {
    transform: translateX(5px);
    box-shadow: -4px 0 0 rgba(29,78,216,0.4), 0 4px 16px rgba(29,78,216,0.05);
}
.faq-item.active {
    box-shadow: -4px 0 0 var(--primary-color), 0 6px 20px rgba(29,78,216,0.08);
    transform: translateX(5px);
}

/* ── 15. Licznik statystyk – efekt pop ───────────────────── */
.stat-number { font-variant-numeric: tabular-nums; }
.stat-item:hover .stat-number {
    text-shadow: 0 0 28px rgba(255,255,255,0.55), 0 0 55px rgba(255,255,255,0.2);
}
@keyframes stat-pop {
    0%   { transform: scale(1); }
    55%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.stat-number.popped { animation: stat-pop 0.4s ease; }

/* ── 16. Tilt 3D na kartach (wspierany przez JS) ─────────── */
.service-card, .pricing-card {
    will-change: transform;
    transform-style: preserve-3d;
}

/* ── 17. Poprawa nav – blur wzmocniony po scrollu ────────── */
header.scrolled .nav-inner {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 32px rgba(15,23,42,0.10);
}

/* ── 18. Floating badge – wzmocniona animacja ────────────── */
.floating-badge {
    animation: float-badge 5s ease-in-out infinite, pulse-shadow 4s infinite alternate;
}
@keyframes float-badge {
    0%,100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-10px) rotate(1deg); }
}

/* ── 19. Sekcja statystyk – indywidualne wejście ─────────── */
.stat-item { transition: transform 0.3s ease; }
.stat-item:hover { transform: translateY(-4px) scale(1.03); }

/* ── 20. Stopniowe wyjście modali ────────────────────────── */
.modal-overlay { transition: opacity 0.35s ease; }
.modal-overlay.closing { opacity: 0; }
.modal-overlay.closing .modal-content { transform: scale(0.94) translateY(10px); }
.modal-content { transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease; }

/* ── 21. Kursor – custom dot (opcjonalny) ────────────────── */
.cursor-dot {
    width: 10px; height: 10px; background: var(--primary-color);
    border-radius: 50%; position: fixed; z-index: 99998;
    pointer-events: none; transform: translate(-50%,-50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    mix-blend-mode: multiply;
}
.cursor-ring {
    width: 36px; height: 36px; border: 2px solid rgba(29,78,216,0.4);
    border-radius: 50%; position: fixed; z-index: 99997;
    pointer-events: none; transform: translate(-50%,-50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.2s ease;
}
.cursor-dot.hovering { width: 6px; height: 6px; }
.cursor-ring.hovering { width: 48px; height: 48px; border-color: rgba(29,78,216,0.7); }
@media (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ── Wyłączenia na mobile / reduced-motion ───────────────── */
@media (max-width: 768px) {
    .hero-text h1 {
        background: none; -webkit-text-fill-color: initial; color: var(--text-main); animation: fadeInUp 1s ease-out 0.2s both;
    }
    .pricing-card.featured { animation: none; border: 2px solid var(--primary-color); }
    .btn-primary { animation: none; }
    .portfolio-view-hint, .cursor-dot, .cursor-ring { display: none; }
    .faq-item:hover:not(.active), .faq-item.active { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-text h1, .hero-tag, .btn-primary, .pricing-card.featured,
    .floating-badge, .section-header h2::after, .stat-number,
    .cursor-dot, .cursor-ring { animation: none !important; transition: none !important; }
    .hero-text h1 { background: none; -webkit-text-fill-color: initial; color: var(--text-main); }
}
