/* ========================================================
   BROZ TV VIP - DESIGN SYSTEM & STYLESHEET
   Edição Raycast Midnight Command Center + Laranja Oficial BROZ TV
   Paleta 90/8/2 (90% Neutros, 8% Laranja da Marca, 2% Estados Funcionais)
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    /* Tema Dark Sóbrio - 90% Neutros Escuros */
    --bg-base: #050505;
    --bg-base-rgb: 5, 5, 5;
    --bg-surface: #0a0b0e;
    --bg-surface-card: #0e1015;
    --bg-card: #0b0d12;
    --bg-card-hover: #131620;
    --bg-input: #10131a;

    /* Bordas Refinadas (12% a 14% de branco para alta definição em Smart TV e Mobile) */
    --border-color: rgba(255, 255, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: #FF6600;
    --border-glow: rgba(255, 102, 0, 0.35);

    /* 8% Laranja Oficial da Marca BROZ TV */
    --brand-orange: #FF6600;
    --brand-orange-hover: #FF7A1A;
    --brand-orange-active: #E65C00;
    --brand-orange-muted: rgba(255, 102, 0, 0.12);
    --brand-orange-ring: rgba(255, 102, 0, 0.45);

    /* Aliases de Accent para Compatibilidade */
    --accent: #FF6600;
    --accent-light: #FF7A1A;
    --accent-dark: #E65C00;
    --accent-glow: rgba(255, 102, 0, 0.35);
    --accent-gradient: #FF6600;
    --accent-gradient-hover: #FF7A1A;
    --gold-gradient: #FF6600;
    --blue-gradient: #FF6600;

    /* Tipografia de Precisão (Branco-Gelo e Cinza Neutro) */
    --text-main: #F5F5F7;
    --text-muted: #86868B;
    --text-dim: #94A3B8;

    /* 2% Estados Funcionais Claros (Nunca misturados com a cor da marca) */
    --status-ok: #10B981;
    --status-ok-bg: rgba(16, 185, 129, 0.12);
    --status-warn: #F59E0B;
    --status-warn-bg: rgba(245, 158, 11, 0.12);
    --status-error: #EF4444;
    --status-error-bg: rgba(239, 68, 68, 0.12);

    /* Geometria Estilo Raycast / Apple (16px cartões, 8px botões) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px rgba(255, 102, 0, 0.25);
    --shadow-gold: 0 0 24px rgba(255, 102, 0, 0.25);
}

/* Foco Global Acessível para Smart TV (D-pad / Controle Remoto) e Teclado */
:focus-visible,
.dpad-focused {
    outline: 2px solid var(--brand-orange) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 4px var(--brand-orange-ring) !important;
}

/* Light Theme - Brasil Harmônico */
html[data-theme="light"] {
    --bg-base: #f0fdf4;
    --bg-base-rgb: 240, 253, 244;
    --bg-surface: rgba(255, 255, 255, 0.92);
    --bg-surface-card: #ffffff;
    --bg-card-hover: #e8f9ef;
    --bg-input: #ffffff;

    --border-color: rgba(0, 180, 90, 0.2);
    --border-focus: rgba(0, 180, 90, 0.55);
    --border-glow: rgba(0, 180, 90, 0.25);

    --text-main: #062b16;
    --text-muted: #047857;
    --text-dim: #374151;

    --shadow-card: 0 10px 25px -5px rgba(0, 180, 90, 0.12);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(255, 102, 0, 0.05) 0%, transparent 60%);
    background-size: 100% 700px;
    background-repeat: no-repeat;
    background-attachment: scroll;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ========================================================
   BOOT SPLASH SCREEN
   ======================================================== */
#boot-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #051528 0%, #02060e 80%);
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#boot-splash.is-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot-logo-wrap {
    text-align: center;
    animation: bootPulse 1.6s ease-in-out infinite;
}

.boot-logo {
    width: clamp(140px, 20vw, 220px);
    height: auto;
    border-radius: 24px;
    box-shadow: 0 0 50px rgba(255, 102, 0, 0.5);
}

.boot-title {
    margin-top: 18px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #00ff88 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.boot-bar {
    margin-top: 32px;
    width: clamp(160px, 22vw, 240px);
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.boot-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: bootBar 1.2s linear infinite;
}

@keyframes bootPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.95;
    }

    50% {
        transform: scale(1.03);
        opacity: 1;
    }
}

@keyframes bootBar {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(350%);
    }
}

/* ========================================================
   HEADER & NAVBAR
   ======================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
    height: 74px;
    background: rgba(var(--bg-base-rgb), 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.header-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 16px rgba(255, 102, 0, 0.45);
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

/* Cores Idênticas ao Ícone Oficial */
.brand-name-broz {
    color: #02A4E1;
    background: linear-gradient(135deg, #00D2FF 0%, #0288D1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(2, 164, 225, 0.45));
    font-weight: 900;
}

.brand-name-tv {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4) !important;
}

