/* ===== RESET & VARIABLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-color: #046bd2;
    --secondary-color: #197972;
    --primary-light: rgba(4,107,210,0.1);
    --primary-dark: #045cb4;
}

/* ===== LAYOUT ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh; padding: 20px;
}
.container { max-width: 900px; margin: 0 auto; background: white; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); overflow: hidden; }

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white; padding: 40px; text-align: center;
}
.header-logo { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.header-logo img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.header-logo-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.4); }
.header-logo-product { font-size: 28px; font-weight: 700; color: white; }
.header h1 { font-size: 32px; margin-bottom: 10px; font-weight: 600; }
.header p { font-size: 16px; opacity: 0.95; line-height: 1.6; }

/* ===== PROGRESS BAR ===== */
.progress-bar { background: rgba(255,255,255,0.2); height: 6px; margin-top: 20px; border-radius: 3px; overflow: hidden; }
.progress-fill { background: white; height: 100%; width: 0%; transition: width 0.3s ease; }

/* ===== FORM CONTENT ===== */
.form-content { padding: 40px; }
.section { display: none; animation: fadeIn 0.5s ease; }
.section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== SECTION TITLES ===== */
.section-title { font-size: 24px; color: var(--primary-color); margin-bottom: 8px; font-weight: 600; }
.section-subtitle { font-size: 14px; color: #6b7280; margin-bottom: 30px; }

/* ===== FORM FIELDS ===== */
.form-group { margin-bottom: 25px; }
.form-group > label { display: block; font-weight: 600; color: #374151; margin-bottom: 8px; font-size: 14px; }
.required { color: #ef4444; }
input[type="text"], input[type="email"], input[type="number"], input[type="tel"], input[type="date"], select, textarea {
    width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: 8px;
    font-size: 14px; transition: all 0.3s ease; font-family: inherit;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px var(--primary-light);
}
textarea { min-height: 100px; resize: vertical; }
.help-text { font-size: 13px; color: #6b7280; margin-top: 6px; }

/* ===== CHECKBOX & RADIO ===== */
.checkbox-group { display: flex; flex-direction: column; gap: 12px; }
.checkbox-item {
    display: flex; align-items: center; padding: 12px; border: 2px solid #e5e7eb;
    border-radius: 8px; cursor: pointer; transition: all 0.3s ease;
}
.checkbox-item:hover { border-color: var(--primary-color); background: #f9fafb; }
.checkbox-item input[type="checkbox"] { width: 20px; height: 20px; margin-right: 12px; cursor: pointer; accent-color: var(--primary-color); }
.checkbox-item label { margin: 0; cursor: pointer; font-weight: 500; }
.radio-group { display: flex; flex-direction: column; gap: 12px; }
.radio-item {
    display: flex; align-items: center; padding: 12px; border: 2px solid #e5e7eb;
    border-radius: 8px; cursor: pointer; transition: all 0.3s ease;
}
.radio-item:hover { border-color: var(--primary-color); background: #f9fafb; }
.radio-item input[type="radio"] { width: 20px; height: 20px; margin-right: 12px; cursor: pointer; accent-color: var(--primary-color); }
.radio-item label { margin: 0; cursor: pointer; font-weight: 500; }

/* ===== GRID LAYOUTS ===== */
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }

/* ===== BUTTONS ===== */
.button-group { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 30px; border-top: 2px solid #e5e7eb; }
.button-group button {
    padding: 14px 32px; font-size: 16px; font-weight: 600; border: none;
    border-radius: 8px; cursor: pointer; transition: all 0.3s ease; font-family: inherit;
}
.btn-prev { background: #f3f4f6; color: #374151; }
.btn-prev:hover { background: #e5e7eb; }
.btn-next, .btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); color: white;
}
.btn-next:hover, .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(4,107,210,0.3); }
.btn-prev:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-skip { background: transparent; color: #6b7280; border: 2px solid #e5e7eb !important; }
.btn-skip:hover { border-color: var(--primary-color) !important; color: var(--primary-color); }

/* ===== INFO BOX ===== */
.info-box {
    background: rgba(4,107,210,0.05); border-left: 4px solid var(--primary-color);
    padding: 16px; margin-bottom: 20px; border-radius: 4px;
}
.info-box p { color: var(--primary-dark); font-size: 14px; line-height: 1.6; }

/* ===== SUMMARY ===== */
.summary-section { background: #f9fafb; padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.summary-section h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 18px; }
.summary-item { display: flex; padding: 10px 0; border-bottom: 1px solid #e5e7eb; }
.summary-label { font-weight: 600; color: #374151; min-width: 200px; }
.summary-value { color: #6b7280; }

/* ===== STATUS & FEEDBACK ===== */
.demo-error {
    display: none; text-align: center; padding: 16px; background: #fef2f2; border: 2px solid #fecaca;
    border-radius: 8px; color: #dc2626; margin-top: 16px;
}
.demo-success {
    display: none; text-align: center; padding: 16px; background: #ecfdf5; border: 2px solid #a7f3d0;
    border-radius: 8px; color: #059669; margin-top: 16px;
}
.demo-info {
    display: none; text-align: center; padding: 24px; background: rgba(4,107,210,0.06); border: 2px solid rgba(4,107,210,0.2);
    border-radius: 8px; color: var(--primary-dark);
}
.demo-info h3 { margin-bottom: 8px; font-size: 20px; }
.demo-info p { font-size: 14px; line-height: 1.6; }
.spinner {
    width: 48px; height: 48px; border: 4px solid #e5e7eb; border-top-color: var(--primary-color);
    border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-status { display: none; text-align: center; padding: 40px; }
.demo-status h3 { color: #1e293b; margin-bottom: 8px; font-size: 20px; }
.demo-status p { color: #6b7280; }

/* ===== DEMO READY ===== */
.demo-ready { display: none; text-align: center; padding: 40px; }
.demo-ready h3 { color: #059669; margin-bottom: 12px; font-size: 22px; }
.demo-ready .site-url {
    display: inline-block; padding: 14px 28px; background: #ecfdf5; border: 2px solid #a7f3d0;
    border-radius: 8px; font-size: 18px; font-weight: 600; color: #059669; text-decoration: none; margin: 16px 0;
}
.demo-ready .site-url:hover { background: #d1fae5; }
.demo-ready .credentials {
    margin-top: 20px; padding: 20px; background: #f9fafb; border-radius: 8px; text-align: left; font-size: 14px;
}
.demo-ready .credentials code { background: #e5e7eb; padding: 2px 6px; border-radius: 4px; font-weight: 600; }

/* ===== MISC ===== */
.demo-link {
    display: block; text-align: center; margin-top: 16px;
    color: var(--primary-color); font-size: 14px; cursor: pointer; text-decoration: underline;
}
.demo-link:hover { color: var(--primary-dark); }
.demo-divider {
    display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #9ca3af; font-size: 14px;
}
.demo-divider::before, .demo-divider::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.feature-card {
    padding: 16px; background: #f9fafb; border: 2px solid #e5e7eb; border-radius: 8px;
    font-size: 14px; color: #374151; transition: all 0.3s ease;
}
.feature-card:hover { border-color: var(--primary-color); transform: translateY(-2px); }
.feature-card strong { color: var(--primary-color); display: block; margin-bottom: 4px; font-size: 15px; }
.success-icon {
    width: 80px; height: 80px; background: #10b981; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 40px; color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container { margin: 10px; }
    .header { padding: 30px 20px; }
    .header h1 { font-size: 24px; }
    .form-content { padding: 30px 20px; }
    .two-column, .module-grid { grid-template-columns: 1fr; }
    .button-group { flex-direction: column; gap: 10px; }
    .button-group button { width: 100%; }
    .feature-grid { grid-template-columns: 1fr; }
}
