/* ============================================
   NovaHost - Components CSS
   Tabs, Diferenciadores, CTA Banner, Hero Badges
   ============================================ */

/* HERO SLIDER */
.hero-slider {
    position: relative;
    min-height: 400px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 400px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 992px) {
    .hero-slider { min-height: 600px; }
    .hero-slide { min-height: 600px; }
    .hero-split { min-height: 600px; }
}

@media (max-width: 480px) {
    .hero-slider { min-height: 520px; }
    .hero-slide { min-height: 520px; }
    .hero-split { min-height: 520px; }
}

.hero-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot.active {
    background: var(--color-cyan);
    border-color: var(--color-cyan);
    box-shadow: 0 0 8px rgba(8,145,178,0.5);
}

.slider-dot:hover {
    border-color: rgba(255,255,255,0.8);
}

.slider-arrow {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
    padding: 0;
}

.slider-arrow:hover {
    background: rgba(8,145,178,0.2);
    border-color: rgba(8,145,178,0.4);
    color: white;
}

@media (max-width: 768px) {
    .hero-slider-nav { margin-top: 1.5rem; }
    .slider-arrow { width: 32px; height: 32px; }
    .slider-dot { width: 10px; height: 10px; }
}

/* HERO ILLUSTRATION */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    height: 400px;
}