.brand-name-vip {
    color: #E3C16A;
    background: linear-gradient(135deg, #FFE082 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(227, 193, 106, 0.5));
    font-weight: 900;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.nav-link {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link.active {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 214, 108, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme Toggle Button */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    border-color: var(--accent-light);
    transform: translateY(-1px);
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--accent-light);
}

.lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    padding: 6px;
    min-width: 180px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1050;
}

.lang-dropdown.is-open {
    display: flex;
    animation: fadeInDown 0.2s ease;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
    background: rgba(0, 214, 108, 0.18);
    color: var(--accent-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================================
   CONTAINER & SCREEN SYSTEM (SPA)
   ======================================================== */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 24px) 100px;
}

.screen {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.screen.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================
   TELA 1: INÍCIO (HERO & CARDS)
   ======================================================== */
.hero-section {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-box {
    position: relative;
    margin-bottom: 24px;
}

.hero-logo-box::before {
    content: '';
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.45) 0%, rgba(255, 102, 0, 0.15) 50%, transparent 70%);
    filter: blur(28px);
    z-index: -1;
}

.hero-logo-img {
    width: clamp(140px, 18vw, 200px);
    height: auto;
    border-radius: 28px;
    box-shadow: 0 0 45px rgba(255, 102, 0, 0.45), 0 0 90px rgba(255, 102, 0, 0.2);
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.35);
    color: #FFA04D;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 0 16px rgba(255, 102, 0, 0.18);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 30%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 640px;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* Primary and Secondary Buttons (Estilo Raycast + Alto Contraste AAA) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand-orange);
    color: #0A0B0E !important;
    /* Alto Contraste AAA ~7,2:1 */
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
}

.btn-primary:active {
    background: var(--brand-orange-active);
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.btn-secondary:active {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(0);
}

/* Disclaimer Legal Box */
.disclaimer-card {
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.disclaimer-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: rgba(0, 214, 108, 0.18);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.disclaimer-content p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.55;
    margin-bottom: 6px;
}

.disclaimer-content strong {
    color: var(--text-main);
}

/* Action Cards Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.action-card {
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.action-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px var(--accent-light);
    opacity: 0;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--border-focus);
    box-shadow: var(--shadow-card);
}

.action-card:hover::after {
    opacity: 1;
}

.action-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-sm);
    background: rgba(0, 214, 108, 0.15);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-card:hover .action-card-icon {
    background: var(--accent-gradient);
    color: #ffffff;
    transform: scale(1.05);
}

.action-card-body {
    flex: 1;
}

.action-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.action-card-body p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.action-card-arrow {
    color: var(--accent-light);
    opacity: 0.6;
    transition: var(--transition);
}

.action-card:hover .action-card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Platforms Banner Card */
.platforms-banner {
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.platforms-banner:hover {
    border-color: var(--accent-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.platforms-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.platform-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.platforms-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.platforms-text p {
    font-size: 0.84rem;
    color: var(--text-dim);
}

/* ========================================================
   TELA 2: ATIVAÇÃO & TELA 3: ENVIAR PLAYLIST
   ======================================================== */
.form-card-container {
    max-width: 620px;
    margin: 0 auto;
}

.stepper-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
}

.step-item.active {
    color: var(--accent-light);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dim);
    transition: var(--transition);
}

.step-item.active .step-number {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 214, 108, 0.35);
}

.step-line {
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: var(--border-color);
}

.card-box {
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow-card);
}

.card-box-header {
    margin-bottom: 24px;
    text-align: center;
}

