/* ==========================================================================
   CSS Stylesheet for Modern E-Commerce Landing Page
   - PC Version: Max-width 800px centered container (No padding around container)
   - Mobile Version: 100% edge-to-edge full width display for images
   - Restored prev/next navigation arrows
   ========================================================================== */

:root {
    --primary-color: #25D366;        /* WhatsApp Brand Green */
    --primary-hover: #1EBE57;
    --accent-color: #FF4757;
    --bg-gradient: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --card-bg: #1E293B;
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --radius-lg: 0px;                /* Border radius 0 for edge-to-edge full width image display */
    --radius-md: 10px;
    --shadow-glow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
    --transition-fast: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    padding-bottom: 90px;
}

/* Top Announcement Bar */
.top-bar {
    background: linear-gradient(90deg, #FF4757, #FF6B81);
    color: #FFFFFF;
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Main Container: 800px PC Max Width with ZERO Padding */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
}

/* Carousel Section: Full Edge-to-Edge Width */
.carousel-section {
    width: 100%;
    margin-bottom: 24px;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000000;
    user-select: none;
    touch-action: pan-y;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    will-change: transform;
    align-items: center;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
}

/* Full Width Display for Carousel Images */
.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Navigation Arrow Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

.prev-btn { left: 12px; }
.next-btn { right: 12px; }

/* Indicator Dots */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.8);
}

/* Features Grid Section (padded inside for nice alignment) */
.features-section {
    padding: 0 16px;
    margin-bottom: 32px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    transition: transform var(--transition-fast);
}

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

.feature-icon {
    font-size: 26px;
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #F1F5F9;
}

.feature-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--card-border);
    padding: 20px 16px 0 16px;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    padding: 12px 16px;
    border-top: 1px solid var(--card-border);
    z-index: 999;
}

.mobile-cta-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    letter-spacing: 0.5px;
}

/* Toast Message */
.toast-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--primary-color);
    color: #FFFFFF;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .mobile-sticky-bar {
        display: block;
    }
}
