/* --- CSS VARIABLES (Midnight Theme) --- */
:root {
    --font-heading: 'Blinker', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --color-bg: #0B132B;       /* Midnight Blue for the whole site */
    --color-text: #FFFFFF;     /* White text for dark mode */
    --color-primary: #00D2FF;  /* Bright electric Cyan for accents/buttons */
    --color-nav-bg: transparent;  /* Slightly transparent midnight blue for nav */
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    /* Extra height just so you can scroll and test the background */
    min-height: 200vh; 
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- NAVBAR STYLES --- */
.navbar {
    background-color: var(--color-nav-bg);
    /* Remove the backdrop-filter from here, we'll move it to .scrolled */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    /* Change border to be invisible at the top */
    border-bottom: 1px solid transparent; 
    transition: all 0.4s ease; /* Makes the transition smooth */
}

/* Add this new block right below .navbar */
/*.navbar.scrolled {
    background-color: rgba(11, 19, 43, 0.85); // 85% Midnight Blue 
    backdrop-filter: blur(15px); // Adds the frosted glass effect 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); // Subtle bottom line
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); // Soft shadow
}*/

.navbar.scrolled {
    background-color: var(--color-bg); /* CHANGED: Now solid midnight blue */
    backdrop-filter: none; /* CHANGED: Removed the blur */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); 
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; /* CHANGED: Now matches the hero section exactly */
    width: 100%;
    margin: 0 auto;
    padding: 1.2rem 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 600;
    color: #e0e0e0; /* Light gray */
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* --- "CONTACT US" GHOST BUTTON --- */
.btn-cta {
    background-color: transparent;
    color: var(--color-primary) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--color-primary);
    color: var(--color-bg) !important; /* Text turns dark blue on hover */
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4); /* Glow effect */
}

/* --- MOBILE RESPONSIVENESS --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text); /* White hamburger lines */
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .hamburger { display: block; }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-nav-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-links.active { left: 0; }
    
    .hero h1 { font-size: 2.5rem; }

    /* Animate Hamburger into an 'X' */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --- HERO / LANDING PAGE SECTION --- */
/*.hero { 
    height: 100vh;
    overflow: hidden;
    

    background: linear-gradient(
        to bottom, 
        rgba(11, 19, 43, 0.4) 0%, 
        rgba(11, 19, 43, 0.8) 70%, 
        #0B132B 100%
    ),
    url('https://images.unsplash.com/photo-1531306728370-e2ebd9d7bb99?q=80&w=2000&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    display: flex;
    align-items: center;
    padding-top: 80px; 
}*/

.hero {
    min-height: 100vh; /* CHANGED: Allows it to grow taller than the screen if needed */
    height: auto;
    overflow: hidden; 
    
    background: linear-gradient(
        to bottom, 
        rgba(11, 19, 43, 0.4) 0%, 
        rgba(11, 19, 43, 0.8) 70%, 
        #0B132B 100%
    ),
    /* url('https://images.unsplash.com/photo-1531306728370-e2ebd9d7bb99?q=80&w=2000&auto=format&fit=crop'); */
    url('../assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    display: flex;
    align-items: center; /* Centers on desktop */
    padding-top: 100px; /* Safe space for navbar */
    padding-bottom: 40px; /* Breathing room at the bottom */
}

.hero-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

/* LEFT SECTION (40%) */
.hero-left {
    flex: 0 0 40%;
    padding-right: 3rem;
    z-index: 10;
}

.hero-left h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-left p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
}

/* Solid Button for Left Section */
.btn-solid {
    display: inline-block;
    background-color: var(--color-primary);
    color: #0B132B; /* Dark text for contrast against bright cyan */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.btn-solid:hover {
    background-color: #00b8e6;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.5);
}

/* RIGHT SECTION (60% - SCROLLING APP GRID) */
/*.hero-right {
    flex: 0 0 60%;
    display: flex;
    gap: 1.5rem;
    height: 150vh; // Make taller than screen to allow overflow
    transform: rotate(5deg) scale(1.1); 
    opacity: 0.9;
}
*/

