/* style.css - Vibe TI */

/* ============================================================
   1. Variáveis e Reset
============================================================ */
:root {
    --bg-dark: #0a0b10;
    --bg-card: rgba(20, 22, 35, 0.6);
    --bg-banner: rgba(30, 35, 60, 0.5);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    /* Core Accents */
    --accent-blue: #00f0ff;
    --accent-purple: #b026ff;
    --accent-blue-hover: #00d4ff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    --gradient-glow: linear-gradient(90deg, rgba(0,240,255,0.15) 0%, rgba(176,38,255,0.15) 100%);
    
    /* Glassmorphism */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Google Sans', 'Outfit', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* ============================================================
   2. Tipografia & Core
============================================================ */
h1, h2, h3, h4 {
    color: #ffffff;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ============================================================
   3. Botões & Inputs
============================================================ */
.btn-primary, .btn-primary-small, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    padding: 16px 32px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
}

.btn-primary-small {
    background: var(--gradient-primary);
    color: #fff;
    padding: 10px 24px;
    font-size: 0.95rem;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 14px 30px;
    font-size: 1.1rem;
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.large-btn {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* ============================================================
   4. Navbar
============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary-small) {
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-links a:not(.btn-primary-small):hover {
    color: var(--accent-blue);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* ============================================================
   5. Hero Section
============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(176, 38, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
    overflow: hidden;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMSIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvc3ZnPg==');
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* ============================================================
   6. Glassmorphism & Cards (Services)
============================================================ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(30, 35, 60, 0.6);
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.highlight-purple {
    background: rgba(176, 38, 255, 0.1);
    color: var(--accent-purple);
}

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

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 16px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: #fff;
}

/* ============================================================
   7. Benefits Section (Why Us)
============================================================ */
.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.1rem;
}

.benefits-list i {
    color: var(--accent-blue);
    font-size: 1.4rem;
    margin-top: 2px;
}

/* Code Mockup */
.mockup {
    background: #0d1117;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

.mockup-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 24px;
}

.color-blue { color: #79c0ff; }
.color-name { color: #d2a8ff; }
.color-string { color: #a5d6ff; }
.color-comment { color: #8b949e; }

/* ============================================================
   8. Banner / Bottom CTA
============================================================ */
.glass-banner {
    background: var(--bg-banner);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.glass-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(176,38,255,0.1) 0%, transparent 60%);
    z-index: -1;
}

.glass-banner h2 {
    margin-bottom: 20px;
}

/* ============================================================
   9. Footer
============================================================ */
footer {
    background: #050508;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 300px;
    font-size: 1rem;
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   10. WhatsApp Floating Button
============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.tooltip-text {
    position: absolute;
    right: 75px;
    background: #fff;
    color: #333;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tooltip-text::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   11. Animations (Scroll Reveal & Keyframes)
============================================================ */
.fade-in { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; }

.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* ============================================================
   12. Responsive Design
============================================================ */
@media (max-width: 991px) {
    .benefits-content, .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-image {
        order: -1;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 11, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
    }
    
    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}
