/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Colors */
    --bg-base: #0a0b0e;
    --bg-surface: rgba(20, 22, 28, 0.6);
    --bg-surface-hover: rgba(30, 34, 43, 0.8);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-color: #3b82f6; /* Blue tech accent */
    --accent-glow: rgba(59, 130, 246, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(59, 130, 246, 0.5);

    /* Typography */
    --font-family: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1100px;
    --section-padding: 80px 0;
    
    /* Effects */
    --transition: all 0.3s ease;
    --glass-blur: blur(12px);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Background Effects (Glow)
   ========================================================================== */
.bg-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10, 11, 14, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-2 {
    top: auto;
    bottom: -20%;
    left: auto;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(10, 11, 14, 0) 70%);
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title.small {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 32px; }

/* ==========================================================================
   Components
   ========================================================================== */
/* Glass Card */
.card-glass {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.card-glass:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-glass.highlight-border {
    position: relative;
}

.card-glass.highlight-border::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(135deg, var(--accent-color), transparent 60%);
    z-index: -1;
    border-radius: calc(var(--border-radius) + 1px);
    opacity: 0.5;
}

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

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-base);
}

.btn-primary:hover {
    background-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Checklist */
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-list i {
    color: var(--accent-color);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.check-list.small li {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Layout Sections
   ========================================================================== */
section {
    padding: var(--section-padding);
}

/* Header */
.header {
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

.header-logo {
    height: 32px;
    width: auto;
    display: block;
}

/* Hero */
.hero {
    padding-top: 60px;
    padding-bottom: 100px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.project-details {
    display: flex;
    gap: 40px;
    padding: 20px 32px;
    margin-bottom: 48px;
    display: inline-flex;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.detail-value {
    font-weight: 600;
    font-size: 1rem;
}

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

.hero-actions.center {
    justify-content: center;
}

/* Grid Sections (Context & others) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-main);
}

/* Scope */
.scope-content {
    max-width: 800px;
}

.scope-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.scope-note i {
    color: var(--accent-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Platform */
.platform-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.platform-icons {
    display: flex;
    gap: 24px;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 160px;
    height: 160px;
    font-weight: 600;
}

.icon-box i,
.icon-box .platform-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    color: var(--text-main);
}

/* Investment */
.investment-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.invest-card {
    display: flex;
    flex-direction: column;
}

.invest-header {
    margin-bottom: 24px;
}

.invest-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.invest-price {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.invest-price span {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
}

.invest-price.small {
    font-size: 2.5rem;
}

.invest-card.primary {
    padding: 48px;
}

.invest-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: auto;
}

.invest-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.invest-alert i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Timeline */
.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
}

/* Split Section (Responsabilidades & Benefícios / Condições & Passos) */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Conditions List */
.condition-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cond-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cond-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cond-label {
    color: var(--text-muted);
}

.cond-val {
    font-weight: 600;
    text-align: right;
}

/* Steps list */
.steps-list {
    counter-reset: custom-counter;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.steps-list li {
    position: relative;
    padding-left: 48px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.steps-list li::before {
    counter-increment: custom-counter;
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: -2px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

/* CTA Final */
.cta-content {
    text-align: center;
    padding: 64px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

.footer-highlight {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.footer-highlight strong {
    color: var(--accent-color);
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==========================================================================
   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.1s; }
.delay-2 { transition-delay: 0.2s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .investment-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }
    
    .project-details {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .invest-price {
        font-size: 2.8rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .cond-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .cond-val {
        text-align: left;
    }
    
    .step {
        flex-direction: column;
        gap: 16px;
    }
}
