/* CityWeb — Dark City Theme */

:root {
    --bg-deep: #070b12;
    --bg-main: #0c1220;
    --bg-card: #111827;
    --bg-card-hover: #161f33;
    --bg-elevated: #1a2438;

    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-amber: #f5a623;
    --accent-amber-hover: #e09515;
    --accent-cyan: #4ecdc4;
    --accent-cyan-dim: rgba(78, 205, 196, 0.15);

    --border: rgba(148, 163, 184, 0.12);
    --border-hover: rgba(245, 166, 35, 0.35);

    --glow-amber: rgba(245, 166, 35, 0.25);
    --glow-cyan: rgba(78, 205, 196, 0.2);

    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --header-height: 76px;
    --container: 1140px;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* City night background */
.city-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(78, 205, 196, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(245, 166, 35, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #070b12 0%, #0c1220 40%, #0a0f1a 100%);
    pointer-events: none;
}

.city-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--accent-amber); }

ul, ol { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--accent-amber);
    color: var(--bg-deep);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.125rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p + p { margin-top: 1rem; }

.text-muted { color: var(--text-secondary); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-amber);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-amber);
    border-radius: 2px;
}

.section-label--plain::before {
    display: none;
}

.section-label--plain {
    gap: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.625rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-amber);
    color: var(--bg-deep);
    border-color: var(--accent-amber);
    box-shadow: 0 4px 20px var(--glow-amber);
}

