:root {
    --bg: #0f172a;
    --surface: #1e293b;
    --surface-hover: #334155;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent: #10b981;
    --border: #334155;
    --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background-color: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

header { padding: 20px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); z-index: 100; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.hero { padding: 80px 0 60px; text-align: center; }
.badge { display: inline-block; background: rgba(59, 130, 246, 0.15); color: var(--primary); padding: 6px 14px; border-radius: 99px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn { padding: 14px 28px; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface-hover); }

.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); }

.showroom-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; background: var(--surface); padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn { padding: 8px 16px; border-radius: 8px; background: transparent; color: var(--text-muted); border: none; cursor: pointer; font-weight: 600; transition: 0.2s; }
.tab-btn.active { background: var(--primary); color: white; }
.theme-picker { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.color-dot { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: transform 0.2s; }
.color-dot.active { border-color: white; transform: scale(1.15); }

.mockup-window { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); transition: all 0.3s ease; }
.mockup-bar { background: #0b1120; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ef4444; }
.dot.y { background: #f59e0b; }
.dot.g { background: #10b981; }
.mockup-url { margin-left: 12px; background: var(--surface); padding: 4px 12px; border-radius: 6px; font-size: 0.8rem; color: var(--text-muted); flex-grow: 1; max-width: 300px; }
.mockup-body { padding: 40px 30px; min-height: 340px; display: flex; flex-direction: column; justify-content: center; transition: background 0.3s, color 0.3s; }
.mockup-tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 12px; opacity: 0.8; }
.mockup-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; max-width: 550px; }
.mockup-desc { max-width: 500px; margin-bottom: 24px; opacity: 0.9; }
.mockup-cta { align-self: flex-start; padding: 12px 24px; border-radius: 8px; font-weight: 600; border: none; cursor: default; }
.mockup-stats { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(128, 128, 128, 0.2); display: flex; gap: 30px; flex-wrap: wrap; font-size: 0.9rem; }

.quiz-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; max-width: 720px; margin: 0 auto; }
.progress-wrap { margin-bottom: 24px; }
.progress-info { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.progress-bar { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); width: 20%; transition: width 0.3s ease; }
.quiz-question { font-size: 1.35rem; font-weight: 700; margin-bottom: 20px; }
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 28px; }
.option-card { background: var(--bg); border: 2px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; transition: all 0.2s; text-align: left; }
.option-card:hover { border-color: var(--primary); }
.option-card.selected { border-color: var(--primary); background: rgba(59, 130, 246, 0.12); }
.option-title { font-weight: 600; margin-bottom: 4px; }
.option-sub { font-size: 0.85rem; color: var(--text-muted); }
.quiz-footer { display: flex; justify-content: space-between; align-items: center; }

.result-card { display: none; }
.result-summary { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 20px 0; }
.result-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.result-row:last-child { border-bottom: none; }
.result-price { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.form-group { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.input-field { flex-grow: 1; min-width: 220px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 1rem; }
.input-field:focus { outline: none; border-color: var(--primary); }
.success-msg { display: none; background: rgba(16, 185, 129, 0.15); border: 1px solid var(--accent); color: var(--accent); padding: 16px; border-radius: 12px; margin-top: 16px; font-weight: 500; }
footer { text-align: center; padding: 40px 0; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--border); margin-top: 40px; }
