:root {
    --primary-green: #0a4d21; /* Vibrant Green */
    --primary-hover: #009624;
    --text-dark: #1a1a1a;
    --text-grey: #666;
    --bg-white: #ffffff;
    --grid-line: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

.logo .highlight {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--primary-green);
}

.btn-nav {
    background-color: var(--primary-green);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

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

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh; /* Takes up most of the screen */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    position: relative;
    z-index: 2; 
    max-width: 800px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

h1 .highlight {
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

/* Optional: Adds a subtle underline decoration to "Lion AI" */
h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 200, 83, 0.2);
    z-index: -1;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn:active {
    transform: scale(0.98);
}

/* White Button (Sign In) */
.btn-white {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

/* Green Button (Sign Up) */
.btn-green {
    background-color: var(--primary-green);
    color: white;
    border: 1px solid var(--primary-green);
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.3);
}

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

/* --- CSS Grid Background Pattern --- */

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: 80px 80px;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    /* Fades the grid out at the edges */
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; 
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h1 br {
        display: none; /* Hide the line break on small screens to let text flow naturally */
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}