/* ==========================================================================
   ELETRO ERP - Liquid Glass Design System
   ========================================================================== */

:root {
    /* Color Palette - Refined & Natural */
    --primary-red: #c81e3d;
    --primary-red-dark: #a0152e;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --border-light: rgba(226, 232, 240, 0.8);
    
    /* Liquid Glass Methodology Tokens */
    --liquid-glass-bg: rgba(255, 255, 255, 0.82);
    --liquid-glass-border: rgba(255, 255, 255, 0.95);
    --liquid-glass-shadow: 0 16px 36px 0 rgba(31, 38, 135, 0.05);
    --liquid-glass-glow: 0 20px 45px 0 rgba(31, 38, 135, 0.09);
    
    /* Typography & Layout */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --max-width: 1240px;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.75rem;
    --radius-pill: 9999px;
    
    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--slate-50);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(200, 30, 61, 0.02) 0%, transparent 70%), var(--slate-50);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container Layout */
.container {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Clean Button System */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-pill-primary {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(200, 30, 61, 0.2);
}

.btn-pill-primary:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200, 30, 61, 0.3);
}

.btn-pill-secondary {
    background-color: var(--white);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.btn-pill-secondary:hover {
    background-color: var(--slate-100);
    color: var(--slate-900);
    border-color: var(--slate-300);
}

.btn-pill-white {
    background-color: var(--white);
    color: var(--primary-red);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.btn-pill-white:hover {
    background-color: var(--slate-50);
    transform: translateY(-1px);
}

/* Header & Navigation */
.header-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo-brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--primary-red);
    display: flex;
    align-items: center;
}

.logo-tag {
    color: var(--slate-400);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-left: 0.35rem;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-600);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-red);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-600);
    padding: 0.5rem 0;
}

.dropdown-trigger:hover {
    color: var(--primary-red);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    width: 17rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
    padding: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--slate-100);
}

.dropdown-icon {
    font-size: 1.25rem;
    color: var(--primary-red);
    flex-shrink: 0;
}

.dropdown-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--slate-800);
}

.dropdown-subtitle {
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 500;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--slate-200);
    margin: 0.35rem 0;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr 1fr;
        padding: 6rem 0 7rem 0;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 32rem;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    margin-bottom: 2rem;
}

.hero-bullet-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate-700);
}

.hero-bullet-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Photorealistic Computer Monitor Mockup Structure */
.hero-monitor-wrapper {
    position: relative;
    width: 100%;
    max-width: 29rem;
    margin: 0 auto;
    padding-bottom: 2.5rem;
}

/* External Monitor Body */
.computer-monitor {
    background: #1e293b;
    border-radius: 1.25rem 1.25rem 0.5rem 0.5rem;
    padding: 0.75rem 0.75rem 1.25rem 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), inset 0 1px 1px rgba(255,255,255,0.2);
    position: relative;
    border: 1px solid #334155;
    z-index: 5;
}

/* Webcam dot */
.monitor-webcam {
    width: 0.4rem;
    height: 0.4rem;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 50%;
    margin: 0 auto 0.5rem auto;
}

/* Screen Display Area (SLOT FOR SYSTEM IMAGE) */
.screen-insert-slot {
    background: var(--slate-900);
    border-radius: 0.5rem;
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0f172a;
    animation: screenAbsorbPulse 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes screenAbsorbPulse {
    0% {
        box-shadow: inset 0 0 0px transparent;
    }
    50% {
        box-shadow: inset 0 0 90px rgba(200, 30, 61, 0.85), 0 0 40px rgba(200, 30, 61, 0.6);
        transform: scale(0.98);
    }
    80% {
        box-shadow: inset 0 0 120px rgba(255, 255, 255, 0.9), 0 0 60px rgba(200, 30, 61, 0.8);
        transform: scale(1.03);
    }
    100% {
        box-shadow: inset 0 0 0px transparent;
        transform: scale(1);
    }
}

.pdv-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    animation: imageRevealAfterSuck 0.8s ease-out 2.4s forwards;
}

