/* VARIABLES */
:root {
--primary: #2563eb;
--primary-dark: #1d4ed8;
--primary-light: #dbeafe;
--secondary: #f59e0b;
--success: #10b981;
--text: #1e293b;
--text-light: #64748b;
--light: #f8fafc;
--gray: #94a3b8;
--border: #e2e8f0;
--shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
--radius: 12px;
--transition: all 0.3s ease;
}

/* BASE STYLES */

{ margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Inter', system-ui, sans-serif;
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
padding-bottom: 2rem;
}

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}

/* HEADER */
header {
background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
padding: 1rem 5%;
box-shadow: var(--shadow);
position: sticky;
top: 0;
z-index: 100;
}

.logo {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.8rem;
font-weight: 800;
color: white;
text-decoration: none;
padding: 0.5rem 0;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
transition: var(--transition);
}

.logo:hover {
transform: translateY(-2px);
opacity: 0.9;
}

.logo-icon {
filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

/* MAIN CONTENT */
.container {
max-width: 500px;
margin: 3rem auto 0;
padding: 0 1.5rem;
}

.card {
background: white;
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 1.5rem;
transition: var(--transition);
}

.info-text {
text-align: center;
margin-bottom: 2rem;
padding: 2rem 1.5rem;
}

.info-text h2 {
color: var(--primary);
font-size: 1.75rem;
margin-bottom: 0.75rem;
background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.info-text p {
color: var(--text-light);
font-size: 1.1rem;
max-width: 400px;
margin: 0 auto;
}

/* FORM */
.input-group {
margin-bottom: 1.5rem;
}

label {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--text);
}

input {
width: 90%;
padding: 1rem;
border: 2px solid var(--border);
border-radius: var(--radius);
font-size: 1rem;
transition: var(--transition);
}

input:focus {
border-color: var(--primary);
outline: none;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

button {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
background: linear-gradient(90deg, var(--secondary) 0%, #e67e22 100%);
color: white;
border: none;
padding: 1rem;
font-size: 1.1rem;
font-weight: 600;
border-radius: var(--radius);
cursor: pointer;
width: 100%;
transition: var(--transition);
margin-top: 0.5rem;
}

button:hover {
transform: translateY(-3px);
box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

/* RESULTS */
.result {
display: none;
margin-top: 2rem;
animation: fadeIn 0.5s;
border-top: 4px solid var(--success);
}

.result-header {
text-align: center;
margin-bottom: 1.5rem;
}

.result-header h3 {
font-size: 1.5rem;
color: var(--success);
margin-top: 0.5rem;
}

.result-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 1.5rem;
}

.result-grid > div {
display: flex;
flex-direction: column;
background: var(--primary-light);
padding: 0.75rem;
border-radius: 8px;
}

.result-grid span {
font-size: 0.9rem;
color: var(--text-light);
}

.result-grid strong {
font-size: 1.1rem;
margin-top: 0.25rem;
}

.branding {
text-align: center;
font-weight: 700;
color: var(--primary);
font-size: 1.1rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
}

/* ANIMATIONS */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 480px) {
.container {
margin-top: 1rem;
}

.info-text {
padding: 1.5rem 1rem;
}

.info-text h2 {
font-size: 1.5rem;
}

.result-grid {
grid-template-columns: 1fr;
}
}