/* FS Companion Custom Styles */
:root {
    --bg-dark: #0a0e1b;
    --bg-darker: #05070a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary-green: #2ecc71;
    --primary-hover: #27ae60;
    --text-main: #f0f2f5;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent: #f1c40f;
    /* For gold/highlight */
    --primary-gradient: linear-gradient(135deg, #2ecc71 0%, #16a085 100%);
}

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

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

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

/* Glassmorphism Classes */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

/* Navbar */
.navbar {
    background: rgba(10, 14, 27, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 45px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

/* Sections */
section {
    padding: 60px 0;
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1,
h2,
h3 {
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tractor Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.tractor-card .specs {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.9rem;
}

.spec-tag {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-green);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

/* Calculator */
.calc-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
}

select option {
    background: var(--bg-dark);
    color: white;
}

select:focus {
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.15);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.result-box {
    margin-top: 2rem;
    padding: 20px;
    background: rgba(46, 204, 113, 0.05);
    border: 1px dashed var(--primary-green);
    border-radius: 12px;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}