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

:root {
    /* PALETTE inspired by User's Brand + Cyber Aesthetics */
    --bg-dark: #12141d;
    --bg-card: #1c1f2b;
    --text-white: #ffffff;
    --text-gray: #b0b0c0;

    /* UNIFIED ACCENT - CYAN/BLUE (No more Purple) */
    --accent-primary: #00f2ff;
    /* Cyan */
    --accent-secondary: #00c3ff;
    /* Darker Cyan/Blue */
    --accent-glow: rgba(0, 242, 255, 0.4);
    --accent-cyan: #00f2ff;

    /* GRADIENTS */
    --gradient-main: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);

    /* PROFESSIONAL DIVIDERS & SECTIONS */
    --divider-gradient: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    --divider-subtle: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    --section-bg-primary: rgba(8, 8, 12, 0.92);
    --section-bg-subtle: rgba(5, 5, 8, 0.85);
    --section-border-glow: rgba(0, 242, 255, 0.12);

    /* FONTS */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-tech: 'Space Grotesk', monospace;

    /* ile "pustej" przestrzeni z animacjami ma być na górze */
    --top-space: 20vh;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-glow);
}

::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 100px;
    /* Unified fix for sticky header */
}

/* Specific section adjustment */
[id] {
    scroll-margin-top: 100px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

/* Ensure no custom cursor glows in body */
body::after {
    display: none !important;
}

/* === BACKGROUND CLEANUP === */
#ambient-grid,
.ambient-engine,
.pcb-trace,
.ambient-particles,
.blob,
.floating-shape,
.vignette {
    display: none !important;
}

/* === HUD ELEMENTS === */
.hud-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    padding: 30px;
}

.corner-tl,
.corner-tr,
.corner-bl,
.corner-br {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.corner-tl {
    top: 30px;
    left: 30px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 30px;
    right: 30px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 30px;
    left: 30px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 30px;
    right: 30px;
    border-left: none;
    border-top: none;
}

.side-log {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: var(--font-tech);
    font-size: 0.65rem;
    /* Smaller to be less intrusive */
    color: rgba(255, 255, 255, 0.2);
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    z-index: 10;
    pointer-events: none;
}

.mouse {
    width: 20px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

.scroll-indicator span {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    letter-spacing: 2px;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

/* === TOP RESERVED SPACE === */
.top-reserved-space {
    height: var(--top-space, 20vh);
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* === NAVIGATION === */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.85) 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--section-border-glow);
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

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

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-primary);
}

.nav-cta {
    padding: 10px 24px;
    border: 1px solid var(--accent-primary);
    border-radius: 4px;
    color: var(--accent-primary) !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--accent-primary);
    color: #fff !important;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* === MOBILE NAVIGATION === */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when open */
.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 6px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -6px);
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 8, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        opacity: 1;
    }

    .main-nav {
        padding: 20px 25px;
    }
}

/* === HERO SECTION === */
/* TUTAJ ZMIENIA SIĘ ODSTĘP OD GÓRY / HERE YOU CHANGE TOP PADDING */
.hero-header {
    min-height: calc(100vh - var(--top-space, 20vh));
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Fix vertical position */
    position: relative;
    padding: 60px 80px 100px;
    /* Lifted up (reduced top padding) */
    overflow: hidden;
}

.hero-container {
    display: grid;
    /* Adjusted grid: more space for text (1.1fr) to prevent 'ZAUTOMATYZOWAĆ' wrapping */
    grid-template-columns: 1.1fr 0.8fr;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    align-items: start;
    /* Align to top to prevent jumping when content changes */
    padding-top: 40px;
    /* Slight offset from the very top container edge */
    z-index: 2;
}

/* LEFT COLUMN - TEXT */
.hero-content {
    text-align: left;
    padding-left: 20px;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--accent-primary);
    background: rgba(0, 242, 255, 0.05);
    border-radius: 100px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--accent-primary);
    letter-spacing: 2px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    line-height: 1.1;
    font-weight: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Keeps spans narrow, so cursor follows text */
    margin-bottom: 30px;
    min-height: 3.3em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.type-line {
    display: inline-block;
    width: fit-content;
    /* Ensure width is only as wide as the text */
    min-height: 1.1em;
    line-height: 1.1;
    border-right: 0.12em solid transparent;
    padding-right: 2px;
    transition: border-color 0s;
    /* Instant cursor toggle */
}

