:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg: #f9fafb;
    --text: #1f2937;
    --card-bg: #ffffff;
    --border: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Landing Page */
header { text-align: center; margin-bottom: 2rem; }
.logo { font-weight: 800; font-size: 1.5rem; color: #111; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

.hero { text-align: center; }
.badge { display: inline-block; background: #dbeafe; color: var(--primary); font-weight: 700; font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 99px; margin-bottom: 1rem; }
h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.highlight { color: var(--primary); }
.subtitle { font-size: 1.1rem; color: #4b5563; margin-bottom: 2rem; }

.main-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.benefits { list-style: none; margin: 1.5rem 0 2rem; text-align: left; }
.benefits li { margin-bottom: 0.5rem; font-weight: 500; color: #374151; }

.btn-primary {
    display: block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 1.25rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.meta { font-size: 0.85rem; color: #9ca3af; margin-top: 1rem; }

/* Quiz Styles */
.quiz-container { background: white; padding: 2rem; border-radius: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.progress-container { width: 100%; height: 8px; background: #e5e7eb; border-radius: 4px; margin-bottom: 2rem; overflow: hidden; }
.progress-bar { width: 0%; height: 100%; background: var(--primary); transition: width 0.3s ease; }

.step { display: none; }
.step.active { display: block; animation: fadeIn 0.4s ease-out; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

h2 { margin-bottom: 1.5rem; font-size: 1.5rem; font-weight: 700; }
.options { display: flex; flex-direction: column; gap: 1rem; }

.option-card {
    border: 2px solid var(--border);
    padding: 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.option-card:hover { border-color: var(--primary); background: #eff6ff; }
.option-card input { display: none; }

/* Analyzing Page */
.analyzing-body { background: #111827; color: white; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.spinner { width: 60px; height: 60px; border: 5px solid rgba(255,255,255,0.1); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 2rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.check-list { margin-top: 2rem; text-align: left; display: inline-block; }
.check-item { opacity: 0.2; margin-bottom: 0.5rem; transition: opacity 0.3s; font-weight: 500; }

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    .main-card { padding: 1.5rem; }
}