.hero-illustration img,
.hero-illustration svg {
    width: 380px;
    height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.hero-illustration img.hero-img-rounded {
    border-radius: 24px;
    background: white;
    padding: 1rem;
    width: 340px;
    height: 340px;
}

@media (max-width: 992px) {
    .hero-illustration { height: 300px; }
    .hero-illustration img,
    .hero-illustration svg { width: 300px; height: 300px; }
}

@media (max-width: 480px) {
    .hero-illustration { height: 240px; }
    .hero-illustration img,
    .hero-illustration svg { width: 240px; height: 240px; }
}

/* HERO DASHBOARD */
.hero-dashboard {
    width: 440px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.dash-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot:nth-child(1) { background: #ef4444; }
.dash-dot:nth-child(2) { background: #f59e0b; }
.dash-dot:nth-child(3) { background: #22c55e; }

.dash-topbar span {
    margin-left: auto;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    font-family: 'Roboto Mono', monospace;
}

.dash-body { padding: 1.25rem; }

.dash-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dash-stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.85rem;
}

.dash-stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.dash-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.dash-stat-value.cyan { color: var(--color-cyan); }
.dash-stat-value.amber { color: var(--color-amber); }
.dash-stat-value.green { color: #22c55e; }

.dash-stat-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.15rem;
}

.dash-bar-section { margin-bottom: 1rem; }

.dash-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dash-bar-header span { font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.dash-bar-header strong { font-size: 0.7rem; color: var(--color-cyan); font-weight: 600; }

.dash-bar-track {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.dash-bar-fill { height: 100%; border-radius: 3px; }
.dash-bar-fill.cyan { background: linear-gradient(90deg, var(--color-cyan), #06b6d4); }
.dash-bar-fill.amber { background: linear-gradient(90deg, var(--color-amber), #f59e0b); }

.dash-platforms { display: flex; gap: 0.5rem; }

.dash-plat {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
    transition: all 0.3s;
}

.dash-plat:hover {
    border-color: rgba(8,145,178,0.3);
    background: rgba(8,145,178,0.1);
}

.dash-plat .plat-indicator {
    width: 6px; height: 6px; border-radius: 50%;
    margin: 0 auto 0.4rem;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34,197,94,0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

.dash-plat .plat-name { font-size: 0.7rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.dash-plat .plat-status { font-size: 0.6rem; color: #22c55e; margin-top: 0.15rem; }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@media (max-width: 992px) {
    .hero-dashboard { width: 380px; }
}

@media (max-width: 480px) {
    .hero-dashboard { width: 100%; max-width: 340px; }
    .dash-stat-value { font-size: 1.1rem; }
    .dash-platforms { flex-wrap: wrap; }
    .dash-plat { min-width: calc(50% - 0.25rem); }
}

/* HERO PLATFORM LOGOS */
.hero-content .platform-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    min-height: auto;
    justify-content: flex-start;
}

.hero-content .platform-logos a {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.hero-content .platform-logos img {
    height: 32px;
    opacity: 0.6;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.hero-content .platform-logos a:hover img {
    opacity: 1;
}

@media (max-width: 992px) {
    .hero-content .platform-logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content .platform-logos {
        gap: 1rem;
    }
    .hero-content .platform-logos img {
        height: 24px;
    }
}

/* HERO SPLIT LAYOUT */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 400px;
}

.hero-content .hero-desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-logos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: all 0.3s;
}

.hero-logo-card:hover {
    background: rgba(8,145,178,0.12);
    border-color: rgba(8,145,178,0.35);
    transform: translateY(-4px);
}

.hero-logo-card img {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.hero-logo-card:hover img {
    opacity: 1;
}

.hero-logo-card span {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-logo-card-wide {
    grid-column: 1 / -1;
}

@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-logos-grid {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-logos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .hero-logo-card {
        padding: 1rem 0.75rem;
    }
    .hero-logo-card img {
        height: 30px;
    }
}

/* HERO BADGES */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 1.25rem 0 1.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: rgba(8, 145, 178, 0.15);
    border: 1px solid rgba(8, 145, 178, 0.4);
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.hero-badge:hover {
    background: rgba(8, 145, 178, 0.3);
    border-color: rgba(8, 145, 178, 0.7);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-badges { gap: 0.4rem; }
    .hero-badge { font-size: 0.85rem; padding: 0.35rem 0.9rem; }
}

/* TABS SYSTEM */
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 2px solid var(--color-gray-200);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-500);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--color-navy);
}

.tab-btn.active {
    color: var(--color-cyan);
    border-bottom-color: var(--color-cyan);
}

.tab-panel {
    display: none;
    animation: fadeInTab 0.4s ease;
}

.tab-panel.active {
    display: block;
}

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

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tab-content-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.tab-content-text p {
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tab-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.tab-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-gray-700);
    font-size: 0.95rem;
}

.tab-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
}

.tab-content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-content-image img {
    max-width: 100%;
    border-radius: 12px;
}

.tab-icon-large {
    width: 200px;
    height: 200px;
    min-width: 200px;
    min-height: 200px;
    max-width: 200px;
    max-height: 200px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-navy));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
}

.tab-icon-large svg {
    width: 100%;
    height: 100%;
    color: white;
    flex-shrink: 0;
}

/* DIFFERENTIATORS */
.diferenciadores {
    background: var(--color-gray-50);
}

.diferenciadores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.diferenciador-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
    text-align: center;
    transition: all 0.3s;
}

.diferenciador-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.diferenciador-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(30, 58, 95, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferenciador-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-cyan);
}

.diferenciador-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.diferenciador-card p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a2240 100%);
    padding: 3.5rem 0;
    text-align: center;
    color: white;
}

.cta-banner h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.cta-banner p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn {
    font-size: 1rem;
    padding: 0.85rem 2rem;
}

/* SECTION ALT BG */
.section-alt {
    background: var(--color-gray-50);
}

/* EXPERT CARDS 3-col */
.expertos-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .tabs-nav { flex-wrap: wrap; gap: 0; }
    .tab-btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
    .tab-content-grid { grid-template-columns: 1fr; gap: 2rem; }
    .tab-content-image { order: -1; }
    .diferenciadores-grid { grid-template-columns: repeat(2, 1fr); }
    .expertos-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .tabs-nav { flex-direction: column; border-bottom: none; gap: 0.25rem; }
    .tab-btn { border-bottom: none; border-left: 3px solid transparent; text-align: left; padding: 0.75rem 1rem; background: var(--color-gray-50); border-radius: 8px; }
    .tab-btn.active { border-left-color: var(--color-cyan); background: white; }
    .diferenciadores-grid { grid-template-columns: 1fr; }
    .expertos-grid { grid-template-columns: 1fr !important; }
    .cta-banner h3 { font-size: 1.35rem; }
}