/* Typing Class added by JS */
.type-line.typing {
    border-color: var(--accent-secondary);
    animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--accent-secondary)
    }
}

/* RIGHT COLUMN - LEAD FORM */
.hero-form-wrapper {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    max-width: 450px;
    margin-left: auto;
    animation: slideLeft 1s ease-out 0.5s backwards;
    /* Ensure it doesn't jump */
    height: fit-content;
    position: sticky;
    top: 120px;
    /* Stick near top when scrolling */
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-main);
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.form-header p {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.hero-input-group {
    margin-bottom: 12px;
}

.hero-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-text);
    font-size: 0.85rem;
    transition: 0.3s;
}

.hero-input:focus {
    border-color: var(--accent-cyan);
    outline: none;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.hero-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: var(--font-body);
}

.hero-input-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

/* Custom Checkboxes Grid */
.form-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--text-gray);
    transition: 0.3s;
    user-select: none;
}

.checkbox-label:hover {
    color: #fff;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.3);
}

.checkbox-input:checked+.checkbox-custom {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.checkbox-input:checked+.checkbox-custom::after {
    content: '✓';
    font-size: 10px;
    color: #000;
    font-weight: bold;
}

.checkbox-label input {
    display: none;
}

.hero-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.hero-submit-btn:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    transform: translateY(-1px);
}

.type-line {
    display: inline-block;
    border-right: 4px solid transparent;
    white-space: nowrap;
    line-height: 1.1;
}

.type-line.highlight {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

/* Cursor State: Typing */
.type-line.typing {
    border-right-color: var(--accent-secondary);
}

/* Cursor State: Blinking (End) */
.type-line.typing-blink {
    border-right-color: var(--accent-secondary);
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--accent-secondary);
    }
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 50px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 18px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* === SERVICES SECTION === */
.services-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 15, 0.8) 20%);
}

.section-header {
    margin-bottom: 80px;
}

.section-tag {
    font-family: var(--font-tech);
    color: var(--accent-primary);
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    /* Glassmorphism */
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-secondary);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 80px;
}

.features-list li {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: '>';
    color: var(--accent-secondary);
    font-family: var(--font-tech);
    font-weight: bold;
}

/* --- NEXUS GRID (Service Cards - Premium Redesign) --- */
.nexus-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.card-wrapper {
    perspective: 1500px;
    text-decoration: none;
    position: relative;
    display: block;
    height: 100%;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 40px 30px;
    height: 100%;
    position: relative;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-visual-wrapper {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000;
    transform: translateZ(20px);
}

.card-visual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.5s ease;
}

.card:hover .card-visual {
    transform: rotateY(15deg) scale(1.05);
    /* 360/Perspective effect */
    filter: brightness(1.1);
}

.card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-glow);
}

/* Unidied backgrounds (V5.1) */
.it .card,
.dev .card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
}

/* Shine Effect */
.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 55%);
    transform: rotate(30deg);
    transition: transform 0.6s;
    pointer-events: none;
}

.card:hover::after {
    transform: rotate(30deg) translate(20%, 20%);
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent-secondary);
    /* Unified to secondary accent */
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 1;
    /* More visible */
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 10px var(--accent-glow));
    transform: translateZ(50px);
}

/* Specific button/tag unification */
.it .card-tag,
.dev .card-tag {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--accent-glow);
}

.card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    transform: translateZ(30px);
    color: #fff;
    font-weight: 800;
}

.card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    transform: translateZ(20px);
}

.card-features {
    list-style: none;
    margin-bottom: 40px;
    transform: translateZ(15px);
    padding: 0;
}

.card-features li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-secondary);
    /* Unified color */
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-secondary);
}

.btn-reveal {
    margin-top: auto;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-secondary);
    /* Unified color */
    transform: translateZ(40px);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-reveal:hover {
    letter-spacing: 3px;
}

/* === OLD STYLE PROCESS SECTION === */
.info-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    letter-spacing: -2px;
    color: #fff;
}

.label {
    font-family: var(--font-tech);
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
}

.step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.step-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    opacity: 0.5;
}

.step h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #fff;
    font-family: var(--font-heading);
}

.step p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* FAQ COLLAPSE FIX (V6.5) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    margin-top: 15px;
    padding-bottom: 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-bottom-color: var(--accent-primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-primary);
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

