/* ==========================================================================
   DESIGN SYSTEM - 10CONECT (ROXO/LILÁS NEON PREMIUM)
   ========================================================================== */

:root {
    --bg-dark: #05020c;
    --bg-card: rgba(18, 9, 36, 0.68);
    --bg-card-hover: rgba(30, 15, 56, 0.82);
    --border-neon: rgba(176, 38, 255, 0.35);
    --border-neon-active: rgba(210, 140, 255, 0.75);
    
    /* Cores de Destaque */
    --neon-purple: #b026ff;
    --neon-lilac: #d28cff;
    --neon-glow: 0 0 25px rgba(176, 38, 255, 0.45);
    --neon-glow-strong: 0 0 45px rgba(176, 38, 255, 0.85);
    
    /* Gradientes */
    --grad-neon: linear-gradient(135deg, #b026ff 0%, #7c3aed 50%, #d28cff 100%);
    --grad-phone-bg: linear-gradient(180deg, #0e071e 0%, #05020a 100%);
    
    /* Fontes */
    --font-primary: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: #05020c;
    background-image: 
        radial-gradient(circle at center, rgba(176, 38, 255, 0.12) 0%, rgba(3, 1, 7, 0) 70%),
        linear-gradient(rgba(186, 104, 255, 0.02) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(186, 104, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    color: #e2d9f3;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Orbes Decorativos e Círculos Geométricos de Fundo */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.22) 0%, rgba(124, 58, 237, 0) 70%);
    top: -150px;
    left: -150px;
    filter: blur(100px);
    opacity: 0.55;
    animation: pulseOrb 12s infinite alternate ease-in-out;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(140, 40, 255, 0.18) 0%, rgba(176, 38, 255, 0) 70%);
    bottom: -200px;
    right: -150px;
    filter: blur(100px);
    opacity: 0.5;
    animation-delay: 3s;
    animation: pulseOrb 12s infinite alternate ease-in-out;
}

.orb-3 {
    width: 650px;
    height: 650px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px double rgba(176, 38, 255, 0.15);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.05) 0%, transparent 60%);
    box-shadow: 0 0 50px rgba(176, 38, 255, 0.06), inset 0 0 50px rgba(176, 38, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateTech 80s linear infinite;
    z-index: 1;
}

.orb-3::before {
    content: '';
    width: 80%;
    height: 80%;
    border: 1px dashed rgba(186, 104, 255, 0.22);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 25px rgba(176, 38, 255, 0.04);
}

.orb-3::after {
    content: '';
    width: 60%;
    height: 60%;
    border: 1px solid rgba(176, 38, 255, 0.12);
    border-radius: 50%;
    position: absolute;
}

@keyframes pulseOrb {
    0% { transform: scale(1) translate(0, 0); opacity: 0.45; }
    100% { transform: scale(1.15) translate(30px, 30px); opacity: 0.65; }
}

@keyframes rotateTech {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Layout Principal */
.app-main-layout {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 20px;
}

/* Efeito de Vidro Fosco (Glassmorphism) */
.glass-panel {
    background: rgba(16, 8, 30, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(176, 38, 255, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 
                0 0 25px rgba(176, 38, 255, 0.22),
                inset 0 0 15px rgba(186, 104, 255, 0.05);
}

.glass-card {
    background: rgba(26, 15, 46, 0.45);
    border: 1px solid rgba(186, 104, 255, 0.15);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-neon);
    box-shadow: var(--neon-glow);
}

/* ==========================================================================
   TELA DE AUTENTICAÇÃO (LOGIN/REGISTRO)
   ========================================================================== */

.auth-card {
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    padding: 40px;
    animation: fadeIn 0.5s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0px; /* Junta o 10 e o Conect */
    margin-bottom: 16px;
    position: relative;
}

.auth-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 70px;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.5) 0%, rgba(176, 38, 255, 0) 70%);
    filter: blur(12px);
    z-index: -1;
    pointer-events: none;
}

.logo-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--neon-lilac);
    text-shadow: 0 0 12px rgba(176, 38, 255, 0.9), 0 0 25px rgba(176, 38, 255, 0.5);
    font-style: italic;
    letter-spacing: -1px;
}

