/* Variaveis e Cores Globais */
:root {
    --color-bg-base: #06080b;
    --color-bg-panel: rgba(18, 22, 31, 0.45);
    --color-primary: #00e1ff;
    --color-primary-glow: rgba(0, 225, 255, 0.35);
    --color-secondary: #5e00ff;
    --color-accent: #00ffd1;
    --color-text-main: #f1f5f9;
    --color-text-muted: #94a3b8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --glass-border: 1px solid rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Background Effects Container */
.background-effects {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.5;
}
.glow-1 {
    top: -10%; left: -10%;
    width: 55vw; height: 55vw;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
}
.glow-2 {
    bottom: -15%; right: -5%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 60%);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section {
    padding: 7rem 0;
}
.section-dark {
    background: linear-gradient(180deg, rgba(6,8,11,0) 0%, rgba(3,5,8,0.9) 100%);
    border-top: 1px solid rgba(255,255,255,0.02);
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary), #a370ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-accent {
    color: var(--color-accent);
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(6, 8, 11, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
    transition: var(--transition);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo span {
    color: var(--color-primary);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), #007aff);
    color: #000;
    box-shadow: 0 4px 20px var(--color-primary-glow);
}
.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(0, 225, 255, 0.5);
    transform: translateY(-3px) scale(1.02);
}
.btn-secondary {
    background: var(--color-bg-panel);
    color: #fff;
    border: var(--glass-border);
    backdrop-filter: blur(12px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}
.hero-content {
    max-width: 850px;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 225, 255, 0.08);
    border: 1px solid rgba(0, 225, 255, 0.2);
    border-radius: 30px;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
}
.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Impact Section */
.impact-section {
    padding: 0 0 4rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}
.impact-image-wrapper {
    position: relative;
    padding: 0.8rem;
    border-radius: 32px;
}
.impact-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    display: block;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
}
.image-overlay-text {
    position: absolute;
    bottom: 3.5rem;
    left: 4rem;
    background: rgba(6, 8, 11, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 225, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.image-overlay-text h4 {
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1.6rem;
}
.image-overlay-text p {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Grid & Cards */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}
.section-header h2 {
    font-size: 2.5rem;
}
.section-header p {
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.grid {
    display: grid;
    gap: 2.5rem;
}
.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Glass Panels */
.glass-panel {
    background: var(--color-bg-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}
.glass-panel:hover::before {
    left: 150%;
}
.glass-panel:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 225, 255, 0.08);
    border: 1px solid rgba(0, 225, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 2rem;
}
.glass-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.4;
}
.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 800;
}

/* Flex Layouts */
.container-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}
.flex-half {
    flex: 1;
    min-width: 320px;
}
.flex-center {
    display: flex;
    justify-content: center;
}

.check-list {
    list-style: none;
    margin-top: 2.5rem;
}
.check-list li {
    margin-bottom: 1.8rem;
    padding-left: 2.8rem;
    position: relative;
    color: var(--color-text-muted);
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 22px;
    height: 22px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300ffd1" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center;
    background-size: contain;
}
.check-list strong {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.glow-box {
    background: rgba(18,22,31,0.5);
    border: 1px solid var(--color-accent);
    padding: 4rem;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 255, 209, 0.15), inset 0 0 40px rgba(0, 255, 209, 0.08);
    position: relative;
    animation: pulse 4s infinite alternate;
}
@keyframes pulse {
    0% { box-shadow: 0 0 50px rgba(0, 255, 209, 0.1), inset 0 0 30px rgba(0, 255, 209, 0.05); }
    100% { box-shadow: 0 0 80px rgba(0, 255, 209, 0.25), inset 0 0 50px rgba(0, 255, 209, 0.15); transform: scale(1.02); }
}
.shield-icon {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    border-radius: 40px 40px 0 0;
    margin-top: 3rem;
    border-bottom: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand .logo {
    font-size: 2rem;
}
.footer-brand p {
    color: var(--color-text-muted);
    max-width: 400px;
    margin-top: 1.5rem;
    font-size: 1.05rem;
}
.footer-links h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-links p {
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
    padding: 0.5rem;
}
.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: #fff;
    transition: var(--transition);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100vw; height: 100vh;
        background: rgba(6,8,11,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero {
        padding-top: 7rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .container-flex {
        flex-direction: column;
        gap: 3rem;
    }
    .glow-box {
        border-radius: 32px;
        aspect-ratio: auto;
        padding: 3rem 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .image-overlay-text {
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
        padding: 1.2rem;
    }
    .image-overlay-text h4 {
        font-size: 1.3rem;
    }
}

/* Animations Trigger Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}