/* === PREMIUM MEGA FOOTER V7.0 === */
.mega-footer {
    position: relative;
    padding: 120px 0 60px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-top: 100px;
}

.mega-footer::after {
    content: 'NSPC DIGITAL';
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: clamp(5rem, 15vw, 15rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    line-height: 0.8;
    pointer-events: none;
    z-index: 0;
}

.footer-main {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

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

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
    max-width: 300px;
}

.footer-col-title {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 30px;
}

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

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-list a::before {
    content: '—';
    opacity: 0.3;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.contact-item svg {
    color: var(--accent-primary);
    margin-top: 4px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-primary);
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Typography Polish */
h1.premium-title {
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* === TECH MARQUEE SECTION === */
.tech-section {
    padding: 40px 0;
    background: transparent;
    /* No more black bg */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle borders */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(5px);
}

.marquee-container {
    display: flex;
    width: fit-content;
    animation: marqueeRun 30s linear infinite;
    gap: 80px;
    cursor: grab;
}

.marquee-container:active {
    cursor: grabbing;
}

.marquee-container.dragging {
    animation-play-state: paused;
}

.tech-item {
    font-family: var(--font-tech);
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    transition: all 0.4s ease;
    user-select: none;
    letter-spacing: 2px;
}

.tech-item:hover {
    color: var(--accent-primary);
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 0 20px var(--accent-glow);
}

@keyframes marqueeRun {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === STATS SECTION === */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 0%, rgba(5, 5, 5, 0) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.stat-item h3 span {
    color: var(--accent-secondary);
}

.stat-item p {
    font-family: var(--font-tech);
    color: var(--text-gray);
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* RESPONSIVE ADDITIONS */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .nav-links {
        display: none;
        /* Hide on mobile only */
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-desc {
        max-width: 500px;
        /* Assuming this is the intended CSS for the hero-desc */
    }

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* --- TECH TICKER --- */
    .tech-ticker-container {
        padding: 30px 0;
        background: transparent;
        border-top: 1px solid rgba(255, 255, 255, 0.03);
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        overflow: hidden;
        position: relative;
        z-index: 5;
    }

    .tech-ticker {
        display: flex;
        white-space: nowrap;
    }

    .ticker-content {
        display: inline-flex;
        align-items: center;
        gap: 40px;
        animation: ticker-move 40s linear infinite;
        padding-left: 40px;
    }

    .ticker-content span {
        font-family: var(--font-tech);
        font-size: 0.85rem;
        color: var(--text-gray);
        letter-spacing: 3px;
        opacity: 0.5;
        transition: all 0.3s ease;
    }

    .ticker-content span:hover {
        color: var(--accent-primary);
        opacity: 1;
        text-shadow: 0 0 15px var(--accent-glow);
    }

    .ticker-content .dot {
        color: var(--accent-primary);
        font-size: 1.2rem;
    }

    @keyframes ticker-move {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    .tech-ticker:hover .ticker-content {
        animation-play-state: paused;
    }

    /* --- PCB DECORATION V3 --- */
    .pcb-decoration-v3 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        opacity: 0.3;
    }

    .pcb-path {
        stroke: var(--accent-primary);
        stroke-width: 1;
        stroke-dasharray: 10, 10;
        animation: pcb-dash 20s linear infinite;
    }

    .pcb-node {
        fill: var(--accent-primary);
        box-shadow: 0 0 10px var(--accent-glow);
    }

    @keyframes pcb-dash {
        to {
            stroke-dashoffset: -200;
        }
    }

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

/* Dodajemy to, aby tło (animacje) stało w miejscu podczas przewijania */
body {
    background-attachment: fixed;
    /* To sprawi, że tło będzie ładnie statyczne pod treścią */
}

/* === BRAND BACKGROUND SYSTEM (V7.0) === */
body::before {
    content: 'NSPC';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - var(--scroll-y, 0px))) rotate(-15deg);
    font-size: 40vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    z-index: -3;
    pointer-events: none;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.bg-glow-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 195, 255, 0.03) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300f2ff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -2;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* === PROFESSIONAL INTRO SECTION (CYBERIZED) === */
.pro-intro {
    padding: 120px 0;
    margin: 0;
    background: transparent;
    color: var(--text-white);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Decorative Tech Elements */
.pro-intro::before {
    content: '<DEBUG_INFO>';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--accent-primary);
    opacity: 0.3;
}

.pro-intro::after {
    content: 'STATUS: OPTIMIZED_SYSTEM_READY';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--accent-secondary);
    opacity: 0.3;
}

.pro-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.pro-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 950;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 5px;
    letter-spacing: -2px;
}

.pro-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--accent-primary);
    /* Changed from red to cyan for cyber consistency */
    text-shadow: 0 0 15px var(--accent-glow);
    margin-top: 0;
    margin-bottom: 55px;
    letter-spacing: -1px;
}

