/* ==========================================================================
   SECTION DIVIDERS & TRANSITIONS - DANIEL WOŹNIAK
   ========================================================================== */

/* Enhanced Section Dividers */
.section-divider {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 122, 204, 0.8) 25%,
        rgba(247, 147, 30, 0.8) 75%,
        transparent 100%
    );
    animation: dividerGlow 3s ease-in-out infinite;
    transform: translateY(-50%);
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: dividerSweep 4s ease-in-out infinite;
    transform: translateY(-50%);
}

@keyframes dividerGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1.05);
    }
}

@keyframes dividerSweep {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced Hero Divider */
.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    z-index: 10;
    overflow: hidden;
}

.hero-divider-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 122, 204, 0.9) 25%,
        rgba(247, 147, 30, 0.9) 75%,
        transparent 100%
    );
    animation: heroLinePulse 2s ease-in-out infinite;
    position: relative;
}

.hero-divider-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: heroSweep 3s ease-in-out infinite;
}

@keyframes heroLinePulse {
    0%, 100% {
        opacity: 0.8;
        transform: scaleX(1);
        filter: blur(0px);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
        filter: blur(1px);
    }
}

@keyframes heroSweep {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Section Entrance Animations */
.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation for Multiple Elements */
.section-animate:nth-child(1) { transition-delay: 0.1s; }
.section-animate:nth-child(2) { transition-delay: 0.2s; }
.section-animate:nth-child(3) { transition-delay: 0.3s; }
.section-animate:nth-child(4) { transition-delay: 0.4s; }
.section-animate:nth-child(5) { transition-delay: 0.5s; }

/* Floating Elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(even) {
    animation-delay: -3s;
}

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

/* Pulse Effect for Important Elements */
.pulse-element {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Enhanced Section Backgrounds with Gradients */
.section-enhanced {
    position: relative;
    overflow: hidden;
}

.section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top right, rgba(0, 122, 204, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(247, 147, 30, 0.02) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundShift 15s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* TRANSITIONS BETWEEN SECTIONS */
.section-transition {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(10, 25, 47, 0.8) 50%,
        transparent 100%
    );
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 122, 204, 0.4) 20%,
        rgba(0, 122, 204, 0.8) 50%,
        rgba(247, 147, 30, 0.8) 50%,
        rgba(247, 147, 30, 0.4) 80%,
        transparent 100%
    );
    transform: translateY(-50%);
    animation: transitionPulse 4s ease-in-out infinite;
}

.section-transition::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateY(-50%);
    animation: transitionSweep 6s ease-in-out infinite;
}

@keyframes transitionPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) scaleX(0.9);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1.1);
    }
}

@keyframes transitionSweep {
    0% {
        left: -120%;
    }
    50% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}

/* ==========================================================================
   NOWE KREATYWNE PRZEJŚCIA MIĘDZY SEKCJAMI
   ========================================================================== */

/* UNIFIED SIMPLE DIVIDER - Consistent across all sections */
.geometric-divider,
.particle-divider,
.circuit-divider,
.dna-divider,
.wave-divider {
    position: relative;
    height: 60px;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geometric-divider::before,
.particle-divider::before,
.circuit-divider::before,
.dna-divider::before,
.wave-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 122, 204, 0.3) 25%,
        rgba(0, 122, 204, 0.8) 50%,
        rgba(247, 147, 30, 0.8) 50%,
        rgba(247, 147, 30, 0.3) 75%,
        transparent 100%
    );
    transform: translateY(-50%);
    animation: unifiedPulse 3s ease-in-out infinite;
}

/* Remove all complex shapes and particles - keep it simple */
.geometric-shape,
.particle-container,
.particle,
.circuit-line,
.circuit-node,
.dna-strand,
.dna-point,
.wave-path {
    display: none;
}

@keyframes unifiedPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1.05);
    }
}

/* Wave Section Divider */
.wave-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
    margin: 0;
}

