/* Enhanced Homepage Styles with Real Images */

/* Hero Section with Image */
.hero-enhanced {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-visual-image {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.hero-visual-image img.dashboard-mockup {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(123, 97, 255, 0.3);
    transition: transform 0.3s ease;
}

.hero-visual-image:hover img.dashboard-mockup {
    transform: translateY(-10px) scale(1.02);
}

.image-overlay {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.1), rgba(72, 52, 212, 0.1));
    border-radius: 30px;
    z-index: -1;
    filter: blur(40px);
}

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

/* Product Screenshots Section */
.product-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.screenshot-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(123, 97, 255, 0.3);
}

.screenshot-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.screenshot-card:hover img {
    transform: scale(1.1);
}

.screenshot-caption {
    padding: 25px;
    background: white;
}

.screenshot-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.screenshot-caption p {
    color: #666;
    font-size: 0.95rem;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: white;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.clients-title {
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 50px;
    font-weight: 600;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    opacity: 0.6;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.client-logo img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

/* Enhanced Features with Images */
.features-enhanced {
    padding: 100px 0;
    background: white;
}

.features-grid-enhanced {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 80px;
}

.feature-card-enhanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-card-enhanced.reverse {
    direction: rtl;
}

.feature-card-enhanced.reverse > * {
    direction: ltr;
}

.feature-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card-enhanced:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 30px;
}

.feature-content .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.feature-content .feature-list {
    list-style: none;
    padding: 0;
}

.feature-content .feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.feature-content .feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7b61ff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Integrations Section */
.integrations-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.integration-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(123, 97, 255, 0.2);
}

.integration-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(123, 97, 255, 0.2);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0 0 25px 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: #1a1a2e;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
}

/* Enhanced CTA with Background */
.cta-enhanced {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.8), rgba(72, 52, 212, 0.8));
}

.cta-content-overlay {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-enhanced {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-visual-image {
        max-width: 100%;
        margin-top: 40px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-card-enhanced {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-card-enhanced.reverse {
        direction: ltr;
    }

    .feature-image img {
        height: 250px;
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-enhanced {
        padding: 80px 0;
    }
}

/* Animation delays for staggered loading */
.screenshot-card:nth-child(1) { animation-delay: 0.1s; }
.screenshot-card:nth-child(2) { animation-delay: 0.2s; }
.screenshot-card:nth-child(3) { animation-delay: 0.3s; }

.client-logo:nth-child(1) { transition-delay: 0.05s; }
.client-logo:nth-child(2) { transition-delay: 0.1s; }
.client-logo:nth-child(3) { transition-delay: 0.15s; }
.client-logo:nth-child(4) { transition-delay: 0.2s; }
.client-logo:nth-child(5) { transition-delay: 0.25s; }
.client-logo:nth-child(6) { transition-delay: 0.3s; }

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

/* Image loading optimization */
img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
