/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Geometric Background Decorations ===== */
.geo-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 245, 200, 0.5) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-triangle {
    position: fixed;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 0;
}

.geo-triangle--1 {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(16, 185, 129, 0.04);
    top: 30%;
    left: 5%;
    transform: rotate(15deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-square {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.geo-square--1 {
    width: 80px;
    height: 80px;
    background: rgba(253, 245, 200, 0.4);
    border: 2px solid rgba(253, 245, 200, 0.6);
    top: 60%;
    right: 8%;
    transform: rotate(45deg);
    animation: float-slow 14s ease-in-out infinite reverse;
}

/* CTA Section Decorations */
.geo-circle--cta1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    top: -100px;
    left: -100px;
    animation: float-slow 16s ease-in-out infinite;
}

.geo-square--cta1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -30px;
    right: 10%;
    animation: float-slow 12s ease-in-out infinite reverse;
}

.geo-triangle--cta1 {
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid rgba(255, 255, 255, 0.05);
    top: 20%;
    right: 5%;
    transform: rotate(-15deg);
    animation: float-slow 10s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-25px) rotate(1deg); }
}

/* ===== Navigation ===== */
.nav-header {
    background: rgba(255, 251, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
    transition: all duration-300;
}

.nav-header.scrolled {
    background: rgba(255, 251, 240, 0.95);
    box-shadow: 0 4px 30px rgba(6, 78, 59, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-link {
    position: relative;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #059669;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #059669;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 14px;
    border: 2px solid #059669;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #059669;
    color: #fff;
    transform: translateY(-2px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #059669;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    background: #ecfdf5;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero-section {
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
}

.hero-image-grid {
    position: relative;
}

.hero-img-card {
    position: relative;
    min-height: 200px;
}

.hero-img-card--1 { min-height: 350px; }
.hero-img-card--2 { min-height: 280px; }
.hero-img-card--3 { min-height: 240px; }
.hero-img-card--4 { min-height: 300px; }

/* Floating Cards */
.floating-card {
    position: absolute;
    z-index: 10;
}

.floating-card--1 {
    top: 10%;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.floating-card--2 {
    bottom: 25%;
    left: -30px;
    animation: float 5s ease-in-out infinite 1s;
}

.floating-card--3 {
    bottom: 5%;
    right: 10%;
    animation: float 4.5s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Scroll Indicator */
.scroll-indicator {
    opacity: 0.6;
    animation: fade-in-out 2s ease-in-out infinite;
}

@keyframes fade-in-out {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* ===== Products Section ===== */
.section-products {
    position: relative;
}

.product-card {
    background: #fff;
    border-radius: 24px;
    padding: 8px;
    border: 1px solid rgba(6, 95, 70, 0.06);
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(6, 78, 59, 0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(6, 78, 59, 0.12);
    border-color: rgba(5, 150, 105, 0.15);
}

.product-card-img {
    overflow: hidden;
    border-radius: 18px;
}

/* ===== About Section ===== */
.section-about {
    position: relative;
}

.about-img-main {
    border-radius: 32px;
}

/* ===== Testimonials ===== */
.testimonial-card {
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

/* ===== Contact Form ===== */
.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #d1fae5;
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #064e3b;
    background: #fef7e0;
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: #6ee7b7;
}

.input-field:focus {
    border-color: #059669;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.input-field:hover:not(:focus) {
    border-color: #34d399;
}

.success-message {
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal.revealed-delay-1 { transition-delay: 0.1s; }
.reveal.revealed-delay-2 { transition-delay: 0.2s; }
.reveal.revealed-delay-3 { transition-delay: 0.3s; }
.reveal.revealed-delay-4 { transition-delay: 0.4s; }
.reveal.revealed-delay-5 { transition-delay: 0.5s; }

/* ===== Section Spacing ===== */
.section-products,
.section-about,
.section-testimonials,
.section-cta,
.section-contact {
    position: relative;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-image-grid {
        max-width: 400px;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }

    .floating-card--1 {
        display: block;
        top: 5%;
        right: -10px;
    }

    .floating-card--2 {
        display: block;
        bottom: 20%;
        left: -10px;
    }

    .floating-card--3 {
        display: block;
        bottom: 0;
        right: 5%;
    }

    .geo-circle--1,
    .geo-circle--2,
    .geo-circle--3,
    .geo-triangle--1,
    .geo-square--1 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta,
    .btn-cta-secondary {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}