.wave-path {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-path svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: url(#waveGradient);
    stroke-width: 3;
    animation: waveFlow 6s ease-in-out infinite;
}

@keyframes waveFlow {
    0%, 100% { opacity: 0.7; transform: translateX(0px); }
    50% { opacity: 1; transform: translateX(10px); }
}

/* Particle Section Divider */
.particle-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.particle-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 122, 204, 0.8);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; background: rgba(0, 122, 204, 0.8); }
.particle:nth-child(2) { left: 20%; animation-delay: 0.5s; background: rgba(247, 147, 30, 0.8); }
.particle:nth-child(3) { left: 30%; animation-delay: 1s; background: rgba(0, 122, 204, 0.6); }
.particle:nth-child(4) { left: 40%; animation-delay: 1.5s; background: rgba(247, 147, 30, 0.6); }
.particle:nth-child(5) { left: 50%; animation-delay: 2s; background: rgba(0, 122, 204, 0.9); }
.particle:nth-child(6) { left: 60%; animation-delay: 2.5s; background: rgba(247, 147, 30, 0.9); }
.particle:nth-child(7) { left: 70%; animation-delay: 3s; background: rgba(0, 122, 204, 0.7); }
.particle:nth-child(8) { left: 80%; animation-delay: 3.5s; background: rgba(247, 147, 30, 0.7); }
.particle:nth-child(9) { left: 90%; animation-delay: 4s; background: rgba(0, 122, 204, 0.5); }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(40px);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

/* Circuit Board Divider */
.circuit-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 0;
}

.circuit-line {
    position: absolute;
    background: rgba(0, 122, 204, 0.6);
    animation: circuitPulse 3s ease-in-out infinite;
}

.circuit-line.horizontal {
    width: 100px;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.circuit-line.vertical {
    width: 2px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(247, 147, 30, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    animation: nodeGlow 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(247, 147, 30, 0.5);
}

.circuit-line:nth-child(1) { left: 0%; animation-delay: 0s; }
.circuit-line:nth-child(2) { left: 15%; animation-delay: 0.2s; }
.circuit-line:nth-child(3) { left: 30%; animation-delay: 0.4s; }
.circuit-line:nth-child(4) { left: 45%; animation-delay: 0.6s; }
.circuit-line:nth-child(5) { left: 60%; animation-delay: 0.8s; }
.circuit-line:nth-child(6) { left: 75%; animation-delay: 1s; }
.circuit-line:nth-child(7) { left: 90%; animation-delay: 1.2s; }

.circuit-node:nth-child(8) { left: 20%; }
.circuit-node:nth-child(9) { left: 40%; }
.circuit-node:nth-child(10) { left: 60%; }
.circuit-node:nth-child(11) { left: 80%; }

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; background: rgba(0, 122, 204, 0.6); }
    50% { opacity: 1; background: rgba(0, 122, 204, 1); }
}

@keyframes nodeGlow {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 10px rgba(247, 147, 30, 0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
        box-shadow: 0 0 20px rgba(247, 147, 30, 0.8);
    }
}

/* DNA Helix Divider (dla biostack context) */
.dna-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.dna-strand {
    position: absolute;
    width: 200px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dna-point {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: dnaRotate 4s linear infinite;
}

.dna-point.left {
    background: rgba(0, 122, 204, 0.8);
    left: 0;
}

.dna-point.right {
    background: rgba(247, 147, 30, 0.8);
    right: 0;
}

.dna-point:nth-child(1) { animation-delay: 0s; }
.dna-point:nth-child(2) { animation-delay: 0.1s; }
.dna-point:nth-child(3) { animation-delay: 0.2s; }
.dna-point:nth-child(4) { animation-delay: 0.3s; }
.dna-point:nth-child(5) { animation-delay: 0.4s; }
.dna-point:nth-child(6) { animation-delay: 0.5s; }

@keyframes dnaRotate {
    0% {
        transform: translateX(0) translateY(0) rotateZ(0deg);
    }
    25% {
        transform: translateX(100px) translateY(-20px) rotateZ(90deg);
    }
    50% {
        transform: translateX(200px) translateY(0) rotateZ(180deg);
    }
    75% {
        transform: translateX(100px) translateY(20px) rotateZ(270deg);
    }
    100% {
        transform: translateX(0) translateY(0) rotateZ(360deg);
    }
}

/* ==========================================================================
   WIZUALNE SMACZKI I DODATKOWE ELEMENTY
   ========================================================================== */

/* Floating ambient particles */
.ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ambient-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 122, 204, 0.4);
    border-radius: 50%;
    animation: ambientFloat 20s linear infinite;
}

