* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FDB813 0%, #FFA500 50%, #FFD700 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(253, 184, 19, 0.4);
    border: 3px solid #FDB813;
}

h1 {
    color: #FF8C00;
    margin-bottom: 10px;
    text-align: center;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(253, 184, 19, 0.2);
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #FF8C00;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    font-size: 18px;
}

input[type="text"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #FFE4B5;
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.3s;
    background: linear-gradient(135deg, #FFFEF7 0%, #FFF9E6 100%);
    font-weight: 500;
    color: #333;
}

input[type="text"]:hover {
    border-color: #FDB813;
    background: #FFFFFF;
}

input[type="text"]:focus {
    outline: none;
    border-color: #FDB813;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(253, 184, 19, 0.15), 0 4px 12px rgba(253, 184, 19, 0.2);
    transform: translateY(-2px);
}

input[type="text"]::placeholder {
    color: #BBB;
    font-weight: 400;
}

.info-box {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFAED 100%);
    border-left: 4px solid #FDB813;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #666;
    box-shadow: 0 2px 8px rgba(253, 184, 19, 0.15);
}

.info-box strong {
    color: #FF8C00;
}

.results {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #FDB813 0%, #FFA500 100%);
    border-radius: 15px;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(253, 184, 19, 0.4);
}

.results h2 {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 15px;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    font-size: 16px;
}

.lucro-liquido {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lucro-liquido .result-value {
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FDB813 0%, #FF8C00 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 184, 19, 0.5);
    background: linear-gradient(135deg, #FF8C00 0%, #FDB813 100%);
}

button:active {
    transform: translateY(0);
}

/* Animação sutil ao exibir resultados */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results {
    animation: fadeIn 0.5s ease-out;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FDB813;
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3);
    margin: 0 auto;
}
