/* 
   Inovare AI - Landing Page Styles
   Aesthetics: Dark Mode, Glassmorphism, Neon Gradients, Smooth Animations
*/

:root {
    --bg-dark: #050505;
    --bg-darker: #000000;
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #0F61E4; /* Updated to match reference site */
    --accent: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animations */
.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #000000;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15; /* Reduced from 0.5 for a cleaner look */
    animation: float 20s infinite alternate ease-in-out;
}
.orb-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: -100px; right: -100px;
}
.orb-2 {
    width: 300px; height: 300px;
    background: var(--secondary);
    bottom: -50px; left: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.2); }
}

@keyframes spin-border {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    from { transform: translateX(-100%) skewX(-15deg); }
    to { transform: translateX(200%) skewX(-15deg); }
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* FLASHLIGHT EFFECT */
.flashlight-card {
    position: relative;
    overflow: hidden;
}
.flashlight-card::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.2), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: soft-light;
}
.flashlight-card:hover::before {
    opacity: 1;
}

/* BEAM BUTTON (CANETA) */
.beam-btn-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9999px;
    padding: 2px;
    cursor: pointer;
    text-decoration: none;
}
.beam-btn-border {
    position: absolute;
    inset: -1000%;
    animation: spin-border 3s linear infinite;
    background: conic-gradient(from 0deg, transparent 0 340deg, var(--accent) 360deg);
}
.beam-btn-inner {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    border-radius: 9999px;
    background-color: var(--primary);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: background-color 0.3s;
}
.beam-btn-inner:hover {
    background-color: #1a2333;
}

/* TEXT OUTLINE (Modified for Dark Mode) */
.text-outline {
    -webkit-text-stroke: 1px rgba(255,255,255,0.8);
    color: transparent;
    transition: all 0.5s ease;
}

/* NOISE Overlay - Removed for Clean Look */
.noise-overlay {
    display: none;
}

/* Typography */
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
.text-gradient {
    background: linear-gradient(to right, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}
.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: #fff; }

.btn-login {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-right: 1.5rem;
    transition: text-shadow 0.3s;
}
.btn-login:hover { text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.glow-pulse {
    animation: glow-pulse 2s infinite alternate;
}
@keyframes glow-pulse {
    0% { box-shadow: 0 0 10px rgba(37, 211, 102, 0.4); }
    100% { box-shadow: 0 0 30px rgba(37, 211, 102, 0.8), 0 0 50px rgba(37, 211, 102, 0.4); }
}

/* Background Particles */
.particles-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}
.particle {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}
@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 0 5%;
    padding-top: 80px;
    max-width: 1400px;
    margin: 0 auto;
}
.hero-content {
    text-align: left;
}
.hero h1 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: none;
    animation: fadeInUp 1s ease forwards;
}
.hero p {
    text-align: left;
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease forwards 0.2s;
    opacity: 0;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease forwards 0.4s;
    opacity: 0;
}

/* Floating Image Artools Effects */
.hero-visual {
    position: relative;
    perspective: 1000px;
}
.hero-visual-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}
.hero-visual:hover .hero-visual-card {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
}
.scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
    z-index: 20;
    transform: translateY(-100%);
    transition: transform 1.5s ease-in-out;
    pointer-events: none;
}
.hero-visual:hover .scanline {
    transform: translateY(100%);
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1) brightness(0.7);
    transform: scale(1.05);
    mix-blend-mode: screen;
    opacity: 0.2; /* Subdued for a cleaner, non-porous look */
    transition: all 0.7s ease;
}
.hero-visual:hover .hero-img {
    filter: grayscale(0.5) contrast(1.1) brightness(0.9);
    opacity: 0.4;
    transform: scale(1);
}
.glass-widget {
    position: absolute;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: background 0.3s;
}
.glass-widget:hover {
    background: rgba(255,255,255,0.1);
}
.glass-widget.top-left { top: 2rem; left: 2rem; }
.glass-widget.bottom-right { bottom: 2rem; right: 2rem; text-align: right; }

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

/* Features */
.section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.2);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.feature-card h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.price-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.price-card.vip {
    border: 1px solid var(--secondary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
    transform: scale(1.05);
}
.price-card.vip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(to right, var(--accent), var(--secondary));
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.price-value { font-size: 3rem; font-weight: 700; margin-bottom: 2rem; }
.price-value span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.price-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}
.price-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.price-features li i { color: #10b981; }

.btn-outline {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    color: white;
    transition: background 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.price-card.vip .btn-primary { display: block; width: 100%; }

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
}

/* NOVAS SEÇÕES (Enterprise & FAQ) */
.bg-darker {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(255,255,255,0.01);
}
.faq-header:hover {
    background: rgba(255,255,255,0.04);
}
.faq-header i {
    color: var(--accent);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-header i {
    transform: rotate(180deg);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
}
.faq-item.active .faq-content {
    padding-bottom: 1.5rem;
    max-height: 500px;
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    .hero-content, .hero h1, .hero p {
        text-align: center;
        margin-left: auto; margin-right: auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .nav-links { display: none; }
    .price-card.vip { transform: scale(1); }
}

/* Ecosystem Section */
.ecosystem-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}
.eco-column {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}
.eco-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}
.eco-title i {
    color: var(--accent);
}
.eco-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.eco-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}
.eco-list li i {
    color: var(--accent);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}
.eco-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.highlight-list li i {
    color: #9d4edd;
}

@media (max-width: 992px) {
    .ecosystem-container {
        grid-template-columns: 1fr;
    }
    .eco-list {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp Button */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
    animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.float-wa:hover {
    transform: scale(1.15) !important;
    color: #fff;
}

/* Comparison Table */
.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}
.comp-table {
    display: flex;
    flex-direction: column;
}
.comp-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 1rem;
}
.comp-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    transition: background 0.3s;
}
.comp-row:hover {
    background: rgba(255, 255, 255, 0.03);
}
.comp-col {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.human-col {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.font-medium {
    font-weight: 500;
    color: #fff;
}
.text-green-400 { color: #4ade80; }
.text-red-400 { color: #f87171; }

@media (max-width: 768px) {
    .comp-header, .comp-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .human-col {
        border-right: none;
        border-left: none;
        padding-top: 0;
        padding-bottom: 0;
    }
    .comp-col {
        padding: 0.25rem 0.5rem;
    }
    .comp-header .comp-col { display: none; }
    .comp-header .comp-col:first-child { display: block; }
}
