/* AMZDESTOCK Landing Page Styles */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="%23ffffff" stop-opacity=".1"/><stop offset="1" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><g opacity=".8"><circle cx="250" cy="250" r="300" fill="url(%23a)"/><circle cx="750" cy="750" r="300" fill="url(%23a)"/></g></svg>');
    opacity: 0.1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Feature Cards */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

/* Feature Icons */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Demo Section */
#demo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#demo img {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card .card-header {
    border-radius: 12px 12px 0 0 !important;
    padding: 0.75rem 1rem;
}

.pricing-card .display-6 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* CTA Section */
#cta {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
    position: relative;
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b"><stop offset="0" stop-color="%23ffffff" stop-opacity=".05"/><stop offset="1" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><g><circle cx="100" cy="100" r="200" fill="url(%23b)"/><circle cx="900" cy="900" r="200" fill="url(%23b)"/><circle cx="100" cy="900" r="150" fill="url(%23b)"/><circle cx="900" cy="100" r="150" fill="url(%23b)"/></g></svg>');
}

#cta .container {
    position: relative;
    z-index: 1;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Statistics */
.stats-item {
    text-align: center;
    padding: 1rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--warning-color);
    display: block;
}

.stats-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .display-4 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .pricing-card.popular {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero .container {
        padding: 0 15px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Badges */
.badge-popular {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--warning-color);
    color: var(--dark-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Social Proof */
.social-proof {
    opacity: 0.8;
    font-size: 0.875rem;
}

.social-proof i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    display: inline-block;
}

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

/* Utility Classes */
.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-radius-lg {
    border-radius: 12px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Trust Indicators */
.trust-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 0.5rem;
}

.trust-indicator i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trust-indicator .small {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Demo Section Animations */
.demo-mockup {
    animation: float 6s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateY(2deg); }
    50% { transform: translateY(0px) rotateY(0deg); }
    75% { transform: translateY(-5px) rotateY(-2deg); }
}

/* Animation des éléments de la démo */
.demo-counter {
    transition: all 0.3s ease;
}

.demo-counter.updating {
    animation: counterUpdate 0.4s ease;
}

@keyframes counterUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); background-color: #e8f5e8; }
    100% { transform: scale(1); }
}

/* Animation des barres de progression */
.demo-progress {
    animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 60%; }
    50% { width: 85%; }
    100% { width: 60%; }
}

/* Hover effect sur l'image démo */
.demo-mockup:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Animation pulse pour le hero */
.pulse-animation {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
    }
}

/* Animation pour les éléments du feed */
.feed-item {
    animation: slideInFade 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}