/* ==========================================================================
   1. Base Styles & Design Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

:root {
    --bg-color: #13293D;
    --secondary-color: #3E92CC;
    --text-color: #FFFFFF;
    --text-muted: #A5C4D4;
}

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

body {
    font-family: 'Outfit', 'Segoe UI', Tahoma, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: #3E92CC; /* Change this hex code to your preferred color */
}

/* ==========================================================================
   2. Responsive Hero Image Banner
   ========================================================================== */
.hero-banner-container {
    width: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0; /* Adds a bit of breathing room above and below the banner */
}

.responsive-banner {
    width: 100%;
    max-width: 800px; /* Limits how massive it can get on desktop */
    height: auto;      /* Keeps the exact aspect ratio perfectly intact */
    display: block;
    padding: 0 20px;   /* Prevents the image from hitting the edges on mobile */
}

/* ==========================================================================
   3. Sticky Navigation Tab Bar
   ========================================================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    width: 100%; /* add this */
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 15px 25px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    text-align: center;
}

/* Tab Interactive States */
.nav-link:hover {
    color: var(--secondary-color);
}

.nav-item.active .nav-link {
    color: var(--text-color);
    border-bottom: 3px solid var(--secondary-color);
    background-color: rgba(62, 146, 204, 0.1);
}

/* ==========================================================================
   4. Content Layout & Visibility Controls
   ========================================================================== */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
    color: #E2E8F0;
}

/* SPA Logic: Controls whether content shows up */
.tab-content {
    display: none; /* Everything hidden by default */
}

/* ==========================================================================
   5. App Screenshot Carousel (Option 2)
   ========================================================================== */
.screenshot-carousel {
    width: 100%;
    overflow-x: auto; /* Enables horizontal swipe functionality */
    scroll-snap-type: x mandatory;
    scrollbar-width: thin; /* Clean layout for Firefox */
    padding: 20px 25px 75px 25px;
    scroll-padding-left: 50px; /* match your carousel-track padding-left */
    /*margin-bottom: 60px;
    border-bottom: 1px solid rgba(62, 146, 204, 0.2);
    padding-bottom: 40px; */
}

.carousel-wrapper {
    margin-bottom: 60px;
    border-bottom: 2px solid rgba(62, 146, 204, 0.2);
    padding-bottom: 120px;
    -webkit-mask-image: linear-gradient(
        to right,
        black 0%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        black 0%,
        black 92%,
        transparent 100%
    );
}

/* Custom scrollbar layout styling for Chrome/Safari/Edge */
.screenshot-carousel::-webkit-scrollbar {
    height: 4px;
}

.screenshot-carousel::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.screenshot-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(
        to right,
        #3E92CC,
        #62b0e8);
    border-radius: 4px;
}

.carousel-track {
    display: flex;
    gap: 40px;
    width: max-content;
    padding: 50px 50px 50px 50px
}

.carousel-img {
    width: 240px; /* Standard mobile scaling view width */
    height: auto;
    border-radius: 36px;
    box-shadow: 
        0 0 0 8px #1a3550,        /* inner bezel */
        0 0 0 10px #3E92CC,       /* accent ring */
        0 20px 40px rgba(0,0,0,0.5); /* drop shadow */
    scroll-snap-align: start;
}

.tab-content.active-content {
    display: block; /* Show only the chosen content section */
}

/* ==========================================================================
   6. Custom Info Badge / Alert Pill
   ========================================================================== */
.info-badge {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(
        135deg,
        rgba(62, 146, 204, 0.15) 0%,
        rgba(19, 41, 61, 0.8) 100%
    );
    border: 1px solid rgba(62, 146, 204, 0.4);
    box-shadow: 0 0 24px rgba(62, 146, 204, 0.15);
    border-radius: 999px;
    padding: 12px 28px;
    width: max-content;
    max-width: 100%;
    margin: 30px auto;
}