.pro-text-block {
    max-width: 800px;
    margin: 0 auto;
}

.pro-text-block p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.pro-text-block p:last-child {
    font-family: var(--font-tech);
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-white);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .pro-intro {
        padding: 80px 0;
    }

    .pro-title {
        letter-spacing: -1px;
    }

    .pro-subtitle {
        margin-bottom: 35px;
    }
}

/* === PCB TREE SECTION (CORE_SERVICES) === */
.pcb-tree-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
    background: transparent;
    /* Shared with global bg */
    overflow: hidden;
}

.pcb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* Header */
.tree-header {
    text-align: center;
    margin-bottom: 70px;
}

.tree-eyebrow {
    display: inline-block;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--accent-primary);
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 242, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.tree-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: -2px;
    margin: 0;
}

/* Services PCB Grid - 5 columns */
.services-pcb-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

/* Each Service Column */
.pcb-col {
    background: rgba(255, 255, 255, 0.03);
    /* Brighter glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(12px);
}

.pcb-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
}

.pcb-col:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 242, 255, 0.1);
}

/* Node Header (Category Title) */
.pcb-node-header {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.pcb-node-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Service List */
.pcb-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pcb-list li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.pcb-list li:hover {
    color: var(--accent-primary);
}

.pcb-list li span {
    color: var(--accent-primary);
    font-size: 0.8rem;
    margin-top: 2px;
}

.pcb-list li:hover {
    color: var(--text-white);
}

.pcb-list li span {
    color: var(--accent-secondary);
    font-size: 0.7rem;
    margin-top: 3px;
    text-shadow: 0 0 8px var(--accent-glow);
}

/* PCB Decorative Lines */
.pcb-tree-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.pcb-tree-lines .trunk {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent-primary), transparent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.pcb-tree-lines .bus-line {
    position: absolute;
    top: 180px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-secondary) 20%,
            var(--accent-secondary) 80%,
            transparent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.pcb-tree-lines .branch {
    position: absolute;
    top: 180px;
    width: 2px;
    height: 40px;
    background: var(--accent-secondary);
    box-shadow: 0 0 6px var(--accent-glow);
}

.branch-1 {
    left: 10%;
}

.branch-2 {
    left: 30%;
}

.branch-3 {
    left: 50%;
    transform: translateX(-50%);
}

.branch-4 {
    left: 70%;
}

.branch-5 {
    right: 10%;
    left: auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-pcb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-pcb-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pcb-tree-lines {
        display: none;
    }

    .pcb-tree-section {
        padding: 60px 0;
    }
}

@media (max-width: 500px) {
    .services-pcb-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================== */
/* === PROFESSIONAL SECTION DIVIDERS (2024/2025) === */
/* ================================================== */

/* Gradient Line Divider - subtelna elegancka linia */
.divider-gradient-line {
    width: 100%;
    height: 1px;
    background: var(--divider-gradient);
    opacity: 0.5;
    position: relative;
}

.divider-gradient-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
}

/* Centered Gradient Divider - krótsza linia */
.divider-centered {
    width: 50%;
    max-width: 400px;
    height: 1px;
    margin: 60px auto;
    background: var(--divider-gradient);
    opacity: 0.6;
    position: relative;
}

.divider-centered::before,
.divider-centered::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
}

.divider-centered::before {
    left: 0;
}

.divider-centered::after {
    right: 0;
}

/* Glowing Dots Divider */
.divider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 50px 0;
    position: relative;
}

.divider-dots::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--divider-subtle);
    top: 50%;
}

.divider-dots .dot {
    width: 5px;
    height: 5px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 15px var(--accent-glow);
    animation: dotPulse 2s ease-in-out infinite;
}

