:root {
    --bg-base: #030305;
    --bg-form: #07070A;
    --bg-visual: #0A0A0E;
    --primary: #FF9900;
    --primary-light: #FFB833;
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --border: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 153, 0, 0.3);
    --radius-md: 12px;
    --radius-full: 9999px;
    --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--text-main); line-height: 1.5; overflow: hidden; background: var(--bg-form); }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }

.split-layout {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Esquerda Visuals */
.split-visual {
    flex: 1;
    background: var(--bg-visual);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.visual-glow-1 {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.15) 0%, transparent 60%);
    top: -10%; left: -10%; border-radius: 50%;
}
.visual-glow-2 {
    position: absolute; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 90, 0, 0.12) 0%, transparent 60%);
    bottom: -10%; right: -10%; border-radius: 50%;
}

.mockup-container {
    width: 100%;
    max-width: 480px;
    z-index: 2;
    transform: perspective(1000px) rotateY(12deg) rotateX(4deg) translateX(-10px);
    transition: transform 0.5s;
}

.mockup-container:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(2deg) translateX(0px);
}

.widget-row {
    margin-bottom: 1.5rem;
}
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.glass-widget {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.revenue-widget h3 {
    font-size: 2.5rem; font-weight: 800; margin: 0.5rem 0; background: linear-gradient(90deg, #fff, #bbb); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.trend.positive { color: #4ADE80; font-size: 0.9rem; font-weight: 600; }
.widget-header { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }

.stat-widget { display: flex; flex-direction: column; justify-content: space-between; }
.stat-inner .stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.stat-inner .stat-value { display: block; font-size: 1.6rem; font-weight: 800; margin-top: 5px; color: var(--text-main); }
.bar-chart { display: flex; gap: 8px; align-items: flex-end; height: 40px; margin-top: 15px; }
.bar { flex: 1; background: var(--primary); border-radius: 4px 4px 0 0; opacity: 0.8; transition: height 0.5s; }
.bar:hover { opacity: 1; background: var(--primary-light); }

.pie-widget { text-align: center; }
.pie-widget .stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; text-align: left; }
.pie-chart { width: 80px; height: 80px; border-radius: 50%; background: conic-gradient(var(--primary) 0% 70%, #333 70% 100%); margin: 15px auto; box-shadow: inset 0 0 0 8px rgba(15,15,20,0.8); }
.pie-legend { display: flex; justify-content: center; gap: 10px; font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.dot.color-1 { background: var(--primary); }
.dot.color-2 { background: #333; }

.table-rows { margin-top: 1rem; }
.t-row { display: flex; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; align-items: center; }
.t-row:last-child { border-bottom: none; padding-bottom: 0; }
.t-name { font-weight: 500; }
.badge { padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.badge-success { background: rgba(74, 222, 128, 0.15); color: #4ADE80; box-shadow: 0 0 10px rgba(74, 222, 128, 0.1); }
.badge-warning { background: rgba(255, 153, 0, 0.15); color: var(--primary); box-shadow: 0 0 10px rgba(255, 153, 0, 0.1); }

.branding-overlay {
    position: absolute; bottom: 50px; left: 50px; z-index: 3;
}
.branding-overlay h2 { font-size: 2rem; font-weight: 800; color: rgba(255,255,255,0.3); letter-spacing: -0.03em; line-height: 1.1; }

/* Direita: Formulário */
.split-form {
    flex: 1;
    background: var(--bg-form);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.form-container {
    width: 100%;
    max-width: 360px;
    animation: fadeIn 0.5s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 3.5rem;
    letter-spacing: -0.04em;
}
.logo img { height: 42px; width: auto; transform: scale(1.15) translateY(2px); }

.form-header h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; line-height: 1.2; }
.form-header p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; line-height: 1.5; }

.input-group { margin-bottom: 1.25rem; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.input-group input {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-size: 0.9rem;
    transition: all 0.2s;
    font-family: inherit;
}
.input-group input:focus { outline: none; border-color: var(--primary); background: rgba(255,153,0,0.03); box-shadow: 0 0 0 3px rgba(255,153,0,0.1); }
.input-group input::placeholder { color: rgba(255,255,255,0.2); }

.checkbox-group { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 2rem; padding-top: 0.5rem; }
.checkbox-group input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }
.checkbox-group label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; cursor: pointer; }

.btn-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #E68A00 100%);
    color: #110B00;
    border: none;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
    letter-spacing: 0.02em;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.35);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.2);
}

.login-link-bottom { text-align: center; margin-top: 2rem; font-size: 0.95rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
.login-link-bottom a { font-weight: 600; color: var(--primary); text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.2s ease; }
.login-link-bottom a:hover { color: var(--primary-light); border-bottom-color: var(--primary-light); }

@media (max-width: 900px) {
    body { overflow: auto; }
    .split-layout { flex-direction: column; height: auto; min-height: 100vh; }
    .split-visual { display: none; }
    .split-form { padding: 3rem 1.5rem; align-items: flex-start; }
    .form-container { margin: 0 auto; }
}
