*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #475569;
    --secondary-hover: #334155;
    --bg: #f1f5f9;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

header .subtitle {
    opacity: 0.85;
    font-size: 1rem;
}

/* Cards */
main {
    flex: 1;
    padding: 2rem 0;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.card ul {
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.card ul li {
    margin-bottom: 0.4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Form */
.form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-row input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-row input:focus {
    border-color: var(--primary);
}

/* Steps */
.steps {
    display: grid;
    gap: 1.25rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-num {
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.step p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 2rem 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.25rem;
    }

    .form-row {
        flex-direction: column;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        text-align: center;
    }
}