.ambient-particle:nth-child(odd) {
    background: rgba(247, 147, 30, 0.3);
    animation-duration: 25s;
}

@keyframes ambientFloat {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(100px);
        opacity: 0;
    }
}

/* Enhanced glassmorphism cards */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Glowing text effect */
.glow-text {
    text-shadow:
        0 0 5px rgba(0, 122, 204, 0.5),
        0 0 10px rgba(0, 122, 204, 0.3),
        0 0 20px rgba(0, 122, 204, 0.2);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow:
            0 0 5px rgba(0, 122, 204, 0.5),
            0 0 10px rgba(0, 122, 204, 0.3),
            0 0 20px rgba(0, 122, 204, 0.2);
    }
    to {
        text-shadow:
            0 0 10px rgba(0, 122, 204, 0.8),
            0 0 20px rgba(0, 122, 204, 0.5),
            0 0 30px rgba(0, 122, 204, 0.3);
    }
}

/* Interactive hover zones */
.hover-zone {
    position: relative;
    transition: all 0.3s ease;
}

.hover-zone::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center,
        rgba(0, 122, 204, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* NEWSLETTER TIMER BOX - NOWY STYL */
.newsletter-timer-box {
    background: rgba(0, 122, 204, 0.05);
    border: 2px solid rgba(0, 122, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.newsletter-timer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-gold) 100%);
    animation: timerPulse 2s ease-in-out infinite;
}

.timer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary-light);
    margin-bottom: 1rem;
}

.countdown-timer-compact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.countdown-timer-compact .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-timer-compact .countdown-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-blue);
    font-family: var(--font-family-mono);
    background: rgba(0, 122, 204, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 50px;
    display: inline-block;
}

.countdown-timer-compact .countdown-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* SCARCITY TEXT POD PRZYCISKIEM */
.newsletter-scarcity-inline {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(247, 147, 30, 0.05);
    border: 1px solid rgba(247, 147, 30, 0.1);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.newsletter-scarcity-inline p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

@keyframes timerPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.02);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .newsletter-timer-box {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .countdown-timer-compact {
        gap: 0.5rem;
    }

    .countdown-timer-compact .countdown-number {
        font-size: 1.4rem;
        padding: 0.3rem;
        min-width: 40px;
    }

    .timer-title {
        font-size: 1rem;
    }
}

