/* BRASIL STARTUP - DESIGN REVOLUCIONÁRIO ULTRA PREMIUM */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* CORES BRASIL 🇧🇷 */
    --brasil-green: #00A86B;
    --innovation-green: #20E38A;
    --electric-green: #62F229;
    --brasil-blue: #0759D9;
    --innovation-blue: #009FEF;
    --deep-blue: #071B33;
    --graphite: #171A1F;
    --light-gray: #E5E7E9;

    /* Mapeamento */
    --primary: var(--innovation-green);
    --secondary: var(--brasil-blue);
    --accent: var(--electric-green);
    --dark: var(--graphite);
    --darker: var(--deep-blue);
    --light: #ffffff;

    --gray-100: #f8f9fa;
    --gray-200: var(--light-gray);
    --gray-300: #dee2e6;
    --gray-700: #495057;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.15);

    --gradient-1: linear-gradient(135deg, var(--brasil-green) 0%, var(--innovation-green) 50%, var(--electric-green) 100%);
    --gradient-2: linear-gradient(135deg, var(--brasil-blue) 0%, var(--innovation-blue) 100%);
    --gradient-3: linear-gradient(135deg, var(--innovation-green) 0%, var(--brasil-blue) 100%);
    --gradient-brasil: linear-gradient(180deg, var(--innovation-green) 0%, var(--brasil-green) 50%, var(--brasil-blue) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--darker);
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 168, 107, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(7, 89, 217, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(32, 227, 138, 0.08) 0%, transparent 50%);
    animation: drift 20s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, -5%) rotate(5deg); }
    66% { transform: translate(-5%, 5%) rotate(-5deg); }
}

/* ===== NAVBAR ULTRA PREMIUM ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

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

.btn-nav {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    border-radius: 50px;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-nav:hover::before {
    width: 300px;
    height: 300px;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 245, 160, 0.4);
}

/* ===== CAROUSEL DE STARTUPS NO HEADER ===== */
.startups-ticker {
    background: rgba(0, 245, 160, 0.05);
    border-top: 1px solid rgba(0, 245, 160, 0.2);
    border-bottom: 1px solid rgba(0, 245, 160, 0.2);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    margin-top: 80px;
}

.startups-ticker::before,
.startups-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.startups-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--darker) 0%, transparent 100%);
}

.startups-ticker::after {
    right: 0;
    background: linear-gradient(270deg, var(--darker) 0%, transparent 100%);
}

.ticker-wrapper {
    display: flex;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 2rem;
    white-space: nowrap;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.ticker-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ===== HERO REVOLUCIONÁRIO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 245, 160, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 160, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    max-width: 1400px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 245, 160, 0.1);
    border: 1px solid rgba(0, 245, 160, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
    backdrop-filter: blur(10px);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: -0.02em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% auto;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--dark);
    box-shadow: 0 4px 24px rgba(0, 245, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 48px rgba(0, 245, 160, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ===== STATS COM GLASSMORPHISM ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 245, 160, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ===== CARDS 3D MODERNOS ===== */
.section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.card-3d {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transform-style: preserve-3d;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
}

.card-3d:hover::before {
    opacity: 0.1;
}

.card-3d:hover {
    transform: translateY(-10px) translateZ(20px);
    border-color: rgba(0, 245, 160, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 245, 160, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.card-3d:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.card-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.card-count {
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 245, 160, 0.3), transparent);
    top: 20%;
    left: 10%;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.3), transparent);
    bottom: 10%;
    right: 10%;
    animation-delay: -10s;
}

/* ===== FOOTER MODERNO ===== */
.footer {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 2rem 2rem;
    margin-top: 8rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== NAVBAR AJUSTES 2026 ===== */
.navbar {
    background: rgba(240, 245, 250, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.navbar .logo {
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
}

.navbar .logo img {
    filter: brightness(0) saturate(100%) !important;
}

.nav-menu a {
    color: #2d3436 !important;
    font-weight: 600 !important;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--brasil-green) !important;
}

.btn-nav {
    background: linear-gradient(135deg, var(--brasil-green), var(--brasil-blue)) !important;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.25) !important;
}

.btn-nav:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.4) !important;
}

/* ===== FOOTER AJUSTES ===== */
.footer {
    background: linear-gradient(180deg, rgba(0, 168, 107, 0.15), rgba(7, 89, 217, 0.15)) !important;
    backdrop-filter: blur(20px) !important;
}

.footer .logo img {
    height: 60px !important;
    width: auto !important;
}

/* ===== ADMIN LOGO ===== */
.admin-layout .logo img {
    height: 50px !important;
    width: auto !important;
}
