/* Global Variables */
:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary-green: #81B640;
    /* Updated Brand Green */
    --primary-green-dim: #6da030;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-fast: 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.highlight-green {
    color: var(--primary-green);
}

.section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #000;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-green-dim);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: #000;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--primary-green);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1549643447-fd9e26214539?q=80&w=2674&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -80px;
    /* Offset nav height */
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    /* Expanded width for grid */
    padding: 0 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-mower-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: radial-gradient(circle, #ffffff 30%, #9ca3af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Safety Section */
.safety-section {
    background: var(--bg-darker);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

.divider-center {
    height: 4px;
    width: 80px;
    background: var(--primary-green);
    margin: 1rem auto 3rem;
    border-radius: 2px;
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--primary-green);
    width: 24px;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.benefit-item h4 {
    margin-bottom: 0.25rem;
    color: white;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Products Section */
.products-section {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.model-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    /* Reset padding for full spread image */
}

.model-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.model-image-container {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    padding: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.model-image-container img {
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.model-card:hover .model-image-container img {
    transform: scale(1.05);
}

.model-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.model-badge.highlight-badge {
    background: var(--primary-green);
    color: black;
    border: none;
    box-shadow: 0 0 10px rgba(129, 182, 64, 0.4);
}

.model-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white;
}

.model-sub {
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.model-specs {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row i {
    color: var(--primary-green);
    width: 20px;
    text-align: center;
}

.standout-card {
    border: 1px solid rgba(129, 182, 64, 0.3);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(129, 182, 64, 0.05) 100%);
}

/* Specs Section */
.product-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.badge {
    background: var(--primary-green);
    color: black;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.product-info h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.product-info .lead {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.tech-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tf-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tf-item i {
    color: var(--primary-green);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    text-align: left;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-green);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.specs-table td:first-child {
    color: white;
    font-weight: 500;
}

.specs-footer {
    margin-top: 2rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h4 {
    color: white;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to top, #020617, #0f172a);
    padding-bottom: 8rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.contact-info {
    background: rgba(57, 255, 20, 0.05);
    padding: 3rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.contact-details i {
    color: var(--primary-green);
    width: 20px;
}

.contact-form {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group select option {
    background-color: var(--bg-darker);
    color: white;
    padding: 10px;
}

/* Video Gallery */
.video-section {
    background: linear-gradient(to bottom, var(--dark-bg), #1a1a1a);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    overflow: hidden;
    padding: 0;
    /* Override default glass-card padding if needed, or keep it */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    padding: 1.5rem;
}

.video-caption h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.video-caption p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    background: black;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .safety-grid,
    .product-spotlight {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
        color: white;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }
}

/* Product Hero Image */
.product-hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.product-hero-img:hover {
    transform: scale(1.02);
}


/* Responsive Hero Grid */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 100vh;
        margin-top: 0;
        padding-top: 140px;
        padding-bottom: 2rem;
        align-items: flex-start;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image-container {
        order: -1;
        /* Image on top on mobile */
        max-width: 500px;
        margin: 1rem auto;
    }
}

/* Cutting System */
.cutting-section {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 5rem;
}

.feature-split.reverse {
    direction: rtl;
}

.feature-split.reverse .split-content {
    direction: ltr;
}

.split-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.split-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-outline {
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}

.split-visual img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.split-visual.dual-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.split-visual.dual-img img {
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

/* Feature Image Large */
.feature-img-lg {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Visual Features Grid (replaces tech-features) */
.visual-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.vf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.vf-item img {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.vf-item:hover img {
    transform: scale(1.05);
    border-color: var(--primary-green);
}

.vf-item span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive Updates */
@media (max-width: 992px) {
    .feature-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr !important;
        /* Disable reverse on mobile */
    }

    .feature-split .split-content {
        direction: ltr !important;
    }
}

/* Distributor Badge Styles */
.distributor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0.75rem 1.25rem;
    background: rgba(129, 182, 64, 0.1);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.distributor-badge i {
    color: var(--primary-green);
    font-size: 1.2rem;
}