:root {
    --primary: #BFFF00;
    --primary-dark: #99cc00;
    --text-dark: #2e3333;
    --text-light: #585c5c;
    --bg-light: #f9fafa;
    --white: #ffffff;
    --border-color: #e8ebeb;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--text-dark);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-item:hover:not(.btn) {
    background-color: var(--bg-light);
}

/* Account button styling - override nav-item */
.nav-item.btn {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    height: 40px;
}

.nav-item.btn:hover {
    border-color: var(--text-dark);
}

/* Dropdown Menu */
.dropdown-menu {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 4px;
    background: var(--white);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    height: 40px;
    font-family: inherit;
}

.dropdown-toggle:hover {
    border-color: var(--text-dark);
}

.dropdown-toggle svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 16px;
    height: 16px;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.dropdown-item:first-child {
    border-top: none;
}

.dropdown-item:hover {
    background-color: #fafafa;
    color: var(--primary);
    padding-left: 20px;
}

.dropdown-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.dropdown-item:hover svg {
    opacity: 1;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--bg-light);
    overflow: hidden;
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 50%, var(--primary) 50%);
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.search-box {
    background: var(--white);
    padding: 8px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 10px;
    border: 1px solid var(--border-color);
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}

.search-btn {
    background-color: var(--primary);
    color: var(--text-dark);
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Categories */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 24px;
    margin-bottom: 32px;
    font-weight: 600;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-align: center;
    padding-bottom: 12px;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-img {
    height: 100px;
    width: 100%;
    background-color: #eee;
    object-fit: cover;
}

.category-name {
    margin-top: 10px;
    font-weight: 600;
    font-size: 14px;
}

/* Features Section */
.features {
    background-color: var(--white);
    padding: 80px 0;
}

/* Track Section */
.track-section {
    background: linear-gradient(135deg, var(--primary) 0%, #99cc00 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.track-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.track-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.track-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.track-header p {
    font-size: 18px;
    color: var(--text-dark);
    opacity: 0.8;
}

.track-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.track-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.track-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.track-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
}

.track-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.track-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Opportunities Section */
.opportunities-section {
    background: linear-gradient(180deg, #f9fafa 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.opportunities-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(191, 255, 0, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.opportunities-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(191, 255, 0, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.opportunities-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.opportunities-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.opportunities-header p {
    font-size: 18px;
    color: var(--text-light);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
}

.opportunity-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height 0.3s ease;
}

.chef-card::before {
    background: linear-gradient(90deg, #FF6B6B, var(--primary));
}

.rider-card::before {
    background: linear-gradient(90deg, #4ECDC4, var(--primary));
}

.corporate-card::before {
    background: linear-gradient(90deg, #5F5CE6, var(--primary));
}

.opportunity-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.opportunity-card:hover::before {
    height: 100%;
    opacity: 0.1;
    z-index: -1;
}

.opportunity-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.opportunity-card:hover .opportunity-icon {
    transform: scale(1.1) rotate(-5deg);
}

.opportunity-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.opportunity-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.opportunity-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    text-align: left;
}

.opportunity-features span {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.partner-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.partner-img {
    height: 200px;
    width: 100%;
    background-color: #ddd;
    object-fit: cover;
}

.partner-content {
    padding: 24px;
}

.partner-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.partner-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.btn-full {
    width: 100%;
    background-color: var(--primary);
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: #2e3333;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-col ul li a {
    color: #aebaba;
    font-size: 14px;
}

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

.app-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.app-btn {
    background: #444;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .search-box {
        flex-direction: column;
        gap: 8px;
    }

    .search-input {
        padding: 12px 12px;
        font-size: 16px;
    }

    .search-btn {
        width: 100%;
        padding: 12px 16px;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 16px;
    }

    .hero-image img {
        transform: perspective(1000px) rotateY(0deg);
    }

    .feature-card {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none; /* Simple mobile hide for now */
    }
}

.emoji-rotator {
    display: inline-block;
    margin-left: 10px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Location Search Styles */
.search-box {
    position: relative;
}

#locationSuggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: -4px;
}

#locationSuggestions div {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    font-size: 0.95rem;
    color: #333;
}

#locationSuggestions div:hover {
    background-color: #f5f5f5;
}

#locationSuggestions div:last-child {
    border-bottom: none;
}
