/* Hero Showcase Styles voor QRCodeMaken.nl */

/* Main Container */
.hero-showcase {
    position: relative;
    max-width: 550px;
    margin: 0 auto;
    padding: 40px 20px;
    perspective: 1200px;
}

/* Main Showcase Card */
.main-showcase-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 10;
    animation: floatMain 6s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 6px 10px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Showcase Header */
.showcase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f5f7;
}

.qr-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.showcase-title {
    flex: 1;
}

.showcase-title h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.showcase-title p {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f0fdf4;
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
}

/* QR Code Preview Container */
.qr-preview-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.qr-preview-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* QR Code Display */
.qr-code-display {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    max-width: 240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.qr-pixel {
    aspect-ratio: 1;
    background: #000000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.qr-pixel.light {
    background: #ffffff;
}

.qr-code-display:hover .qr-pixel {
    transform: scale(0.95);
}

/* Scan Line Animation */
.qr-scan-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%);
    border-radius: 2px;
    animation: scanning 3s ease-in-out infinite;
    z-index: 3;
}

/* Showcase Stats */
.showcase-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: #8e8e93;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: #e5e7eb;
    margin: 0 8px;
}

/* Showcase Actions */
.showcase-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

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

.primary-action {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.secondary-action {
    background: white;
    border: 2px solid #e5e7eb;
    color: #4b5563;
}

.secondary-action:hover {
    background: #f9fafb;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.icon-action {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 14px 16px;
}

.icon-action:hover {
    background: #f9fafb;
    border-color: #667eea;
    color: #667eea;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.float-1 {
    top: -10px;
    right: -20px;
    width: 90px;
    height: 90px;
    animation: float1 7s ease-in-out infinite;
}

.float-2 {
    bottom: 60px;
    left: -30px;
    width: 100px;
    height: 100px;
    animation: float2 8s ease-in-out infinite;
}

.float-3 {
    top: 45%;
    right: -40px;
    width: 80px;
    height: 80px;
    animation: float3 6s ease-in-out infinite;
}

.mini-qr-pattern {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.pattern-1 {
    background: 
        repeating-linear-gradient(
            45deg,
            #667eea 0px, #667eea 5px,
            transparent 5px, transparent 10px
        );
}

.pattern-2 {
    background: 
        repeating-linear-gradient(
            -45deg,
            #10b981 0px, #10b981 5px,
            transparent 5px, transparent 10px
        );
}

.pattern-3 {
    background: 
        repeating-linear-gradient(
            135deg,
            #f59e0b 0px, #f59e0b 5px,
            transparent 5px, transparent 10px
        );
}

/* Feature Badges */
.feature-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    z-index: 15;
    animation: badgeFloat 3s ease-in-out infinite;
}

.feature-badge i {
    font-size: 14px;
    color: #667eea;
}

.badge-top {
    top: 20px;
    left: -15px;
}

.badge-bottom {
    bottom: 30px;
    right: -15px;
}

/* Animations */
@keyframes floatMain {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-15px) rotateY(2deg);
    }
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(10px, -10px) rotate(3deg);
    }
    66% {
        transform: translate(-5px, 5px) rotate(-3deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }
    66% {
        transform: translate(5px, -5px) rotate(5deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(8px, 8px) rotate(4deg);
    }
}

@keyframes scanning {
    0%, 100% {
        top: 30px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 30px);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-showcase {
        max-width: 100%;
        padding: 20px 10px;
    }
    
    .main-showcase-card {
        padding: 24px;
    }
    
    .floating-element,
    .feature-badge {
        display: none;
    }
    
    .showcase-stats {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .stat-item {
        padding: 12px;
        background: white;
        border-radius: 12px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .showcase-actions {
        grid-template-columns: 1fr;
    }
    
    .icon-action {
        grid-column: 1;
        order: 3;
    }
}

@media (max-width: 576px) {
    .qr-code-display {
        max-width: 200px;
        padding: 16px;
    }
    
    .qr-preview-container {
        padding: 20px;
    }
    
    .showcase-header {
        flex-wrap: wrap;
    }
    
    .status-indicator {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    
    .action-button {
        font-size: 13px;
        padding: 12px 16px;
    }
}
