@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --buzz-yellow: #FFD700;
    --buzz-yellow-glow: rgba(255, 215, 0, 0.4);
    --hive-black: #0a0a0a;
    --hive-dark-grey: #161616;
    --hive-light-grey: #2a2a2a;
    --pollen-white: #FFFFFF;
    --action-blue: #0056D2;

    --bg-color: var(--hive-black);
    --text-color: #e0e0e0;
    --heading-color: var(--pollen-white);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    --container-width: 1200px;
    --header-height: 90px;
    --border-radius: 16px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 20%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--buzz-yellow);
    color: var(--hive-black);
    box-shadow: 0 4px 20px var(--buzz-yellow-glow);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--buzz-yellow-glow);
    background-color: #ffea00;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--buzz-yellow);
    color: var(--buzz-yellow);
}

.btn-secondary:hover {
    background-color: var(--buzz-yellow);
    color: var(--hive-black);
    box-shadow: 0 4px 20px var(--buzz-yellow-glow);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: #888;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--pollen-white);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    /* gap: 8px; Removed to make BuzzRun one word */
}

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

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

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #aaa;
    white-space: nowrap;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--buzz-yellow);
}

/* Specific override for the nav button to match the image */
.nav-links .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
    background-color: var(--buzz-yellow);
    color: var(--hive-black);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.nav-links .btn:hover {
    background-color: #ffe033;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

/* Abstract Hexagon Background */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--buzz-yellow);
    display: block;
    font-size: 1.2em;
    /* Make "Speed of Life" even bigger */
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Beeline Finder Box - Dark Glass */
.beeline-finder-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.beeline-finder-box h3 {
    margin-bottom: 25px;
    color: var(--pollen-white);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.finder-form {
    display: flex;
    gap: 15px;
}

.finder-form input {
    flex: 1;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.1rem;
    color: white;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.finder-form input:focus {
    outline: none;
    border-color: var(--buzz-yellow);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

/* Features Grid */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--hive-dark-grey);
    padding: 50px 40px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--buzz-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--buzz-yellow);
}

.feature-icon-wrapper svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--pollen-white);
}

.feature-card p {
    color: #999;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 100px 0 40px;
    margin-top: 100px;
}

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

.footer-col h4 {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: var(--pollen-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.footer-col ul li a {
    color: #666;
    font-size: 1rem;
}

.footer-col ul li a:hover {
    color: var(--buzz-yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #444;
    font-size: 0.9rem;
}

/* Mobile Menu Button - Simple and Bulletproof */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 9999;
}

.mobile-menu-btn svg {
    width: 32px;
    height: 32px;
    display: block;
}

.mobile-menu-btn svg path {
    stroke: white;
    stroke-width: 2;
}

.mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

.mobile-menu-btn.active svg path {
    stroke: #FFD700;
}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .finder-form {
        flex-direction: column;
    }

    /* MOBILE NAVIGATION */
    .mobile-menu-btn {
        display: block !important;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99999;
        padding: 0;
    }

    .nav-links.active {
        right: 0 !important;
    }

    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation for menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Ensure specific styling for the button in mobile menu */
    .nav-links .btn {
        margin-top: 20px;
        width: 80%;
    }
}