/* public/landing_pages/css/style.css */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --surface: #ffffff;
    --background: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* HERO */
.hero {
    background: white;
    text-align: center;
    padding: 4rem 1rem;
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.05rem;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* QUIZ CARD */
.quiz-container {
    max-width: 600px;
    margin: -3rem auto 4rem;
    background: var(--surface);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.progress-bar {
    height: 6px;
    background: #e2e8f0;
    width: 100%;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

.step {
    padding: 2.5rem;
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* OPTIONS GRID */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.option-card {
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.option-card:hover {
    border-color: var(--primary);
    background: #eff6ff;
}

.option-card.selected {
    border-color: var(--primary);
    background: #eff6ff ring 2px var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.option-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* FORM FIELDS */
.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    box-sizing: border-box;
    /* Important for width: 100% calculation */
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn:hover {
    background: var(--primary-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none;
}