.card-box-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.card-box-header p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Pricing Highlight Card */
.pricing-badge-card {
    background: rgba(0, 214, 108, 0.12);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.pricing-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pricing-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.pricing-sub {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.pricing-value {
    text-align: right;
}

.price-main {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-light);
}

.price-period {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* Input Fields */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 1.05rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 6px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Tabs inside upload form */
.form-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.form-tab-btn {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-tab-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.tab-pane {
    display: none;
}

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

/* ========================================================
   TELA 4: MINHAS PLAYLISTS (DASHBOARD)
   ======================================================== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.dashboard-sidebar {
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-card);
}

.sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 8px 12px;
    margin-bottom: 6px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-item:hover {
    background: rgba(0, 214, 108, 0.12);
    color: var(--text-main);
}

.sidebar-item.active {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.sidebar-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

.sidebar-item.danger {
    color: #ef4444;
}

.sidebar-item.danger:hover {
    background: rgba(239, 68, 68, 0.15);
}

.dashboard-content {
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-card);
    min-height: 480px;
}

.dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-head h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

.dashboard-head p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: rgba(0, 214, 108, 0.15);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.empty-state h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.empty-state p {
    font-size: 0.9rem;
    color: var(--text-dim);
    max-width: 380px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Device Table/Cards List */
.devices-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Device Table/Cards List */
.devices-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.device-card-item {
    background: linear-gradient(135deg, rgba(8, 20, 38, 0.75) 0%, rgba(4, 12, 24, 0.9) 100%);
    border: 1px solid rgba(0, 214, 108, 0.2);
    border-radius: 18px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.device-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00d66c 0%, #0077ff 100%);
    opacity: 0.8;
}

.device-card-item:hover {
    border-color: rgba(0, 214, 108, 0.45);
    background: linear-gradient(135deg, rgba(10, 26, 50, 0.85) 0%, rgba(5, 16, 32, 0.95) 100%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 214, 108, 0.15);
    transform: translateY(-2px);
}

.device-left-block {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.device-avatar-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(0, 214, 108, 0.12);
    border: 1px solid rgba(0, 214, 108, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #00d66c;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 214, 108, 0.15);
}

.device-meta-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.device-header-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.device-name-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

.device-status-badge {
    background: rgba(0, 214, 108, 0.15);
    border: 1px solid rgba(0, 214, 108, 0.35);
    color: #00ff88;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.device-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
}

.device-tags-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Chips de Identificação de Plataforma (Web PWA, .EXE, APK, Smart TV) */
.device-platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.device-platform-chip.chip-exe {
    background: rgba(2, 164, 225, 0.15);
    border: 1px solid rgba(2, 164, 225, 0.45);
    color: #38BDF8;
}

.device-platform-chip.chip-apk {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #4ADE80;
}

.device-platform-chip.chip-pwa {
    background: rgba(255, 102, 0, 0.15);
    border: 1px solid rgba(255, 102, 0, 0.45);
    color: #FB923C;
}

.device-platform-chip.chip-web {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.45);
    color: #C084FC;
}

.device-platform-chip.chip-tv {
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.45);
    color: #FACC15;
}

.device-code-chip {
    background: rgba(0, 214, 108, 0.15);
    border: 1px solid rgba(0, 214, 108, 0.4);
    color: #00ff88;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: monospace;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 214, 108, 0.2);
}

.device-code-chip:hover {
    background: rgba(0, 214, 108, 0.28);
    border-color: #00ff88;
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 214, 108, 0.35);
}

.device-mac-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.device-plan-chip {
    background: rgba(0, 119, 255, 0.12);
    border: 1px solid rgba(0, 119, 255, 0.3);
    color: #4da6ff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.device-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-card-action {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    border: none;
}

.btn-card-action.btn-copy {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.btn-card-action.btn-copy:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #00ff88;
    transform: translateY(-1px);
}

.btn-card-action.btn-config {
    background: rgba(0, 119, 255, 0.16);
    border: 1px solid rgba(0, 119, 255, 0.4);
    color: #66b3ff;
}

.btn-card-action.btn-config:hover {
    background: rgba(0, 119, 255, 0.28);
    border-color: #66b3ff;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-card-action.btn-player {
    background: linear-gradient(135deg, #00d66c 0%, #00994d 100%);
    color: #040913;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 214, 108, 0.35);
}

.btn-card-action.btn-player:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 214, 108, 0.5);
    color: #040913;
}

.btn-card-delete {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.25);
    color: #ff4d79;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-card-delete:hover {
    background: rgba(255, 51, 102, 0.25);
    border-color: #ff4d79;
    color: #ffffff;
    transform: scale(1.08);
}

@media (max-width: 900px) {
    .device-card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .device-actions-row {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ========================================================
   TELA 5: LOJAS DISPONÍVEIS (DOWNLOADS)
   ======================================================== */
.stores-header-card {
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.stores-header-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stores-header-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.stores-header-text p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.apk-highlight-banner {
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 214, 108, 0.35);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.apk-highlight-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 214, 108, 0.45);
}

.apk-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.apk-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apk-text h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.apk-text p {
    font-size: 0.88rem;
    opacity: 0.92;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.store-card {
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.store-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-light);
    box-shadow: 0 14px 34px rgba(0, 214, 108, 0.2);
}

.store-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.store-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--status-ok-bg);
    color: var(--status-ok);
    font-size: 0.78rem;
    font-weight: 700;
}

.store-badge-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-ok);
}

.store-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-details {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.store-details b {
    color: var(--text-main);
}

.store-btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.store-btn:hover {
    background: var(--accent-gradient-hover);
    box-shadow: 0 6px 18px rgba(0, 214, 108, 0.3);
}

/* ========================================================
   WIDGET FLUTUANTE DE ATENDIMENTO / CHAT
   ======================================================== */
.chat-bubble-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9990;
    transition: var(--transition);
}

.chat-bubble-btn:hover {
    transform: scale(1.08);
}

.chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-base);
}

/* Chat Menu Modal */
.chat-menu-popup {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: clamp(290px, 90vw, 360px);
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    z-index: 9992;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInDown 0.25s ease;
}

.chat-menu-popup.is-open {
    display: flex;
}

.chat-menu-head {
    padding: 16px 20px;
    background: rgba(124, 58, 237, 0.1);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-menu-head strong {
    font-size: 0.92rem;
    color: var(--text-main);
}

.chat-menu-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
}

.chat-menu-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.chat-menu-item:hover {
    background: rgba(0, 214, 108, 0.12);
    border-color: var(--border-focus);
}

.chat-menu-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chat-menu-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
}

.chat-menu-info small {
    display: block;
    font-size: 0.74rem;
    color: var(--text-dim);
}

/* Chat Full Panel */
.chat-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    z-index: 9995;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chat-panel-overlay.is-open {
    display: flex;
}

