/* Mobile Styles for OzPath Website - Updated for New Design */

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .main-logo {
        height: 80px;
        margin-bottom: 30px;
    }
    
    .main-tagline {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: 25px;
    }
    
    .hero-description {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .discover-button {
        padding: 14px 32px;
        font-size: 14px;
    }
    
    /* Features Section Mobile */
    .features-section {
        padding: 40px 15px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features-text {
        padding-right: 0;
        order: 2;
    }
    
    .features-logo {
        order: 1;
    }
    
    .features-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 25px;
    }
    
    .features-description,
    .features-highlight {
        font-size: clamp(15px, 4vw, 17px);
    }
    
    .hexagon-logo {
        width: 150px;
        height: 150px;
    }
    
    /* Waitlist Container Mobile */
    .waitlist-container {
        margin-top: 120px;
        padding: 0 15px;
    }
    
    .waitlist-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 40px;
    }
    
    .email-form {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .email-input {
        width: 100%;
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .join-waitlist-button {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }
    
    /* Hide line breaks on mobile for better text flow */
    br {
        display: none;
    }
    
    /* Prevent awkward line breaks in specific phrases */
    .hero-description,
    .features-description,
    .features-highlight {
        word-spacing: normal;
        white-space: normal;
    }
    
    /* Ensure proper spacing for compound words */
    .hero-description::after,
    .features-description::after {
        content: "";
        white-space: normal;
    }
    
    /* Message styles for mobile */
    .message {
        margin-top: 15px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .features-section,
    .waitlist-section {
        padding: 30px 10px;
    }
    
    .main-logo {
        height: 60px;
        margin-bottom: 25px;
    }
    
    .main-tagline {
        font-size: clamp(24px, 8vw, 32px);
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: clamp(14px, 4.5vw, 16px);
        margin-bottom: 35px;
    }
    
    .discover-button {
        padding: 12px 28px;
        font-size: 13px;
    }
    
    .features-title,
    .waitlist-title {
        font-size: clamp(22px, 7vw, 28px);
        margin-bottom: 20px;
    }
    
    .features-description,
    .features-highlight {
        font-size: clamp(14px, 4.5vw, 16px);
    }
    
    .hexagon-logo {
        width: 120px;
        height: 120px;
    }
    
    .email-input,
    .join-waitlist-button {
        padding: 14px 18px;
        font-size: 15px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .discover-button:hover,
    .join-waitlist-button:hover,
    .main-logo:hover,
    .hexagon-logo:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Ensure buttons are still visually responsive on touch */
    .discover-button:active,
    .join-waitlist-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 20px 15px;
    }
    
    .main-logo {
        height: 50px;
        margin-bottom: 20px;
    }
    
    .main-tagline {
        margin-bottom: 15px;
    }
    
    .hero-description {
        margin-bottom: 25px;
    }
    
    .features-section {
        min-height: auto;
        padding: 40px 15px;
    }
}