:root {
    --primary-blue: #0f172a;
    --secondary-blue: #1e40af;
    --accent-blue: #3b82f6;
    --light-blue: #60a5fa;
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --shadow-primary: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-secondary: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

.navbar-brand img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-brand:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(96, 165, 250, 0.5));
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--light-blue) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--light-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    font-weight: 300;
}

.hero-highlight {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.btn-hero {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
    border: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Hero Images */
.hero-logo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-logo img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.hero-ecosystem {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.hero-ecosystem img {
    max-height: 300px;
    width: auto;
    object-fit: contain;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 4rem 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Ecosystem Section */
.ecosystem-section {
    background: var(--bg-light);
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    position: relative;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-weight: 400;
}

.ecosystem-image {
    text-align: center;
    margin: 3rem 0;
}

.ecosystem-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    background: transparent;
    padding: 0;
    object-fit: contain;
}

.ecosystem-image img:hover {
    transform: none;
}


.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ecosystem-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-secondary);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.ecosystem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
}

.ecosystem-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    padding: 10px;
}

.ecosystem-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Cores específicas dos ícones */
.zapline-icon {
    background: linear-gradient(135deg, #ffffff, #ffffff) !important;
}

.workmaps-icon {
    background: linear-gradient(135deg, #ffffff, #ffffff) !important;
}

.notfacil-icon {
    background: linear-gradient(135deg, #ffffff, #ffffff) !important;
}

.gesassina-icon {
    background: linear-gradient(135deg, #ffffff, #ffffff) !important;
}

.appguard-icon {
    background: linear-gradient(135deg, #ffffff, #ffffff) !important;
}

.fonechat-icon {
    background: linear-gradient(135deg, #ffffff, #ffffff) !important;
}

.ecosystem-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.ecosystem-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Advantages Section */
.advantages-section {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    position: relative;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.advantage-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    font-size: 2rem;
    flex-shrink: 0;
}

.advantage-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.advantage-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: var(--bg-dark);
    color: white;
    padding: 6rem 0;
}

.form-control {
    border: none;
    border-radius: 15px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    color: white;
}

.btn-submit {
    background: var(--gradient-secondary);
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    color: white;
}

/* Footer */
.footer {
    background: #0a0f1c;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 2rem;
}

.footer img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.footer img:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .hero-logo img {
        max-height: 80px;
    }

    .hero-ecosystem {
        padding: 20px;
    }

    .hero-ecosystem img {
        max-height: 200px;
    }

    .ecosystem-image img {
        padding: 0;
    }

    .navbar-brand img {
        max-height: 30px;
    }

    .footer img {
        max-height: 25px;
    }
}

/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-circle:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}