.chat-card {
    width: 100%;
    max-width: 640px;
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.chat-head {
    padding: 18px 24px;
    background: rgba(124, 58, 237, 0.14);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-head h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.chat-head p {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.chat-body {
    padding: 24px;
    overflow-y: auto;
}

.chat-messages-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    line-height: 1.45;
}

.chat-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-msg.bot p {
    margin: 0 0 6px 0;
}

.chat-msg.bot p:last-child {
    margin-bottom: 0;
}

.chat-msg.bot ul {
    margin: 6px 0 6px 16px;
    padding: 0;
}

.chat-msg.bot li {
    margin-bottom: 4px;
}

.chat-msg.bot .chat-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chat-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 255, 136, 0.2));
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: #00ff88;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.chat-action-btn:hover {
    background: linear-gradient(135deg, #00e5ff, #00ff88);
    color: #070b14;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
    transform: translateY(-1px);
}

.chat-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.chat-quick-chip {
    padding: 5px 11px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(14, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-quick-chip:hover {
    border-color: #00ff88;
    color: #00ff88;
    background: rgba(0, 255, 136, 0.08);
}

.chat-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
}

.chat-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff88;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.chat-typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--accent-gradient);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

/* ========================================================
   MODAIS JURÍDICOS E FOOTER
   ======================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-content-box {
    width: 100%;
    max-width: 680px;
    background: var(--bg-surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.2rem;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.modal-body h4 {
    color: var(--text-main);
    margin: 16px 0 6px;
}

/* Footer Slim */
.footer {
    border-top: 1px solid var(--border-color);
    background: rgba(var(--bg-base-rgb), 0.8);
    backdrop-filter: blur(12px);
    padding: 24px clamp(16px, 4vw, 48px);
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* Toast Notification */
.toast-notice {
    position: fixed;
    top: 90px;
    right: 24px;
    background: var(--bg-surface-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 11000;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.is-show {
    transform: translateX(0);
}

/* ========================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ======================================================== */
@media (max-width: 900px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   DOCK DE NAVEGAÇÃO MOBILE (BOTTOM NAV BAR NATIVA & SAFE AREA)
   ======================================================== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* Header Compacto e Limpo no Celular */
    .header {
        height: 60px !important;
        padding: 0 14px !important;
    }

    .header-logo-img {
        width: 32px !important;
        height: 32px !important;
    }

    .brand-title {
        font-size: 1.15rem !important;
        gap: 4px !important;
    }

    .lang-selector .lang-btn span {
        display: none !important; /* Mostra apenas a bandeira no celular para poupar espaço */
    }

    .lang-btn {
        padding: 6px 10px !important;
    }

    .btn-header-auth {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }

    /* Oculta navegação superior redundante (Substituída pelo Dock Inferior) */
    .header-nav {
        display: none !important;
    }

    .menu-toggle {
        display: none !important;
    }

    /* Dock Inferior Fixo Mobile com Suporte Total à Safe Area do Android / iOS */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
        min-height: 58px !important;
        padding-top: 6px !important;
        padding-bottom: max(14px, env(safe-area-inset-bottom, 14px)) !important; min-height: 64px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        background: rgba(7, 11, 20, 0.94) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7) !important;
        justify-content: space-around !important;
        align-items: center !important;
        box-sizing: border-box !important;
        touch-action: manipulation;
    }

    .mobile-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        flex: 1 !important;
        padding: 4px 2px !important;
        color: #8E8E93 !important;
        text-decoration: none !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        letter-spacing: -0.2px !important;
        transition: color 0.15s ease, transform 0.1s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .mobile-nav-item svg {
        transition: transform 0.2s ease, stroke 0.2s ease !important;
    }

    .mobile-nav-item:active {
        transform: scale(0.92) !important;
    }

    .mobile-nav-item.active {
        color: var(--brand-orange, #FF6600) !important;
    }

    .mobile-nav-item.active svg {
        stroke: var(--brand-orange, #FF6600) !important;
        transform: translateY(-1px) !important;
    }

    /* Botão Destaque Player no Dock */
    .mobile-nav-player {
        flex: 1.15 !important;
    }

    .mobile-player-glow-pill {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        background: linear-gradient(135deg, #FF6600 0%, #FF8533 100%) !important;
        color: #050505 !important;
        font-weight: 800 !important;
        font-size: 0.72rem !important;
        padding: 6px 12px !important;
        border-radius: 999px !important;
        box-shadow: 0 0 14px rgba(255, 102, 0, 0.45) !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    }

    .mobile-player-glow-pill svg {
        fill: #050505 !important;
    }

    .mobile-player-glow-pill:active {
        transform: scale(0.92) !important;
        box-shadow: 0 0 22px rgba(255, 102, 0, 0.75) !important;
    }

    /* Espaçamento Seguro no Final das Páginas para Não Cobrir Conteúdo */
    .main-wrapper {
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 12px)) !important;
    }

    /* Widget Flutuante de Chat acima do Dock Inferior */
    .chat-bubble-btn {
        bottom: calc(75px + env(safe-area-inset-bottom, 10px)) !important;
        right: 14px !important;
    }

    .chat-menu-popup {
        bottom: calc(130px + env(safe-area-inset-bottom, 10px)) !important;
        right: 14px !important;
    }

    .platforms-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .footer-inner {
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        padding-bottom: 20px !important;
    }

    .footer-links {
        justify-content: center !important;
    }
}


/* ========================================================
   MODAIS MODERNOS CENTRALIZADOS & BOTÕES ESTILO PÍLULA (BRASIL VIP)
   ======================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 14, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-active,
.modal-overlay.is-open {
    display: flex;
    opacity: 1;
}

.modal-pill-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #0B0E14;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
    border-radius: 16px;
    padding: clamp(24px, 4vw, 36px) clamp(20px, 3.5vw, 32px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.96) translateY(8px);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-main);
}

.modal-overlay.is-active .modal-pill-card,
.modal-overlay.is-open .modal-pill-card {
    transform: scale(1) translateY(0);
}

.modal-pill-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-pill-close:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.modal-pill-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-pill-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--brand-orange-muted);
    border: 1px solid rgba(255, 102, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
}

.modal-pill-icon.icon-warning {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
    color: #ffd700;
}

.modal-pill-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(0, 214, 108, 0.2) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
}

.modal-pill-badge.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.45);
    color: #fbbf24;
}

.modal-pill-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 10px;
}

.modal-pill-desc {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.55;
    margin-bottom: 26px;
    max-width: 420px;
}

.modal-pill-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-pill-input-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.modal-pill-input-wrap svg {
    position: absolute;
    left: 20px;
    color: #00d66c;
    pointer-events: none;
}

.modal-pill-input {
    width: 100%;
    background: #10131A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 13px 18px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: var(--transition);
}

.modal-pill-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-muted);
}

.modal-pill-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
}

.modal-pill-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

@media (min-width: 480px) {
    .modal-pill-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* BOTÕES ESTILO RAYCAST / COMPACTO */
.btn-pill-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand-orange);
    color: #0A0B0E !important;
    /* Alto Contraste AAA ~7,2:1 */
    font-size: 0.92rem;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    text-decoration: none;
    flex: 1;
}

