:root {
    /* Premium Color Palette - HSL for better control */
    --p-h: 38;
    /* Gold/Ochre hue */
    --p-s: 37%;
    --p-l: 52%;

    --primary: hsl(var(--p-h), var(--p-s), var(--p-l));
    --primary-light: hsl(var(--p-h), var(--p-s), 65%);
    --primary-dark: hsl(var(--p-h), var(--p-s), 40%);

    --secondary: #064e3b;
    --secondary-dark: #042f24;
    --accent: #d97706;
    /* Amber for highlights */

    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;

    --white: #ffffff;
    --black: #0f172a;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);

    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    padding: 1rem 0;
}

header.scrolled {
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

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

.logo img {
    height: 54px;
    transition: var(--transition);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.btn-contact {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: 1px solid var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-contact:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-main), transparent);
    z-index: 2;
}

.container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 650px;
    font-weight: 300;
    color: #f1f5f9;
}

/* Stats Bar */
.stats-bar {
    background: var(--secondary);
    padding: 80px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    background-image: radial-gradient(circle at 20% 30%, rgba(181, 146, 84, 0.05) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Sections */
.section {
    padding: clamp(80px, 10vw, 140px) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-light);
}

.card:hover::before {
    height: 100%;
}

.card-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: inline-flex;
}

.card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Product/Solution Section */
.solution {
    background-color: var(--white);
}

/* Solution Detail Grid */
.solution {
    background-color: var(--bg-main);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.solution-grid.reverse {
    direction: rtl;
}

.solution-grid.reverse>* {
    direction: ltr;
}

.solution-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 4/3;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-image:hover img {
    transform: scale(1.1);
}

.solution-content {
    padding: 20px;
}

.solution-content h3 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.product-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--secondary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Layers */
.layer-grid {
    margin-top: 50px;
}

.layer-card {
    background: var(--bg-alt);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.layer-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-light);
}

.layer-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.layer-card h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.layer-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.layer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.layer-list li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

.layer-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
}

/* Photo Gallery Section */
.gallery {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.value-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-item h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 2;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Updated Solution Layout */
.solution-detail-list {
    margin-top: 1.5rem;
    padding-left: 0;
}

.solution-detail-list li {
    background: #fdfbf7;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--primary);
}

/* Quote Section */
.quote-section {
    background: linear-gradient(rgba(4, 47, 36, 0.85), rgba(4, 47, 36, 0.95)), url('images/slide-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 140px 0;
    text-align: center;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
}

.quote-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.4;
    margin-bottom: 3rem;
    font-style: italic;
    font-weight: 400;
    color: #f1f5f9;
}

.quote-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer Improvements */
footer strong {
    color: var(--primary);
}

.solution-content h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.product-tag {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.solution-content ul {
    margin-top: 1.5rem;
}

.solution-content li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-content li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    opacity: 0.6;
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.25rem;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-links a {
    opacity: 0.6;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    opacity: 0.4;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .stats-bar {
        margin-top: -40px;
        padding: 60px 0;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 30px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .solution-grid,
    .solution-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .nav-links {
        display: none;
    }

    .usage-tabs {
        flex-direction: column;
    }

    .usage-content-wrapper {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

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

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Technical Usage Tabs */
.usage-tabs-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 50px;
}

.usage-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 12px;
    gap: 12px;
}

.usage-tab {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.usage-tab.active {
    background: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow-soft);
}

.usage-tab:hover:not(.active) {
    color: var(--primary);
    background: rgba(181, 146, 84, 0.05);
}

.usage-content-wrapper {
    padding: 50px;
}

.usage-content h4 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.usage-list li {
    padding-left: 36px;
    margin-bottom: 20px;
    position: relative;
    color: var(--text-main);
    font-size: 1.05rem;
}

.usage-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.plant-item {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.plant-item:hover {
    transform: translateX(10px);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.usage-note {
    margin-top: 40px;
    padding: 24px;
    background: rgba(181, 146, 84, 0.05);
    border-radius: var(--radius-md);
    border: 1px dashed var(--primary);
    color: var(--secondary);
    font-weight: 500;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
}

.faq-item.active {
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-alt);
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 30px 30px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

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

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

@media (max-width: 768px) {
    .usage-tabs {
        flex-direction: column;
    }

    .usage-content-wrapper {
        padding: 20px;
    }
}