:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #dcfce7;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--dark);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav a {
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
    border-color: white;
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border-color: var(--gray-200);
}

.btn-outline-dark:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.7) 100%),
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80') center/cover no-repeat;
}

.hero-content { position: relative; z-index: 2; max-width: 780px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(22, 163, 74, 0.4);
    color: #86efac;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Stats */
.stats-bar {
    background: white;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
    font-size: 1.4rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Sections */
section { padding: 100px 0; }

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

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

/* About */
.about { background: var(--gray-50); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-images img {
    border-radius: var(--radius-lg);
    object-fit: cover;
    width: 100%;
    height: 280px;
    box-shadow: var(--shadow-lg);
}

.about-images img:first-child { margin-top: 40px; }

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-body { padding: 28px; }

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover { gap: 10px; }

/* Features */
.features { background: var(--dark); color: white; }

.features .section-header h2 { color: white; }
.features .section-header p { color: rgba(255,255,255,0.7); }
.features .section-tag { background: rgba(22,163,74,0.2); color: #86efac; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.feature-card .btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* Products */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-card.hidden { display: none; }

.product-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img { transform: scale(1.08); }

.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-body { padding: 22px; }

.product-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.product-body .meta {
    color: var(--gray-400);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--gray-600);
}

.view-all-wrap {
    text-align: center;
    margin-top: 48px;
}

.view-all-wrap .btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-wrap .btn:hover i {
    transform: translateX(4px);
}

/* Products page */
.page-hero {
    padding: 140px 0 60px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-hero p {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 560px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb a:hover { text-decoration: underline; }

.products-page {
    padding: 60px 0 100px;
}

.nav a.active { color: var(--primary); font-weight: 600; }

/* FAQ */
.faq { background: var(--gray-50); }

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
}

.faq-toggle {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 22px 70px;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 200px; }

/* CTA */
.cta-banner {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 50%, #86efac 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-alert.success { background: var(--primary-light); color: var(--primary-dark); }
.form-alert.error { background: #fef2f2; color: #dc2626; }

.contact-side img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    height: 350px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer-top {
    background: var(--primary);
    padding: 48px 0;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-top-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.footer-top-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.footer-top-item h4 { font-weight: 700; margin-bottom: 4px; }
.footer-top-item p { opacity: 0.85; font-size: 0.9rem; }

.footer-main {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo { color: white; margin-bottom: 20px; }

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links { display: flex; gap: 12px; }

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover { background: var(--primary); }

.footer-col h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover { color: var(--primary); }

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

.footer-bottom {
    background: #0a0f1a;
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav.open { transform: translateY(0); opacity: 1; }
    .mobile-toggle { display: block; }

    .about-grid,
    .contact-grid,
    .services-grid,
    .features-grid { grid-template-columns: 1fr; }

    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { margin-top: -30px; padding: 28px; }
    section { padding: 70px 0; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