.btn-pill-primary:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
}

.btn-pill-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #F5F5F7;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-pill-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.btn-pill-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
    transition: var(--transition);
    flex: 1;
}

.btn-pill-danger:hover {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.55);
}

.vip-highlight {
    color: #ffd700 !important;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.55);
}

.price-main {
    color: #ffd700 !important;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
}

/* ========================================================
   ESTILOS DE PRECIFICAÇÃO DUAL & CHECKOUT PIX INTELIGENTE
   ======================================================== */
.price-dual-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.price-anchor-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.price-anchor {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
    font-weight: 500;
}

.price-badge-saving {
    background: linear-gradient(135deg, #ffd700 0%, #ff8800 100%);
    color: #040913;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.currency-toggle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.currency-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dim);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.currency-pill-btn.active {
    background: linear-gradient(135deg, #00d66c 0%, #0077ff 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 214, 108, 0.35);
}

.pay-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
}

@media (min-width: 500px) {
    .pay-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pay-card-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 16, 32, 0.7);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    user-select: none;
}

.pay-card-option:hover {
    border-color: rgba(0, 214, 108, 0.4);
    background: rgba(7, 24, 48, 0.85);
    transform: translateY(-2px);
}

.pay-card-option.is-selected {
    border-color: #00ff88;
    background: rgba(0, 214, 108, 0.12);
    box-shadow: 0 0 20px rgba(0, 214, 108, 0.25);
}

