body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f0f4ff, #dbeafe);
    color: #222;
}

header {
    padding: 20px 40px;
    color: #1e3c72;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 22px;
}

.links a {
    margin-left: 20px;
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
}

.hero {
    text-align: center;
    color: #1e3c72;
    padding: 20px 20px 10px;
}

.card {
    max-width: 640px;
    margin: 20px auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e3c72;
}

input, select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 14px;
    box-sizing: border-box;
}

.loading-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.loading-buttons button {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 40px;
    background: #e0e7ff;
    color: #1e3c72;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.loading-buttons button:hover,
.loading-buttons button.active {
    background: #4338ca;
    color: white;
}

.methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.method-card {
    padding: 16px;
    text-align: center;
    border-radius: 15px;
    background: #f4f6fb;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.method-card:hover,
.method-card.active {
    background: #c7d2fe;
    border-color: #6366f1;
}

.method-card svg {
    margin-bottom: 12px;
    display: block;
}

.method-card p {
    font-weight: 600;
    color: #1e3c72;
    margin: 0;
    font-size: 14px;
}

.predict-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: white;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(6px);
}

.predict-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #4f46e5, #2563eb);
}

select, input {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.loading-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-buttons {
    justify-content: space-between;
}
