/* BRAND COLORS */
:root {
    --pax-navy: #020035;
    --pax-sky: #61C9FF;
    --pax-electric: #191970;
    --pax-white: #ffffff;
    --pax-midnight:#000000;
   
}

/* GLOBAL STYLES */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color:var(--pax-white); 
}

/* HEADER STYLES */
.main-header {
    background-color: var(--pax-white);
    padding: 40px 40px; 
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
   justify-content: space-between;
    align-items: flex-start;
}
.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-img {
    width: 280px; /* Your statement size */
    height: auto;
    margin-bottom: 0px; /* Very tight gap to match the app */
}

.slogan {
    color: var(--pax-electric);
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    text-align: left;
    white-space: nowrap; /* Forces slogan to stay on one line like the app */
    letter-spacing: -0.03em;
    margin-top: -50px;
}


.header-action {
    position: absolute;
    top: 130px;
    right: 40px;
    
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 24px; /* Clean space between button and text */
    max-width: 210px; /* Forces your long sentence onto multiple neat lines */
    text-align: center;
}

/* THE BUTTON: Modified to sit naturally inside the wrapper */
.btn-app {
    display: inline-block;
    background-color: #020035;
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(2, 0, 53, 0.25);
}

.btn-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 0, 53, 0.35);
}

/* THE SENTENCE: Styles your custom disclaimer text */
.btn-disclaimer {
    font-size: 12px; /* Small, modern, and clean */
    line-height: 1.5;
    color: #020035;
    margin: 0;
    font-weight: 600;
}


/* THE POWERFUL MIDNIGHT FOOTER */
.main-footer {
    background-color: var(--pax-midnight);
    color: white;
    padding: 60px 40px;
    margin-top: 100px;
}



.ceo-blue-zone {
    background-color:var(--pax-sky);
    padding: 80px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.ceo-branding {
    margin-bottom: 30px;
    text-align: center;
}

.ceo-overline {
    color: var(--pax-navy);
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0px;
    display:block
}
/* BRAND TAGLINE IMAGE STYLE */
.tagline-img {
    max-width: 620px; /* Restricts the width so it looks like an elegant subtitle */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(2, 0, 53, 0.05)); /* Adds a ultra-subtle premium lift */
}
/* THE BACKUP TEXT STYLING */
.tagline-fallback {
    display: none; /* Keeps it completely hidden while the image works */
    color: var(--pax-navy);
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    margin: 10px 0 auto;
    letter-spacing: -0.01em;
}
/* THE MAGIC TRICK: If the image breaks/fails, show the fallback text! */
.tagline-img:not([src]), 
.tagline-img[src=""] {
    display: none;
}

.tagline-img:not([src]) + .tagline-fallback {
    display: block; /* Instantly activates your backup fonts */
}