.pay-card-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    background: linear-gradient(135deg, #00d66c 0%, #00aa55 100%);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

/* Modal PIX */
.pix-qr-box {
    background: #ffffff;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 0 35px rgba(0, 214, 108, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 200px;
    height: 200px;
}

.pix-qr-box svg {
    width: 100%;
    height: 100%;
}

.pix-timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.pix-code-container {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.pix-code-field {
    width: 100%;
    background: rgba(3, 10, 20, 0.85);
    border: 1px solid rgba(0, 214, 108, 0.3);
    border-radius: var(--radius-full);
    padding: 12px 110px 12px 18px;
    font-size: 0.85rem;
    color: #a7f3d0;
    font-family: monospace;
    outline: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.btn-pix-copy {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 16px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #00d66c 0%, #0088ff 100%);
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-pix-copy:hover {
    background: linear-gradient(135deg, #00ff88 0%, #0099ff 100%);
    box-shadow: 0 0 14px rgba(0, 214, 108, 0.5);
}


/* ============================================================================
   BROZ TV VIP v2.2 — CONTA, PLANOS ANUAIS, PAREAMENTO ZERO-CONFUSÃO,
   CENTRAL DE REVENDA ("PARCERIA") & PAINEL ADM MASTER
   ============================================================================ */

/* Header Auth Pill & User Chip */
.header-user-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-header-auth {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 214, 108, 0.45);
    background: rgba(0, 214, 108, 0.12);
    color: #00ff88;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-header-auth:hover {
    background: linear-gradient(135deg, #00d66c 0%, #0077ff 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 214, 108, 0.35);
}

.user-pill-logged {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 6px;
    border-radius: var(--radius-full);
    background: rgba(8, 22, 44, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-main);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
}

.user-pill-logged:hover {
    border-color: rgba(0, 214, 108, 0.5);
}

.user-avatar-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d66c, #0077ff);
    color: #fff;
    font-weight: 800;
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    overflow: hidden;
}

.user-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role-chip {
    font-size: 0.66rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.role-chip.role-user {
    background: rgba(0, 214, 108, 0.18);
    color: #00ff88;
    border: 1px solid rgba(0, 214, 108, 0.35);
}

.role-chip.role-reseller {
    background: rgba(168, 85, 247, 0.22);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.45);
}

.role-chip.role-admin {
    background: linear-gradient(135deg, #ffd700 0%, #ff8800 100%);
    color: #040913;
}

.role-chip.role-guest {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Guest Mode Top Banner */
.guest-mode-banner {
    max-width: 1120px;
    margin: 0 auto 20px;
    padding: 12px 18px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.14) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.guest-mode-banner.is-visible {
    display: flex;
}

.guest-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-main);
}

.guest-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-guest-about {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-guest-about:hover {
    background: rgba(251, 191, 36, 0.25);
}

/* Dev Login & Visitante em Destaque */
.btn-dev-quick {
    width: 100%;
    background: rgba(234, 179, 8, 0.12);
    border: 1px dashed #f59e0b;
    color: #fde047;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-dev-quick:hover {
    background: rgba(234, 179, 8, 0.22);
    border-color: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.guest-access-card {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.btn-guest-prominent {
    width: 100%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(14, 165, 233, 0.28));
    border: 1.5px solid #38bdf8;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.22);
    transition: all 0.2s ease;
}

.btn-guest-prominent:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.4));
    border-color: #7dd3fc;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

.guest-timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #f59e0b;
    color: #fde047;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.guest-timer-badge.timer-warning {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fca5a5;
    animation: pulseTimer 1s infinite alternate;
}

@keyframes pulseTimer {
    from {
        opacity: 0.8;
        transform: scale(1);
    }

    to {
        opacity: 1;
        transform: scale(1.03);
    }
}

/* Home 1-2-3 Steps Strip */
.easy-steps-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin: 22px 0 28px;
}

.easy-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
}

.easy-step-card:hover {
    border-color: rgba(0, 214, 108, 0.4);
    transform: translateY(-2px);
}

.easy-step-num {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d66c 0%, #0077ff 100%);
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 214, 108, 0.3);
}

.easy-step-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.easy-step-card p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.45;
}

/* Pricing Grid: 3 Family Plans + Reseller PRO Card */
.plans-section-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.trial-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background: rgba(0, 214, 108, 0.14);
    border: 1px solid rgba(0, 214, 108, 0.4);
    color: #00ff88;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.plans-header-center {
    text-align: center;
    margin-bottom: 24px;
}

.plans-header-center h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin-bottom: 8px;
}

.plans-header-center p {
    color: var(--text-dim);
    max-width: 680px;
    margin: 0 auto 16px;
    font-size: 0.94rem;
}

.coupon-inline-bar {
    max-width: 520px;
    margin: 0 auto 24px;
    display: flex;
    gap: 8px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.coupon-inline-bar input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 16px;
    color: var(--text-main);
    font-size: 0.86rem;
    outline: none;
    text-transform: uppercase;
}

.plans-family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
    gap: 20px;
    margin-bottom: 26px;
}

/* Cartões de Planos (Estilo Raycast: Borda Fina, Raio 16px, 1 só Destaque) */
.plan-card-v2 {
    background: #0B0D12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

.plan-card-v2:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

/* Apenas o Plano do Meio Recebe Destaque com o Laranja Oficial */
.plan-card-v2.is-featured {
    border: 1.5px solid var(--brand-orange);
    background: #0D1017;
    box-shadow: 0 10px 32px rgba(255, 102, 0, 0.14);
}

.plan-card-v2.is-multifamily {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0B0D12;
}

.plan-top-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    margin-bottom: 14px;
}

.plan-card-v2.is-featured .plan-top-badge {
    background: var(--brand-orange-muted);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 102, 0, 0.3);
}

.plan-v2-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.plan-v2-sub {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.plan-v2-price-box {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.plan-v2-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: #F5F5F7;
    /* Branco-Gelo Nítido */
    line-height: 1.1;
}

.plan-v2-period {
    font-size: 0.86rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}

.plan-v2-perscreen {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

.plan-v2-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-v2-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-main);
    line-height: 1.4;
}

.plan-v2-features li svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.plan-card-v2.is-featured .plan-v2-features li svg {
    color: var(--brand-orange);
}

/* Card Corporativo de Parceiro / Revenda B2B (Separado e Sóbrio) */
.reseller-b2b-card {
    background: #0A0D14;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 26px 28px;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-top: 24px;
}

@media (max-width: 860px) {
    .reseller-b2b-card {
        grid-template-columns: 1fr;
    }
}

.reseller-b2b-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(168, 85, 247, 0.25);
    border: 1px solid rgba(192, 132, 252, 0.5);
    color: #e9d5ff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.reseller-perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.reseller-perk-item {
    background: rgba(4, 10, 24, 0.55);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.81rem;
    color: #e2e8f0;
}

.reseller-b2b-pricebox {
    background: rgba(4, 10, 22, 0.78);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    padding: 22px;
    text-align: center;
}