/* MOBILE COUNTDOWN FIX - 2x2 GRID */
@media (max-width: 480px) {
    .countdown-timer-compact {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .countdown-timer-compact .countdown-item {
        padding: 0.75rem 0.5rem !important;
        min-width: unset !important;
    }

    .countdown-timer-compact .countdown-number {
        font-size: 1.5rem !important;
    }

    .countdown-timer-compact .countdown-label {
        font-size: 0.7rem !important;
    }

    .timer-title {
        font-size: 0.9rem !important;
    }
}

/* EXTRA SMALL MOBILE - 360px */
@media (max-width: 360px) {
    .countdown-timer-compact .countdown-item {
        padding: 0.6rem 0.4rem !important;
    }

    .countdown-timer-compact .countdown-number {
        font-size: 1.3rem !important;
        padding: 0.25rem !important;
    }

    .countdown-timer-compact .countdown-label {
        font-size: 0.65rem !important;
    }
}

/* ==========================================================================
   FORM MOBILE OPTIMIZATIONS - TOUCH TARGETS & iOS ZOOM FIX
   ========================================================================== */

@media (max-width: 480px) {
    /* Minimum touch target size 48px for accessibility */
    .form-input,
    .newsletter-input,
    input[type="email"],
    input[type="text"],
    button,
    .newsletter-submit,
    .newsletter-btn {
        min-height: 48px !important;
        font-size: 16px !important; /* Prevent iOS zoom on focus */
    }

    /* MailerLite embed form fixes */
    #mlb2-31318940 .ml-form-embedWrapper input[type="email"],
    #mlb2-31318940 .ml-form-embedWrapper button {
        min-height: 48px !important;
        font-size: 16px !important;
    }

    /* Generic newsletter form inputs */
    .ml-form-embedWrapper input,
    .ml-form-embedWrapper button,
    [class*="ml-"] input[type="email"],
    [class*="ml-"] button {
        min-height: 48px !important;
        font-size: 16px !important;
    }

    /* Touch-friendly spacing */
    .form-group {
        margin-bottom: 1.5rem !important;
    }

    /* Checkbox touch targets */
    .checkbox-label {
        min-height: 44px !important;
        align-items: center !important;
    }

    .checkmark {
        min-width: 24px !important;
        min-height: 24px !important;
    }

    /* Button touch targets */
    .newsletter-submit,
    .btn,
    .hero-cta-primary,
    .hero-cta-secondary {
        min-height: 48px !important;
        padding: 0.875rem 1.5rem !important;
    }
}

.hover-zone:hover::after {
    opacity: 1;
}

/* Subtle scroll indicators */
.scroll-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: var(--accent-blue);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 122, 204, 0.5);
}

/* Enhanced button micro-interactions */
.micro-button {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.micro-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%
    );
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.micro-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .ambient-particles {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .glass-card {
        backdrop-filter: blur(10px);
    }
}

/* ==========================================================================
   STATISTICS SECTION - ANIMATED CARDS
   ========================================================================== */

/* Statistics Grid - samme layout som lifestyle */
.statistics-grid {
    display: grid;
    grid-template-columns: 70fr 30fr !important;
    gap: 2rem;
    margin-top: 3rem;
}

/* Statistics Cards - glassmorphism + animacje */
.statistic-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.statistic-card.animate-in {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* TEST CLASS - immediate visibility */
.statistic-card.test-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #007acc !important;
}

.statistic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.statistic-card:hover::before {
    left: 100%;
}

.statistic-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 122, 204, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 122, 204, 0.2);
}

/* Statistics Icons */
.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.statistic-card:hover .stat-icon {
    transform: scale(1.2) rotateY(360deg);
    opacity: 1;
}

/* Statistics Numbers - z licznikiem animacji */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 122, 204, 0.5);
    transition: all 0.3s ease;
    display: block;
}

.stat-number.triumph {
    color: #f7931e;
    text-shadow: 0 0 20px rgba(247, 147, 30, 0.6);
}

.stat-number.success {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
}

.stat-number.failure {
    color: #ef4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

.statistic-card:hover .stat-number {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Statistics Labels */
.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.statistic-card:hover .stat-label {
    color: #ffffff;
}

/* Color variations for icons */
.stat-icon.triumph {
    filter: hue-rotate(30deg) brightness(1.2);
}

.stat-icon.success {
    filter: hue-rotate(120deg) brightness(1.2);
}

.stat-icon.failure {
    filter: hue-rotate(0deg) brightness(1.2);
}

/* PREZENT - Interactive Number Counter Animation */
.stat-number[data-count] {
    position: relative;
}

.stat-number[data-count]::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -10px;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* SPECIAL PREZENT - Hologram Effect on Hover */
.statistic-card.hologram {
    position: relative;
}

.statistic-card.hologram::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(0, 122, 204, 0.1) 50%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background-size: 200% 200%;
    animation: hologram-sweep 3s ease-in-out infinite;
}

.statistic-card:hover.hologram::after {
    opacity: 1;
}

@keyframes hologram-sweep {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .statistics-grid {
        grid-template-columns: 70fr 30fr !important;
        gap: 1.5rem;
    }

    .statistic-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 2rem;
    }
}

