/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #FEF6EB; /* Updated to match screenshot background color */
}

.header {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #333333;
    font-size: 1.5rem;
    line-height: 1;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.header-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: #333333;
    letter-spacing: 1px;
    line-height: 1.2;
}

.header-subtitle {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 400;
}

.main-content {
    flex: 1;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
}

.slider-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    aspect-ratio: 16/9;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background: #ffffff;
}

.benefits {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #333333;
    letter-spacing: 1px;
    background: #f8f8f8;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.benefit-item i {
    color: #F97E43; /* Changed to match button color */
}

.description {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.signup-link {
    display: block;
    background: #F97E43; /* Updated to match screenshot button color */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px; /* Rounded corners like in screenshot */
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    text-align: center;
    letter-spacing: 1.5px;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(249, 126, 67, 0.2);
}

.signup-link:after {
    content: '→';
    margin-left: 10px;
    transition: transform 0.3s;
    display: inline-block;
}

.signup-link:hover {
    background: #e26b34; /* Darker version of the button color */
    box-shadow: 0 6px 16px rgba(249, 126, 67, 0.3);
    transform: translateY(-2px);
}

.signup-link:hover:after {
    transform: translateX(5px);
}

/* Footer Styles */
.footer {
    background: #002147;
    padding: 1.5rem;
    margin-top: auto;
    border-top: 4px solid #001631;
}

.footer-text {
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.9;
    padding: 0 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Social Proof Popup Styles - TOP POSITION */
#popup {
    display: none;
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 260px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    border-left: 3px solid #F97E43;
    animation: slideInTop 0.5s ease-out;
    transition: all 0.3s ease;
}

#popup:hover {
    transform: translateY(3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes slideInTop {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.popup-content {
    display: flex;
    align-items: stretch;
}

.popup-image {
    width: 50px;
    min-height: 50px;
    background-color: #f4f4f4;
    flex-shrink: 0;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-text {
    padding: 8px 10px;
    flex-grow: 1;
}

.popup-person {
    font-weight: 600;
    font-size: 12px;
    color: #333;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}

.popup-person .verified {
    color: #4CAF50;
    font-size: 10px;
    margin-left: 4px;
}

.popup-action {
    font-size: 11px;
    color: #666;
    margin-bottom: 3px;
}

.popup-time {
    font-size: 10px;
    color: #999;
}

.popup-close {
    position: absolute;
    top: 6px;
    right: 6px;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 12px;
    transition: color 0.2s;
}

.popup-close:hover {
    color: #999;
}

/* Mobile adjustments for popup */
@media (max-width: 768px) {
    #popup {
        top: 70px;
        max-width: 240px;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    .benefits {
        gap: 1rem;
        justify-content: center;
    }
    
    .benefit-item {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }
    
    .signup-link {
        padding: 0.875rem 1.5rem;
        font-size: 1.25rem;
    }

    .header {
        padding: 0.75rem 1rem;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer {
        padding: 1rem;
    }

    /* Ensure the desktop layout is hidden on mobile */
    .desktop-layout {
        display: none;
    }
    
    /* Mobile adjustments for popup */
    #popup {
        top: 70px; /* Adjust for smaller header on mobile */
        max-width: 280px; /* Slightly smaller on mobile */
    }
}

@media (max-width: 480px) {
    .benefits {
        flex-direction: column;
    }

    .benefit-item {
        width: 100%;
        justify-content: center;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    /* Hide mobile layout on desktop */
    .mobile-layout {
        display: none;
    }
    
    .desktop-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-top: 1rem;
    }
    
    .desktop-title {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 1rem;
        text-transform: uppercase;
        font-weight: 700;
    }
    
    .desktop-subtitle {
        font-size: 1.25rem;
        color: #6E92FA;
        margin-bottom: 1.5rem;
    }
    
    .desktop-benefits {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .desktop-benefit {
        background: white;
        border-radius: 4px;
        padding: 1.5rem 1rem;
        text-align: center;
        border: 1px solid #e0e0e0;
        text-decoration: none;
    }
    
    .desktop-benefit i {
        font-size: 2rem;
        color: #F97E43;
        margin-bottom: 0.75rem;
        display: block;
    }
    
    .desktop-benefit-title {
        font-family: 'Bebas Neue', sans-serif;
        color: #F97E43;
        font-size: 1.25rem;
        text-transform: uppercase;
    }
    
    .desktop-image {
        width: 100%;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .desktop-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .desktop-cta {
        margin-top: 1.5rem;
    }
    
    .desktop-cta .signup-link {
        font-family: 'Bebas Neue', sans-serif;
        text-transform: uppercase;
        padding: 0.75rem 2rem;
    }
}