/* 东莞入户测评网 样式表 (index.css) */
:root {
            --primary: #1a56db;
            --primary-dark: #134bb6;
            --primary-light: #e8edfc;
            --secondary: #0e9f6e;
            --secondary-light: #e8f9f3;
            --accent: #f59e0b;
            --accent-light: #fef3c7;
            --danger: #ef4444;
            --danger-light: #fee2e2;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-muted: #94a3b8;
            --bg: #f8fafc;
            --bg-white: #ffffff;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 16px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg);
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== Header ===== */
        .header {
            background: linear-gradient(135deg, #1a56db 0%, #0e4cad 50%, #093d8a 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }
        .header::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); border-radius: 50%; }
        .header::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); border-radius: 50%; }
        .header-inner { max-width: 1200px; margin: 0 auto; padding: 28px 24px 32px; position: relative; z-index: 1; }
        .header-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
        .logo-area { display: flex; align-items: center; gap: 14px; }
        .logo-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; border: 1px solid rgba(255,255,255,0.2); }
        .logo-text h1 { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
        .logo-text p { font-size: 12px; opacity: 0.75; margin-top: 2px; }
        .header-url { background: rgba(255,255,255,0.12); padding: 8px 18px; border-radius: 20px; font-size: 13px; border: 1px solid rgba(255,255,255,0.2); }
        .hero-title { text-align: center; margin-bottom: 10px; }
        .hero-title h2 { font-size: clamp(26px, 5vw, 40px); font-weight: 900; margin-bottom: 10px; letter-spacing: 2px; }
        .hero-title p { font-size: clamp(14px, 2.5vw, 17px); opacity: 0.88; font-weight: 300; }
        .hero-stats { display: flex; justify-content: center; gap: 32px; margin-top: 22px; flex-wrap: wrap; }
        .stat-item { text-align: center; }
        .stat-num { font-size: 28px; font-weight: 900; }
        .stat-label { font-size: 12px; opacity: 0.7; margin-top: 2px; }

        /* ===== Main ===== */
        .main-content { max-width: 900px; margin: 0 auto; padding: 32px 20px 60px; flex: 1; width: 100%; }

        /* ===== Progress ===== */
        .progress-container { margin-bottom: 28px; }
        .progress-bar { display: flex; align-items: center; background: var(--bg-white); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); }
        .progress-step { flex: 1; text-align: center; padding: 8px 4px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--text-muted); transition: all 0.3s ease; }
        .progress-step.active { background: var(--primary); color: white; font-weight: 700; }
        .progress-step.completed { background: var(--secondary); color: white; }
        @media (max-width: 600px) { .progress-step { font-size: 11px; padding: 6px 2px; } }

        /* ===== Card ===== */
        .card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px; margin-bottom: 24px; }
        .section-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
        .section-title .icon { width: 36px; height: 36px; background: var(--primary-light); color: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
        .section-sub { font-size: 13px; color: var(--text-muted); margin-top: -16px; margin-bottom: 20px; }

        /* ===== Form ===== */
        .form-group { margin-bottom: 22px; }
        .form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
        .form-label .required { color: var(--danger); margin-left: 2px; }
        .form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        @media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

        select, input[type="text"] {
            width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm);
            font-size: 15px; font-family: inherit; color: var(--text-primary); background: var(--bg-white);
            transition: all 0.2s ease; appearance: none; -webkit-appearance: none;
        }
        select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
        select:focus, input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

        .option-group { display: flex; flex-direction: column; gap: 10px; }
        .option-item { display: flex; align-items: center; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s ease; user-select: none; }
        .option-item:hover { border-color: var(--primary); background: var(--primary-light); }
        .option-item.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px var(--primary-light); }
        .option-item input { display: none; }
        .option-radio { width: 20px; height: 20px; border: 2px solid var(--border); border-radius: 50%; margin-right: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s ease; }
        .option-item.selected .option-radio { border-color: var(--primary); background: var(--primary); }
        .option-item.selected .option-radio::after { content: ''; width: 8px; height: 8px; background: white; border-radius: 50%; }
        .option-text { font-size: 14px; font-weight: 500; }
        .option-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border: none; border-radius: var(--radius-md); font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all 0.25s ease; text-decoration: none; }
        .btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; box-shadow: 0 4px 14px rgba(26,86,219,0.35); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,86,219,0.45); }
        .btn-secondary { background: var(--bg); color: var(--text-secondary); border: 2px solid var(--border); }
        .btn-secondary:hover { border-color: var(--text-muted); background: var(--bg-white); }
        .btn-block { width: 100%; }
        .btn-group { display: flex; gap: 12px; margin-top: 28px; }
        .btn-group .btn { flex: 1; }
        .action-bar { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
        .action-bar .btn { flex: 1; max-width: 280px; font-size: 15px; }
        @media (max-width: 600px) { .action-bar { margin-top: 22px; } .action-bar .btn { flex-basis: 100%; max-width: 100%; } }

        /* ===== Result ===== */
        .step-section { display: none; }
        .step-section.active { display: block; animation: fadeInUp 0.4s ease; }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        .result-header { text-align: center; margin-bottom: 28px; }
        .result-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 999px; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
        .result-badge.success { background: var(--secondary-light); color: #047857; }
        .result-badge.warning { background: var(--accent-light); color: #b45309; }
        .result-header h3 { font-size: 24px; font-weight: 800; }
        .result-header p { color: var(--text-secondary); margin-top: 6px; }
        .shortcut-note { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; font-size: 13px; padding: 10px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; text-align: center; }

        .plan-card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; margin-bottom: 20px; border: 2px solid transparent; }
        .plan-card.recommended { border-color: var(--primary); position: relative; }
        .plan-card.recommended::before { content: '✦ 推荐方案'; position: absolute; top: 16px; right: -32px; background: var(--primary); color: white; font-size: 11px; font-weight: 700; padding: 4px 40px; transform: rotate(45deg); }
        .plan-header { padding: 24px 28px; background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 100%); border-bottom: 1px solid var(--border); }
        .plan-name { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
        .plan-channel { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
        .plan-body { padding: 24px 28px; }
        .plan-section { margin-bottom: 20px; }
        .plan-section:last-child { margin-bottom: 0; }
        .plan-section-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
        .plan-section-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
        .plan-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
        .plan-tag { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--bg); color: var(--text-secondary); border: 1px solid var(--border); }
        .plan-tag.highlight { background: var(--secondary-light); color: #047857; border-color: #a7f3d0; }
        .doc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
        .doc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
        .doc-list li .check { color: var(--secondary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

        .custom-plan-card { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); border: 2px solid #fcd34d; border-radius: var(--radius-lg); padding: 32px; text-align: center; }
        .custom-plan-icon { width: 64px; height: 64px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px; box-shadow: var(--shadow-md); }
        .custom-plan-card h3 { font-size: 20px; font-weight: 800; color: #92400e; margin-bottom: 10px; }
        .custom-plan-card p { color: #b45309; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
        .contact-cta { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%); color: white; padding: 14px 32px; border-radius: var(--radius-md); font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(245,158,11,0.35); transition: all 0.25s ease; }
        .contact-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,0.45); }

        .tips-box { background: #eff6ff; border-left: 4px solid var(--primary); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: 16px; font-size: 13px; color: #1e40af; line-height: 1.6; }

        .footer { background: #0f172a; color: rgba(255,255,255,0.6); padding: 32px 20px; text-align: center; margin-top: auto; }
        .footer-inner { max-width: 1200px; margin: 0 auto; }
        .footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
        .footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color 0.2s; }
        .footer-links a:hover { color: white; }
        .footer-copy { font-size: 13px; line-height: 1.8; }
        .footer-copy strong { color: rgba(255,255,255,0.85); }

        /* ===== 浮动按钮组 ===== */
        .fab-group { position: fixed; right: 20px; bottom: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; align-items: center; }
        .fab {
            width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
            font-size: 24px; display: flex; align-items: center; justify-content: center;
            color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.22); transition: transform .2s, box-shadow .2s;
            text-decoration: none;
        }
        .fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 24px rgba(0,0,0,0.28); }
        .fab-wx { background: linear-gradient(135deg,#1aad19,#07c160); }
        .fab-consult { background: linear-gradient(135deg,#ff9500,#ff7a00); }
        .fab-tel { background: linear-gradient(135deg,#1a56db,#0e4cad); }
        .fab-top {
            background: linear-gradient(135deg,#475569,#334155); opacity: 0; pointer-events: none;
            transform: translateY(12px); font-size: 22px; font-weight: 700;
        }
        .fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
        @media (max-width:600px){ .fab-group{ right:14px; bottom:18px; gap:10px; } .fab{ width:48px; height:48px; font-size:22px; } }

        /* ===== 二维码弹窗 ===== */
        .modal-overlay {
            position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(2px);
            display: flex; align-items: center; justify-content: center; z-index: 1000;
            opacity: 0; visibility: hidden; transition: opacity .25s;
        }
        .modal-overlay.show { opacity: 1; visibility: visible; }
        .modal-box {
            position: relative; width: 320px; max-width: 86vw; background: #fff; border-radius: 18px;
            padding: 28px 24px 24px; text-align: center; transform: translateY(16px) scale(.96);
            transition: transform .25s; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
        }
        .modal-overlay.show .modal-box { transform: translateY(0) scale(1); }
        .modal-close {
            position: absolute; top: 10px; right: 14px; width: 32px; height: 32px; border: none; background: transparent;
            font-size: 26px; line-height: 1; color: #94a3b8; cursor: pointer; border-radius: 50%;
        }
        .modal-close:hover { background: #f1f5f9; color: #475569; }
        .modal-title { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 16px; }
        .qr-img { width: 200px; height: 200px; margin: 0 auto 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px; }
        .qr-img img { width: 100%; height: 100%; display: block; }
        .qr-info { text-align: left; background: #f8fafc; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
        .qr-row { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #334155; margin: 6px 0; }
        .qr-value { font-weight: 700; color: #1a56db; letter-spacing: .5px; }
        .qr-tel { color: #0e9f6e; font-weight: 700; text-decoration: none; }
        .qr-tel:hover { text-decoration: underline; }
        .copy-btn {
            margin-left: auto; border: 1px solid #1a56db; background: #fff; color: #1a56db;
            font-size: 12px; padding: 3px 10px; border-radius: 14px; cursor: pointer; transition: all .2s;
        }
        .copy-btn:hover { background: #1a56db; color: #fff; }
        .qr-tip { font-size: 12px; color: #94a3b8; margin: 0; }

        /* ===== 易升学教育·入户代办核心优势 ===== */
        .advantage-card { margin-top: 22px; }
        .advantage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
        .advantage-item {
            display: flex; gap: 12px; align-items: flex-start;
            background: var(--bg); border: 1px solid var(--border);
            border-radius: var(--radius-md); padding: 14px;
        }
        .advantage-icon {
            flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
            background: var(--primary-light); display: flex; align-items: center;
            justify-content: center; font-size: 22px;
        }
        .advantage-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
        .advantage-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
        @media (max-width: 600px) { .advantage-grid { grid-template-columns: 1fr; gap: 12px; } }

        .children-toggle-box { background: var(--bg-white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 16px 20px; margin-bottom: 20px; }
        .children-toggle-box label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-primary); }
        .children-toggle-box input { width: 18px; height: 18px; accent-color: var(--primary); }

        @media (max-width: 768px) {
            .header-inner { padding: 20px 16px 24px; }
            .card { padding: 20px; }
            .plan-header { padding: 18px 20px; }
            .plan-body { padding: 18px 20px; }
            .hero-stats { gap: 20px; }
            .stat-num { font-size: 22px; }
            .option-item { padding: 12px 14px; }
        }
        @media (max-width: 480px) {
            .header-top { flex-direction: column; gap: 12px; align-items: flex-start; }
            .logo-text h1 { font-size: 18px; }
            .section-title { font-size: 17px; }
            .plan-name { font-size: 17px; }
        }
