/*
 Theme Name:   AI Notams Styles
 Template:     twentytwentyfive-child
 Version:      1.1
*/

/* Variables for consistency */
:root {
    --navy-deep: #0a192f;
    --navy-light: #112240;
    --purple-action: #6c5ce7;
    --text-bright: #e6f1ff;
    --text-muted: #8892b0;
    --white: #ffffff;
}

/* Base reset for the landing area */
.landing-wrapper {
    background-color: var(--navy-deep);
    color: var(--text-bright);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden; /* Prevents horizontal scrolling on mobile */
}

.l-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Styles */
.hero-section {
    padding: 100px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, #1a2a4a 0%, #0a192f 100%);
}

.badge-text {
    color: var(--purple-action);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin: 0 0 24px 0;
}

.hero-section .highlight {
    color: var(--text-muted);
    font-weight: 400;
    display: block;
}

.hero-description {
    max-width: 750px;
    margin: 0 auto 48px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
}

/* Store Buttons */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-store img {
    height: 44px;
    width: auto;
    transition: transform 0.2s ease;
}

.btn-store:hover img {
    transform: translateY(-3px);
}

/* Mockups */
.mockup-display {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    position: relative;
    padding-top: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mockup-ipad {
    width: 70%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.1);
}

.mockup-iphone {
    width: 25%;
    max-width: 250px;
    height: auto;
    border-radius: 35px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    margin-left: -10%; /* Overlap effect */
    margin-bottom: -30px;
    z-index: 2;
}

/* Features */
.features-section {
    padding: 80px 0;
    background-color: var(--navy-light);
}

.feature-grid {
    display: grid;
    /* Adjusted min-width for mobile cards */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--navy-deep);
    padding: 40px;
    border-radius: 24px;
    border-bottom: 4px solid var(--purple-action);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Bottom CTA */
.bottom-cta {
    padding: 80px 0;
    text-align: center;
}

.bottom-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.primary-button {
    background-color: var(--purple-action);
    color: var(--white) !important;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 24px;
    transition: opacity 0.2s;
}

.primary-button:hover {
    opacity: 0.9;
}

/* --- MOBILE RESPONSIVE CORRECTIONS --- */
@media (max-width: 850px) {
    .hero-section {
        padding: 60px 0 40px;
    }

    .mockup-display {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding-top: 20px;
    }

    .mockup-ipad {
        width: 90%;
        margin-left: 0;
    }

    .mockup-iphone {
        width: 50%;
        margin-left: 0;
        margin-bottom: 0;
        /* Remove the overlap rotation/offset on mobile for clarity */
    }

    .feature-grid {
        grid-template-columns: 1fr; /* Force single column */
    }

    .feature-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .l-container {
        padding: 0 20px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }

    .mockup-iphone {
        width: 70%;
    }
}

/* Force the theme wrapper to be responsive */
html, body {
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-site-blocks, 
.entry-content, 
.post-content {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}