.hero-right {
    flex: 0 0 60%;
    display: flex;
    gap: 1.5rem;
    height: 100vh; /* CHANGED: Fits perfectly on the screen now */
    margin-top: 80px; /* NEW: Pushes the grid down to clear the navbar */
    /*transform: rotate(5deg) scale(1); /* CHANGED: Removed scale to prevent sideways bleeding */
    opacity: 0.95;
    
    /* PREMIUM TOUCH: Smoothly fades the top and bottom of the scrolling columns */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.app-column {
    flex: 1; /* Makes all 4 columns equal width */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.scroller-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* Hovering over any image in the column pauses that specific column */
.app-column:hover .scroller-inner {
    animation-play-state: paused;
    cursor: pointer;
}

.scroller-inner img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    aspect-ratio: 9/19; /* Standard portrait phone dimension */
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

/* Slight zoom on the image being hovered */
.scroller-inner img:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
}

/* --- ANIMATION KEYFRAMES --- */
/* Up starts at 0, moves to -50% */
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } 
}

/* Down starts at -50%, moves to 0 */
@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.scroll-up {
    animation: scrollUp 25s linear infinite;
}

.scroll-down {
    animation: scrollDown 25s linear infinite;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    /* Navbar Mobile Menu Adjustments */
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(11, 19, 43, 0.95); /* Dark solid background for mobile menu */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-links.active { left: 0; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Hero Mobile Adjustments */
    .hero {
        align-items: flex-start; /* CHANGED: Stops it from centering upwards into the nav */
        padding-top: 120px; /* Force it below the navbar */
    }

    .hero-container {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 0; 
    }
    
    .hero-left {
        flex: none;
        width: 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: 2.5rem; /* Space between text and app grid */
    }
    
    .hero-left h1 { 
        font-size: 2.5rem; /* Smaller font for narrow phones like S8+ */
    }
    
    .hero-right {
        flex: none;
        width: 100%;
        height: 45vh; /* Shorter grid for mobile so you can see it without scrolling endlessly */
        margin-top: 0; /* Remove the huge desktop margin */
        transform: rotate(0) scale(1); /* Remove tilt on mobile for better viewing */
    }
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--color-bg); 
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-text);
}

/* The Grid layout */
.services-grid {
    display: grid;
    /* This modern grid line automatically switches from 3 columns to 1 column on mobile! */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1000px; /* NEW: Keeps the two cards perfectly proportioned */
    margin: 0 auto; /* NEW: Centers the grid horizontally */
}

/* Individual Cards */
.service-card {
    background: rgba(255, 255, 255, 0.03); /* Extremely subtle lighter background */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
    border-radius: 20px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column; /* Allows us to push the bullet points to the bottom */
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* Floats up */
    border-color: var(--color-primary); /* Border glows cyan */
    box-shadow: 0 10px 40px rgba(0, 210, 255, 0.1); /* Soft cyan glow underneath */
    background: rgba(255, 255, 255, 0.05);
}

/* Icons */
.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 255, 0.1); /* Transparent cyan circle */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

/* Card Typography */
.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.service-card .subtitle {
    font-size: 1.05rem;
    color: #a0aabf; /* Soft grey-blue so it doesn't distract from the white title */
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Custom Bullet Points */
.service-bullets {
    list-style: none; /* Removes the ugly default black dots */
    margin-top: auto; /* Pushes the list to the bottom so all cards align perfectly */
}

.service-bullets li {
    font-size: 1.05rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* Custom Cyan Checkmark for the bullets */
.service-bullets li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 12px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- ACCORDION / MORE INFO STYLES --- */
.service-bullets li {
    flex-wrap: wrap; /* Allows the hidden content to drop to the next line */
    align-items: flex-start; /* Keeps the checkmark at the top when expanded */
}

/* Fixes the custom checkmark alignment for multi-line content */
.service-bullets li::before {
    margin-top: 2px; 
}

.bullet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 36px); /* 100% minus the checkmark width */
}

