:root {
    --primary: #5a67d8;
    --primary-dark: #4c51bf;
    --primary-light: #ebf4ff;
    --success: #48bb78;
    --success-light: #f0fff4;
    --warning: #ed8936;
    --warning-light: #fffaf0;
    --danger: #f56565;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--gray-50); color: var(--gray-800); line-height: 1.7; }

/* Header */
.header { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-lg); }
.header .logo { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.5px; text-decoration: none; color: white; }
.header .logo span { opacity: 0.8; font-weight: 400; font-size: 0.85rem; margin-left: 0.5rem; }
.header nav { display: flex; align-items: center; gap: 0.25rem; }
.header nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.85rem; padding: 0.4rem 0.75rem; border-radius: 6px; transition: all 0.2s; }
.header nav a:hover, .header nav a.active { color: white; background: rgba(255,255,255,0.15); }

/* Step Header */
.step-header { background: linear-gradient(135deg, var(--primary) 0%, #667eea 100%); color: white; padding: 3rem 2rem 2rem; }
.step-header.optional-bg { background: linear-gradient(135deg, var(--warning) 0%, #dd6b20 100%); }
.step-header.advanced-bg { background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-800) 100%); }
.step-header .container { max-width: 900px; margin: 0 auto; }
.step-label { display: inline-block; background: rgba(255,255,255,0.2); padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.step-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.step-header p { font-size: 1.05rem; opacity: 0.9; max-width: 650px; }

/* Progress Bar */
.progress-bar { background: white; border-bottom: 1px solid var(--gray-200); padding: 0.75rem 2rem; overflow-x: auto; }
.progress-bar .container { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 0.3rem; }
.prog-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; color: white; background: var(--gray-300); flex-shrink: 0; text-decoration: none; transition: transform 0.15s; }
.prog-dot:hover { transform: scale(1.15); }
.prog-dot.done { background: var(--success); }
.prog-dot.current { background: var(--primary); box-shadow: 0 0 0 3px rgba(90,103,216,0.3); transform: scale(1.1); }
.prog-dot.optional-dot.current { background: var(--warning); box-shadow: 0 0 0 3px rgba(237,137,54,0.3); }
.prog-dot.advanced-dot.current { background: var(--gray-600); box-shadow: 0 0 0 3px rgba(113,128,150,0.3); }
.prog-line { width: 12px; height: 2px; background: var(--gray-200); flex-shrink: 0; }

/* Container */
.container { max-width: 900px; margin: 0 auto; padding: 2.5rem 2rem; }

/* Content Cards */
.card { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.card h2 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.card h3 { font-size: 1.05rem; font-weight: 600; color: var(--gray-800); margin: 1.25rem 0 0.5rem; }

/* Menu Path */
.menu-path { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--gray-100); padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--gray-700); margin-bottom: 1rem; }
.menu-path .sep { color: var(--gray-400); }

/* Fields Table */
.fields-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.fields-table th { background: var(--gray-100); text-align: left; padding: 0.75rem 1rem; font-weight: 600; color: var(--gray-700); border-bottom: 2px solid var(--gray-200); }
.fields-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
.fields-table tr:hover td { background: var(--gray-50); }
.badge-required { display: inline-block; background: #fed7d7; color: #c53030; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.badge-optional { display: inline-block; background: var(--gray-100); color: var(--gray-600); padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }

/* Steps List */
.steps-list { counter-reset: step; list-style: none; margin: 1rem 0; }
.steps-list li { counter-increment: step; padding: 0.75rem 0 0.75rem 3rem; position: relative; border-bottom: 1px solid var(--gray-100); }
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: 0.7rem; width: 28px; height: 28px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; }

/* Tip & Warning Boxes */
.tip-box { background: linear-gradient(135deg, #ebf8ff, #e9d8fd); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.tip-box h4 { color: var(--primary-dark); margin-bottom: 0.4rem; font-size: 0.95rem; }
.tip-box p, .tip-box ul { font-size: 0.88rem; color: var(--gray-700); }
.tip-box ul { margin-left: 1.25rem; margin-top: 0.3rem; }
.warning-box { background: var(--warning-light); border-left: 4px solid var(--warning); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.warning-box h4 { color: #975a16; margin-bottom: 0.4rem; font-size: 0.95rem; }
.warning-box p { font-size: 0.88rem; color: var(--gray-700); }
.success-box { background: var(--success-light); border-left: 4px solid var(--success); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.success-box h4 { color: #276749; margin-bottom: 0.4rem; font-size: 0.95rem; }
.success-box p { font-size: 0.88rem; color: var(--gray-700); }

/* Navigation */
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-prev { background: var(--gray-100); color: var(--gray-700); }
.btn-prev:hover { background: var(--gray-200); }
.btn-next { background: var(--primary); color: white; box-shadow: var(--shadow); }
.btn-next:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-next.optional-btn { background: var(--warning); }
.btn-next.optional-btn:hover { background: #dd6b20; }

/* Footer */
.footer { background: var(--gray-900); color: var(--gray-300); text-align: center; padding: 2rem; margin-top: 1rem; }
.footer strong { color: white; }
.footer .year { opacity: 0.6; font-size: 0.85rem; margin-top: 0.5rem; }

/* Screenshot placeholder */
.screenshot { background: var(--gray-100); border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--gray-500); font-size: 0.9rem; margin: 1rem 0; }

/* Responsive */
@media (max-width: 640px) {
    .step-header h1 { font-size: 1.5rem; }
    .card { padding: 1.25rem; }
    .header { flex-direction: column; gap: 0.5rem; }
    .header nav { flex-wrap: wrap; justify-content: center; }
    .step-nav { flex-direction: column; gap: 1rem; }
    .fields-table { font-size: 0.8rem; }
    .fields-table th, .fields-table td { padding: 0.5rem; }
}
