/* Hero Image Section - Mobile optimized */
.hero-image-section {
    padding: 2rem 0;
}

.hero-image-section .image-block {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-image-section .image-block {
        padding: 0 2rem;
    }
}

@media (min-width: 768px) {
    .hero-image-section .image-block {
        padding: 0 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-image-section .image-block {
        padding: 0 2rem;
    }
}

/* Section Image Block - Keep existing for feature sections */
.section .image-block {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image,
.section-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: block;
}

@media (min-width: 768px) {
    .hero-image,
    .section-image {
        border-radius: 0.75rem;
    }
}

/* Enhanced hero image styling */
.hero-image-section .hero-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 40px rgba(4, 11, 29, 0.2);
    display: block;
}

@media (min-width: 768px) {
    .hero-image-section .hero-image {
        border-radius: 0.75rem;
    }
}

/* Ensure images inside demo container display properly */
.demo-video-container .hero-image {
    width: 100%;
    border-radius: 0.5rem;
    border: none;
    box-shadow: none;
}

@media (min-width: 768px) {
    .demo-video-container .hero-image {
        border-radius: 0.75rem;
    }
}

/* Demo Video Container - Hero Image Section */
.hero-image-section .demo-video-container {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: block;
    box-shadow: 0 8px 40px rgba(4, 11, 29, 0.2);
}

@media (min-width: 768px) {
    .hero-image-section .demo-video-container {
        border-radius: 0.75rem;
    }
}

.hero-image-section .demo-video-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 50px rgba(4, 11, 29, 0.25);
}

@media (min-width: 768px) {
    .hero-image-section .demo-video-container:hover {
        transform: translateY(-4px);
    }
}

/* Play Button - Enhanced for Hero Section */
.hero-image-section .play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

.hero-image-section .play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(4, 11, 29, 0.15);
    min-height: 48px;
}

@media (min-width: 768px) {
    .hero-image-section .play-button {
        gap: 0.75rem;
        padding: 1rem 1.5rem;
    }
}

.hero-image-section .demo-video-container:hover .play-button {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(4, 11, 29, 0.2);
}

.hero-image-section .play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

@media (min-width: 768px) {
    .hero-image-section .play-icon {
        width: 18px;
        height: 18px;
    }
}

.hero-image-section .play-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .hero-image-section .play-text {
        font-size: 0.9375rem;
    }
}

/* Video Modal - Mobile optimized */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 11, 29, 0.9);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 95%;
    max-width: 900px;
    background: #040b1d;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .video-modal-content {
        width: 90%;
        max-width: 1000px;
        border-radius: 1rem;
    }
}

.video-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .video-close {
        top: -60px;
        font-size: 32px;
        width: 48px;
        height: 48px;
    }
}

.video-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Section Layout - Mobile-first approach */
.section {
    padding: 3rem 0;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 7rem 0;
    }
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .section-container {
        padding: 0 2rem;
    }
}

@media (min-width: 768px) {
    .section-container {
        padding: 0 3rem;
    }
}

@media (min-width: 1024px) {
    .section-container {
        padding: 0 4rem;
    }
}

.section-border {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-content-left {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .section-content-left {
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-content-left {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.content-block {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 1024px) {
    .content-block {
        margin: 0;
        text-align: left;
        max-width: none;
        padding-right: 1rem;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: white;
}

@media (min-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

.section-description {
    font-size: 0.9rem;
    color: white;
    line-height: 1.6;
    font-weight: 400;
}

@media (min-width: 768px) {
    .section-description {
        font-size: 1.0625rem;
    }
}

@media (min-width: 1024px) {
    .section-description {
        font-size: 1.125rem;
    }
}

/* Section Play Button - Keep smaller for feature sections */
.section .play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

.section .play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 12px rgba(4, 11, 29, 0.1);
    min-height: 44px;
}

@media (min-width: 768px) {
    .section .play-button {
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
    }
}

.section .demo-video-container:hover .play-button {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(4, 11, 29, 0.15);
}

.section .play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
}

@media (min-width: 768px) {
    .section .play-icon {
        width: 16px;
        height: 16px;
    }
}

.section .play-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .section .play-text {
        font-size: 0.8125rem;
    }
}

/* CTA section - Mobile optimized */
.cta-section {
    padding: 3rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 6rem 0;
    }
}

.cta-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .cta-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 768px) {
    .cta-container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .cta-container {
        padding: 0 2.5rem;
    }
}

.cta-content {
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cta-content {
        max-width: 32rem;
    }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: white;
}

@media (min-width: 480px) {
    .cta-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

.cta-description {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

@media (min-width: 768px) {
    .cta-description {
        font-size: 1.0625rem;
        margin-bottom: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .cta-description {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .cta-buttons {
        gap: 1.5rem;
    }
}

/* Image placeholders */
.image-placeholder {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    padding: 2rem;
    aspect-ratio: 16/10;
}

@media (min-width: 768px) {
    .image-placeholder {
        border-radius: 1rem;
        padding: 3rem;
    }
}

.image-placeholder-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .image-placeholder-icon {
        width: 3rem;
        height: 3rem;
    }
}

.image-placeholder-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .image-placeholder-title {
        font-size: 1.125rem;
    }
}

.image-placeholder-subtitle {
    font-size: 0.8125rem;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .image-placeholder-subtitle {
        font-size: 0.875rem;
    }
}

/* Social Media Section - Mobile optimized */
.social-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
    background: transparent;
}

@media (min-width: 768px) {
    .social-section {
        padding: 3.5rem 0;
    }
}

@media (min-width: 1024px) {
    .social-section {
        padding: 4rem 0;
    }
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .social-container {
        padding: 0 2rem;
    }
}

@media (min-width: 768px) {
    .social-container {
        padding: 0 3rem;
    }
}

@media (min-width: 1024px) {
    .social-container {
        padding: 0 4rem;
    }
}

.social-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .social-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 1.5rem;
    }
}

.social-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .social-title {
        font-size: 1.25rem;
    }
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 44px;
    min-height: 44px;
}

@media (min-width: 768px) {
    .social-link {
        width: 48px;
        height: 48px;
    }
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link i,
.social-icon {
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .social-link i,
    .social-icon {
        width: 22px;
        height: 22px;
    }
}
