/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-color: #0d0f12;
    --card-bg: rgba(22, 25, 30, 0.85); /* Efeito Glass */
    --text-main: #f0f2f5;
    --text-muted: #9ba1a6;
    --accent: #00f2fe; /* Cyan TikTok */
    --accent-hover: #00d4df;
    --tiktok-pink: #ff0050;
    --tiktok-cyan: #00f2fe;
    --border-color: rgba(42, 46, 53, 0.5);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* ==================================
   LANDING PAGE (NOVO INDEX)
   ================================== */
.lp-body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.lp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 50px;
}

.hero-badge {
    background: rgba(255, 0, 80, 0.1);
    border: 1px solid var(--tiktok-pink);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--tiktok-pink);
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-tiktok {
    color: var(--tiktok-cyan);
    text-shadow: 2px 2px 0px rgba(255, 0, 80, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.lp-btn {
    font-size: 1.2rem;
    padding: 18px 40px;
    max-width: 400px;
    margin: 0 auto;
}

.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-card:hover {
    border-color: var(--tiktok-cyan);
}

.feature-icon {
    margin-bottom: 20px;
    display: inline-block;
    transform: translateZ(30px);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    display: block;
}

.pink-glow svg { stroke: var(--tiktok-pink); filter: drop-shadow(0 0 10px var(--tiktok-pink)); }
.cyan-glow svg { stroke: var(--tiktok-cyan); filter: drop-shadow(0 0 10px var(--tiktok-cyan)); }
.mixed-glow svg { stroke: #fff; filter: drop-shadow(-5px 0 10px var(--tiktok-cyan)) drop-shadow(5px 0 10px var(--tiktok-pink)); }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transform: translateZ(20px);
}

.feature-card p {
    color: var(--text-muted);
    transform: translateZ(10px);
}

.login-section {
    padding: 100px 0 150px;
    display: flex;
    justify-content: center;
}

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

/* Fundo Imersivo TikTok */
.tiktok-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 0, 80, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-cyan {
    width: 300px; height: 300px;
    background-color: var(--tiktok-cyan);
    top: -100px; left: -100px;
}

.orb-pink {
    width: 250px; height: 250px;
    background-color: var(--tiktok-pink);
    bottom: -50px; right: -50px;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Remoção do .login-container antigo */

.login-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d; /* Para o vanilla tilt */
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Efeito Glitch no Logo */
.glitch {
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.8;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--tiktok-pink);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--tiktok-cyan);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(20px, 9999px, 15px, 0); }
    20% { clip: rect(60px, 9999px, 50px, 0); }
    40% { clip: rect(10px, 9999px, 40px, 0); }
    60% { clip: rect(80px, 9999px, 30px, 0); }
    80% { clip: rect(30px, 9999px, 70px, 0); }
    100% { clip: rect(50px, 9999px, 20px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(40px, 9999px, 10px, 0); }
    40% { clip: rect(70px, 9999px, 60px, 0); }
    60% { clip: rect(20px, 9999px, 80px, 0); }
    80% { clip: rect(90px, 9999px, 20px, 0); }
    100% { clip: rect(10px, 9999px, 50px, 0); }
}

.tiktok-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 2px 2px 0px rgba(255, 0, 80, 0.3), -2px -2px 0px rgba(0, 242, 254, 0.3);
    transform: translateZ(30px); /* 3D float */
}

.login-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

input[type="password"] {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 3px;
    transform: translateZ(20px);
}

input[type="password"]:focus {
    outline: none;
    border-color: var(--tiktok-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    background-color: rgba(0,0,0,0.6);
}

.btn-primary {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--tiktok-cyan), var(--tiktok-pink));
    background-size: 200% auto;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.5s;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateZ(25px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 5px 25px rgba(255, 0, 80, 0.4), 0 5px 25px rgba(0, 242, 254, 0.4);
    transform: translateZ(25px) scale(1.02);
}

.error-msg {
    color: #ff4757 !important;
    font-size: 0.85rem !important;
    margin-top: 15px;
    min-height: 20px;
    margin-bottom: 0 !important;
}

/* ==================================
   PÁGINA DE CONTEÚDO
   ================================== */
.content-bg {
    background-color: var(--bg-color);
}

.main-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-small {
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
}

.btn-logout {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 50px;
    margin: 40px auto 80px;
    animation: slideUp 0.5s ease-out;
}

.content-card h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.module {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.module:last-of-type {
    border-bottom: none;
}

.module h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
}

.module p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.module ul, .module ol {
    color: var(--text-muted);
    margin-left: 20px;
    font-size: 1.05rem;
}

.module li {
    margin-bottom: 10px;
}

.module strong {
    color: #fff;
}

code {
    background-color: #0d0f12;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent);
    font-family: monospace;
}

.cta-section {
    background: linear-gradient(145deg, #1a1e24 0%, #16191e 100%);
    border: 1px solid var(--accent);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.cta-section h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.cta-section p {
    color: var(--text-main);
    margin-bottom: 0;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 600px) {
    .content-card {
        padding: 30px 20px;
        margin: 20px auto 40px;
    }
    .content-card h1 {
        font-size: 2rem;
    }
}
