:root {
    --primary: #00A651;
    --primary-hover: #008542;
    --bg-dark: #f8f9fa;
    --bg-darker: #ffffff;
    --surface: #ffffff;
    --surface-light: #f1f3f5;
    --text: #333333;
    --text-muted: #666666;
    --border: #e9ecef;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 span {
    color: var(--primary);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.4);
}

.btn-outline {
    border-color: var(--text);
    color: var(--text);
}

.btn-outline:hover {
    background-color: var(--text);
    color: var(--bg-dark);
}

.hero .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.hero .btn-outline:hover {
    background-color: #ffffff;
    color: #050505;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 120px;
    filter: none; /* Removed brightness/invert for light mode/original color */
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 85px; /* Make it slightly smaller when scrolled */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    position: relative;
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.focus-link {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*! Scale animation on load handled by CSS */
    animation: zoomOut 20s infinite alternate linear;
}

@keyframes zoomOut {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(5,5,5,0.95) 100%);
}

.hero-inner {
    max-width: 800px;
}

.hero h1 {
    color: #ffffff;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: #e0e0e0;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

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

.is-darkest {
    background-color: #0a0a0a;
    color: #f8f9fa;
}

.is-darkest h2, .is-darkest h3, .is-darkest h4 {
    color: #ffffff;
}

.is-darkest p {
    color: #cccccc;
}

.is-darkest .card {
    background-color: #141414;
    border-color: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.is-darkest .card:hover {
    border-color: rgba(0, 166, 81, 0.4);
    box-shadow: 0 15px 35px rgba(0, 166, 81, 0.15);
}

.is-darkest .card-icon {
    background-color: #1e1e1e;
    border-color: #333333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.is-darkest .card h3 {
    color: #ffffff;
}

.is-darkest .card p {
    color: #aaaaaa;
}

.subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-heading {
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

.card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 166, 81, 0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-img {
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 2.5rem 2rem;
    position: relative;
    flex-grow: 1;
}

.card-icon {
    position: absolute;
    top: -25px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Split Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 20px;
    transform: translate(20px, 20px);
    z-index: -1;
    transition: var(--transition);
}

.split-layout:hover .img-wrapper::after {
    transform: translate(10px, 10px);
}

.badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background-color: var(--surface-light);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--primary);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Products */
.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.product-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-item:hover img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    transform: translateY(20px);
    opacity: 0.9;
    color: #fff;
    transition: var(--transition);
}

.product-item:hover .product-overlay {
    transform: translateY(0);
    opacity: 1;
}

.product-overlay h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.product-overlay p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #e0e0e0;
}

/* Footer CTA */
.footer-cta {
    padding-bottom: 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
    border: 1px solid var(--border);
    border-radius: 20px 20px 0 0;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.03);
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: var(--surface-light);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #080808;
    color: #e0e0e0;
    padding: 4rem 0 2rem;
    border-top: 1px solid #1a1a1a;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: none;
}

.footer-brand p {
    max-width: 300px;
    color: #aaaaaa;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #aaaaaa;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #777777;
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .badge {
        left: 2rem;
    }
    
    .cta-box {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        z-index: 101;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--surface);
        padding: 8rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav.nav-open {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-links a {
        color: var(--text);
    }
    
    /* Mobile Toggle Animation */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}