/* Zero-Confusion Pairing Wizard */
.pair-qr-detected-banner {
    background: linear-gradient(135deg, rgba(0, 214, 108, 0.2), rgba(0, 119, 255, 0.15));
    border: 1.5px solid #00ff88;
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.pair-qr-detected-banner.is-visible {
    display: flex;
}

.pair-choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.pair-choice-card {
    background: rgba(6, 16, 32, 0.72);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pair-choice-card:hover {
    border-color: rgba(0, 214, 108, 0.5);
    transform: translateY(-2px);
}

.pair-choice-card.is-selected {
    border-color: #00ff88;
    background: rgba(0, 214, 108, 0.1);
    box-shadow: 0 0 24px rgba(0, 214, 108, 0.18);
}

.pair-choice-tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #00ff88;
    letter-spacing: 0.5px;
}

.pair-choice-card h4 {
    font-size: 0.98rem;
    color: var(--text-main);
}

.pair-choice-card p {
    font-size: 0.81rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.tv-helper-illustration {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(3, 9, 20, 0.75);
    border: 1px dashed rgba(255, 215, 0, 0.35);
    margin-bottom: 16px;
}

.mini-tv-mockup {
    min-width: 112px;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1b0b2e 0%, #090d1f 100%);
    border: 2px solid #4c1d95;
    text-align: center;
    font-family: monospace;
}

.mini-tv-mockup .lbl {
    font-size: 0.6rem;
    color: #cbd5e1;
    display: block;
}

.mini-tv-mockup .val {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-orange);
    letter-spacing: 2px;
}

.six-digit-input {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 8px !important;
    text-align: center;
    font-family: monospace;
    color: var(--brand-orange) !important;
    background: #0E1118 !important;
    border: 1.5px solid rgba(255, 102, 0, 0.45) !important;
    border-radius: var(--radius-sm) !important;
}

.six-digit-input:focus {
    border-color: var(--brand-orange) !important;
    box-shadow: 0 0 0 3px var(--brand-orange-muted) !important;
}

/* Dashboard Quota Header & Dynamic Sub-Tabs */
.account-quota-banner {
    background: linear-gradient(135deg, rgba(0, 214, 108, 0.1) 0%, rgba(7, 19, 38, 0.92) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 18px 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.quota-progress-wrap {
    min-width: 240px;
    flex: 1;
    max-width: 360px;
}

.quota-progress-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: var(--text-dim);
}

.quota-progress-bar {
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.quota-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #00d66c 0%, #00aaff 100%);
    transition: width 0.35s ease;
}

.dash-tabs-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.dash-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-dim);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.dash-tab-btn:hover {
    color: var(--text-main);
    border-color: rgba(0, 214, 108, 0.4);
}

.dash-tab-btn.active {
    background: linear-gradient(135deg, #00d66c 0%, #0077ff 100%);
    color: #fff;
    border-color: transparent;
}

.dash-tab-btn.tab-reseller.active {
    background: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
}

.dash-tab-btn.tab-admin.active {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #040913;
}

.dash-pane {
    display: none;
}

.dash-pane.active {
    display: block;
}

/* Status Chips on Device Cards */
.status-chip-parceria {
    background: rgba(168, 85, 247, 0.2) !important;
    color: #e9d5ff !important;
    border: 1px solid rgba(168, 85, 247, 0.5) !important;
}

.status-chip-trial {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #7dd3fc !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

.status-chip-expired {
    background: rgba(239, 68, 68, 0.18) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
}

.device-playlist-select {
    background: rgba(4, 12, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
}

/* Reseller & Admin Panels */
.panel-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.panel-subcard {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px;
}

.panel-subcard h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-subcard p.sub {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.kpi-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
}

.kpi-card .kpi-lbl {
    font-size: 0.74rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 700;
}

.kpi-card .kpi-val {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--text-main);
    margin-top: 4px;
}

.data-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-card);
}

.broz-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}

.broz-table th,
.broz-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.broz-table th {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.03);
}

.broz-table tr:last-child td {
    border-bottom: none;
}

.btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-mini:hover {
    border-color: #00ff88;
    color: #00ff88;
}

.btn-mini.warn:hover {
    border-color: #fbbf24;
    color: #fbbf24;
}

