:root {
    /* Colors */
    --primary: #0d8f47;
    --primary-dark: #0a6b35;
    --primary-light: #4ade80;
    --secondary: #16a34a;
    --accent: #22c55e;
    --success: #10b981;
    --danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0d8f47 0%, #0a6b35 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #0d8f47 50%, #16a34a 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f0fdf4;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --rounded-sm: 0.375rem;
    --rounded: 0.5rem;
    --rounded-lg: 0.75rem;
    --rounded-xl: 1rem;
    --rounded-2xl: 1.5rem;
    --rounded-3xl: 2rem;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-50);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
    min-height: 70px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition);
}

.nav-logo i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    position: relative;
    transition: var(--transition-fast);
    padding: var(--space-2) 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: #ffcc05;
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--rounded-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1003;
    position: relative;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: var(--space-20) var(--space-6) var(--space-6);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        display: flex;
    }

    .nav-menu.mobile-active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: var(--space-4) 0;
        color: var(--gray-700);
        border-bottom: 1px solid var(--gray-200);
        text-align: left;
    }

    .nav-link:hover {
        color: var(--primary);
        background: var(--gray-50);
        padding-left: var(--space-2);
    }

    .nav-cta {
        width: 100%;
        margin-top: var(--space-6);
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><defs><linearGradient id="wave1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0.05)"/></linearGradient></defs><path d="M0,400 C320,200 480,600 720,400 C960,200 1120,600 1440,400 L1440,800 L0,800 Z" fill="url(%23wave1)"/></svg>') no-repeat center bottom;
    background-size: cover;
    opacity: 0.6;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--space-6);
}

.hero-text .highlight {
    color: #4ade80;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-12);
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--rounded-lg);
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-6) var(--space-12);
    border-radius: var(--rounded-xl);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #FFC107;
    color: var(--gray-900);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    color: var(--gray-900);
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

/* Section Styles */
.section {
    padding: var(--space-24) 0;
    width: 100%;
    box-sizing: border-box;
}

.section-white {
    background: white;
}

.section-gray {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-24);
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.gallery-item {
    background: white;
    border-radius: var(--rounded-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: var(--space-8);
}

.gallery-caption h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.gallery-caption p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-12);
}

.feature-card {
    background: var(--gradient-card);
    padding: var(--space-12);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--rounded-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(13, 143, 71, 0.4);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    color: var(--gray-700);
    font-size: 0.875rem;
}

.feature-list i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Specifications */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.spec-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--rounded-xl);
    border: 2px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.spec-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 15px rgba(13, 143, 71, 0.2);
}

.spec-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.spec-card ul {
    list-style: none;
}

.spec-card li {
    color: var(--gray-600);
    margin-bottom: var(--space-2);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--space-6);
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: var(--space-12);
    opacity: 0.9;
}

.cta .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

/* Image Modal for Full Screen View */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    z-index: 10001;
}

.modal-close {
    position: absolute;
    top: -60px;
    right: -20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 10002;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 143, 71, 0.8);
    border: 2px solid rgba(13, 143, 71, 0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 10002;
}

.modal-nav:hover {
    background: rgba(13, 143, 71, 1);
    border-color: rgba(13, 143, 71, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(13, 143, 71, 0.4);
}

.modal-prev {
    left: -80px;
}

.modal-next {
    right: -80px;
}

.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 70vh;
    overflow: hidden;
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-2xl);
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--rounded-2xl);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.modal-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--rounded-2xl);
    padding: var(--space-6);
    max-width: 500px;
    text-align: center;
    color: white;
}

.modal-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: white;
}

.modal-info p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

.modal-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.modal-counter span {
    background: rgba(13, 143, 71, 0.8);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--rounded-lg);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(13, 143, 71, 0.6);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .modal-close {
        top: -50px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .modal-prev {
        left: -60px;
    }

    .modal-next {
        right: -60px;
    }

    .modal-image-container {
        max-height: 60vh;
    }

    .modal-info {
        max-width: 90%;
        padding: var(--space-4);
    }

    .modal-info h3 {
        font-size: 1.25rem;
    }

    .modal-info p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .modal-prev {
        left: -40px;
    }

    .modal-next {
        right: -40px;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .modal-close {
        top: -40px;
        right: 0;
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(13, 143, 71, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(13, 143, 71, 0.5);
    background: linear-gradient(135deg, #16a34a 0%, #0d8f47 100%);
}

.back-to-top:active {
    transform: translateX(-50%) translateY(-2px) scale(0.95);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }
    
    .gallery-grid {
        gap: var(--space-10);
    }
    
    .gallery-item img {
        height: 300px;
    }

    .cta .hero-actions {
        gap: var(--space-5);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero {
        min-height: 80vh;
        padding: var(--space-16) 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: var(--space-4);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .gallery-item img {
        height: 280px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .cta .hero-actions {
        flex-direction: column;
        gap: var(--space-4);
    }

    .cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .badge {
        font-size: 0.75rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1.125rem;
    }

    .cta .btn {
        font-size: 0.9rem;
        padding: var(--space-5) var(--space-8);
    }

    .back-to-top {
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}