/* Enhanced PlaySafely Homepage Styles with Real Images */

/* Enhanced Hero Section */
.hero-enhanced {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 217, 100, 0.3), rgba(30, 150, 252, 0.3));
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-image {
    position: relative;
}

.dashboard-preview {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(76, 217, 100, 0.3);
    transition: transform 0.4s ease;
    animation: float 6s ease-in-out infinite;
}

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

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

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(76, 217, 100, 0.05), rgba(255, 255, 255, 0));
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-stat .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #4cd964;
    margin-bottom: 10px;
}

.trust-stat .stat-label {
    font-size: 1rem;
    color: #666;
}

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

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

.screenshot-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    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(76, 217, 100, 0.3);
}

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

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

.screenshot-caption {
    padding: 25px;
}

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

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

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

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

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

.feature-row.reverse {
    direction: rtl;
}

.feature-row.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-row:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 20px;
}

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

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

.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;
    margin: 0;
}

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

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

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

.clients-title {
    text-align: center;
    font-size: 0.95rem;
    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;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

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

.testimonial-card {
    background: white;
    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(76, 217, 100, 0.2);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #4cd964;
    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: #1a1a1a;
}

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

/* Certifications */
.certifications-section {
    padding: 80px 0;
    background: white;
}

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

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(76, 217, 100, 0.1), rgba(30, 150, 252, 0.1));
}

.cert-badge img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
}

.cert-badge p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* CTA Section */
.cta-section {
    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.3);
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 217, 100, 0.7), rgba(30, 150, 252, 0.7));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.cta-button-light {
    background: white;
    color: #4cd964;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-button-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

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

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

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

    .feature-row.reverse {
        direction: ltr;
    }

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

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

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

    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}

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

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

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

/* Additional Animations */
.section-title {
    animation: fadeInUp 0.8s ease-out;
}

.section-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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