/* --- Variables & Reset --- */
:root {
    /* Brand Colors */
    --bg-dark: #0b0b0f;
    --bg-card: #14141a;
    --primary: #FF8575;
    /* Salmon/Fox color */
    --primary-hover: #ff7676;
    --text-main: #f0f0f0;
    --text-muted: #a0a0b0;
    --border: #2a2a35;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 142, 142, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* UPDATED: Google Play Store Button */
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* --- Navigation --- */
.navbar {
    height: var(--nav-height);
    background: rgba(11, 11, 15, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 142, 142, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text h1 em {
    color: var(--primary);
    font-style: normal;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* New specific rule for Hero Buttons */
.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 16px 36px;
}

.hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

/* Logo Display (Overrides standard hero-image) */
.logo-display {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-display img {
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* --- Intro Section --- */
.intro {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #101014 100%);
}

.intro-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.intro-box h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* --- Features (Showcase) --- */
.showcase-section {
    padding: 100px 0;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-block.reverse {
    direction: rtl;
    /* Flip the layout */
}

.feature-block.reverse .feature-text {
    direction: ltr;
    /* Reset text direction */
}

.feature-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-text h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.feature-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 1rem;
}

.feature-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.feature-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.feature-img-wrapper:hover {
    transform: scale(1.02);
}

/* --- Feature Toggle (See More) --- */
.feature-hidden {
    display: none !important;
}

.feature-toggle-container {
    text-align: center;
    margin-top: 40px;
    display: none;
    /* Hidden by default, shown via JS if needed */
}

.feature-toggle-container .btn-secondary {
    margin-left: 0;
    /* Override default margin */
    min-width: 150px;
}

/* --- Mobile App --- */
.mobile-app {
    padding: 100px 0;
    background: var(--bg-card);
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mobile-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.mobile-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.store-badges {
    display: flex;
    gap: 20px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    min-width: 160px;
}

.store-btn:hover {
    border-color: var(--primary);
}

.store-btn strong {
    display: block;
    font-size: 1.1rem;
}

.store-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-visual img {
    border-radius: 12px;
}



/* --- Footer (5-Column Layout) --- */
.site-footer {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    /* 5 Columns: Brand takes more space */
    grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr 1.2fr;
    gap: 30px;
    margin-bottom: 60px;
}

.footer-col h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    transition: color 0.2s;
}

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

/* Brand Column Styles */
.brand-col {
    display: flex;
    flex-direction: column;
}

.footer-logo-full {
    width: 180px;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

.brand-tagline {
    color: var(--text-muted);
    max-width: 250px;
    line-height: 1.5;
}

/* Social Icons in Brand Column */
.footer-socials-brand {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.footer-socials-brand a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-socials-brand a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
}

.footer-socials-brand i {
    font-size: 16px;
}

/* Contact Link */
.contact-link {
    display: inline-block;
    color: var(--primary) !important;
    margin-top: 10px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.8rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 968px) {

    /* ... existing grid resets ... */
    .hero-content,
    .feature-block,
    .mobile-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        /* grid-template-columns: 1fr; */
        /* Reduce the gap between Logo and Text (was 60px) */
        gap: 10px;
        text-align: center;
    }

    /* --- Hero Optimizations --- */
    .hero {
        padding-top: 100px;
        /* Reduced top padding */
        padding-bottom: 40px;
        min-height: auto;
        /* Remove rigid height constraint */
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        /* Reduce from 4rem to prevent wrapping issues */
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 1rem;
        margin: 0 auto 30px auto;
        padding: 0 10px;
        /* Ensure text doesn't touch screen edges */
    }

    /* Stack buttons on mobile for easier tapping */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 400px;
        /* Keep them from getting too wide on tablets */
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        /* Full width buttons */
        display: flex;
        justify-content: center;
        margin-left: 0;
        /* Remove existing left margin on secondary btn */
    }

    /* Adjust Image position and size */
    .hero-image {
        order: -1;
        /* Keeps logo on top */
        /* Reduce bottom spacing if you added margin previously */
        margin-bottom: 10px;
    }

    .logo-display img {
        max-height: 250px;
        /* Smaller image height for mobile */
    }

    /* ... keep your existing footer/nav adjustments below ... */
    .feature-block.reverse {
        direction: ltr;
    }

    .feature-block {
        gap: 40px;
    }

    .feature-img-wrapper {
        order: -1;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-col {
        grid-column: span 1;
        align-items: center;
    }
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}