:root {
    --bg-color: #0d0d1a; /* Deep Midnight */
    --text-color: #ffffff;
    --primary-pink: #ff2d55;
    --primary-cyan: #00e5ff;
    --card-bg: rgba(255, 255, 255, 0.05);
}

/* Reset & Global */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* For mobile menu positioning */
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    margin-right: 15px;
    border-radius: 8px;
}

.logo-text {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-color);
}

.links {
    display: flex;
    align-items: center;
}

.links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.btn-download {
    background: var(--primary-pink);
    padding: 10px 20px;
    border-radius: 20px;
    color: white !important; /* Force white text */
    transition: transform 0.2s;
}

.btn-download:hover {
    transform: scale(1.05);
}

/* HAMBURGER MENU (New) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px; /* Tighter vertical spacing */
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-store-btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 25px;
    transition: transform 0.2s;
}

.app-store-btn:hover {
    transform: translateY(-2px);
}

/* PHONE MOCKUP */
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #000;
    border: 8px solid #1a1a1a;
    border-radius: 40px;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.15);
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FEATURES GRID */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-cyan);
}

/* PAGE HEADERS (Generic) */
.page-header {
    padding: 40px 20px 20px; /* Much tighter */
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 50px 40px; /* Tighter top and bottom */
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

/* FEATURE ROWS */
.feature-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    background: rgba(255,255,255,0.05);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.pink { color: var(--primary-pink); }
.cyan { color: var(--primary-cyan); }

/* FORMS (Signup/Support) */
.signup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Aligns to top, not center */
    min-height: auto; /* Let content decide the height */
    text-align: center;
    padding: 40px 20px; /* Standard padding */
    margin-bottom: 40px; /* Just a little breathing room before footer */
}

.signup-box {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 40px rgba(255, 45, 85, 0.1);
}

.signup-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1rem;
    flex: 1;
    min-width: 250px;
}

.submit-btn {
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-cyan));
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s;
    display: inline-block;
}

.submit-btn:hover {
    transform: scale(1.05);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    margin-top: 50px;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #888;
    margin: 0 15px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {
    /* Navigation Adjustments */
    nav {
        padding: 20px;
    }

    .hamburger {
        display: flex;
    }

    .links {
        display: none;
        position: absolute;
        top: 80px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: center;
        background: #1a1a2e;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border: 1px solid rgba(255,255,255,0.1);
        z-index: 1000; /* Ensure menu sits on top */
    }

    .links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .links a {
        margin: 15px 0;
        margin-left: 0;
        font-size: 1.2rem;
    }
    
    /* Hero Adjustments */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 50px;
    }

    .hero-content {
        max-width: 100%;
    }

    h1 {
        font-size: 2.5rem; /* Smaller H1 on mobile */
    }

    .phone-mockup {
        height: 500px;
        width: 240px;
        border-width: 6px;
    }

    /* Page Header & Content Fixes (Support/Features Pages) */
    .page-header {
        padding: 60px 20px 30px; /* Reduced top padding significantly */
    }
    
    .page-header h1 {
        font-size: 2.2rem; /* Prevent "Need Backup" from wrapping awkwardly */
    }

    .page-content {
        padding: 0 20px 60px;
    }

    .signup-container {
        min-height: auto; /* Let content dictate height on mobile */
        padding: 20px;
        padding-top: 0; /* Pull box closer to header */
    }

    .signup-box {
        padding: 30px 20px; /* Slightly tighter padding inside box */
    }

    .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SUCCESS MESSAGE STYLES --- */
.success-banner {
    display: none; /* Hidden by default */
    background-color: rgba(0, 229, 255, 0.1); /* Subtle Cyan background */
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    width: 100%;
}