/* Design System Variables - Pine Needle Palette */
:root {
    --bg-dark: #0F2A1E;
    --accent-teal: #2F7A5B;
    --secondary-moss: #A7BFA7;
    --text-neutral: #E7E2D3;
    
    /* Additional structural colors */
    --surface-dark: rgba(25, 50, 38, 0.4);
    --glass-border: rgba(167, 191, 167, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--text-neutral); /* Light base, specific sections dark */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Utilities */
.pt-100 { padding-top: 100px; }
.pb-50 { padding-bottom: 50px; }
.pb-100 { padding-bottom: 100px; }
.mt-10 { margin-top: 10px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mt-100 { margin-top: 100px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.text-center { text-align: center; }
.d-block { display: block; }
.flex-col { display: flex; flex-direction: column;}
.justify-center { justify-content: center; }

/* Text Colors */
.text-light { color: var(--text-neutral); }
.text-light-muted { color: rgba(231, 226, 211, 0.7); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
    background-color: var(--accent-teal);
    color: var(--text-neutral);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: #266349;
    box-shadow: 0 8px 24px rgba(47, 122, 91, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-dark);
    border: 1px solid var(--accent-teal);
}

.btn-secondary:hover {
    background-color: rgba(47, 122, 91, 0.05);
    transform: translateY(-2px);
}

.hero .btn-secondary {
    border-color: var(--text-neutral);
    color: var(--text-neutral);
}
.hero .btn-secondary:hover {
    background-color: rgba(231, 226, 211, 0.1);
}

/* Glassmorphism */
.glass {
    background: var(--surface-dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Grids */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.items-center { align-items: center; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: rgba(15, 42, 30, 0.0);
}

.navbar.scrolled {
    background: rgba(15, 42, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(231, 226, 211, 0.1);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-neutral);
    letter-spacing: -0.5px;
}
.navbar:not(.scrolled) .logo-text, .navbar:not(.scrolled) .nav-link {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* contrast against hero BG if light */
}

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

.nav-link {
    color: var(--text-neutral);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-teal);
    transition: var(--transition-smooth);
}

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

.nav-link:hover {
    color: var(--secondary-moss);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: scale(1.05); /* Slight scale for breathing animation */
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

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

.hero-title {
    font-size: 4.5rem;
    color: var(--text-neutral);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero-title span {
    color: var(--secondary-moss);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--accent-teal);
    opacity: 0.5;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(231, 226, 211, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Social Proof */
.social-proof {
    border-top: 1px solid rgba(231, 226, 211, 0.2);
    padding-top: 30px;
    color: rgba(231, 226, 211, 0.8);
    font-size: 0.9rem;
}

.proof-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.logo-placeholder {
    font-family: var(--font-heading);
    font-weight: 600;
    opacity: 0.6;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    color: var(--secondary-moss);
}

.logo-placeholder:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--text-neutral);
}

/* Section Common */
.section {
    padding-bottom: 100px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.badge-floresta {
    background-color: rgba(47, 122, 91, 0.1);
    color: var(--accent-teal);
    border: 1px solid rgba(47, 122, 91, 0.3);
}

.badge-flowker {
    background-color: rgba(167, 191, 167, 0.1);
    color: var(--secondary-moss);
    border: 1px solid rgba(167, 191, 167, 0.3);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.1rem;
    color: rgba(15, 42, 30, 0.7);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* floresta.cloud Section */
.floresta-section {
    background-color: var(--text-neutral);
    position: relative;
}

.feature-card {
    padding: 40px;
    background: #ffffff;
    border: 1px solid rgba(15, 42, 30, 0.05);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(15, 42, 30, 0.03);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 42, 30, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.feature-card p {
    color: rgba(15, 42, 30, 0.7);
}

.integration-text {
    padding-right: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.feature-list span {
    color: var(--accent-teal);
    background: rgba(47, 122, 91, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.mockup-placeholder {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(47, 122, 91, 0.1), rgba(167, 191, 167, 0.2));
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(15, 42, 30, 0.15);
    border: 1px solid rgba(47, 122, 91, 0.2);
    transition: transform 0.5s ease;
}

.integration-visual:hover .mockup-placeholder {
    transform: scale(1.02);
}

/* Flowker Section */
.flowker-section {
    background-color: var(--bg-dark);
    color: var(--text-neutral);
    position: relative;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -40px;
    z-index: 10;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.1);
}

.flowker-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(167, 191, 167, 0.1);
    transform: translateX(10px);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(167, 191, 167, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(167, 191, 167, 0.2);
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-neutral);
}

.mockup-placeholder.dark {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.shadow-hover:hover {
    box-shadow: 0 10px 30px rgba(47, 122, 91, 0.2);
}

/* Footer & Contact */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-neutral);
    position: relative;
}

.contact-info {
    padding: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    color: var(--text-neutral);
}

.contact-method:hover {
    color: var(--secondary-moss);
    transform: translateX(5px);
}

.contact-method .icon {
    font-size: 1.3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(231, 226, 211, 0.1);
    padding-top: 30px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

/* Responsive */
@media (max-width: 900px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .flowker-section {
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
    }
    
    .mockup-placeholder {
        height: 300px;
    }
}