.badge-icon {
    /*font-size: 0.5rem;*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-png-icon {
    width: 75px;                /* Adjusted down for a clean, sleek appearance */
    height: auto;               /* Retains correct image aspect ratio dimensions */
    display: block;
    transform: translateY(1px); /* Centers the image perfectly with the baseline text height */
}

.badge-text {
    margin-bottom: 0 !important; /* Overrides any default paragraph bottom margins */
    color: #FFFFFF;
    font-size: 1.25rem;
}


/* ==========================================================================
   7. 3-Column Features Section
   ========================================================================== */
.features-section {
    background-color: #13293D; /* Slightly off-white background to separate the section */
    /* padding: 60px 20px; */
    padding-top: 60px;
}

.features-container {
    display: flex;
    justify-content: center;
    flex-direction: row; /* Default layout for desktop */
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px; /* Gives safe padding on left/right so cards don't touch screen edges */
}

.feature-card {
    flex: 1; /* Forces all 3 cards to take up equal width */
    background: #1a3550;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left; /* Easier to read paragraph blocks when left-aligned */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* border: 5px solid #FFFFFF; */
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #3E92CC; /* Blue for feature titles */
}

.feature-card p {
    font-size: 1rem;
    color: #FFFFFF;
    line-height: 1.5;
}

/* --- Footer Layout & Typography --- */
.app-footer {
    background-color: #13293D; /* Navy background */
    color: #ffffff;
    padding: 25px 20px;
    text-align: center;
}

.app-footer p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* --- Badge Flexbox Container --- */
.download-badges {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px; /* Perfect breathing room between buttons */
    margin: 5px 0;
}

/* gradient section divider 
.section-divider {
    width: 100%;
    height: 80px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(62, 146, 204, 0.08),
        transparent
    );
    margin: 20px 0;
} */

/* features section 
.features-section {
    background: linear-gradient(
        135deg,
        #13293D 0%,
        #162f47 50%,
        #13293D 100%
    );
    border-top: 1px solid rgba(62, 146, 204, 0.15);
    border-bottom: 1px solid rgba(62, 146, 204, 0.15);
} */


/* --- Interactive Badge Link Wrapper --- */
.badge-link {
    display: inline-block;
    border-radius: 8px; /* Matches standard badge corners */
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Subtle physical lift on hover for desktop users */
.badge-link:hover {
    transform: translateY(-2px); 
}

/* --- SVG Sizing Rules --- */
.store-badge {
    height: 150px;  /* Locks both vectors to the exact same rendering height */
    width: auto;   /* Allows width to scale proportionally based on the SVG viewBox */
    display: block;
}

/* Responsive adjustment for small mobile views so content stacks cleanly if text is long */
@media (max-width: 480px) {
   
    .info-badge {
        border-radius: 16px; /* Boxier rounded edges look cleaner when stacked on mobile */
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
   
   .features-container {
        flex-direction: column; /* Force cards to stack vertically on mobile */
        gap: 16px;              /* Controls vertical spacing between cards */
        padding: 0 16px;        /* Prevents the cards from hitting the left/right screen edges */
    }

    .feature-card {
        width: 100%;            /* Forces card to take full responsive width of container */
        box-sizing: border-box; /* Ensures padding doesn't cause horizontal overflow */
        padding: 20px;          /* Slightly tighter padding inside cards on mobile */
    }

   .download-badges {
        display: flex;
        flex-direction: row; /* Start as a row */
        flex-wrap: wrap;     /* THE KEY: Allows them to jump to a new line if they run out of room */
        gap: 8px;              /* Tighter gaps for vertical layouts */
       align-items: center;
    }
}

/* --- Legal/Copyright Text --- */
.copyright {
    font-size: 0.85rem !important;
    color: #a0aec0; /* Subdued gray text */
    margin-top: 5px;
    font-weight: 400 !important;
    letter-spacing: 0.02em;
}