.btn-primary:hover {
    background: var(--accent-amber-hover);
    border-color: var(--accent-amber-hover);
    color: var(--bg-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px var(--glow-amber);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: var(--accent-cyan-dim);
}

.btn-nav {
    padding: 0.625rem 1.25rem !important;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo:hover { color: var(--text-primary); }

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

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.main-nav a.btn-nav {
    margin-left: 0.5rem;
    background: var(--accent-amber);
    color: var(--bg-deep) !important;
    border: none;
}

.main-nav a.btn-nav:hover,
.main-nav a.btn-nav.active {
    background: var(--accent-amber-hover);
    color: var(--bg-deep) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* Hero */
.hero {
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

/* Immersive full-bleed hero (strona główna) */
.hero--immersive {
    min-height: clamp(560px, 88vh, 820px);
    padding: 0;
    display: flex;
    align-items: center;
    background-color: #0B0F17;
}

.hero--immersive::before {
    display: none;
}

.hero-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: translateZ(0);
    contain: layout style paint;
}

.hero-scene--neon {
    background: #060a10;
    overflow: hidden;
}

.hero-rain__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
}

/* —— Neon sign —— */
.hero-neon__sign {
    pointer-events: none;
}

.hero-neon__board {
    fill: rgba(10, 14, 20, 0.94);
    stroke: #1a2432;
    stroke-width: 1;
}

.hero-neon__tube-text {
    font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
    font-size: 62px;
    font-weight: 400;
    letter-spacing: 0.04em;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-neon__tube-text--off {
    stroke: #202c3c;
    stroke-width: 5;
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

.hero-neon__tube-glow {
    stroke-width: 3.5;
    opacity: 0.6;
}

.hero-neon__tube-mid {
    stroke-width: 3.2;
    opacity: 1;
}

.hero-neon__tube-core {
    stroke-width: 1.8;
    stroke: #ffffff;
    opacity: 1;
}

.hero-neon__tube-group--cyan .hero-neon__tube-glow { stroke: #4ecdc4; }
.hero-neon__tube-group--cyan .hero-neon__tube-mid { stroke: #a8f2ec; }
.hero-neon__tube-group--amber .hero-neon__tube-glow { stroke: #f5a623; }
.hero-neon__tube-group--amber .hero-neon__tube-mid { stroke: #ffd68a; }


.hero-neon__board-glow {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-scene--powered .hero-neon__board-glow {
    opacity: 1;
}

.hero-neon__tubes-on {
    opacity: 0;
}

.hero-scene--powered .hero-neon__tube-text--off {
    opacity: 0.06;
}

.hero-scene--powered .hero-neon__tubes-on {
    opacity: 1;
    animation: neonTubeBoot 1.6s ease forwards;
}

.hero-scene--powered .hero-neon__tube-group--cyan {
    animation: neonFlickerCyan 5s ease-in-out 1.6s infinite;
}

.hero-scene--powered .hero-neon__tube-group--amber {
    animation: neonFlickerAmber 5.5s ease-in-out 1.7s infinite;
}

/* —— Sznurek + skacząca postać —— */
.hero-cord,
.hero-jumper-wrap {
    pointer-events: none;
}

.hero-cord {
    transform-box: view-box;
    transform-origin: 1186px 0;
    transform: translate(1186px, 0);
}

.hero-cord__pull {
    transform-box: fill-box;
    transform-origin: 50% 0;
    transform: scaleY(1);
}

.hero-cord__string {
    transition: stroke 0.4s ease;
}

.hero-scene--pulling .hero-cord__pull {
    animation: cordTug 0.6s cubic-bezier(0.3, 0.9, 0.4, 1) forwards;
}

@keyframes cordTug {
    0%   { transform: scaleY(1); }
    45%  { transform: scaleY(1.075); }
    100% { transform: scaleY(1); }
}

.hero-scene--powered .hero-cord {
    animation: cordRetract 0.85s cubic-bezier(0.42, 0, 0.58, 1) 0.35s forwards;
}

@keyframes cordRetract {
    from { transform: translate(1186px, 0); }
    to   { transform: translate(1186px, -720px); }
}

.hero-jumper-wrap {
    transform-box: view-box;
    transform-origin: 0 0;
    transform: translate(1150px, 560px) scale(3);
    opacity: 1;
}

.hero-jumper rect {
    shape-rendering: crispEdges;
}

.hero-scene--jumping .hero-jumper {
    animation: heroJump 1.15s cubic-bezier(0.4, 0, 0.3, 1) forwards;
}

@keyframes heroJump {
    0%   { transform: translateY(0); }
    10%  { transform: translateY(2px); }
    45%  { transform: translateY(-26px); }
    62%  { transform: translateY(-24px); }
    100% { transform: translateY(0); }
}

.hero-scene--powered .hero-jumper-wrap {
    animation: heroJumperExit 0.7s ease 0.95s forwards;
}

@keyframes heroJumperExit {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.hero-scene--jumping .hero-jumper__shadow {
    animation: heroJumpShadow 1.15s cubic-bezier(0.4, 0, 0.3, 1) forwards;
}

@keyframes heroJumpShadow {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    45%      { transform: scale(0.55); opacity: 0.2; }
}

.hero-jumper__shadow {
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

@keyframes neonTubeBoot {
    0%, 6%, 12%, 18%, 24%, 32% { opacity: 0; }
    8%, 14%, 22%, 28% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes neonFlickerCyan {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.75; }
    94% { opacity: 1; }
    96% { opacity: 0.85; }
    97% { opacity: 1; }
}

@keyframes neonFlickerAmber {
    0%, 100% { opacity: 1; }
    88% { opacity: 1; }
    89% { opacity: 0.7; }
    90% { opacity: 1; }
    95% { opacity: 0.8; }
    96% { opacity: 1; }
}

/* —— Cable + plug scene —— */
.hero-neon__stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.hero-neon__wire {
    opacity: 0.85;
    transition: stroke 0.4s ease;
}

.hero-scene--powered .hero-neon__wire {
    stroke: rgba(30, 45, 58, 0.9);
}

.hero-scene--powered .hero-neon__wire-inner {
    stroke: #3a4858;
}

.hero-scene-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(11, 15, 23, 0.96) 0%,
            rgba(11, 15, 23, 0.78) 32%,
            rgba(11, 15, 23, 0.35) 55%,
            rgba(11, 15, 23, 0.15) 100%),
        linear-gradient(180deg,
            rgba(11, 15, 23, 0.15) 0%,
            transparent 40%,
            transparent 65%,
            rgba(11, 15, 23, 0.75) 100%);
}

.hero-scene-overlay--rain {
    background:
        radial-gradient(ellipse 90% 60% at 50% 40%, transparent 30%, rgba(6, 10, 16, 0.35) 100%),
        linear-gradient(180deg,
            rgba(6, 10, 16, 0.55) 0%,
            transparent 28%,
            transparent 62%,
            rgba(6, 10, 16, 0.65) 100%);
}

/* Neon page — tekst sprzedażowy na środku ekranu; linki pojawiają się po zapaleniu neonu */
.hero--neon-page {
    justify-content: center;
    align-items: center;
}

/* blok tekstu z DELIKATNYM rozmyciem tła TYLKO za nim (miasto/ulica pozostają ostre poza panelem) */
.hero-neon__copy {
    position: relative;
    z-index: 4;
    max-width: 620px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    text-align: center;
    border-radius: 18px;
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(11, 15, 23, 0.6) 0%, rgba(11, 15, 23, 0.34) 100%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(120, 140, 170, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    animation: heroCopyIn 0.8s ease both;
}

@keyframes heroCopyIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-neon__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-amber);
    margin-bottom: 0.85rem;
}

.hero-neon__headline {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #9fb0c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero-neon__lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 auto 1.75rem;
    max-width: 46ch;
}

.hero-neon__nav {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
    pointer-events: none;
}

.hero-scene--powered ~ .hero-neon__nav,
.hero--neon-page.hero--powered .hero-neon__nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* zanim neon się zapali, przyciski są już czytelne w bloku (żeby CTA nie znikało zbyt długo) */
@media (prefers-reduced-motion: reduce) {
    .hero-neon__copy { animation: none; }
}

.hero-neon__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    background: rgba(11, 15, 23, 0.75);
    backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.hero-neon__link:hover {
    border-color: var(--border-hover);
    background: rgba(20, 28, 42, 0.9);
    transform: translateY(-1px);
}

.hero-neon__link--primary {
    background: var(--accent-amber);
    color: var(--bg-deep);
    border-color: var(--accent-amber);
}

.hero-neon__link--primary:hover {
    background: var(--accent-amber-hover);
    border-color: var(--accent-amber-hover);
    color: var(--bg-deep);
}

.hero--immersive .hero-inner {
    display: block;
    position: relative;
    z-index: 2;
    padding: 7rem 1.25rem 4rem;
    max-width: 640px;
}

.hero--immersive .hero-content {
    position: relative;
}

.hero--immersive .hero-title {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero--immersive .hero-subtitle {
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
    max-width: 540px;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--bg-deep));
    pointer-events: none;
    z-index: 3;
}

.hero--immersive::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--bg-deep));
    pointer-events: none;
    z-index: 3;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* City skyline visual */
/* Hero visual container */
.hero-visual {
    position: relative;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Page hero */
.page-hero {
    padding: 4.5rem 0 3rem;
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
    border-radius: 2px;
}

.page-hero h1 { margin-bottom: 1rem; }

.page-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* Dlaczego my — tekst + animacja serwerowni */
.intro-split {
    display: grid;
    grid-template-columns: 1fr min(400px, 42vw);
    gap: 2rem 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.section-header--left {
    text-align: left;
    max-width: none;
    margin: 0;
    padding-top: 0.25rem;
}

.intro-split__visual {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 0;
}

.datacenter-lottie {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 660 / 400;
    line-height: 0;
}

.datacenter-lottie svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 900px) {
    .intro-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-split__visual {
        justify-content: center;
        order: 2;
    }

    .intro-split__copy {
        order: 1;
    }

    .section-header--left {
        text-align: center;
    }

    .datacenter-lottie {
        max-width: min(360px, 88vw);
        margin: 0 auto;
    }
}

/* Cards */
.feature-card,
.package-card,
.portfolio-item,
.testimonial-card,
.contact-info-card,
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover,
.portfolio-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-cyan-dim);
    border: 1px solid rgba(78, 205, 196, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Kafelki z emotką → tekst po scrollu (strona główna) */
.features-grid--reveal .feature-card--reveal {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card--reveal .feature-card__emoji {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3rem, 9vw, 4.25rem);
    line-height: 1;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.45s ease, transform 0.45s ease;
    visibility: visible;
    pointer-events: none;
    user-select: none;
}

.feature-card--reveal .feature-card__body {
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.feature-card--reveal .feature-card__body h3 {
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
}

.feature-card--reveal.is-revealed .feature-card__emoji {
    opacity: 0;
    transform: scale(0.7);
    visibility: hidden;
}

.feature-card--reveal.is-revealed .feature-card__body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.feature-card--reveal:nth-child(1).is-revealed .feature-card__body { transition-delay: 0.03s; }
.feature-card--reveal:nth-child(1).is-revealed .feature-card__emoji { transition-delay: 0s; }

.feature-card--reveal:nth-child(2).is-revealed .feature-card__body { transition-delay: 0.06s; }
.feature-card--reveal:nth-child(2).is-revealed .feature-card__emoji { transition-delay: 0.02s; }

.feature-card--reveal:nth-child(3).is-revealed .feature-card__body { transition-delay: 0.09s; }
.feature-card--reveal:nth-child(3).is-revealed .feature-card__emoji { transition-delay: 0.04s; }

@media (prefers-reduced-motion: reduce) {
    .feature-card--reveal .feature-card__emoji {
        display: none;
    }

    .feature-card--reveal .feature-card__body {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--accent-amber);
    color: var(--bg-deep);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(165deg, rgba(26, 36, 56, 0.55) 0%, rgba(17, 24, 39, 0.98) 48%);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.package-card:hover {
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    transform: translateY(-3px);
}

.package-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem 1.625rem 1.625rem;
}

.package-card.featured {
    border-color: rgba(245, 166, 35, 0.42);
    background:
        linear-gradient(165deg, rgba(245, 166, 35, 0.12) 0%, rgba(17, 24, 39, 0.98) 42%);
    box-shadow:
        0 16px 48px rgba(245, 166, 35, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.package-card.featured:hover {
    border-color: rgba(245, 166, 35, 0.55);
    box-shadow:
        0 18px 52px rgba(245, 166, 35, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.package-badge {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0.4rem 0.875rem;
    background: var(--accent-amber);
    color: var(--bg-deep);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.package-card.featured .package-badge {
    margin-top: 1rem;
    margin-bottom: -0.25rem;
}

.package-card__head {
    margin-bottom: 1.125rem;
}

.package-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.package-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.package-price {
    font-family: var(--font-heading);
    font-size: 2.375rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-amber);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.package-price span {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.package-features {
    flex: 1;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.package-features li {
    position: relative;
    padding-left: 1.125rem;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.package-features li:last-child {
    margin-bottom: 0;
}

.package-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(78, 205, 196, 0.45);
}

.package-card .btn {
    width: 100%;
    margin-top: auto;
}

@media (min-width: 1025px) {
    .package-card.featured {
        transform: translateY(-6px);
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.portfolio-item { overflow: hidden; }

.portfolio-image {
    aspect-ratio: 16 / 10;
    background: var(--bg-elevated);
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.03);
    opacity: 1;
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(7, 11, 18, 0.85);
    color: var(--accent-amber);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portfolio-content { padding: 1.5rem; }

.portfolio-content h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }

.portfolio-industry {
    font-size: 0.8125rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.portfolio-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card { padding: 2rem; }

.testimonial-quote {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.75;
    border-left: 3px solid var(--accent-amber);
    padding-left: 1rem;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9375rem;
}

.testimonial-company {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-amber);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
    padding-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* CTA */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(245, 166, 35, 0.1) 0%, transparent 60%),
        var(--bg-card);
    border-top: 1px solid var(--border);
}

.cta-section h2 { margin-bottom: 1rem; }

.cta-section p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2rem;
    font-size: 1.0625rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.about-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-amber);
    margin-bottom: 0.25rem;
}

.about-stat span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
}

.contact-info-card { padding: 2rem; }

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-method:last-child { border-bottom: none; }

.contact-method-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-method a,
.contact-method span {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-channel-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition);
}

.contact-channel-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Forms */
.form-card {
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8125rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    color: var(--text-primary);
    transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.alert-success {
    background: rgba(78, 205, 196, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Partner page */
.partner-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.partner-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.partner-step-num {
    width: 40px;
    height: 40px;
    background: var(--accent-amber);
    color: var(--bg-deep);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.commission-highlight {
    background: var(--bg-card);
    border: 1px solid var(--accent-amber);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 0 40px var(--glow-amber);
}

.commission-highlight strong {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    display: block;
    color: var(--accent-amber);
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

.footer-skyline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--accent-cyan) 0%,
        var(--accent-amber) 25%,
        var(--accent-cyan) 50%,
        var(--accent-amber) 75%,
        var(--accent-cyan) 100%);
    opacity: 0.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.logo-footer .logo-text { color: var(--text-primary); }

.footer-desc {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-primary);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links ul li,
.footer-contact ul li { margin-bottom: 0.625rem; }

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--accent-amber); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-partner-link { opacity: 0.45; }

/* Legal & 404 */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.85;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.error-page {
    text-align: center;
    padding: 6rem 0;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--accent-amber);
    margin-bottom: 1rem;
}

/* ===== Hero neon plug ===== */

@media (prefers-reduced-motion: reduce) {
    .hero-neon__tubes-on {
        opacity: 1 !important;
        animation: none !important;
    }

    .hero-neon__nav {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    /* bez skoku; postać ukryta, sznurek schowany */
    .hero-jumper,
    .hero-cord__pull {
        animation: none !important;
    }

    .hero-cord__pull {
        transform: none !important;
    }

    .hero-jumper-wrap {
        opacity: 0 !important;
        animation: none !important;
    }

    .hero-cord {
        animation: none !important;
        transform: translate(1186px, -720px) !important;
        opacity: 0 !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual { order: -1; }

    .features-grid,
    .packages-grid,
    .testimonials-grid,
    .values-grid,
    .partner-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(7, 11, 18, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .main-nav a {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .main-nav a.btn-nav {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero--immersive {
        min-height: auto;
    }

    .hero--immersive .hero-inner {
        padding: 6rem 1rem 3rem;
        max-width: 100%;
    }

    .hero--immersive .hero-title {
        font-size: clamp(1.625rem, 6.5vw, 2rem);
    }

    .hero-neon__copy {
        margin: 0 1rem;
        padding: 1.5rem 1.35rem;
        max-width: 100%;
    }

    .hero-neon__nav {
        flex-direction: column;
        width: 100%;
    }

    .hero-neon__link {
        width: 100%;
        min-width: 0;
    }

    .hero-scene-overlay--rain {
        background:
            linear-gradient(180deg,
                rgba(6, 10, 16, 0.7) 0%,
                transparent 25%,
                transparent 58%,
                rgba(6, 10, 16, 0.75) 100%);
    }

    .hero-inner {
        gap: 2rem;
    }

    .hero-visual {
        order: -1;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.625rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .features-grid,
    .packages-grid,
    .portfolio-grid,
    .testimonials-grid,
    .values-grid,
    .partner-steps,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero { padding: 2.5rem 0 2rem; }

    .section { padding: 3rem 0; }

    .page-hero { padding: 3rem 0 2rem; }

    .form-card,
    .contact-info-card {
        padding: 1.25rem;
    }

    .package-price {
        font-size: 2rem;
    }

    .commission-highlight strong {
        font-size: 2rem;
    }
}