.divider-dots .dot:nth-child(2) {
    animation-delay: 0.3s;
}

.divider-dots .dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Angled/Skewed Divider - dynamiczny tech look */
.divider-angle {
    width: 100%;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.divider-angle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-secondary) 15%,
            var(--accent-primary) 50%,
            var(--accent-secondary) 85%,
            transparent);
    transform: skewY(-1.5deg);
    opacity: 0.4;
}

.divider-angle::after {
    content: '';
    position: absolute;
    top: calc(50% + 8px);
    left: 0;
    right: 0;
    height: 1px;
    background: var(--divider-subtle);
    transform: skewY(1deg);
    opacity: 0.3;
}

/* Tech Circuit Divider - PCB style */
.divider-circuit {
    width: 100%;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-circuit::before {
    content: '';
    position: absolute;
    left: 5%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-secondary));
    opacity: 0.4;
}

.divider-circuit::after {
    content: '';
    position: absolute;
    right: 5%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-secondary), transparent);
    opacity: 0.4;
}

.divider-circuit .node {
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background: var(--bg-dark);
    box-shadow: 0 0 20px var(--accent-glow);
}

.divider-circuit .node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* Minimalist Space Divider */
.divider-space {
    height: 80px;
    position: relative;
}

.divider-space::before {
    content: '//';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-tech);
    font-size: 1rem;
    color: var(--accent-primary);
    opacity: 0.3;
    letter-spacing: 4px;
}

/* Responsive Dividers */
@media (max-width: 768px) {
    .divider-centered {
        width: 70%;
        margin: 40px auto;
    }

    .divider-dots {
        padding: 35px 0;
        gap: 20px;
    }

    .divider-angle {
        height: 50px;
    }

    .divider-circuit {
        height: 40px;
    }
}

/* ================================================== */
/* === PREMIUM STATS - SVG PROGRESS RINGS === */
/* ================================================== */

.stats-section {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.stats-header {
    text-align: center;
    margin-bottom: 80px;
}

.stats-eyebrow {
    display: inline-block;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--accent-primary);
    letter-spacing: 3px;
    margin-bottom: 15px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 242, 255, 0.05);
}

.stats-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -1px;
    margin: 0;
}

.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-ring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ring-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 6;
}

