/* FEBE Premium Styling */
:root {
    --primary-dark: #0f172a;
    --primary-darker: #020617;
    --primary-light: #1e293b;
    --accent-blue: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --accent-gold: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --badge-bg: rgba(59, 130, 246, 0.15);
    
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-blue);
    text-shadow: 0 0 20px var(--accent-glow);
}

.text-accent {
    color: var(--accent-blue);
}

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

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

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-5 {
    margin-top: 2rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

/* Utils */
.w-full {
    width: 100%;
}
.max-w-md {
    max-width: 28rem;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

.logo {
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 0.8;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.logo-dot {
    color: var(--accent-blue);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-switcher .lang-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.lang-switcher .lang-link:hover, .lang-switcher .active {
    color: var(--text-main);
}

.lang-switcher .separator {
    color: var(--glass-border);
    font-weight: 300;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.75) 50%, rgba(2, 6, 23, 0.4) 100%), url('assets/hero-ship.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.6;
    z-index: -1;
    filter: blur(60px);
}

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

.hero-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: var(--badge-bg);
    color: var(--accent-blue);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

/* Hero Visual & Glass Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.glass-card div {
    display: flex;
    flex-direction: column;
}

.glass-card strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.glass-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.floating-card-1 {
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.floating-card-2 {
    top: 45%;
    right: 5%;
    animation: float 8s ease-in-out infinite reverse;
    background: linear-gradient(145deg, var(--primary-light), rgba(15, 23, 42, 0.9));
}

.floating-card-3 {
    bottom: 15%;
    left: 20%;
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Generic Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.dark-section {
    background: linear-gradient(to bottom, var(--primary-darker), var(--primary-dark), var(--primary-darker));
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Statistics Bar */
.statistics-bar {
    padding: 0 0 4rem 0;
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Pull it slightly over the hero section */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 0 2rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: var(--glass-border);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 20px var(--accent-glow);
}

.stat-value .text-accent {
    font-size: 2.5rem;
    margin: 0 0.2rem;
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 3rem;
    }
    
    .stat-item:not(:last-child)::after {
        right: 20%;
        left: 20%;
        top: auto;
        bottom: -1.5rem;
        width: auto;
        height: 1px;
    }
}

/* Features Section (Co nas wyróżnia) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--primary-light);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.1);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--accent-blue);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

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

/* Timeline / Usługi */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--primary-dark);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 2;
}

.timeline-content {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.timeline-content:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(10px);
    border-color: rgba(59, 130, 246, 0.3);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
}

.timeline-content p {
    color: var(--text-muted);
}

/* Dla kogo / Target Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.audience-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--primary-light);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
}

.audience-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary-light), transparent);
    z-index: 1;
}

.audience-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 2;
    transition: var(--transition-smooth);
}

.audience-card:hover .audience-icon {
    color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    text-shadow: 0 0 30px var(--accent-glow);
}

/* Abstract placeholders for images */
.bg-ecommerce {
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
}
.bg-retail {
    background: linear-gradient(135deg, #0f172a, #064e3b);
}
.bg-wholesale {
    background: linear-gradient(135deg, #4c1d95, #0f172a);
}

.audience-content {
    padding: 2rem;
}

.audience-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.audience-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Magazyny & B2B */
.warehouse-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--primary-light);
    border-radius: 32px;
    padding: 4rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.warehouse-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 30%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.warehouse-text, .warehouse-image-container {
    position: relative;
    z-index: 1;
}

.check-list {
    list-style: none;
    margin: 1.5rem 0;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
}

.warehouse-image-container {
    position: relative;
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warehouse-graphic {
    position: relative;
    width: 280px;
    height: 280px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--glass-border);
}

.bg-icon {
    font-size: 6rem;
    color: var(--accent-gold);
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.stats-box {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--glass-shadow);
    animation: float 6s ease-in-out infinite;
}

.stats-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}
.stats-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

/* Contact Form / Footer */
.footer {
    background: var(--primary-darker);
    border-top: 1px solid var(--glass-border);
    position: relative;
    padding-top: 4rem;
}

.cta-section {
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 120px;
}

.ml-2 { margin-left: 0.5rem; }
.text-success { color: #10b981; }
.text-error { color: #ef4444; }
.hidden { display: none; }

.footer-bottom {
    padding: 4rem 0 2rem;
    background: #01030a;
}

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

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--accent-blue);
}

/* Animations Triggered by JS */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text-area {
        align-items: center;
    }

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

    .hero-bg {
        top: 0;
        right: 0;
        left: 0;
        margin: auto;
    }

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

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

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .warehouse-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .check-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.98);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

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

    .features-grid, .audience-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 0;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .timeline-item {
        padding-left: 60px;
    }

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

    .footer-links a:hover {
        padding-left: 0;
        transform: scale(1.05);
    }
    
    .hero-visual {
        display: none; /* Hide complex floating visuals on small mobile to save vertical space/perf */
    }
}