.bullet-title {
    font-weight: 600;
}

/* The 'More Info' clickable text */
.btn-more-info {
    font-size: 0.85rem;
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-more-info:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
}

.btn-more-info .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* The Hidden Content */
.bullet-content {
    width: calc(100% - 36px);
    margin-left: 36px; /* Aligns text perfectly with the title, skipping the checkmark */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

/* Class added by JavaScript to open the accordion */
.bullet-content.open {
    max-height: 1500px; /* Enough space to show the text */
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 15px;
}

.bullet-content p {
    font-size: 0.95rem;
    color: #a0aabf;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Smaller Solid Button for inside the cards */
.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* Rotate arrow when open */
.btn-more-info.active .arrow {
    transform: rotate(180deg);
}

/* --- INNER BULLET POINTS (For Accordion Dropdowns) --- */
.inner-list-title {
    color: #e0e0e0 !important;
    font-weight: 600;
    margin-bottom: 8px !important;
}

.inner-bullets {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.inner-bullets li {
    font-size: 0.95rem !important;
    color: #a0aabf !important;
    margin-bottom: 5px !important;
    display: list-item !important; /* Overrides the flexbox of the parent list */
}

/* Removes the cyan checkmark from the inner list */
.inner-bullets li::before {
    display: none !important;
}

/* --- PRICING BOX STYLES --- */
.pricing-box {
    background: rgba(0, 0, 0, 0.2); /* Darker inset background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.pricing-tier:hover {
    background: rgba(255, 255, 255, 0.08); /* Slightly highlights when hovered */
}

.pricing-tier .screens {
    font-size: 0.95rem;
    color: #e0e0e0;
    font-weight: 600;
}

.pricing-tier .price {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3); /* Subtle glow on the price */
}

.credit-promo {
    font-size: 0.9rem;
    color: var(--color-primary);
    background: rgba(0, 210, 255, 0.05);
    border-left: 3px solid var(--color-primary);
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 0 5px 5px 0;
    line-height: 1.5;
    font-style: italic;
    font-weight: 500;
}

/* --- OUR WORK SECTION --- */
.our-work {
    background-color: var(--color-bg);
    padding: 80px 0 120px 0;
    overflow: hidden; /* Prevents horizontal scrollbars on the page */
}

/* Push subtitle up slightly closer to the title */
.section-subtitle {
    text-align: center;
    color: #a0aabf;
    font-size: 1.2rem;
    margin-top: -2.5rem; 
    margin-bottom: 4rem;
}

/* --- MARQUEE STYLES --- */
.marquee-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    
    /* PREMIUM TOUCH: Fades the left and right edges into the background */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollHorizontal 30s linear infinite;
}

/* Pauses the scroll when the user hovers over the logos */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Styling for the placeholder logos */
.logo-item {
    padding: 0 4rem; /* Creates the gap between logos */
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.3); /* Faded out */
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* If you replace the text with <img> tags later, this targets them */
.logo-item img {
    height: 80px;
    width: auto;
    opacity: 0.4;
    transition: all 0.3s ease;
    filter: grayscale(100%); /* Makes colored logos grey to match the dark theme */
}

/* Hover effects */
.logo-item:hover, .logo-item img:hover {
    color: var(--color-primary); /* Text glows cyan */
    opacity: 1;
    filter: grayscale(0%); /* Brings actual logo colors back */
    transform: scale(1.05);
}

/* --- HORIZONTAL ANIMATION KEYFRAMES --- */
/* Moves exactly 50% left, then instantly resets to 0% for a seamless loop */
@keyframes scrollHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Mobile Adjustments for Marquee */
@media (max-width: 768px) {
    .logo-item {
        padding: 0 2rem;
        font-size: 1.5rem;
    }
    .logo-item img {
        height: 30px;
    }
}

/* --- HOW WE WORK (FAQ ACCORDION) STYLES --- */
.how-we-work-container {
    max-width: 900px;
    margin: 100px auto 0; /* Creates space above the section */
    padding: 0 2rem;
}

.sub-section-title {
    font-size: 2.5rem;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between each row */
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Glows slightly when opened */
.faq-item.active {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.05);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none; /* Prevents text highlighting when double clicking */
}

.faq-header h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 300;
    line-height: 1;
    transition: transform 0.4s ease;
}