@keyframes imageRevealAfterSuck {
    from { opacity: 0; transform: scale(1.1); filter: blur(12px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.screen-placeholder-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
    width: 100%;
    height: 100%;
    color: var(--slate-300);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
    animation: textAbsorb 2.6s ease-out forwards;
}

@keyframes textAbsorb {
    0% { opacity: 1; transform: scale(1); }
    70% { opacity: 1; transform: scale(1.05); color: var(--white); }
    100% { opacity: 1; transform: scale(1); }
}

/* Monitor Stand Base */
.monitor-stand-neck {
    width: 4.5rem;
    height: 1.85rem;
    background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
    margin: 0 auto;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.monitor-stand-base {
    width: 10.5rem;
    height: 0.55rem;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    margin: 0 auto;
    border-radius: 0.3rem 0.3rem 0.6rem 0.6rem;
    box-shadow: 0 8px 15px rgba(15, 23, 42, 0.15);
    border: 1px solid #cbd5e1;
}

/* Floating Cards Layout & Suction Keyframe Animations */
.floating-analytics-card {
    position: absolute;
    background: var(--liquid-glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--liquid-glass-border);
    border-radius: 1.25rem;
    padding: 0.85rem 1.15rem;
    box-shadow: 0 18px 40px -5px rgba(15, 23, 42, 0.12);
    z-index: 10;
    opacity: 1;
    pointer-events: auto;
}

/* 1. Top Right Card Suck Animation (Pura e Contínua) */
.floating-growth-chart {
    top: -1.5rem;
    right: -6.5rem;
    width: 13.5rem;
    animation: suckTopRight 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes suckTopRight {
    0% {
        top: -1.5rem;
        right: -6.5rem;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
    100% {
        top: 40%;
        right: 40%;
        opacity: 0;
        transform: scale(0) rotate(-45deg);
        filter: blur(12px);
        pointer-events: none;
        display: none;
    }
}

/* 2. Bottom Left Card Suck Animation (Pura e Contínua) */
.floating-ticket-card {
    bottom: 2.5rem;
    left: -2.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: suckBottomLeft 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes suckBottomLeft {
    0% {
        bottom: 2.5rem;
        left: -2.25rem;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
    100% {
        bottom: 40%;
        left: 40%;
        opacity: 0;
        transform: scale(0) rotate(45deg);
        filter: blur(12px);
        pointer-events: none;
        display: none;
    }
}

/* 3. Bottom Right Card Suck Animation (Pura e Contínua) */
.floating-feature-card {
    top: 68%;
    right: -5.5rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    animation: suckBottomRight 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes suckBottomRight {
    0% {
        top: 68%;
        right: -5.5rem;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
    100% {
        top: 45%;
        right: 40%;
        opacity: 0;
        transform: scale(0) rotate(-45deg);
        filter: blur(12px);
        pointer-events: none;
        display: none;
    }
}

/* 4. Top Left Card Suck Animation (Pura e Contínua) */
.floating-clients-card {
    top: -2.25rem;
    left: -5.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: suckTopLeft 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes suckTopLeft {
    0% {
        top: -2.25rem;
        left: -5.5rem;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
    100% {
        top: 40%;
        left: 40%;
        opacity: 0;
        transform: scale(0) rotate(45deg);
        filter: blur(12px);
        pointer-events: none;
        display: none;
    }
}

/* Mini Growth Bars inside Floating Card */
.mini-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.mini-chart-title {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
}

.mini-chart-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--slate-900);
}

.mini-bars-flex {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 2.75rem;
}

.mini-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-red) 0%, rgba(200, 30, 61, 0.2) 100%);
    border-radius: 0.25rem 0.25rem 0 0;
}

.ticket-icon-circle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Section Common */
.section {
    padding: 5rem 0;
}

.section-bg-alt {
    background: rgba(241, 245, 249, 0.5);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--slate-600);
    font-size: 1rem;
    font-weight: 500;
}

/* Liquid Glass Scroll Showcase Cards */
.scroll-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 52rem;
    margin: 0 auto;
}

.scroll-card {
    background: var(--liquid-glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--liquid-glass-border);
    box-shadow: var(--liquid-glass-shadow);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: var(--transition);
    position: sticky;
    top: 6rem;
}

.scroll-card:hover {
    box-shadow: var(--liquid-glass-glow);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-4px);
}

.scroll-card-step {
    color: var(--primary-red);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.scroll-card-title {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.scroll-card-desc {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* Direct Checklist System */
.scroll-card-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.checklist-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-700);
}

.checklist-item i {
    color: #10b981;
    font-size: 1.15rem;
    font-weight: 800;
}

/* Trust Section (Garantias) */
.trust-section {
    background-color: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-label {
    font-size: 0.875rem;
    color: var(--slate-500);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Step List (Como Funciona) */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 36rem;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    text-align: left;
}

.step-number {
    width: 2.25rem;
    height: 2.25rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.9375rem;
    flex-shrink: 0;
    border: 1px solid var(--slate-200);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.5;
}

/* CTA Banner Section */
.cta-banner {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-tag {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.75rem;
    }
}

.cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    max-width: 36rem;
    margin: 0 auto 2rem auto;
}

/* Footer Section */
.footer-section {
    background-color: var(--slate-900);
    color: var(--slate-400);
    padding: 4rem 0 2.5rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
}

.footer-desc {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.footer-link:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--slate-500);
}

@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }
}
