/* Mobile Navigation & Hero Improvements */

/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   MOBILE SPECIFIC IMPROVEMENTS
   ============================================ */

@media (max-width: 768px) {
    
    /* NAVIGATION */
    header {
        position: sticky;
        top: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    header .container {
        position: relative;
    }
    
    header nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        position: relative;
    }
    
    .hamburger {
        display: flex;
        order: 3;
    }
    
    .logo {
        order: 1;
        z-index: 1002;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        padding: 80px 0 2rem !important;
        gap: 0 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
        display: flex !important;
        margin: 0 !important;
    }
    
    .nav-links.active {
        transform: translateX(0) !important;
        display: flex !important;
    }
    
    .nav-links li {
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
        list-style: none !important;
        margin: 0 !important;
    }
    
    .nav-links a {
        display: block;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        color: #1a1a1a;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: #fff5f5;
        color: var(--primary-color);
        padding-left: 2.5rem;
    }
    
    .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .logo span {
        font-size: 1.2rem;
        font-weight: 700;
    }
    
    /* HERO SECTION */
    .hero {
        padding: 2rem 0 2rem !important;
        min-height: auto !important;
    }

    .hero .container {
        padding: 0 1.5rem !important;  /* Match standard container - Wider */
    }
    
    .hero-content {
        max-width: 100% !important;
        text-align: center;
        padding: 0 !important;  /* Remove all extra padding */
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero .sub-headline {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5;
    }
    
    .hero-benefits {
        display: flex;
        flex-direction: column;
        gap: 0.75rem !important;
        margin: 1.5rem 0 !important;
        padding: 0 !important;
    }
    
    .hero-benefits li {
        font-size: 0.95rem !important;
        padding: 0.75rem 0.5rem !important;  /* Reduced horizontal padding */
        text-align: left;
        background: #fff5f5;
        border-radius: 8px;
    }
    
    .hero-benefits i {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Store Badges - Match countdown width */
    .store-badges {
        display: flex;
        flex-direction: column;
        gap: 1rem !important;
        margin: 1.5rem 0 !important;
        padding: 0 1rem !important;  /* Match countdown padding */
    }
    
    .store-badges img {
        display: block !important;
        height: 60px !important;  /* Fixed height - larger size */
        width: auto !important;
        max-width: 100% !important;
        margin: 0 auto;
    }
    
    /* Promo Box */
    .promo-countdown-box {
        flex-direction: column !important;
        padding: 1rem !important;  /* Restored full padding */
        gap: 0.75rem !important;
        text-align: center;
    }
    
    .promo-message {
        font-size: 0.9rem !important;
    }
    
    .countdown-display {
        font-size: 1.1rem !important;
        justify-content: center;
        margin-top: 1rem !important;  /* Added top spacing */
        padding: 0 1rem !important;  /* Add horizontal padding */
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.3rem !important;
    }
    
    .countdown-label {
        font-size: 0.7rem !important;
    }
    
    /* Trust Row */
    .trust-row {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center;
        margin-top: 1.5rem !important;
    }
    
    .trust-row .trust-item {
        font-size: 0.85rem !important;
        padding: 0.75rem !important;
    }
    
    .trust-row i {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Extra Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .hero .sub-headline {
        font-size: 0.9rem !important;
    }
    
    .hero-benefits li {
        font-size: 0.85rem !important;
        padding: 0.65rem 0.85rem !important;
    }
    
    .store-badges img {
        height: 44px !important;
        max-width: 145px !important;
    }
    
    .promo-message {
        font-size: 0.85rem !important;
    }
    
    .countdown-number {
        font-size: 1.1rem !important;
    }
    
    .countdown-label {
        font-size: 0.65rem !important;
    }
    
    .trust-row .trust-item {
        font-size: 0.8rem !important;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    
    .hero {
        padding: 1.5rem 0 !important;
    }
    
    .hero h1 {
        font-size: 1.6rem !important;
    }
    
    .store-badges {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-benefits {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-benefits li {
        flex: 0 1 45%;
    }
}

/* ============================================
   HERO CTA SECTION
   ============================================ */

.promo-message-box {
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
    border: 2px solid #FFD699;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.promo-message-box .countdown-display {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.promo-message-box .promo-text {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.hero-cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-cta-hero {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    background: var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-cta-hero:hover {
    background: #d32f3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

.cta-subtext {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.or-divider {
    margin: 1rem 0 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.store-badges-compact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-badge-small {
    display: inline-block;
    transition: transform 0.2s ease;
}

.store-badge-small:hover {
    transform: scale(1.05);
}

.store-badge-small img {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .btn-cta-hero {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .promo-message-box .countdown-display {
        font-size: 1.25rem;
    }
    
    .store-badge-small img {
        height: 35px;
    }
}

/* ============================================
   APP SCREENSHOT STYLING
   ============================================ */

.app-screenshot {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.app-screenshot:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Hero Image Background Shapes */
.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(230, 57, 70, 0.05) 100%);
    top: -80px;
    right: -80px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.15) 0%, rgba(46, 196, 182, 0.05) 100%);
    bottom: -60px;
    left: -60px;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(46, 196, 182, 0.1) 100%);
    top: -40px;
    left: -40px;
    animation-delay: 4s;
}

.app-screenshot {
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Mobile optimization for screenshot */
@media (max-width: 768px) {
    .app-screenshot {
        max-width: 100%;
        border-radius: 6px;
    }
    
    .app-screenshot:hover {
        transform: translateY(-4px) scale(1.01);
    }
}
