:root {
    --primary: #0A5C36;
    /* Professional nature green */
    --primary-dark: #074026;
    --secondary: #E9F2EC;
    --bg-color: #F4F7F6;
    /* Clean light background */
    --text-dark: #1F2937;
    /* Professional dark gray */
    --text-muted: #4B5563;
    --white: #ffffff;
    --border-color: #D1D5DB;
    --card-bg: #ffffff;
}

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

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

/* Typography */
h1,
h2,
h3 {
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section & Slider */
.hero {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 16s infinite;
    /* 4 images * 4s each */
}

/* 4 slides, each gets 25% of the total time */
.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 4s;
}

.slide:nth-child(3) {
    animation-delay: 8s;
}

.slide:nth-child(4) {
    animation-delay: 12s;
}

@keyframes fadeSlide {

    0%,
    20% {
        opacity: 1;
        transform: scale(1);
    }

    25%,
    95% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    padding: 3rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-dark);
}

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

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(10, 92, 54, 0.2);
}

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

/* Sections */
.section {
    padding: 6rem 5%;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.card-logo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Comparator Section */
.comparator-section {
    background: var(--white);
}

.comparator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Table */
.comparator-container {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparator-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparator-table th,
.comparator-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparator-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: var(--bg-color);
}

.comparator-table tr {
    transition: background 0.2s;
}

.comparator-table tbody tr:hover {
    background: var(--secondary);
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--secondary);
    color: var(--primary-dark);
    border: 1px solid rgba(10, 92, 54, 0.2);
}

/* Visual Break */
.visual-break {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.visual-content {
    text-align: center;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: var(--text-dark);
    padding: 3rem 5%;
    text-align: center;
    color: var(--white);
}

footer .logo {
    color: var(--white);
}

footer p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}