/* 
================================
ROOT VARIABLES & RESET
================================
*/
:root {
    --bg-main: #020617;
    --bg-panel: rgba(30, 41, 59, 0.4);
    --accent-primary: #00C27A;
    --accent-secondary: #0EA5E9;
    --text-main: #F8FAFC;
    --text-secondary: #E2E8F0;
    --text-muted: #A8B8CC;
    --border-dark: rgba(148, 163, 184, 0.1);
    --glow-primary: 0 0 20px rgba(0, 194, 122, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 
================================
TYPOGRAPHY & UTILITIES
================================
*/
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section {
    padding: 6rem 0;
    position: relative;
}

/* 
================================
BUTTONS
================================
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 194, 122, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

.btn-glow {
    animation: glow-pulse 3s infinite;
}
/* 
================================
FOCUS STATES (Accessibility)
================================
*/

/* Remove default outline and use custom focus-visible */
*:focus {
    outline: none;
}

/* Focus states for keyboard navigation only */
.btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(0, 194, 122, 0.2);
}

.nav-link:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
    border-radius: 2px;
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-menu-link:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
    padding-left: 10px;
    border-radius: 4px;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 0;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 194, 122, 0.1);
}

.form-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.logo:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.footer-link:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* 
================================
NAVBAR & HEADER
================================
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    color: #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 194, 122, 0.5);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

/* 
================================
MOBILE MENU & HAMBURGER
================================
*/
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    display: block;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

/* Hamburger Active State */
.mobile-menu-btn.active .hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
    background: var(--accent-primary);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
    background: var(--accent-primary);
}

/* Mobile Menu Overlay (Slide-in from Right) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: rgba(2, 6, 23, 0.98);
    border-left: 1px solid var(--border-dark);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    transform: translateX(20px);
    opacity: 0;
}

/* Staggered Animation for Links */
.mobile-menu.active .mobile-menu-link {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu.active .mobile-menu-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-menu-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-menu-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-menu-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-menu-link:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu-link:hover {
    color: var(--accent-primary);
    padding-left: 10px;
    border-bottom-color: var(--border-dark);
}

/* 
================================
HERO SECTION
================================
*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float-blob 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-secondary);
    animation-delay: -10s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: #6366f1;
    animation-delay: -5s;
    opacity: 0.2;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 194, 122, 0.1);
    border: 1px solid rgba(0, 194, 122, 0.2);
    border-radius: 2rem;
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-dark);
    padding-top: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    color: var(--accent-primary);
}

/* Hero Visual Panel */
.hero-visual {
    position: relative;
}

.hero-panel {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-panel:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 1rem;
}

.panel-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.panel-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulse 2s infinite;
}

.panel-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-tile {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 0.5rem;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.metric-change {
    font-size: 0.75rem;
    color: var(--accent-primary);
    margin-left: 0.5rem;
}

.hero-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
}

