/* 
    ================================================================
    Projeto: eHostBR - Estilos v2.0.0 (Laser Scanner & 3D Glass HUD)
    Autor: Arnaldo Lima (https://arnaldolima.com)
    Data/Hora: 22/09/2026 - 11:18
    Versão: v2.0.0
    ================================================================
*/

/* --- VARIÁVEIS DO DESIGN SYSTEM --- */
:root {
    --bg-dark: #030712;
    --cyan-glow: #00f2fe;
    --blue-neon: #3b82f6;
    --purple-glow: #8b5cf6;
    --emerald-green: #10b981;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --glass-bg: rgba(10, 16, 32, 0.65);
    --glass-border: rgba(0, 242, 254, 0.25);
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

/* --- RESET & ACCESSIBILITY --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-heading);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip link de acessibilidade */
.skip-link {
    position: absolute;
    top: -50px;
    left: 10px;
    background: var(--cyan-glow);
    color: #000;
    padding: 8px 16px;
    font-weight: 600;
    z-index: 1000;
    transition: top 0.3s ease;
    border-radius: 4px;
    text-decoration: none;
}
.skip-link:focus {
    top: 10px;
}

/* --- CONTAINER PRINCIPAL HERO --- */
.hero-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../assets/datacenter.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    user-select: none;
    perspective: 1000px;
    animation: bgPulse 12s infinite alternate ease-in-out;
}

@keyframes bgPulse {
    0% { background-size: 100% 100%; }
    100% { background-size: 105% 105%; }
}

/* Vignette radial para foco total no card central */
.overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(3, 7, 18, 0.35) 0%,
        rgba(3, 7, 18, 0.75) 60%,
        rgba(1, 3, 8, 0.96) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Cursor Glow Torch */
.cursor-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    margin-left: -350px;
    margin-top: -350px;
    background: radial-gradient(
        circle,
        rgba(0, 242, 254, 0.14) 0%,
        rgba(139, 92, 246, 0.06) 40%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

/* Canvas de Efeitos Tecnológicos */
#fxCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* --- LASER SCANNER DA INFRAESTRUTURA --- */
.laser-scanner {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 242, 254, 0.3) 15%,
        var(--cyan-glow) 50%,
        rgba(139, 92, 246, 0.3) 85%,
        transparent 100%
    );
    box-shadow: 
        0 0 15px var(--cyan-glow),
        0 0 30px rgba(0, 242, 254, 0.6);
    z-index: 3;
    pointer-events: none;
    opacity: 0.75;
    animation: laserScan 6s infinite ease-in-out;
}

@keyframes laserScan {
    0% { top: 0%; opacity: 0; }
    5% { opacity: 0.8; }
    95% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

/* --- CARD CENTRAL 3D GLASSMORPHISM --- */
.brand-card-wrapper {
    position: relative;
    z-index: 10;
    max-width: 860px;
    width: 100%;
    padding: 10px;
}

.brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 40px rgba(0, 242, 254, 0.12);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    animation: cardEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-card:hover {
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 60px rgba(0, 242, 254, 0.25);
}

/* Borda Glow Interativa */
.card-glow-border {
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--cyan-glow), transparent 40%, var(--purple-glow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--emerald-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--emerald-green);
    animation: pulseDot 2s infinite ease-in-out;
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--cyan-glow);
    font-weight: 700;
}

/* Logo eHostBR */
.logo-title {
    font-size: clamp(3.8rem, 9.5vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.logo-prefix {
    color: var(--cyan-glow);
    text-shadow: 
        0 0 25px rgba(0, 242, 254, 0.8),
        0 0 50px rgba(0, 242, 254, 0.4);
    font-weight: 800;
    text-transform: lowercase;
}

.logo-main {
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.logo-suffix {
    background: linear-gradient(135deg, var(--cyan-glow) 0%, var(--blue-neon) 50%, var(--purple-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.6));
}

/* Divisor Tecnológico */
.tech-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 200px;
    margin: 16px 0 24px;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
}

.divider-node {
    width: 6px;
    height: 6px;
    background: var(--cyan-glow);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--cyan-glow);
}

/* Slogan */
.slogan-text {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.6;
    letter-spacing: 0.2px;
    margin-bottom: 32px;
}

/* Métricas HUD */
.hud-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan-glow);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.metric-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
}

/* Rodapé */
.footer-credits {
    position: absolute;
    bottom: 24px;
    z-index: 10;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(156, 163, 175, 0.6);
    letter-spacing: 1px;
}

.author-link {
    color: var(--cyan-glow);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 600;
}

.author-link:hover, .author-link:focus {
    color: #ffffff;
    text-shadow: 0 0 8px var(--cyan-glow);
    outline: none;
}

/* Animações */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(0.75);
    }
}

/* Responsividade Mobile / Tablet / Desktop */
@media (max-width: 768px) {
    .brand-card {
        padding: 36px 24px;
        border-radius: 20px;
    }
    .hud-metrics {
        gap: 16px;
    }
    .metric-value {
        font-size: 0.95rem;
    }
    .metric-label {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .brand-card {
        padding: 28px 16px;
    }
    .status-text {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    .slogan-text {
        font-size: 0.95rem;
    }
}

/* Acessibilidade - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-container, .brand-card, .laser-scanner, .status-dot {
        animation: none;
    }
    .cursor-glow {
        display: none;
    }
}