.ring-progress {
    fill: none;
    stroke: url(#ringGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 2s ease-out;
}

/* Fallback solid color if gradient not defined */
.ring-progress {
    stroke: var(--accent-primary);
}

.ring-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.ring-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.ring-value-special {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.ring-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-left: 2px;
}

.ring-label {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

/* Hover effect for stat rings */
.stat-ring-item:hover .ring-wrapper {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.stat-ring-item:hover .progress-ring {
    filter: drop-shadow(0 0 25px var(--accent-glow));
}

/* Responsive */
@media (max-width: 1000px) {
    .stats-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 500px) {
    .stats-grid-premium {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ring-wrapper {
        width: 140px;
        height: 140px;
    }

    .ring-value {
        font-size: 2.5rem;
    }
}

/* ================================================== */
/* === MEGA FOOTER === */
/* ================================================== */

.mega-footer {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* CTA Section Redesign */
.footer-cta {
    padding: 150px 0;
    text-align: center;
    position: relative;
    background: transparent;
    overflow: hidden;
}

/* CTA Canvas Disabled (V4.0) */
#cta-canvas {
    display: none !important;
}

.footer-cta .container {
    position: relative;
    z-index: 2;
}

.cta-big {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 950;
    color: var(--text-white);
    line-height: 1.05;
    margin-bottom: 50px;
    letter-spacing: -3px;
    perspective: 1000px;
}

.cta-word {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
    cursor: default;
}

.cta-word:hover {
    color: var(--accent-primary);
    transform: translateZ(50px) scale(1.1);
    text-shadow: 0 0 30px var(--accent-glow);
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 22px 50px;
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-tech);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 3px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.footer-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.footer-contact-btn:hover {
    color: var(--bg-dark);
}

.footer-contact-btn:hover::before {
    left: 0;
}

.footer-contact-btn svg {
    transition: transform 0.3s ease;
}

.footer-contact-btn:hover svg {
    transform: translateX(5px);
}

/* Main Footer */
.footer-main {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

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

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-list a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

/* Contact Column */
.footer-col-contact {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    margin: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-text {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--text-gray);
    letter-spacing: 2px;
}

.brand-heart {
    color: #ff4757;
    font-size: 0.9rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .footer-col-contact {
        padding-left: 0;
        border-left: none;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cta-big {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

/* ================================================== */
/* === HOW WE WORK SECTION === */
/* ================================================== */

.how-we-work-section {
    padding: 120px 0;
    background: transparent;
    position: relative;
}

.premium-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 60px;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 40px;
    /* Margin from edges */
}

.workflow-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.workflow-step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.workflow-step:hover::before {
    transform: scaleY(1);
}

.step-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.step-index {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.5;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-white);
}

.step-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================== */
/* === FAQ SECTION === */
/* ================================================== */

.faq-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(30, 30, 40, 0.3) 0%, rgba(10, 10, 15, 0.0) 70%);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
}

.faq-question {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question span {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
}

.faq-item:hover .faq-question span {
    color: var(--accent-primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--accent-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ================================================== */
/* === SUBPAGE COMMON STYLES === */
/* ================================================== */

.subpage-header {
    padding: 100px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.subpage-header {
    padding: 120px 20px 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.offer-detail-section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.offer-detail-section.alt-bg {
    background: rgba(255, 255, 255, 0.02);
}

.offer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.offer-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.offer-grid.reverse .offer-content {
    order: 2;
}

.offer-grid.reverse .offer-visual {
    order: 1;
}

.offer-tag {
    font-family: var(--font-tech);
    color: var(--accent-primary);
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.offer-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 25px;
    color: #fff;
}

.offer-main-desc {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.detail-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item h3::before {
    content: '→';
    color: var(--accent-primary);
}

.detail-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.offer-visual {
    position: relative;
}

.offer-visual img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.glow-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
}

.glow-box.secondary {
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
}

.glow-box.it-glow {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
}

.detail-item.highlight {
    background: rgba(99, 102, 241, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px dashed rgba(99, 102, 241, 0.3);
    margin-top: 10px;
}

.detail-item.highlight h3 {
    color: var(--accent-secondary);
}

/* Responsive Subpages */
@media (max-width: 992px) {

    .offer-grid,
    .offer-grid.reverse {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .offer-grid.reverse .offer-content {
        order: 1;
    }

    .offer-grid.reverse .offer-visual {
        order: 2;
    }

    .service-details {
        grid-template-columns: 1fr;
    }
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ================================================== */
/* === ABOUT PAGE === */
/* ================================================== */

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-white);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: rgba(8, 8, 12, 0.5);
}

.values-section .section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 60px;
}

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

.value-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.1);
}

.value-icon {
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        text-align: center;
    }

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

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ================================================== */
/* === QUOTE FORM PAGE === */
/* ================================================== */

.quote-section {
    padding: 60px 0 100px;
}

.quote-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-form .form-group {
    margin-bottom: 25px;
}

.quote-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.quote-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300f2ff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-details-group {
    animation: fadeSlideIn 0.3s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-main);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.quote-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
}

.quote-submit-btn svg {
    transition: transform 0.3s ease;
}

.quote-submit-btn:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {

    .form-row,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .quote-form-wrapper {
        padding: 30px 20px;
    }
}

/* ================================================== */
/* === LOGO AS LINK === */
/* ================================================== */

a.nav-logo {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a.nav-logo:hover {
    opacity: 0.8;
}

/* ================================================== */
/* === FAQ IMPROVED ANIMATIONS === */
/* ================================================== */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
    opacity: 1;
}

/* Updated Footer Brand Section */
.footer-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    /* Added more space */
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Visual separator */
    width: 100%;
    letter-spacing: -1px;
}

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

.footer-tagline {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
    opacity: 0.8;
}

/* Footer Links Styling */
.footer-links {
    list-style: none;
    /* Ensure no bullets */
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-gray);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

/* Quote Form Select Option Visibility Fix */
.quote-form select option {
    background-color: var(--bg-card);
    color: #fff;
    padding: 10px;
}

/* === LEGAL DOCUMENTS === */
/* === LEGAL DOCUMENTS (DARK STYLE) === */
.legal-doc-container {
    background: rgba(255, 255, 255, 0.03); /* Ciemne, półprzezroczyste tło */
    backdrop-filter: blur(10px); /* Efekt rozmycia szkła */
    color: var(--text-gray);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Delikatna ramka */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    margin: 120px auto 60px; /* Margines góry, żeby nie chowało się pod menu */
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Nagłówki w regulaminie */
.legal-doc-container h1,
.legal-doc-container h2,
.legal-doc-container h3 {
    font-family: var(--font-heading);
    color: var(--text-white);
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.legal-doc-container h1 {
    font-size: 2.5rem;
    color: var(--accent-primary); /* Główny tytuł na cyjanowo */
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.legal-doc-container h2 {
    font-size: 1.5rem;
    border-left: 3px solid var(--accent-secondary);
    padding-left: 15px;
}

/* Zwykły tekst i listy */
.legal-doc-container p,
.legal-doc-container li {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.legal-doc-container ul, 
.legal-doc-container ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-doc-container li::marker {
    color: var(--accent-primary); /* Kropki/cyferki listy na cyjanowo */
}

/* Pogrubienia */
.legal-doc-container strong,
.legal-doc-container b {
    color: var(--text-white);
    font-weight: 600;
}

/* Linki w tekście */
.legal-doc-container a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px dashed rgba(0, 242, 255, 0.3);
}

.legal-doc-container a:hover {
    color: #fff;
    border-bottom-color: #fff;
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Responsywność na telefonach */
@media (max-width: 768px) {
    .legal-doc-container {
        padding: 30px 20px;
        margin-top: 100px;
        margin-bottom: 40px;
    }
    
    .legal-doc-container h1 {
        font-size: 1.8rem;
    }
}

/* === CHECKBOX FIX === */
.checkbox-label {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 12px !important;
    white-space: normal;
    /* Allow wrapping if needed but keep box aligned */
}

.checkbox-custom {
    flex-shrink: 0;
    /* Prevent box from shrinking */
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    padding: 100px 0;
    position: relative;
    /* Clean background to let main bg shine */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 242, 255, 0.2);
}

.testimonial-card.highlight {
    background: rgba(0, 242, 255, 0.03);
    border-color: rgba(0, 242, 255, 0.1);
}

.quote-icon {
    color: var(--accent-secondary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 1rem;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-details strong {
    color: #fff;
    font-size: 0.95rem;
}

.client-details span {
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* === PORTFOLIO CARD ANIMATION & STYLING === */
.portfolio-section {
    padding: 120px 0;
    background: transparent;
    position: relative;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.portfolio-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-section .label {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    color: var(--accent-primary);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
}

.portfolio-section .premium-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 700;
}

.portfolio-section .section-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 520px));
    gap: 50px;
    margin-top: 60px;
    justify-content: center;
}

/* Portfolio Card */
.portfolio-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 242, 255, 0.15);
}

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

/* Portfolio Image */
.portfolio-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(0, 242, 255, 0.12), rgba(0, 0, 0, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.portfolio-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

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

/* Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 242, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.overlay-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--bg-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Portfolio Content */
.portfolio-content {
    padding: 35px;
}

.portfolio-logo-wrapper {
    margin-bottom: 20px;
    height: 50px;
    display: flex;
    align-items: center;
}

.portfolio-logo-small {
    max-height: 50px;
    width: auto;
    filter: brightness(1.1);
}

.portfolio-project-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.portfolio-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Features */
.portfolio-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-badge {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-gray);
    background: rgba(0, 242, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.15);
}

/* Tech Stack */
.portfolio-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tech-badge {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    background: var(--gradient-main);
    color: var(--bg-dark);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Actions */
.portfolio-actions {
    display: flex;
    gap: 12px;
}

.btn-portfolio {
    flex: 1;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: 2px solid;
}

.btn-portfolio.btn-primary {
    background: var(--gradient-main);
    color: var(--bg-dark);
    border-color: transparent;
}

.btn-portfolio.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

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

.btn-portfolio.btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-dark);
}

/* Responsywność */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-section .premium-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 80px 0;
    }
    
    .portfolio-container {
        padding: 0 20px;
    }
    
    .portfolio-section .premium-title {
        font-size: 2rem;
    }
    
    .portfolio-section .section-subtitle {
        font-size: 1rem;
    }
    
    .portfolio-image {
        height: 220px;
    }
    
    .portfolio-content {
        padding: 25px;
    }
    
    .portfolio-actions {
        flex-direction: column;
    }
    
    .btn-portfolio {
        width: 100%;
    }
}