.logo-text {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.auth-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    color: #a496c0;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.auth-form.active {
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #c9bade;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input, 
.form-group textarea, 
.modal-form-group input, 
.modal-form-group textarea {
    background: rgba(14, 7, 26, 0.8);
    border: 1px solid rgba(186, 104, 255, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus, 
.modal-form-group input:focus, 
.modal-form-group textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 12px rgba(176, 38, 255, 0.3);
}

/* Botões Neon */
.btn-neon {
    background: var(--grad-neon);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--neon-glow);
}

.btn-neon:hover:not(:disabled) {
    box-shadow: var(--neon-glow-strong);
    transform: translateY(-2px);
}

.btn-neon:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e2d9f3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-link {
    background: none;
    border: none;
    color: #b026ff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #d28cff;
}

.auth-toggle-text {
    font-size: 14px;
    color: #a496c0;
    text-align: center;
}

.auth-toggle-text a {
    color: var(--neon-lilac);
    text-decoration: none;
    font-weight: 600;
}

.auth-toggle-text a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SMARTPHONE VIRTUAL (MOCKUP IPHONE)
   ========================================================================== */

.phone-wrapper {
    position: relative;
    width: 390px;
    height: 800px;
    margin: 0 auto;
    z-index: 10;
    animation: scaleUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-body {
    background: #000;
    border-radius: 56px;
    width: 100%;
    height: 100%;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
                0 0 45px rgba(176, 38, 255, 0.45);
    border: 4px solid rgba(186, 104, 255, 0.25);
    position: relative;
}

.phone-inner {
    background: var(--grad-phone-bg);
    width: 100%;
    height: 100%;
    border-radius: 46px;
    overflow: hidden;
    position: relative;
    border: 2px solid #000;
}

/* Botões Físicos do iPhone */
.phone-btn {
    position: absolute;
    background: #110d1a;
    border-radius: 2px;
}

.vol-up { width: 3px; height: 50px; left: -7px; top: 180px; }
.vol-down { width: 3px; height: 50px; left: -7px; top: 240px; }
.power { width: 3px; height: 75px; right: -7px; top: 220px; }

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.island-camera { width: 10px; height: 10px; background: #1c1c24; border-radius: 50%; }
.island-sensor { width: 25px; height: 5px; background: #0c0c14; border-radius: 10px; }

/* Barra de Status */
.phone-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    padding: 18px 24px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 90;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.sim-speed-badge {
    background: rgba(176, 38, 255, 0.25);
    border: 1px solid var(--border-neon);
    color: var(--neon-lilac);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    cursor: default;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icons svg { width: 14px; height: 14px; }

.battery-icon {
    display: flex;
    align-items: center;
    gap: 4px;
}

.battery-percentage { font-size: 9px; opacity: 0.8; }
.battery-body {
    width: 20px;
    height: 10px;
    border: 1.5px solid #fff;
    border-radius: 3px;
    padding: 1px;
}

.battery-level {
    height: 100%;
    background: #10b981;
    border-radius: 1px;
}

/* Indicador de Barra Home */
.virtual-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 5px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    z-index: 100;
    cursor: pointer;
    transition: background 0.3s;
}

.virtual-home-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Container de Telas */
.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
}

.phone-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 48px; /* Espaço para barra de status */
    padding-bottom: 24px; /* Espaço para barra home */
    display: none;
    flex-direction: column;
    animation: fadeIn 0.3s ease-out;
}

.phone-page.active {
    display: flex;
}

/* ==========================================================================
   PÁGINA HOME DO CELULAR
   ========================================================================== */

#phone-home-page {
    background: radial-gradient(circle at top, #140b2a 0%, #030107 100%);
    padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
}

.phone-widget {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.phone-widget #widget-time {
    font-size: 54px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.phone-widget .widget-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--neon-lilac);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phone-widget .widget-quote {
    font-size: 12px;
    font-style: italic;
    color: #a496c0;
    margin-top: 14px;
    line-height: 1.4;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 80px;
}

.app-icon-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    outline: none;
}

.app-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-icon-btn:hover .app-icon-wrapper {
    transform: scale(1.08);
}

.app-icon-label {
    font-size: 11px;
    font-weight: 500;
    color: #e2d9f3;
    text-align: center;
    max-width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Backgrounds dos Ícones */
.app-10conect-bg {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.app-logo-symbol {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    font-style: italic;
}

.instagram-bg { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.tiktok-bg { background: #000; border: 1.5px solid rgba(255,255,255,0.1); }
.tiktok-bg svg { color: #fff; width: 26px; height: 26px; }
.youtube-bg { background: #ff0000; }
.youtube-bg svg { width: 28px; height: 28px; }
.facebook-bg { background: #1877f2; }
.facebook-bg svg { width: 28px; height: 28px; }
.whatsapp-bg { background: #25d366; }
.whatsapp-bg svg { width: 28px; height: 28px; }

.app-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   TELA INTERNA DO APLICATIVO 10CONECT
   ========================================================================== */

#phone-app-10conect {
    background: #090514;
    color: #e2d9f3;
}

.conect-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(186, 104, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conect-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-neon {
    width: 38px;
    height: 38px;
    background: rgba(176, 38, 255, 0.15);
    border: 1px solid var(--neon-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--neon-glow);
}

.user-text h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.status-badge {
    font-size: 10px;
    color: var(--neon-lilac);
    font-weight: 600;
}

.icon-btn-neon {
    background: rgba(176, 38, 255, 0.15);
    border: 1px solid rgba(176, 38, 255, 0.3);
    color: var(--neon-lilac);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.icon-btn-neon:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: var(--neon-glow);
}

.app-scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-scrollable-content::-webkit-scrollbar {
    width: 4px;
}

.app-scrollable-content::-webkit-scrollbar-thumb {
    background: rgba(186, 104, 255, 0.2);
    border-radius: 10px;
}

/* Card Radial de Resumo */
.usage-summary-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.summary-radial-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.radial-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.radial-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.radial-progress {
    fill: none;
    stroke: url(#neon-purple-grad);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

/* Definição de gradiente SVG */
svg {
    position: absolute;
}

.radial-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.radial-text span {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.radial-text small {
    font-size: 7px;
    color: #a496c0;
    text-transform: uppercase;
    margin-top: 2px;
}

.summary-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.summary-details p {
    font-size: 11px;
    color: #a496c0;
    line-height: 1.4;
}

/* Lista de Cards de Gerenciamento */
.apps-management-section h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neon-lilac);
    margin-bottom: 12px;
}

.apps-card-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-manage-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

.app-manage-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 16px;
}

.app-manage-info {
    flex: 1;
    min-width: 0;
}

.app-manage-name-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.app-manage-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.app-manage-time {
    font-size: 11px;
    color: #a496c0;
}

/* Progresso do Limite */
.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a855f7 0%, #b026ff 100%);
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.over-limit {
    background: linear-gradient(90deg, #ef4444 0%, #f43f5e 100%);
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.app-blocked-tag {
    font-size: 9px;
    font-weight: 700;
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 4px;
    padding: 0px 4px;
}

/* Aba de Navegação Interna */
.conect-tab-bar {
    border-top: 1px solid rgba(186, 104, 255, 0.12);
    height: 54px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #06030d;
}

.conect-tab-bar .tab-btn {
    background: none;
    border: none;
    color: #a496c0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: color 0.2s;
}

.conect-tab-bar .tab-btn.active, 
.conect-tab-bar .tab-btn:hover {
    color: var(--neon-lilac);
    text-shadow: var(--neon-glow);
}

/* ==========================================================================
   TELAS DE SESSÕES SIMULADAS DAS REDES
   ========================================================================== */

.social-header {
    height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.phone-back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.social-feed {
    flex: 1;
    overflow-y: auto;
    background: #000;
}

/* Instagram Sim */
.instagram-head { background: #000; }
.insta-font { font-family: 'Outfit', sans-serif; font-weight: 800; font-style: italic; }
.essential-label { font-size: 9px; background: rgba(255, 255, 255, 0.15); border-radius: 6px; padding: 2px 6px; }

.social-post {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 16px;
}

.post-owner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
}

.post-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #25252b;
}

.post-media {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    padding: 20px;
    text-align: center;
}

.gradient-purple {
    background: linear-gradient(135deg, #1e0b36 0%, #3b136f 100%);
}

.post-actions {
    padding: 10px 14px 4px 14px;
    font-size: 11px;
    font-weight: 700;
}

.post-caption {
    font-size: 11px;
    padding: 0 14px;
    line-height: 1.4;
    color: #ccc;
}

/* TikTok Sim */
.tiktok-head { background: #000; border-color: rgba(255,255,255,0.1); }
.tiktok-viewport {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tiktok-card-content {
    flex: 1;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gradient-dark-purple {
    background: linear-gradient(180deg, #100524 0%, #030107 100%);
}

.tiktok-avatar {
    position: absolute;
    right: 12px;
    bottom: 140px;
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 50%;
    border: 2px solid #fff;
}

.tiktok-actions {
    position: absolute;
    right: 12px;
    bottom: 60px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tiktok-desc h4 { font-size: 13px; color: #fff; margin-bottom: 4px; }
.tiktok-desc p { font-size: 11px; color: #ddd; }

/* YouTube Sim */
.youtube-head { background: #000; }
.yt-video { padding: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.yt-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-neon-purple {
    background: linear-gradient(135deg, #581c87 0%, #701a75 100%);
}

.play-btn { font-size: 32px; color: #fff; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.yt-info { margin-top: 10px; }
.yt-info h4 { font-size: 13px; color: #fff; font-weight: 600; }
.yt-info p { font-size: 11px; color: #a496c0; margin-top: 2px; }

/* Facebook Sim */
.facebook-head { background: #1877f2; }
.fb-post { background: #1c1a24; margin: 12px; border-radius: 10px; padding: 14px; border: 1px solid rgba(255,255,255,0.05); }
.fb-owner { font-size: 12px; color: #fff; margin-bottom: 8px; display: block; }
.fb-text { font-size: 12px; color: #ddd; line-height: 1.4; }

/* WhatsApp Sim */
.whatsapp-head { background: #075e54; }
.whatsapp-chat { background: #0b090f; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble { max-width: 80%; padding: 10px 12px; border-radius: 14px; font-size: 12px; position: relative; line-height: 1.4; }
.chat-bubble.left { background: #1f1a29; align-self: flex-start; color: #fff; border-bottom-left-radius: 2px; }
.chat-bubble.right { background: #00a884; align-self: flex-end; color: #fff; border-bottom-right-radius: 2px; }
.chat-time { font-size: 8px; color: rgba(255,255,255,0.6); display: block; text-align: right; margin-top: 4px; }

/* ==========================================================================
   MODAIS E SOBREPOSIÇÕES (GLASSMORPHISM NEON)
   ========================================================================== */

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 10, 0.75);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

.modal-overlay.hidden, 
.hidden {
    display: none !important;
}

.modal-card {
    width: 100%;
    max-width: 340px;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.2);
}

.modal-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.modal-card p {
    font-size: 11px;
    color: #a496c0;
    line-height: 1.4;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-form-group label {
    font-size: 11px;
    font-weight: 600;
    color: #c9bade;
    text-transform: uppercase;
}

.modal-form-group textarea {
    height: 60px;
    resize: none;
    font-size: 12px;
}

.modal-form-group input[type="number"] {
    padding: 10px 12px;
    font-size: 13px;
}

/* Controle Switch */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.switch-container input {
    display: none;
}

.switch-slider {
    width: 44px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    position: relative;
    transition: background 0.3s;
}

.switch-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.switch-container input:checked + .switch-slider {
    background: var(--neon-purple);
    box-shadow: var(--neon-glow);
}

.switch-container input:checked + .switch-slider::before {
    transform: translateX(20px);
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 12px;
    border-radius: 10px;
    flex: 1;
}

/* ==========================================================================
   WIZARD DE FRICÇÃO CONSCIENTE (DETOX ATIVO)
   ========================================================================== */

.friction-card {
    width: 100%;
    max-width: 350px;
    border-radius: 28px;
    padding: 28px 24px;
    box-shadow: 0 0 40px rgba(176, 38, 255, 0.35);
    border-color: var(--neon-lilac);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Progresso do Wizard */
.friction-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.friction-progress-bar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.06);
    z-index: 1;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a1626;
    border: 2px solid rgba(255,255,255,0.15);
    z-index: 2;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--neon-lilac);
    border-color: var(--neon-purple);
    box-shadow: var(--neon-glow);
    transform: scale(1.2);
}

.step-dot.completed {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
}

/* Passos Individuais */
.friction-step {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.friction-step.active {
    display: flex;
}

.step-icon {
    font-size: 42px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(176,38,255,0.4));
}

.friction-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.friction-step p {
    font-size: 11px;
    color: #a496c0;
    line-height: 1.45;
    margin-bottom: 16px;
}

/* TIMER DE RESPIRAÇÃO (ETAPA 1) */
.breath-timer {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(176, 38, 255, 0.12);
    border: 3px solid var(--neon-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    box-shadow: var(--neon-glow);
    animation: breathing 4s infinite ease-in-out;
}

@keyframes breathing {
    0% { transform: scale(0.9); box-shadow: 0 0 15px rgba(176,38,255,0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 35px rgba(176,38,255,0.7); }
    100% { transform: scale(0.9); box-shadow: 0 0 15px rgba(176,38,255,0.3); }
}

.breath-text {
    font-size: 12px !important;
    font-weight: 500;
    color: var(--neon-lilac) !important;
}

/* GRID DE EMOÇÕES E TAREFAS (ETAPAS 2 E 3) */
.emotions-grid, .tasks-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.btn-emotion, .btn-task {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e2d9f3;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-emotion:hover, .btn-task:hover {
    background: rgba(176, 38, 255, 0.1);
    border-color: var(--neon-purple);
}

.btn-emotion.selected, .btn-task.selected {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    color: #fff;
    box-shadow: var(--neon-glow);
}

/* CARD DE ALTERNATIVA (ETAPA 4) */
.alternative-suggestion-card {
    background: rgba(176, 38, 255, 0.08);
    border: 1px solid rgba(176, 38, 255, 0.25);
    border-radius: 16px;
    padding: 16px;
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
}

.alternative-suggestion-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--neon-lilac);
    margin-bottom: 4px;
}

.alternative-suggestion-card p {
    font-size: 11px;
    color: #e2d9f3;
    line-height: 1.4;
    margin-bottom: 0 !important;
}

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

.alternative-actions button {
    width: 100%;
}

/* FRASE DE COMPROMISSO (ETAPA 5) */
.phrase-target-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
}

#phrase-input {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}

/* Wizard Footer Controls */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

/* ==========================================================================
   ANIMAÇÕES E RESPONSIVIDADE
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(15px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsividade Mobile Nativo */
@media (max-width: 480px) {
    body {
        align-items: flex-start;
        background: var(--bg-dark);
    }
    
    .glow-orb {
        display: none;
    }
    
    .app-main-layout {
        padding: 0;
        min-height: 100vh;
    }
    
    .phone-wrapper {
        width: 100vw;
        height: 100vh;
        max-width: none;
        max-height: none;
        border-radius: 0;
        margin: 0;
    }
    
    .phone-body {
        border-radius: 0;
        border: none;
        padding: 0;
        box-shadow: none;
    }
    
    .phone-inner {
        border-radius: 0;
        border: none;
    }
    
    .dynamic-island, 
    .phone-btn {
        display: none;
    }
    
    .phone-status-bar {
        padding: 12px 16px 0 16px;
        height: 40px;
    }
    
    .phone-page {
        padding-top: 40px;
        padding-bottom: 12px;
    }
}

/* ==========================================================================
   TELA DE SELEÇÃO DE PLANOS (PRICING/DECÓ DE PREÇOS)
   ========================================================================== */

.plans-card {
    width: 100%;
    max-width: 960px; /* Wider card to fit 3 columns */
    border-radius: 28px;
    padding: 40px;
    animation: scaleUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

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

.plans-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(186, 104, 255, 0.2);
}

.plans-header p {
    font-size: 15px;
    color: #a496c0;
    max-width: 500px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.plan-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(22, 12, 38, 0.4);
    border: 1px solid rgba(186, 104, 255, 0.12);
}

.plan-item:hover {
    transform: translateY(-5px);
    background: rgba(33, 18, 56, 0.65);
    border-color: rgba(186, 104, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(176, 38, 255, 0.1);
}

/* Destaque do Plano Anual (Decoy Strategy) */
.plan-item.popular-plan {
    background: rgba(28, 12, 54, 0.75);
    border: 2px solid rgba(176, 38, 255, 0.65);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 
                0 0 25px rgba(176, 38, 255, 0.3),
                inset 0 0 15px rgba(186, 104, 255, 0.1);
    transform: scale(1.03);
}

.plan-item.popular-plan:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 
                0 0 35px rgba(176, 38, 255, 0.45),
                inset 0 0 20px rgba(186, 104, 255, 0.15);
    border-color: rgba(210, 140, 255, 0.85);
}

.plan-tag {
    position: absolute;
    top: -12px;
    background: var(--grad-neon);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.6);
}

.plan-tag-empty {
    height: 12px;
    visibility: hidden;
}

.plan-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 20px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 5px;
}

.plan-price .currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-lilac);
    margin-right: 4px;
}

.plan-price .price-value {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
}

.plan-price .period {
    font-size: 14px;
    color: #a496c0;
    margin-left: 2px;
}

.plan-billing {
    font-size: 12px;
    color: #a496c0;
    margin-bottom: 25px;
    text-align: center;
    height: 18px;
}

.plan-features {
    list-style: none;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 10px;
}

.plan-features li {
    font-size: 13.5px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: '✓';
    color: #a855f7;
    font-weight: bold;
}

.plan-features.text-highlight li {
    color: #fff;
}

.plan-features.text-highlight li::before {
    color: var(--neon-lilac);
    text-shadow: 0 0 8px rgba(176, 38, 255, 0.6);
}

.plan-item .btn-neon {
    width: 100%;
    margin-top: auto;
    padding: 12px 20px;
    font-size: 14px;
}

.plans-footer {
    text-align: center;
    font-size: 12px;
    color: #7c7295;
    margin-top: 15px;
}

/* Responsividade de Planos */
@media (max-width: 900px) {
    .plans-card {
        max-width: 500px;
        padding: 30px 20px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-item.popular-plan {
        transform: scale(1);
    }
    
    .plan-item.popular-plan:hover {
        transform: translateY(-5px);
    }
}

/* Seletor de Idiomas Interno do Celular */
.lang-selector {
    position: absolute;
    top: 55px;
    right: 15px;
    display: flex;
    gap: 4px;
    background: rgba(18, 9, 36, 0.7);
    border: 1px solid rgba(186, 104, 255, 0.25);
    border-radius: 20px;
    padding: 3px;
    backdrop-filter: blur(8px);
    z-index: 110;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #a496c0;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(186, 104, 255, 0.1);
}

.lang-btn.active {
    color: #fff;
    background: var(--grad-neon);
    box-shadow: 0 0 10px rgba(176, 38, 255, 0.4);
}

/* Customizações de layout para Auth e Planos dentro do celular */
#auth-container, #plans-container {
    padding: 85px 20px 24px 20px; /* Margem superior generosa para relógio, ilha dinâmica e seletor */
    overflow-y: auto;
    background: radial-gradient(circle at top, #140b2a 0%, #030107 100%);
    height: 100%;
}

/* Remove a borda e background externos de desktop */
#auth-container.phone-page, #plans-container.phone-page {
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

#auth-container .auth-header {
    margin-bottom: 24px;
}

#auth-container .logo-number {
    font-size: 32px;
}

#auth-container .logo-text {
    font-size: 30px;
}

#auth-container .auth-header h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

#auth-container .auth-header p {
    font-size: 11px;
    line-height: 1.4;
}

#auth-container .form-group {
    gap: 6px;
}

#auth-container .form-group label {
    font-size: 11px;
}

#auth-container .form-group input {
    padding: 10px 12px;
    font-size: 12px;
    border-radius: 10px;
}

#auth-container .btn-neon {
    padding: 12px;
    font-size: 13px;
    margin-top: 8px;
}

#auth-container .auth-toggle-text {
    font-size: 12px;
    margin-top: 4px;
}

#plans-container .plans-header h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

#plans-container .plans-header p {
    font-size: 11px;
    line-height: 1.4;
}

#plans-container .plans-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

#plans-container .plan-item {
    padding: 18px;
    border-radius: 16px;
}

#plans-container .plan-price {
    margin: 10px 0;
}

#plans-container .price-value {
    font-size: 28px;
}

#plans-container .plan-features {
    gap: 6px;
    margin-bottom: 16px;
}

#plans-container .plan-features li {
    font-size: 11px;
}

#plans-container .btn-select-plan {
    padding: 10px 16px;
    font-size: 12px;
}

#plans-container .plans-footer {
    font-size: 10px;
    line-height: 1.4;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#plans-container #btn-plans-logout {
    margin-left: 0 !important;
}

/* ==========================================================================
   ESTILOS ADICIONADOS PARA INTERATIVIDADE E SWISCHES DO 10CONECT
   ========================================================================== */

.switch-container {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .3s;
    border-radius: 20px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: var(--neon-purple);
}

input:checked + .switch-slider:before {
    transform: translateX(16px);
}

.conect-sub-page {
    display: none;
    flex-direction: column;
    height: 100%;
}

.conect-sub-page.active {
    display: flex;
}

.conect-sub-page.hidden {
    display: none;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.instagram-stories::-webkit-scrollbar {
    display: none;
}

.story-avatar {
    transition: transform 0.2s ease-in-out;
}

.story-item:hover .story-avatar {
    transform: scale(1.08);
}

.post-action-btn {
    transition: transform 0.1s ease;
}

.post-action-btn:active {
    transform: scale(0.9);
}

.wa-chat-item {
    transition: background 0.2s;
}

.wa-chat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.wa-chat-item:active {
    background: rgba(255, 255, 255, 0.06);
}

.tiktok-nav-arrows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tk-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tk-arrow:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Spinner do Player YouTube */
.yt-spinner {
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--neon-purple) !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

/* ==========================================================================
   TELA PRETA DE BLOQUEIO DE APLICATIVOS (LOCAL BLOCK)
   ========================================================================== */
#app-blocked-screen {
    background: #07070A !important;
    display: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 24px;
    box-sizing: border-box;
}

#app-blocked-screen.active {
    display: flex;
    animation: fadeIn 0.4s ease-out;
}

.blocked-screen-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 40px;
}

.blocked-icon {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px rgba(255, 0, 85, 0.4));
    animation: pulseShield 2s infinite ease-in-out;
}

.blocked-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.blocked-subtitle {
    font-size: 12px;
    color: #a496c0;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 10px;
}

.blocked-message-box {
    background: rgba(255, 0, 85, 0.05);
    border: 1px dashed rgba(255, 0, 85, 0.3);
    border-radius: 12px;
    padding: 14px;
    font-size: 11px;
    font-style: italic;
    color: #ffdce5;
    line-height: 1.4;
    width: 100%;
    margin-bottom: 32px;
    box-sizing: border-box;
    position: relative;
}

.blocked-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.blocked-actions button {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
}

@keyframes pulseShield {
    0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255, 0, 85, 0.4)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(255, 0, 85, 0.7)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255, 0, 85, 0.4)); }
}

/* Ajustes e Efeitos para o Botão de Bloqueio Instantâneo */
.btn-instant-block {
    transition: all 0.2s ease-in-out;
}

.btn-instant-block:hover {
    transform: scale(1.03);
}

.btn-instant-block.active:hover {
    background: rgba(255, 0, 85, 0.3) !important;
}
