:root {
    --font-main: 'Fira Sans Condensed', sans-serif;
    --bg-color: #FAF9F6;
    /* Light Cream/Off-white */
    --text-dark: #333333;
    --text-light: #666666;
    --primary-gradient: linear-gradient(90deg, #FDD074, #FDA057);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
}

.social-links a {
    color: var(--text-light);
    /* Changed color from text-dark */
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    /* Smaller font size */
    font-weight: 500;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--text-dark);
    /* Changed hover color */
}

/* ------------------------------------------- */
/* MODIFIED: Mobile Menu Toggle (Hamburger) */
/* Fine-tuned X animation for smoothness */
/* ------------------------------------------- */
.menu-toggle {
    display: none;
    /* Hidden on desktop */
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 50%;
    /* Make the button rounded */
    cursor: pointer;
    position: relative;
    z-index: 1001;
    /* Above mobile menu */
    padding: 0;
    transition: background-color 0.3s ease;
    outline: none;
    /* Added flex properties to center bars */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-toggle:hover {
    background-color: #eee;
}

.bar {
    display: block;
    width: 24px;
    /* Increased bar width for better visibility */
    height: 2px;
    margin: 3px auto;
    /* Reduced margin for tighter grouping */
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
    border-radius: 1px;
    /* Subtle rounding for the bars */
}

/* Animation to 'X' */
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
    /* Middle bar disappears */
}

.menu-toggle.is-active .bar:nth-child(1) {
    /* Adjusted translateY based on 3px margin + 2px bar height / 2 = 4px */
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
    /* Adjusted translateY based on 3px margin + 2px bar height / 2 = 4px */
    transform: translateY(-4px) rotate(-45deg);
}

/* END MODIFIED: Mobile Menu Toggle (Hamburger) */

/* ------------------------------------------- */
/* MODIFIED: Mobile Menu Styles for smooth slide and content simplification */
/* ------------------------------------------- */
.mobile-menu {
    position: fixed;
    /* Use fixed to cover entire viewport */
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Slide from right */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    /* Smoother, bouncier transition */
    visibility: hidden;
}

.mobile-menu.is-active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu a {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 15px 0;
    display: block;
    text-align: center;
}

.mobile-menu a:hover {
    color: var(--text-light);
}

/* Style for Home/Careers links - make them larger */
.mobile-menu>a {
    font-size: 2rem;
    font-weight: 600;
    padding: 20px 0;
}

/* Style for the social links block */
.mobile-menu-social {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    width: 80%;
    text-align: center;
    /* Ensure social links also have the large font style */
}

.mobile-menu-social a {
    font-size: 1.8rem;
    /* Larger font size for social links to match screenshot */
    display: block;
    /* Stack social links */
    padding: 15px 0;
    text-align: center;
}

/* Removed styles for .mobile-menu .footer-links as they should be removed from HTML */

/* END MODIFIED: Mobile Menu Styles for smooth slide and content simplification */


/* Hero Section (Index.html specific) */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    gap: 40px;
    /* Added gap for spacing between content and image */
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    /* Smaller font size */
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content .tagline {
    font-size: 1.5rem;
    /* Smaller font size */
    color: var(--text-dark);
    /* Changed from orange to text-dark */
    font-weight: 400;
    /* Lighter font weight */
    display: block;
    margin-bottom: 20px;
    /* Adjusted margin */
}

.hero-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    max-width: 50%;
    text-align: right;
}

.hero-image img {
    max-width: 600px;
    /* Smaller max-width for the image */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-container {
    margin-top: 30px;
}

.download-btn {
    height: auto;
    /* Changed from 50px */
    width: 200px;
    /* Smaller width for the button */
    transition: transform 0.2s;
}

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

/* Footer */
footer {
    background-color: #fff;
    padding: 40px 0;
    /* Increased vertical padding */
    border-top: 1px solid #eee;
    margin-top: 60px;
    /* Increased margin top */
    text-align: center;
    /* Center content */
}

.footer-content {
    display: flex;
    justify-content: center;
    /* Center content */
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    /* Stack elements for centering */
}

.footer-links {
    margin-bottom: 10px;
    /* Reduced margin */
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    /* Added vertical margin and centered links */
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FDA057;
}

.copyright {
    color: #999;
    /* Changed copyright color to a lighter grey */
    font-size: 0.8rem;
    /* Smaller font size */
}

/* Content Pages (Policy, Agreement, Guidelines) */
.page-content {
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-content h2 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 15px;
}

/* ------------------------------------------- */
/* MOBILE OPTIMIZATION (<= 768px)    */
/* ------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    nav {
        padding: 15px 0;
        /* Smaller vertical padding for nav */
    }

    .nav-container {
        justify-content: space-between;
    }

    .desktop-only {
        display: none !important;
        /* Hide desktop social links */
    }

    .menu-toggle {
        display: flex;
        /* Ensure it is shown on mobile */
    }

    /* Mobile Menu */
    .mobile-menu {
        padding: 15px;
        padding-top: 80px;
        /* Leave space for the navigation bar */
    }

    /* Hero Section (Index.html) */
    .hero-container {
        flex-direction: column;
        /* Stack hero content and image */
        text-align: center;
        padding: 40px 0;
        /* Optimized padding */
        gap: 30px;
        /* Adjusted mobile gap */
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 0;
        /* Removed extra margin */
    }

    .hero-content h1 {
        font-size: 2.5rem;
        /* Smaller heading */
    }

    .hero-content .tagline {
        font-size: 1.2rem;
        /* Smaller tagline */
        margin-bottom: 15px;
    }

    .hero-image {
        max-width: 100%;
        /* Image takes full width in mobile container */
        text-align: center;
    }

    .hero-image img {
        max-width: 90%;
        /* Restrict image size further on mobile */
    }

    .download-btn {
        width: 180px;
        /* Adjusted button width for mobile */
        height: auto;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 15px;
    }

    .footer-links a {
        display: inline-block;
        /* Changed to inline-block to match screenshot's centered look */
        margin: 5px 10px;
        /* Reduced margin */
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    /* Content Pages (Policy, Agreement, Guidelines) */
    .page-content {
        padding: 30px 15px;
        /* Optimized padding */
    }

    .page-content h1 {
        font-size: 2rem;
    }
}