/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #e5e7eb;
    background: #0a0a0f;
    -webkit-font-smoothing: antialiased;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #11151f;
    border-right: 1px solid #1e293b;
    padding: 32px 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #64748b;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 10px 0;
    font-weight: 500;
    transition: color 0.2s;
}

.sidebar a:hover {
    color: #ff69b4;
}

/* Conteúdo principal */
.content {
    flex: 1;
    padding: 48px 40px;
    max-width: 960px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
    color: #ff69b4;
}

/* Cabeçalho e títulos */
header {
    margin-bottom: 40px;
    text-align: center;
}

h1 {
    font-size: 28px;
    color: #ff69b4;
    margin-bottom: 12px;
}

h2 {
    font-size: 22px;
    color: #ff69b4;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1e293b;
}

h3 {
    font-size: 17px;
    color: #94a3b8;
    margin: 24px 0 12px;
}

/* Formulário simulador */
.simulator-form {
    background: #141824;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 32px;
    max-width: 420px;
    margin: 0 auto 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

label {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
    font-weight: 500;
}

input {
    width: 100%;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 14px 16px;
    color: #e2e8f0;
    font-size: 17px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255,105,180,0.2);
}

.help-text {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: -4px;
    margin-bottom: 16px;
}

.resultado {
    text-align: center;
    margin: 32px 0;
    padding: 20px;
    background: #0f172a;
    border-radius: 8px;
}

#recebido {
    font-size: 38px;
    font-weight: 700;
    color: #ff69b4;
}

button {
    width: 100%;
    background: #ff69b4;
    border: none;
    border-radius: 6px;
    padding: 14px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 16px;
}

button:hover {
    background: #ff1493;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

.btn-voltar {
    display: block;
    text-align: center;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: color 0.2s;
}

.btn-voltar:hover {
    color: #ff69b4;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    .sidebar.active {
        left: 0;
    }
    .menu-toggle {
        display: block;
    }
    .content {
        padding: 70px 20px 40px;
    }
    .simulator-form {
        padding: 24px;
        max-width: 100%;
    }
}