/* ==========================================================================
   CEO NEWSLETTER SECTION - ELEGANT L/R LAYOUT
   ========================================================================== */

.ceo-newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg,
        rgba(10, 25, 47, 0.95) 0%,
        rgba(15, 30, 52, 0.98) 50%,
        rgba(10, 25, 47, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.ceo-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 122, 204, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-layout {
    display: grid;
    grid-template-columns: 60fr 40fr !important;
    gap: 3rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

/* CRITICAL FIX: High specificity override for 60-40 split */
body .newsletter-layout {
    grid-template-columns: 60fr 40fr !important;
}

/* LEFT SIDE - VALUE PROPOSITION */
.newsletter-value {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.newsletter-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f7931e, #007acc);
}

.newsletter-header {
    border-bottom: 2px solid rgba(0, 122, 204, 0.3);
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-timing {
    font-size: 0.9rem;
    color: #007acc;
    margin: 0.5rem 0 0 0;
    font-weight: 600;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid rgba(0, 122, 204, 0.5);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(0, 122, 204, 0.8);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.benefit-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* NEWSLETTER COUNTDOWN WRAPPER - FULL WIDTH */
.newsletter-countdown-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter-countdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(0, 122, 204, 0.2);
    text-align: center;
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.countdown-item {
    text-align: center;
    background: rgba(0, 122, 204, 0.1);
    border-radius: 8px;
    padding: 0.8rem 0.5rem;
    min-width: 60px;
}

.countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #007acc;
    text-shadow: 0 0 10px rgba(0, 122, 204, 0.5);
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
}

.newsletter-scarcity {
    margin-top: 1rem;
}

.newsletter-scarcity p {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* RIGHT SIDE - SIGNUP FORM */
.newsletter-signup {
    display: flex;
    align-items: stretch;
}

.signup-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007acc, #f7931e);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #007acc;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #007acc;
    border-color: #007acc;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}

.newsletter-submit {
    background: linear-gradient(135deg, #007acc 0%, #0056b3 100%);
    border: none;
    border-radius: 12px;
    padding: 1.2rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.newsletter-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.newsletter-submit:hover::before {
    left: 100%;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 204, 0.4);
}

.button-icon {
    transition: transform 0.3s ease;
}

.newsletter-submit:hover .button-icon {
    transform: translateX(3px);
}

/* Mobile Responsiveness - Stack layout on tablets and mobile */
@media (max-width: 768px) {
    /* STACK columns on mobile to prevent side-by-side layout */
    .newsletter-layout,
    body .newsletter-layout,
    html body .container .newsletter-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .newsletter-signup {
        position: static;
        width: 100%;
    }

    .newsletter-value {
        width: 100%;
    }

    .newsletter-title {
        font-size: 2.5rem;
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    }

    .signup-card {
        padding: 2rem;
        width: 100%;
    }
}

/* Tablet responsive - 50-50 split */
@media (max-width: 1023px) and (min-width: 769px) {
    .newsletter-layout,
    body .newsletter-layout {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }

    .signup-card {
        padding: 2.5rem 2rem !important;
    }
}

/* ==========================================================
   Evergreen assurances (prawa kolumna newslettera)
   ========================================================== */
.signup-assurance {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}
.assurance-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
}

/* ==========================================================================
   1% IMPROVEMENTS - TYPING EFFECT & SMART VALIDATION
   ========================================================================== */

/* TYPING EFFECT FOR NEWSLETTER TAGLINE */
.newsletter-typing {
    position: relative;
    overflow: hidden;
}

.newsletter-typing::after {
    content: '|';
    position: absolute;
    right: 0;
    color: var(--accent-blue);
    animation: typing-cursor 1s infinite;
    font-weight: normal;
}

.newsletter-typing.typing-active::after {
    animation: typing-cursor 1s infinite;
}

@keyframes typing-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typing-wrapper {
    display: inline-block;
    position: relative;
}

/* SMART EMAIL VALIDATION */
.form-input {
    position: relative;
    transition: all 0.3s ease;
}

.form-input.valid {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.validation-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
}

.validation-icon.show {
    opacity: 1;
}

.validation-icon.valid {
    color: #10b981;
}

.validation-icon.invalid {
    color: #ef4444;
}

.validation-message {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.validation-message.show {
    opacity: 1;
    transform: translateY(0);
}

.validation-message.valid {
    color: #10b981;
}

.validation-message.invalid {
    color: #ef4444;
}

/* ==========================================================================
   PILLAR ENHANCEMENTS - 5 IMPROVEMENTS PACK
   ========================================================================== */

/* 1. FILAR REVEAL ANIMATION */
.pillar-card {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* FALLBACK: Show cards when JS doesn't work (local file, disabled JS) */
/* After 3s, animate to visible if reveal-active wasn't added */
@keyframes pillar-fallback-reveal {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pillar-card:not(.reveal-active) {
    animation: pillar-fallback-reveal 0.8s ease-out 2s forwards;
}

/* Immediate show for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pillar-card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

.pillar-card:nth-child(1) { transition-delay: 0ms; }
.pillar-card:nth-child(2) { transition-delay: 200ms; }
.pillar-card:nth-child(3) { transition-delay: 400ms; }
.pillar-card:nth-child(4) { transition-delay: 600ms; }
.pillar-card:nth-child(5) { transition-delay: 800ms; }
.pillar-card:nth-child(6) { transition-delay: 1000ms; }

/* 2. HOVER 3D DEPTH EFFECT */
.pillar-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-2deg) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(0, 122, 204, 0.2),
        0 5px 15px rgba(247, 147, 30, 0.1);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. PROGRESS INDICATOR */
.pillars-progress {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    background: rgba(0, 122, 204, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 122, 204, 0.3);
    border-radius: 20px;
    padding: 1rem 0.5rem;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.pillars-progress.show {
    opacity: 1;
    pointer-events: auto;
}

.progress-counter {
    writing-mode: vertical-lr;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 122, 204, 0.5);
    transform: scale(1.3);
}

/* 4. SMART CARD FLIP */
.pillar-card-inner {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-card.auto-flipped .pillar-card-inner {
    transform: rotateY(180deg);
}

.pillar-card.manual-flipped .pillar-card-inner {
    transform: rotateY(180deg);
}

/* 5. MICRO-INTERACTIONS */
.pillar-number {
    position: relative;
    transition: all 0.3s ease;
}

.pillar-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 122, 204, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-ready 2s ease-in-out infinite;
}

.pillar-card:hover .pillar-number::before {
    animation: pulse-active 1s ease-in-out infinite;
    opacity: 1;
}

@keyframes pulse-ready {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

@keyframes pulse-active {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Enhanced transitions for all elements */
.pillar-title, .pillar-desc, .pillar-question {
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-title {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.pillar-card:hover .pillar-desc {
    color: var(--text-primary-light);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .pillars-progress {
        display: none;
    }

    .pillar-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}


/* FINAL OVERRIDE: Force 60-40 layout on desktop only */
@media (min-width: 1024px) {
    .newsletter-layout {
        grid-template-columns: 60fr 40fr !important;
    }
}

/* Remove nuclear overrides: allow responsive rules above to control columns */
/* Keep only display + base gap without forcing columns */
.newsletter-layout {
    display: grid !important;
    gap: 3rem !important;
}

html body .container .newsletter-layout {
    gap: 3rem !important;
}