/* 
================================
SERVICES SECTION
================================
*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-number {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-chip {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

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

.service-highlight {
    color: var(--text-main);
    font-weight: 600;
}

/* 
================================
AUDIENCE SECTION (Dla Kogo)
================================
*/
.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.audience-item {
    text-align: center;
    padding: 2rem;
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.audience-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.audience-benefits {
    text-align: left;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.audience-benefits li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.audience-benefits li::before {
    content: '•';
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 
================================
PROCESS SECTION
================================
*/
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    position: relative;
    padding: 1.5rem;
    background: var(--bg-panel);
    border-radius: 1rem;
    border: 1px solid var(--border-dark);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-secondary);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 
================================
CONTACT SECTION
================================
*/
.contact-section {
    background: linear-gradient(to top, #020617, #0f172a);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-panel);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--border-dark);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 194, 122, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-area-info {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-dark);
    padding-top: 1.5rem;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* 
================================
FOOTER
================================
*/
.footer {
    border-top: 1px solid var(--border-dark);
    padding: 4rem 0 2rem;
    background: #010409;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-copy {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.4);
}

/* 
================================
ANIMATIONS
================================
*/
@keyframes float-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 194, 122, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(0, 194, 122, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 194, 122, 0);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 194, 122, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 194, 122, 0.5);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reveal-initial {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* 
================================
RESPONSIVE MEDIA QUERIES
================================
*/

/* 
================================
TABLET BREAKPOINT (769px - 992px)
================================
*/
@media (max-width: 992px) and (min-width: 769px) {
    /* Hero Section */
    .hero {
        padding-top: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto 3rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Services Grid  - 2 kolumny na tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Process Steps - 2 kolumny */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Audience Grid - 2 kolumny */
    .for-whom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Sections Spacing */
    .section {
        padding: 4rem 0;
    }
    
    /* Typography */
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-panel {
        transform: none !important;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide desktop nav */
    }

    .mobile-menu-btn {
        display: block;
        /* Show hamburger */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        padding: 1.5rem;
    }
}
/* 
================================
UTILITY CLASSES
================================
*/

/* Navigation Buttons */
.btn-nav {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-mobile-cta {
    margin-top: 1rem;
    display: inline-flex;
}

.btn-full {
    width: 100%;
}

/* Section Headings */
.section-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-heading-tight {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Section Content */
.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark {
    background-color: #030a21;
}

/* Layout Utilities */
.flex-baseline {
    display: flex;
    align-items: baseline;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Metric Variants */
.metric-change-positive {
    color: var(--accent-primary);
}

/* Footer */
.logo-icon-small {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;`r`n}

/* 
================================
SCROLL TO TOP BUTTON
================================
*/
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 194, 122, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #00d68a;
    box-shadow: 0 6px 20px rgba(0, 194, 122, 0.5);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Mobile - mniejszy button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* Footer NAP (Name Address Phone) */
.footer-nap {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nap p {
    margin: 0.25rem 0;
}

.footer-nap strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-nap a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nap a:hover {
    color: #00d68a;
    text-decoration: underline;
}

/* ============================================
   PROJECTS GALLERY - Circular Overlapping Layout
   ============================================ */

.projects-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.project-card {
    position: absolute;
    width: 280px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 230, 140, 0.1);
}

/* Circular positioning layout */
.project-card[data-project="1"] {
    top: 5%;
    right: 10%;
    transform: rotate(5deg);
    z-index: 3;
}

.project-card[data-project="2"] {
    top: 35%;
    left: 5%;
    transform: rotate(-8deg);
    z-index: 2;
}

.project-card[data-project="3"] {
    bottom: 8%;
    right: 15%;
    transform: rotate(3deg);
    z-index: 1;
}

/* Image styling */
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Project info overlay */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top,
            rgba(10, 20, 30, 0.95) 0%,
            rgba(10, 20, 30, 0.85) 60%,
            transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: -0.5px;
}

.project-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Hover effects */
.project-card:hover {
    transform: rotate(0deg) scale(1.08) translateY(-8px);
    z-index: 10 !important;
    box-shadow:
        0 20px 50px rgba(0, 230, 140, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 230, 140, 0.15);
    border-color: rgba(0, 230, 140, 0.4);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card:hover .project-info {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .project-card {
        width: 240px;
        height: 280px;
    }

    .project-card[data-project="1"] {
        right: 5%;
    }

    .project-card[data-project="2"] {
        left: 0;
    }

    .project-card[data-project="3"] {
        right: 10%;
    }
}

@media (max-width: 992px) {
    .projects-gallery {
        min-height: 350px;
    }

    .project-card {
        width: 200px;
        height: 240px;
    }

    .project-info h4 {
        font-size: 1.1rem;
    }

    .project-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .projects-gallery {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        min-height: auto;
        padding: 1rem;
    }

    .project-card {
        position: relative !important;
        width: 100%;
        max-width: 320px;
        height: 280px;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .project-card:hover {
        transform: scale(1.03) translateY(-4px) !important;
    }

    /* Show info by default on mobile */
    .project-info {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(0, 214, 138, 0.1);
}

.faq-item[open] {
    border-color: var(--accent-primary);
    background: rgba(0, 214, 138, 0.03);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

/* Custom marker */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    line-height: 1;
}

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

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
    border-top-color: rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    animation: slideDown 0.3s ease-out;
}

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

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