/* HORIZONTAL 4-COLUMN ROW LAYER */
.video-gallery {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    max-width: 1200px;
    margin: 60px auto 0;
}
.gallery-item {
    flex: 1;
    min-width: 200px; /* Prevents them from squishing too far */
    max-width: 260px; /* Keeps the phone frames perfectly proportioned */
    text-align: center;
}
.job-title {
    color: var(--pax-midnight);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-video {
    width: 100%;
    max-width: 265px; /* Perfect width for 4 columns */
    height: auto;
    display: block;
    margin: 0 auto;
    
    /* THE HARDWARE BEZEL SHAPE */
    background-color: #0d0d11; /* Sleek matte black device frame color */
    padding: 6px; /* Creates the slim outer black chassis bezel */
    border-radius: 28px; /* Classic, clean Android curved body corner */
    
    /* THE INNER DISPLAY SCREEN RING */
    border: 3px solid #1c1c24; /* Simulates the inner premium screen boundary line */
    box-sizing: border-box;

    /* SCREEN GLOW AND POSITION LIFT */
    box-shadow: 
        0 15px 35px rgba(2, 0, 53, 0.2), 
        0 0 0 1px rgba(255, 255, 255, 0.1) inset; /* Soft inner metallic light gleam */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    /* 🚀 THE SHARPNESS RENDER CORRECTIONS */
    image-rendering: -webkit-optimize-contrast; /* Forces Chrome/Safari to keep edges high-contrast */
    image-rendering: crisp-edges;               /* Standard fallback for crisp text rendering */
    transform: translateZ(0);                    /* Forces a clean, un-blurred subpixel layout */
    -webkit-backface-visibility: hidden;         /* Stops hardware acceleration from flattening the clarity */
}
/* OVERRIDE FOR HOVER EFFECT: Makes the phone feel premium when hovered */
.app-video:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(2, 0, 53, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.job-desc {
    margin-top: 15px;
    font-size: 13px;
    color: var(--pax-midnight);
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.9;
}
/* Mobile responsive - fall back to 2x2 grid or stack only on smaller screens */
@media (max-width: 900px) {
    .video-gallery { 
        flex-wrap: wrap;
    }
    .gallery-item {
        max-width: 40%;
    }
}

@media (max-width: 500px) {
    .gallery-item {
        max-width: 100%;
    }
}

/* THE DARK FOOTER CONTAINER */
.main-footer {
    background-color: var(--pax-navy);
    color: white;
    padding: 100px 40px 60px 40px; /* Big top padding for the cards */
    margin-top: 80px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* THE FLOATING CONTAINERS */
.footer-card {
    background-color: rgba(255, 255, 255, 0.05); /* Subtle transparent white */
    border: 1px solid rgba(97, 201, 255, 0.2); /* Sky Blue border at low opacity */
    padding: 40px;
    border-radius: 40px; /* Deep curves */
    text-align: center;
    transition: all 0.3s ease;
}

.footer-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--pax-sky);
}

.footer-card-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(97, 201, 255, 0.3)); /* Subtle glow on icons */
}

.footer-card h3 {
    color: var(--pax-sky); /*eletric sky blue for the headlines */
    font-weight: 900;
    font-style: italic;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-card p {
    color: floralwhite;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.footer-bottom-text {
    width: 100%;
    text-align: center; 
    margin-top: 80px; 
    padding-bottom: 20px; /* Adds a little space at the very bottom */
    color: #FFFFFF; /* Pure White */
    font-size: 10px; 
    font-weight: 700; /* Extra bold for that "App Store" look */
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    clear:both;
}
/* DOWNLOAD STRIP OVER FOOTER */
.download-section {
    background-color: var(--pax-white); /* Keeps the background consistent */
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* THE LOGO STYLE HEADING */

.download-heading {
    
    font-family: 'Georgia', 'Times New Roman', serif; 
    color: var(--pax-electric);
    font-size: 28px;
    font-weight: 500; 
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0 auto 45px auto;
    max-width: 600px;
    width: 100%;
}
/* THE OVAL SLOGAN BADGE (Brings back your gorgeous layout) */
.fallback-slogan-badge {
    display: inline-block;
    background-color: rgba(97, 201, 255, 0.15); /* Soft PaxSky tint */
    color: var(--pax-navy);
    padding: 14px 32px;
    border-radius: 50px; /* Perfect oval pill shape */
    font-size: 22px;
    font-weight: 600;
    border: 1px solid rgba(97, 201, 255, 0.4);
    vertical-align: middle;
}

/* THE SLOGAN GRAPHIC IMAGE */
.slogan-graphic-img {
    width: 100%;
    height: auto;
    margin: 0 auto;
     
}
/* ==========================================
   STORE BADGES & INTERACTIVE LAYOUT
   ========================================== */

.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; /* Perfect spacing between both buttons */
    flex-wrap: wrap; /* Ensures elements stack elegantly on small mobile screens */
}
/* INDIVIDUAL BADGES */
.badge-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.badge-link:hover {
    transform: translateY(-2px); /* Smooth hover animation */
}
.badge-img {
    height: 48px; /* Standard premium height used across most landing pages */
    width: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px; /* Helps contain the subtle shadow around store artwork */
}
.fallback-badge-btn {
  display: inline-block;
  background-color: rgba(97, 201, 255, 0.15);
  color: var(--pax-navy);
  padding: 12px 24px;
  border-radius: 50px; /* Oval pill buttons */
  font-size: 14px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border: 1px solid rgba(97, 201, 255, 0.4);
}
.fallback-badge-btn.coming-soon {
  opacity: 0.6;
  cursor: default;
}