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

/* CWP Hero Section */
.cwp-hero {
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 280px !important;
}

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

.cwp-hero-tag {
    display: inline-block;
    background: linear-gradient(to bottom, #7f31ff 0%, #4279f1 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
}

.cwp-hero-title {
    font-size: 45px !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    color: #1a202c;
    background: none;
    -webkit-text-fill-color: #1a202c;
}

.cwp-hero-subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
    color: #1a202c;
    margin-top: 20px;
}

.cwp-hero-subtitle-text {
    font-style: italic;
    transition: opacity 0.3s ease;
}

.cursor {
    color: #7c3aed;
    font-weight: bold;
    animation: blink 1s infinite;
    margin-left: 4px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.cwp-hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #4a5568;
    font-weight: 400;
}

.cwp-hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(to bottom, #7f31ff 0%, #4279f1 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

/* Video Carousel */
/* Uproszczony slider - bez obramowań */
.video-carousel {
    background: transparent;
    border: none;
    padding: 0;
}

.carousel-header { display: none; }
.carousel-footer { display: none; }
.carousel-btn { display: none; }

.carousel-container {
    height: 360px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.video-placeholder {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 12px;
}

.video-placeholder img,
.video-placeholder video {
    object-fit: cover;
    border-radius: 12px !important;
}



/* Ukryj wszystkie elementy interfejsu wideo */
.video-placeholder video::-webkit-media-controls,
.video-placeholder video::-webkit-media-controls-panel,
.video-placeholder video::-webkit-media-controls-play-button,
.video-placeholder video::-webkit-media-controls-timeline,
.video-placeholder video::-webkit-media-controls-current-time-display,
.video-placeholder video::-webkit-media-controls-time-remaining-display,
.video-placeholder video::-webkit-media-controls-mute-button,
.video-placeholder video::-webkit-media-controls-volume-slider,
.video-placeholder video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

/* Ukryj standardowe kontrolki HTML5 */
.video-placeholder video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Ukryj kontrolki Firefox */
.video-placeholder video::-moz-media-controls {
    display: none !important;
}

.video-placeholder i {
    font-size: 4rem;
    color: #8b5cf6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.7;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.video-placeholder p { display: none; }

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.carousel-dots {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(128, 128, 128, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dot:hover {
    background: rgba(160, 160, 160, 0.8);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: #8b5cf6;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Background Elements - Simplified */
.bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    pointer-events: none;
    z-index: 1;
}

/* Subtle background pattern */
.bg-elements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.02) 0%, transparent 50%);
    opacity: 0.6;
}

/* Remove all individual background elements */
.bg-glow,
.bg-dot,
.bg-network,
.bg-line {
    display: none;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .cwp-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cwp-hero-title {
        font-size: 2.5rem;
    }
    
    .cwp-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .video-carousel {
        padding: 20px;
    }
    
    .carousel-container {
        height: 250px;
    }
    
    .video-placeholder p {
        font-size: 1rem;
        padding: 8px;
    }
}

/* Elementor Compatibility */
.elementor-widget-container {
    overflow: visible;
}

.elementor-section {
    position: relative;
}

/* Custom CSS Variables for Elementor */
:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --text-color: #ffffff;
    --text-secondary: #e0e7ff;
    --background-dark: #0a0a0a;
    --background-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* WordPress Plugin Specific Styles */
.cwp-ai44-landing-wrapper {
    position: relative;
    z-index: 1;
}

.cwp-ai44-landing-wrapper .cwp-hero {
    margin-top: 0;
    padding-top: 180px;
} 

/** Poprawka padding-top dla .cwp-hero na telefonach od 1024px w dół */
@media (max-width: 1024px) {
    .cwp-hero {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
}
