/* ==========================================================================
   Design System & Variables
   ========================================================================== */
   :root {
    /* Colors - Deep Forest & Nature Theme (Climate Tech Aesthetic) */
    --color-bg: #090e0c;          /* Very dark green/black for background */
    --color-bg-alt: #0d1612;      /* Slightly lighter dark green for sections */
    --color-text: #e2e8e4;        /* Off-white for readability */
    --color-text-muted: #94a39b;  /* Muted green-gray for secondary text */
    
    --color-primary: #1fb96c;     /* Vibrant tech green */
    --color-primary-glow: rgba(31, 185, 108, 0.2);
    --color-secondary: #e6b840;   /* Muted gold/honey for accents */
    --color-secondary-glow: rgba(230, 184, 64, 0.15);
    
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-surface-hover: rgba(255, 255, 255, 0.06);
    --color-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 8rem;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

p {
    text-align: justify;
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Typography Helpers
   ========================================================================== */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.section-desc {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
}

.section-desc.centered {
    margin: 0 auto 3rem auto;
}

.lead-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1rem;
}

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

.highlight {
    color: var(--color-primary);
}

/* ==========================================================================
   Components
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: #000;
}

.btn-primary:hover {
    background: #179b59;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: var(--color-border);
}

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

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-tech {
    background: rgba(31, 185, 108, 0.1);
    color: var(--color-primary);
    border-color: rgba(31, 185, 108, 0.2);
}

/* Glass & Cards */
.glass-card, .card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.card:hover {
    background: var(--color-surface-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Layouts
   ========================================================================== */
.section {
    padding: var(--space-xxl) 0;
}

.dark-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.split-layout.align-center {
    align-items: center;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .split-layout.reverse > .split-content {
        order: 2;
    }
    .split-layout.reverse > .split-visual {
        order: 1;
    }
}

/* ==========================================================================
   Specific Sections
   ========================================================================== */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 14, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo-plus {
    color: var(--color-primary);
    margin: 0 0.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:not(.btn):hover {
    color: #fff;
}

@media (max-width: 768px) {
    .nav-links a:not(.btn) {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(31, 185, 108, 0.15) 0%, rgba(9, 14, 12, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
    }
}

/* Visuals (Images) */
.image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--color-border);
}

.illustrative-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.image-wrapper:hover .illustrative-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(9, 14, 12, 0) 60%, rgba(9, 14, 12, 0.6) 100%);
    pointer-events: none;
}

/* ASFControl Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.metric-item {
    font-size: 0.9rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

/* Dados Auditáveis */
.dados-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.dado-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
}

.dado-icon {
    font-size: 1.2rem;
}

/* Tese */
.tese-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.tese-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--color-secondary);
}

/* Ecossistema Diagrama */
.diagrama-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

.node {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    width: 300px;
    z-index: 2;
    position: relative;
}

.node.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px var(--color-primary-glow);
}

.node.highlight-node {
    background: rgba(255, 255, 255, 0.05);
}

.node.bee-refi-node {
    border-color: var(--color-secondary);
    box-shadow: 0 0 30px var(--color-secondary-glow);
}

.node-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.node h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.node p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.connector {
    width: 2px;
    height: 40px;
    background: var(--color-border);
    margin: 0;
    position: relative;
}

.connector::after {
    content: '↓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-text-muted);
    font-size: 12px;
    background: var(--color-bg);
    padding: 4px;
}

.app-nodes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 800px;
    margin-top: 2rem;
}

.app-node {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

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

/* ASF Dashboard Mockup */
.asf-dashboard-mockup {
    background: #111a15;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.mockup-header {
    background: #16221c;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.mockup-body {
    padding: 2rem;
}

.mockup-line {
    height: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    margin-bottom: 1rem;
}
.w-75 { width: 75%; }
.w-50 { width: 50%; margin-bottom: 2rem; }

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mockup-box {
    height: 150px;
    background: rgba(31, 185, 108, 0.05);
    border: 1px solid rgba(31, 185, 108, 0.2);
    border-radius: var(--border-radius);
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

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

.feature-list strong {
    color: #fff;
}

/* Oportunidades (Compactas) */
.grid-cards-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.grid-cards-compact .card {
    padding: 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-cards-compact .card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transform: none;
}

.grid-cards-compact .card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.grid-cards-compact .card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.card.highlight {
    border-color: var(--color-primary);
    background: rgba(31, 185, 108, 0.03);
}

/* Abelhas Nativas */
.impact-list {
    list-style: none;
    margin-top: 2rem;
}

.impact-list li {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.impact-list strong {
    display: block;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.nature-abstract {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon {
    position: absolute;
    width: 100px;
    height: 115px;
    background: rgba(230, 184, 64, 0.05);
    border: 1px solid rgba(230, 184, 64, 0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

.hex-1 { transform: translate(-60px, -40px) scale(1.2); }
.hex-2 { transform: translate(60px, -20px) scale(0.9); }
.hex-3 { transform: translate(0, 60px) scale(1.5); }

/* Timeline / Por que Agora */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

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

.timeline-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.timeline-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Roadmap */
.roadmap-container {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.roadmap-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
}

.roadmap-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 82px;
    padding: 0.5rem 0;
    text-align: right;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.step-marker::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
}

.completed .step-marker { color: var(--color-primary); }
.completed .step-marker::after { background: var(--color-primary); border-color: var(--color-primary); }

.in-progress .step-marker { color: #fff; }
.in-progress .step-marker::after { background: var(--color-secondary); border-color: var(--color-secondary); }

.step-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.step-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Fundadores */
.fundadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.fundador-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
}

.fundador-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.fundador-role {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 6rem 0 2rem 0;
    border-top: 1px solid var(--color-border);
    background: #050806;
}

.footer-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: rgba(255,255,255,0.3);
    font-size: 0.875rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