/* Rotates the + into an x when active */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #ffffff;
}

/* Hidden Content */
.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.faq-item.active .faq-content {
    max-height: 500px; /* Large enough to hold the text */
    padding-bottom: 1.5rem;
    opacity: 1;
}

.faq-content p {
    color: #a0aabf;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/* Specific styling for the Payment bullet points */
.faq-bullets {
    list-style: none;
    margin-top: 1rem;
    margin-left: 10px;
}

.faq-bullets li {
    color: #a0aabf;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.faq-bullets li strong {
    color: var(--color-text); /* Makes the percentage bold and white */
}

/* Small cyan dot for the list items */
.faq-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* --- OUR APPS SECTION --- */
.our-apps {
    background-color: var(--color-bg);
    padding: 120px 0;
    position: relative;
}

.apps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* The Zig-Zag Alternating Layout */
.app-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    margin-bottom: 100px;
}

/* This simple line reverses the layout for the second app! */
.app-feature.reverse {
    flex-direction: row-reverse;
}

/* App Images */
.app-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Creates a beautiful cyan glow behind the app phone */
.app-image::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 80%;
    background: var(--color-primary);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    top: 10%;
}

.app-image img {
    width: 100%;
    max-width: 320px; /* iPhone portrait width */
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: transform 0.4s ease;
}

.app-feature:hover .app-image img {
    transform: translateY(-10px);
}

/* App Text Info */
.app-info {
    flex: 1;
}

.stars {
    color: #FFD700; /* Gold */
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.rating-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #a0aabf;
    letter-spacing: 0;
    margin-left: 10px;
    font-weight: 600;
}

.app-info h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.app-info p {
    font-size: 1.1rem;
    color: #a0aabf;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* App Store Buttons */
.store-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    background: #000000;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 12px;
}

.store-btn:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.2);
    transform: translateY(-3px);
}

.btn-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.small-text {
    font-size: 0.65rem;
    line-height: 1;
    margin-bottom: 2px;
}

.large-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .app-feature, .app-feature.reverse {
        flex-direction: column; /* Stacks image on top, text on bottom */
        text-align: center;
        gap: 3rem;
        margin-bottom: 80px;
    }

    .app-info h3 {
        font-size: 2.2rem;
    }

    .stars {
        justify-content: center;
    }

    .store-buttons {
        justify-content: center;
    }
}

.email-link {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.email-link:hover {
    transform: translateX(10px); /* Slides slightly to the right when hovered */
}

.email-link:hover span:last-child {
    color: var(--color-primary); /* Turns the email text cyan when hovered */
}

/* --- CONTACT SECTION --- */
.contact {
    background-color: #080D1E;
    padding: 120px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
    max-width: 800px; /* Narrowed down for a beautiful centered reading width */
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

.contact-info {
    text-align: center; /* Centers all the text */
    width: 100%;
}

.contact-info .section-title {
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #a0aabf;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the email and location rows */
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem; /* Made slightly larger since it's the focal point */
    color: #e0e0e0;
}

.detail-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    background: rgba(0, 210, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Custom styling for the clickable email link */
.email-link {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid transparent;
}

.email-link:hover {
    transform: scale(1.05); /* Gentle pop out effect when hovered */
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 210, 255, 0.3);
}

.email-link:hover span:last-child {
    color: var(--color-primary);
}

/* --- FOOTER --- */
.footer {
    background-color: #050814; /* Deepest black/blue for the very bottom */
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    color: #6a7489;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: #6a7489;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--color-primary);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 4rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info .section-title {
        text-align: center !important;
    }

    .contact-details {
        align-items: center;
    }

    .glass-form {
        padding: 2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}