.btn-mini.danger:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* Auth Modal (Google Primary + Email OTP + Guest Mode) */
.btn-google-oauth {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: var(--radius-full);
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.94rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-google-oauth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 255, 255, 0.2);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: var(--text-dim);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.typo-suggestion-box {
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fde68a;
    font-size: 0.79rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.typo-suggestion-box.is-visible {
    display: flex;
}

.dev-otp-hint {
    background: rgba(255, 215, 0, 0.13);
    border: 1px dashed rgba(255, 215, 0, 0.5);
    color: #fde047;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    margin-bottom: 14px;
    text-align: center;
}

.google-sim-picker {
    background: rgba(4, 12, 26, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 16px;
    padding: 14px;
    margin-top: 10px;
    display: none;
    text-align: left;
}

.google-sim-picker.is-open {
    display: block;
}

.google-sim-account-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    cursor: pointer;
    margin-bottom: 8px;
    text-align: left;
    transition: var(--transition);
}

.google-sim-account-btn:hover {
    border-color: #00ff88;
    background: rgba(0, 214, 108, 0.1);
}

/* Botão Dashboard ADM no Header */
.btn-admin-dash {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-orange, #FF6600);
    color: #0A0B0E !important;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(255, 102, 0, 0.35);
    transition: all 0.15s ease;
}

.btn-admin-dash:hover {
    background: var(--brand-orange-hover, #FF7A1A);
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(255, 102, 0, 0.55);
}

/* ------------------------------------------------------------- */
/* BANNER DE CONSENTIMENTO DE COOKIES & LGPD                     */
/* ------------------------------------------------------------- */
.cookie-consent-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 860px;
    background: rgba(11, 14, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px 20px;
    z-index: 99999;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
    animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cookieSlideUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: #e2e8f0;
    line-height: 1.45;
    flex: 1;
    min-width: 260px;
}
.cookie-emoji {
    font-size: 1.4rem;
}
.btn-cookie-accept {
    background: #02A4E1;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-cookie-accept:hover {
    background: #0090c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(2, 164, 225, 0.35);
}
@media (max-width: 768px) {
    .cookie-consent-bar {
        bottom: 80px;
        padding: 12px 16px;
    }
}


/* ------------------------------------------------------------- */
/* DROPDOWN EXPANSÍVEL (ACORDEÃO) DE DETALHES DOS PLANOS         */
/* ------------------------------------------------------------- */
.plan-details-dropdown {
    margin: 14px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

.plan-details-toggle {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.81rem;
    font-weight: 600;
    transition: all 0.2s ease;
    user-select: none;
}

.plan-details-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.14);
}

.plan-card-v2.is-featured .plan-details-toggle:hover {
    border-color: rgba(255, 102, 0, 0.4);
}

.plan-toggle-chevron {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-dim);
    flex-shrink: 0;
}

.plan-details-dropdown.is-open .plan-toggle-chevron {
    transform: rotate(180deg);
    color: #02A4E1;
}

.plan-card-v2.is-featured .plan-details-dropdown.is-open .plan-toggle-chevron {
    color: var(--brand-orange);
}

.plan-details-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin 0.25s ease;
    margin-top: 0;
}

.plan-details-dropdown.is-open .plan-details-content {
    max-height: 280px;
    opacity: 1;
    margin-top: 12px;
}

.plan-details-content .plan-v2-features {
    margin: 0;
}
/* ========================================================
   LIGHT THEME OVERRIDES
   ======================================================== */
html[data-theme="light"] .brand-name-tv {
    color: #062b16 !important;
    -webkit-text-fill-color: #062b16 !important;
    text-shadow: none !important;
}
html[data-theme="light"] .hero-title {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--text-main) !important;
    color: var(--text-main) !important;
    text-shadow: none !important;
}
html[data-theme="light"] .modal-pill-title {
    color: var(--text-main) !important;
}
html[data-theme="light"] .device-name-title {
    color: var(--text-main) !important;
}
html[data-theme="light"] .plan-v2-amount {
    color: #b8860b !important;
    text-shadow: none !important;
}
html[data-theme="light"] .vip-highlight,
html[data-theme="light"] .price-main {
    color: #b8860b !important;
    text-shadow: none !important;
}
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6 {
    color: var(--text-main) !important;
}

/* Surfaces */
html[data-theme="light"] .modal-pill-card,
html[data-theme="light"] .plan-card-v2,
html[data-theme="light"] .plan-card-v2.is-featured,
html[data-theme="light"] .plan-card-v2.is-multifamily,
html[data-theme="light"] .reseller-b2b-card,
html[data-theme="light"] .device-card-item,
html[data-theme="light"] .card-box,
html[data-theme="light"] .dashboard-content,
html[data-theme="light"] .dashboard-sidebar,
html[data-theme="light"] .store-card,
html[data-theme="light"] .action-card,
html[data-theme="light"] .disclaimer-card,
html[data-theme="light"] .easy-step-card,
html[data-theme="light"] .panel-subcard,
html[data-theme="light"] .kpi-card {
    background: var(--bg-surface-card) !important;
    color: var(--text-main) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="light"] .device-card-item:hover {
    background: var(--bg-surface-card) !important;
}

/* White translucent borders/backgrounds -> darker translucent */
html[data-theme="light"] .header-nav,
html[data-theme="light"] .platform-tag,
html[data-theme="light"] .step-number,
html[data-theme="light"] .form-tabs,
html[data-theme="light"] .chat-msg.bot,
html[data-theme="light"] .chat-quick-chip,
html[data-theme="light"] .device-mac-chip,
html[data-theme="light"] .btn-card-action.btn-copy,
html[data-theme="light"] .modal-pill-close {
    border-color: rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="light"] .header-nav,
html[data-theme="light"] .platform-tag,
html[data-theme="light"] .step-number,
html[data-theme="light"] .form-tabs,
html[data-theme="light"] .chat-msg.bot,
html[data-theme="light"] .chat-quick-chip,
html[data-theme="light"] .device-mac-chip,
html[data-theme="light"] .btn-card-action.btn-copy {
    background: rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .form-control::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
}
