  /* ========== 全局样式 ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #1a1f29;
            --secondary: #242a38;
            --accent: #4a90e2;
            --text-light: #f5f7fa;
            --text-gray: #a0a6b3;
            --border: #333a48;
        }

        body {
            background-color: var(--primary);
            color: var(--text-light);
            line-height: 1.6;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 0;
        }

        /* 头部 */
        header {
            background-color: var(--secondary);
            padding: 15px 0;
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 999;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--accent);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-links {
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
        }

        .nav-links a {
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        /* 英雄区 */
        .hero {
            padding: 60px 0;
            background: linear-gradient(rgba(26, 31, 41, 0.8), rgba(26, 31, 41, 0.9)), url('../img/Portugal-D8-Digital-Nomad-Visa-2026.jpg') center/cover no-repeat;
            border-radius: 10px;
            margin-bottom: 40px;
            text-align: center;
        }

        .hero h1 {
            font-size: 36px;
            margin-bottom: 20px;
        }

        .hero p {
            font-size: 18px;
            color: var(--text-gray);
            max-width: 800px;
            margin: 0 auto 30px;
        }

        .consult-btn {
            background-color: var(--accent);
            color: white;
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            transition: background 0.3s;
        }

        .consult-btn:hover {
            background-color: #3a7bc8;
        }

        /* 核心亮点 - 修改为块级，图标与标题同行，描述左对齐图标 */
        .key-highlights {
            background-color: var(--secondary);
            padding: 40px;
            border-radius: 10px;
            margin-bottom: 40px;
        }

        .section-title {
            font-size: 28px;
            margin-bottom: 30px;
            color: var(--accent);
            padding-bottom: 15px;
            border-bottom: 3px solid var(--accent);
            width: fit-content;
        }

        .highlights-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }

        .highlight-item {
            background-color: var(--primary);
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid var(--accent);
            transition: transform 0.3s;
            display: block;           /* 改为块级，移除flex布局 */
        }

        .highlight-item .icon-title {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 8px;
        }
        .highlight-item .icon-title i {
            font-size: 28px;
            color: var(--accent);
            width: 40px;
            text-align: left;
        }
        .highlight-item .icon-title h3 {
            font-size: 18px;
            margin: 0;
            color: var(--text-light);
        }
        .highlight-item p {
            margin: 0;                /* 与图标左对齐（父容器padding左侧一致） */
            color: var(--text-gray);
            font-size: 14px;
        }

        /* 通用板块 */
        .content-section {
            background-color: var(--secondary);
            padding: 40px;
            border-radius: 10px;
            margin-bottom: 40px;
        }

        .content-grid {
            display: grid;
            gap: 30px;
            align-items: stretch;       /* 默认拉伸使子项等高 */
        }

        /* 表格样式 */
        .info-table {
            width: 100%;
            border-collapse: collapse;
            background-color: var(--primary);
            border-radius: 8px;
            overflow: hidden;
            word-break: break-word;     /* 允许长单词换行 */
        }

        .info-table th,
        .info-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid var(--border);
            white-space: normal;        /* 强制文本换行，避免滚动条 */
        }

        .info-table th {
            background-color: var(--accent);
            color: white;
        }

        .info-table td {
            color: var(--text-gray);
        }

        /* 流程步骤 - 一行滑动 */
        .process-steps {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            gap: 20px;
            padding: 10px 0 20px;
            scrollbar-width: thin;
            scrollbar-color: var(--accent) var(--secondary);
        }
        .process-steps::-webkit-scrollbar {
            height: 6px;
        }
        .process-steps::-webkit-scrollbar-thumb {
            background-color: var(--accent);
            border-radius: 10px;
        }
        .step {
            flex: 0 0 280px;
            background-color: var(--primary);
            padding: 20px;
            border-radius: 8px;
            position: relative;
        }

        .step-number {
            position: absolute;
            top: -10px;
            left: -10px;
            width: 30px;
            height: 30px;
            background-color: var(--accent);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .step-content h4 {
            margin-bottom: 10px;
            color: var(--accent);
        }

        /* 免费咨询左右布局 - 等高默认stretch */
        .consult-wrapper {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
            align-items: stretch;       /* 保证子项高度一致 */
        }
        .contact-info {
            flex: 1 1 35%;              /* 宽度35% */
            background-color: var(--primary);
            padding: 25px;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            /* 移除align-self: flex-start */
        }
        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 16px;
        }
        .contact-item i {
            width: 24px;
            color: var(--accent);
            font-size: 20px;
        }
        .contact-item span {
            color: var(--text-light);
        }
        .consult-form {
            flex: 1 1 60%;              /* 约60% */
            background-color: var(--primary);
            padding: 25px;
            border-radius: 10px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            /* 移除align-self: flex-start */
        }
        .form-group {
            margin-bottom: 0;
        }
        .form-group.full-width {
            grid-column: span 2;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-light);
        }
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            background-color: var(--secondary);
            border: 1px solid var(--border);
            border-radius: 5px;
            color: var(--text-light);
        }
        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }
        .form-submit {
            grid-column: span 2;
            text-align: center;
        }
        .submit-btn {
            background-color: var(--accent);
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            cursor: pointer;
            transition: background 0.3s;
        }
        .error {
            color: #dc3545;
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }

        /* 图表区域 - 改用grid实现6:4比例 */
        .chart-wrapper {
            display: grid;
            grid-template-columns: 6fr 4fr;
            gap: 20px;
            margin: 30px 0;
        }
        .chart-container {
            height: 400px;
            background-color: var(--primary);
            padding: 20px;
            border-radius: 8px;
        }
        .chart-decoration {
            background-color: var(--primary);
            border-radius: 8px;
            overflow: hidden;
            height: 400px;              /* 与图表容器等高 */
        }
        .chart-decoration img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* 收入表格区域 (无右侧图片) */
        .income-table-simple {
            margin: 20px 0;
        }

        /* 页脚 */
        footer {
            background-color: var(--secondary);
            padding: 40px 0;
            border-top: 1px solid var(--border);
            margin-top: 40px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .footer-item h3 {
            color: var(--accent);
            margin-bottom: 20px;
        }

        .footer-item ul li {
            margin-bottom: 10px;
            list-style: none;
        }

        .footer-item ul li a {
            color: var(--text-gray);
            text-decoration: none;
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            margin-top: 30px;
            border-top: 1px solid var(--border);
            color: var(--text-gray);
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 15px;
            }
            .hero h1 {
                font-size: 28px;
            }
            .content-grid {
                grid-template-columns: 1fr !important;
            }
            .consult-wrapper {
                flex-direction: column;
            }
            .contact-info, .consult-form {
                flex: auto;
            }
            .consult-form {
                grid-template-columns: 1fr;
            }
            .form-group.full-width {
                grid-column: span 1;
            }
            .form-submit {
                grid-column: span 1;
            }
            .chart-wrapper {
                grid-template-columns: 1fr;    /* 手机端堆叠 */
            }
            .chart-decoration {
                height: 200px;
            }
        }

        /* 板块特定调整 */
        #overview .content-grid {
            grid-template-columns: 1fr 1fr;
        }
        #overview .content-text {
            height: 300px;               /* 与图片高度一致 */
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }
        #overview .content-text p {
            margin-bottom: 1.8rem;       /* 增大段间距以撑高整体 */
            line-height: 1.7;
        }
        #overview .content-text p:last-child {
            margin-bottom: 0;
        }
        #overview .content-img-container {
            height: 300px;
        }
        #overview .content-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        /* 签证类型：移除滚动条，表格自适应高度 */
        #visa-types .content-grid {
            grid-template-columns: 0.8fr 1.2fr;
            align-items: stretch;
        }
        #visa-types .content-img-container {
            height: 100%;
        }
        #visa-types .content-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }
        /* 移除原有overflow及min-width */
        #visa-types .content-text {
            overflow: visible;           /* 取消滚动条 */
        }
        #visa-types .info-table {
            width: 100%;
            height: 100%;                /* 保持填满 */
            min-width: 0;                /* 重置最小宽度 */
            white-space: normal;         /* 确保换行 */
        }
