/* ========================================
   E-KAJET CUSTOM STYLES
   Version: 1.0
   Description: Styles specific to e-kajet enterprise page only
   
   Base styles (navbar, buttons, colors, footer) are in style.css
   This file contains ONLY unique layouts for e-kajet page
   ======================================== */

/* ========================================
   CSS VARIABLES - E-KAJET SPECIFIC
   (Base colors inherited from style.css)
   ======================================== */
:root {
    /* Additional colors for e-kajet if needed */
    --ekajet-accent: #1E988A;
}

/* ========================================
   HERO SECTION - E-KAJET
   ======================================== */
.hero {
    background: var(--primary-color); /* #1a3a52 from style.css */
    color: var(--text-light);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="900" cy="300" r="250" fill="rgba(255,255,255,0.03)"/><circle cx="1100" cy="100" r="150" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;  
    margin: 0 auto;      
    padding: 0 2rem;     
}

.hero-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-cta:has(:only-child) {
    justify-content: center;
}

.hero-image {
    background: #2d4a5e;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-image img {
    width: 100%;
    border-radius: 4px;
}

.trust-line {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Placeholder for screenshots */
.placeholder-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    min-height: 300px;
    border-radius: 4px;
    text-align: center;
    padding: 2rem;
}

.dashboard-preview {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden; 
    width: 100%;
    aspect-ratio: 16/10;
    background: transparent; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* KLUCZ - wypełnia cały box */
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.dashboard-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(45, 212, 163, 0.35);
}

.dashboard-preview:hover img {
    transform: scale(1.03);
    filter: brightness(0.92); /* Lekkie przyciemnienie przy hover */
}

.dashboard-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 30px 30px; /* Większy padding góra dla gradientu */
    background: linear-gradient(
        to top,
        rgba(26, 58, 82, 0.95) 0%,
        rgba(26, 58, 82, 0.7) 60%,
        transparent 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.dashboard-preview:hover .dashboard-preview-overlay {
    background: linear-gradient(
        to top,
        rgba(26, 58, 82, 0.98) 0%,
        rgba(26, 58, 82, 0.8) 60%,
        transparent 100%
    );
}

.preview-cta {
    background: var(--accent-color); /* #2dd4a3 */
    color: white;
    padding: 18px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(45, 212, 163, 0.4);
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.dashboard-preview:hover .preview-cta {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 212, 163, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.preview-cta::before {
    content: '🎯';
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-preview {
        aspect-ratio: 4/3; /* Bardziej kwadratowe na mobile */
    }
    
    .dashboard-preview-overlay {
        padding: 30px 20px 20px 20px;
    }
    
    .preview-cta {
        font-size: 16px;
        padding: 14px 28px;
    }
    
    .preview-cta::before {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .preview-cta {
        font-size: 14px;
        padding: 12px 24px;
        gap: 8px;
    }
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: var(--dark-color); /* #0f1e2e from style.css */
    color: white;
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    max-width: 1200px;  
    margin: 0 auto;     
    padding: 0 2rem;    
}

.stat-item h3 {
    color: var(--accent-color); /* #2dd4a3 from style.css */
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========================================
   PROBLEM-SOLUTION CARDS
   ======================================== */
.problem-solution {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1000px;  
    margin-left: auto;
    margin-right: auto;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.solution-tag {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .problem-solution {
        grid-template-columns: 1fr;  /* ← 1 kolumna na mobile */
        max-width: 100%;
    }
}

/* ========================================
   VALUE PROPS GRID
   ======================================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.roi-tag {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   PROCESS TIMELINE
   ======================================== */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-duration {
    display: inline-block;
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* ========================================
   REFERENCE SECTION (ekajet.pl showcase)
   ======================================== */
.reference-box {
    background: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.reference-box h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.reference-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.screenshot-box {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.screenshot-box p {
    font-size: 16px;
    font-weight: 600;
    color: #1a3a52;
    text-align: center;
    margin: 16px 0 0 0;
    display: block; 
}

/*.screenshot-box:hover {
    /* transform: scale(1.05); 
} */

.screenshot-box:hover::after {
    content: '🔍 Kliknij aby powiększyć';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 212, 163, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.screenshot-box img {
    width: 100%;
    border-radius: 4px;
}

.screenshot-box .placeholder-image {
    min-height: 150px;
}

.screenshot-label {
    color: var(--text-dark);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Screenshots Section */
.screenshot-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f7fa;
    margin-bottom: 16px;
    border: 1px solid rgba(26, 58, 82, 0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-box:hover .screenshot-image img {
    transform: scale(1.05);
}

/* ==========================================
   LIGHTBOX FOR SCREENSHOTS
   ========================================== */

/* Lightbox Overlay */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Lightbox Content Container */
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Lightbox Image */
.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    color: #1a3a52;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover {
    background: #ff6b6b;
    color: white;
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.5);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    
    .lightbox-content img {
        border-radius: 8px;
    }
}

/* ========================================
   TECH & SECURITY CARDS
   ======================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.tech-card:hover {
    border-color: var(--accent-color);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tech-card h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 968px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);  /* ← 2 kolumny na tablet */
    }
}

@media (max-width: 640px) {
    .tech-grid {
        grid-template-columns: 1fr;  /* ← 1 kolumna na mobile */
    }
}


/* ========================================
   PRICING MODELS
   ======================================== */
.pricing-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.pricing-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-example {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-badge::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   CTA SECTION - E-KAJET SPECIFIC
   ======================================== */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button-section {
    text-align: center;
    padding: 3rem 2rem;
}

.cta-button-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-button-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-primary-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--accent-color);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(45, 212, 163, 0.4);
}

.cta-primary-button:hover {
    background: #26b5a8;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 212, 163, 0.5);
    color: white;
}

.cta-support-text {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.alternative-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.alternative-cta p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.alternative-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE - E-KAJET
   ======================================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section p {
        font-size: 1.125rem;
    }
    
    .reference-screenshots {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILITY OVERRIDES FOR E-KAJET
   ======================================== */

/* Ensure sections use content-container, not Bootstrap container */
.section .content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section spacing */
.section {
    padding: 6rem 0;
}

.section-gray {
    background: var(--bg-light);
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

* --- Hero Eyebrow (mała etykieta nad H1) --- */
.hero .hero-eyebrow {
    display: inline-block;
    color: var(--accent-color, #2dd4a3);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(45, 212, 163, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(45, 212, 163, 0.4);
}
 
 
/* --- Drugi przycisk w hero (outline style) --- */
.hero .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-left: 0.75rem;
}
 
.hero .btn-outline:hover {
    background: white;
    color: var(--primary-teal, #1a3a52);
    transform: translateY(-2px);
}
 
 
/* --- Hero CTA - flex container dla 2 buttonów --- */
.hero .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 1.5rem 0;
}
 
 
/* --- Mobile: przyciski pod sobą, eyebrow mniejszy --- */
@media (max-width: 768px) {
    .hero .hero-eyebrow {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .hero .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero .btn-outline {
        margin-left: 0;
    }
}
 
 
/* --- Patch: <i> ikonki w solution-tag (zamiast emoji) --- */
.solution-tag i {
    color: #2dd4a3;
    margin-right: 0.4rem;
}
 
 
/* --- Patch: <i> ikonki w problem/value/tech cards (zamiast emoji) --- */
.problem-icon i,
.value-icon i,
.tech-icon i {
    font-size: 2.5rem;
    color: var(--primary-teal, #1a3a52);
}
 
 
/* --- CTA support text z ikonkami --- */
.cta-support-text i {
    color: #2dd4a3;
}