/* === Reset & Base Styles === */
        :root {
            --primary: #f59e0b; /* Amber-500 */
            --primary-light: #fffbeb;
            --text-main: #111827;
            --text-sub: #6b7280;
            --border-color: #e5e7eb;
            --bg-page: #f9fafb;
            --white: #ffffff;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
        }

        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body {
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #f0f2f5;
            display: flex;
            justify-content: center;
            min-height: 100vh;
            color: var(--text-main);
        }

        /* === Mobile Container === */
        .mobile-container {
            width: 100%;
            /* max-width: 375px; */
            background-color: var(--bg-page);
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 20px rgba(0,0,0,0.05);
            padding-bottom: 90px; /* Space for fixed footer */
            padding-top: 20px;
            overflow-x: hidden;
        }

        /* === PC端适配 - 上下排版 === */
        @media (min-width: 768px) {
           
            .header-wrapper {
                width: 100%;
                margin-bottom: 24px;
            }

            .header-bg {
                height: 320px;
                border-radius: 20px;
            }

            .nav-bar {
                padding: 20px 32px;
            }

            .btn-icon-glass {
                width: 44px;
                height: 44px;
            }

            .nav-title {
                font-size: 20px;
            }

            /* 个人信息区域 - 居中 */
            .profile-section {
                margin-top: -80px;
                padding: 32px 48px;
                background: #fff;
                border-radius: 20px;
                box-shadow: var(--shadow-card);
                margin-bottom: 24px;
                margin-left: 32px;
                margin-right: 32px;
            }

            .avatar-box {
                width: 160px;
                height: 160px;
                margin-bottom: 20px;
            }

            .teacher-name {
                font-size: 32px;
            }

            .teacher-title {
                font-size: 16px;
                padding: 6px 16px;
                margin-top: 12px;
            }

            .stats-row {
                flex-direction: row;
                gap: 40px;
                margin-top: 32px;
                padding-bottom: 32px;
                justify-content: center;
            }

            .stat-col {
                text-align: center;
            }

            .stat-num {
                font-size: 24px;
            }

            .stat-label {
                font-size: 13px;
                margin-top: 6px;
            }

            .stat-divider {
                display: block;
                height: 40px;
            }

            /*内容区域 */
            .content-area{
                padding: 0 32px;
                display: flex;
                flex-direction: column;
                gap: 16px;
            }

            .card {
                padding: 28px 32px;
                margin-bottom: 0;
            }

            .card-header {
                font-size: 20px;
                margin-bottom: 20px;
            }

            .text-intro {
                font-size: 16px;
                line-height: 1.9;
                padding:30px 0px;
            }

            .cert-list {
                gap: 12px;
            }

            .cert-tag {
                font-size: 14px;
                padding: 10px 16px;
            }

            .skill-tag {
                font-size: 14px;
                padding: 10px 18px;
            }

            .achieve-text {
                font-size: 15px;
            }

            .gallery-scroll {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 16px;
                overflow-x: visible;
                margin-right: 0;
                padding-right: 0;
            }

            .gallery-img {
                width: 100%;
                height: 200px;
            }

            .review-list {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;
            }

            .review-item {
                padding-bottom: 0;
                margin-bottom: 0;
                border-bottom: none;
                padding: 20px;
                background: #f9fafb;
                border-radius: 12px;
            }

            .r-text {
                font-size: 14px;
                line-height: 1.8;
            }

            /* PC端底部操作栏 */
            .mobile-footer {
                display: none;
            }

            .pc-footer {
                display: flex;
                position: static;
                width: 100%;
                border-top: 1px solid #e5e7eb;
                margin-top: 32px;
                padding: 24px 0;
                background: transparent;
                backdrop-filter: none;
                border-radius: 0;
                flex-direction: row;
                gap: 16px;
                justify-content: center;
                align-items: center;
            }

            .action-share {
                display: none;
            }

            .btn {
                width: auto;
                min-width: 180px;
                height: 50px;
                font-size: 16px;
                padding: 0 32px;
                flex: none;
            }
        }

        @media (min-width: 1024px) {
            .profile-section {
                padding: 40px 60px;
                margin-left: 48px;
                margin-right: 48px;
            }

            .content-area {
                padding: 0 48px;
            }

            .card {
                padding: 32px 40px;
            }

            .gallery-scroll {
                grid-template-columns: repeat(5, 1fr);
            }

            .pc-footer {
                padding: 24px 48px;
            }
        }

        /* === Utility Icons (SVG) === */
        .icon { width: 1em; height: 1em; display: inline-block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

        /* === Header Section === */
        .header-wrapper { position: relative; width: 100%; }
        
        /* 1. 更清爽的背景 */
        .header-bg { 
            height: 200px; 
            width: 100%; 
            background: linear-gradient(120deg, #fdfbf7 0%, #fff7ed 100%);
            position: relative;
            overflow: hidden;
        }
        .header-bg-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8; /* Make it lighter/cleaner */
        }
        .header-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(255,255,255,0) 40%, rgba(249,250,251,1) 95%);
        }

        /* Nav Bar */
        .nav-bar { 
            position: absolute; 
            top: 0; left: 0; right: 0; 
            padding: 12px 16px; 
            z-index: 50; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
        }
        .btn-icon-glass { 
            width: 36px; height: 36px; 
            border-radius: 50%; 
            background: rgba(255,255,255,0.3); 
            border: 1px solid rgba(255,255,255,0.4);
            display: flex; align-items: center; justify-content: center; 
            color: #fff; 
            backdrop-filter: blur(4px); 
            cursor: pointer; 
        }
        .nav-title { color: #fff; font-weight: 600; font-size: 17px; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }

        /* === Profile Info === */
        .profile-section { 
            position: relative; 
            margin-top: -60px; 
            padding: 0 16px; 
            text-align: center; 
            z-index: 10;
        }
        
        /* 2. 头像更大 */
        .avatar-box {
            position: relative;
            width: 110px; 
            height: 110px;
            margin: 0 auto 10px auto;
            border-radius: 50%;
            padding: 3px;
            background: #fff;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        .avatar-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }
        /* Removed .verified-badge as requested */

        .teacher-name { margin: 0; font-size: 22px; font-weight: 800; color: #1f2937; }
        .teacher-title { 
            display: inline-block;
            margin-top: 4px;
            font-size: 12px; 
            color: #6b7280; 
            background: #fff; 
            padding: 2px 10px; 
            border-radius: 12px;
            border: 1px solid #e5e7eb;
        }

        /* Stats */
        .stats-row { 
            display: flex; 
            justify-content: center; 
            gap: 20px; 
            margin-top: 20px; 
            margin-bottom: 10px;
            padding-bottom: 20px;
            border-bottom: 1px dashed #e5e7eb;
        }
        .stat-col { text-align: center; }
        .stat-num { font-size: 18px; font-weight: 700; color: #111827; }
        .stat-label { font-size: 10px; color: #9ca3af; margin-top: 2px; }
        .stat-divider { width: 1px; height: 24px; background: #e5e7eb; align-self: center; }
        .text-highlight { color: var(--primary); }

        /* === Content Modules === */
        .content-area { padding:0px; display: flex; flex-direction: column; gap: 12px; }

        .card { 
            background: #fff; 
            border-radius: 12px; 
            padding: 16px; 
            box-shadow: var(--shadow-sm); 
            position: relative; 
            overflow: hidden; 
            border: 1px solid #ffffff;
        }
        
        /* 增加一个背景元素 (Decorative Backgrounds) */
        .card-deco {
            position: absolute;
            z-index: 0;
            opacity: 0.06;
            pointer-events: none;
        }
        .deco-top-right { top: -10px; right: -10px; color: var(--primary); transform: rotate(15deg); }
        .deco-bottom-right { bottom: -10px; right: -10px; color: #3b82f6; transform: rotate(-15deg); }
        .deco-center { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.5); color: #10b981; }

        .card-content { position: relative; z-index: 10; }

        .card-header { 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            margin-bottom: 12px; 
            font-size: 16px; 
            font-weight: 700; 
            color: #374151; 
        }
        .header-icon-box { 
            width: 24px; height: 24px; 
            display: flex; align-items: center; justify-content: center;
            background: var(--primary-light); 
            color: var(--primary); 
            border-radius: 6px;
        }

        /* 1. Intro */
        .text-intro { font-size: 14px; line-height: 1.6; color: #4b5563; text-align: justify; }

        /* 2. Certifications */
        .cert-list { display: flex; flex-wrap: wrap; gap: 8px; }
        .cert-tag { 
            font-size: 12px; color: #92400e; 
            background: #fffbeb; border: 1px solid #fcd34d; 
            padding: 6px 10px; border-radius: 6px; 
            display: flex; align-items: center; gap: 6px;
        }
        .dot { width: 6px; height: 6px; background: #f59e0b; border-radius: 50%; }

        /* 3. Expertise */
        .tags-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
        .skill-tag { 
            font-size: 12px; color: #4b5563; 
            background: #f3f4f6; padding: 6px 12px; 
            border-radius: 99px; 
        }

        /* 4. Achievements */
        .achieve-list { display: flex; flex-direction: column; gap: 10px; }
        .achieve-item { display: flex; gap: 10px; align-items: flex-start; }
        .trophy-icon { color: #d97706; margin-top: 2px; }
        .achieve-text { font-size: 13px; color: #4b5563; line-height: 1.4; }

        /* 5. Gallery */
        .gallery-scroll { 
            display: flex; overflow-x: auto; gap: 10px; 
            padding-bottom: 5px; scrollbar-width: none; 
            margin-right: -16px; padding-right: 16px; /* Bleed interactions */
        }
        .gallery-scroll::-webkit-scrollbar { display: none; }
        .gallery-img { 
            width: 140px; height: 100px; 
            object-fit: cover; border-radius: 8px; 
            flex-shrink: 0; 
            background: #f3f4f6;
        }

        /* 6. Reviews & Rating */
        .rating-panel {
            background: linear-gradient(to right bottom, #fff7ed, #ffffff);
            border: 1px solid #ffedd5;
            border-radius: 8px;
            padding: 12px;
            display: flex;
            align-items: center;
            margin-bottom: 16px;
        }
        .rating-left { text-align: center; padding-right: 16px; border-right: 1px dashed #fadba8; }
        .big-score { font-size: 32px; font-weight: 800; color: var(--primary); line-height: 1; }
        .score-label { font-size: 10px; color: #9ca3af; }
        .stars-s { color: var(--primary); font-size: 10px; margin: 2px 0; display: flex; }
        
        .rating-bars { flex: 1; padding-left: 16px; display: flex; flex-direction: column; gap: 6px; }
        .bar-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #6b7280; }
        .bar-bg { flex: 1; height: 6px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
        .bar-fill { height: 100%; background: var(--primary); border-radius: 4px; }
        .bar-val { width: 20px; text-align: right; font-weight: 600; color: #374151; }

        .review-list { display: flex; flex-direction: column; gap: 20px; }
        .review-item { padding-bottom: 20px; border-bottom: 1px dashed #e5e7eb; }
        .review-item:last-child { border-bottom: none; padding-bottom: 0; }
        
        .r-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
        .r-user { display: flex; gap: 10px; align-items: center; }
        .r-avatar { width: 32px; height: 32px; border-radius: 50%; background: #eee; object-fit: cover; }
        .r-info { display: flex; flex-direction: column; }
        .r-name { font-size: 14px; font-weight: 700; color: #1f2937; margin-bottom: 1px; }
        .r-rating { display: flex; gap: 1px; color: #fbbf24; }
        .r-rating svg { width: 10px; height: 10px; fill: currentColor; }
        
        .r-date { font-size: 13px; color: #9ca3af; }
        .r-text { font-size: 14px; color: #4b5563; line-height: 1.5; margin-bottom: 8px; margin-left: 42px; }
        
        /* 增加学员课程标签 */
        .r-course { 
            margin-left: 42px;
            display: inline-flex; 
            align-items: center; 
            font-size: 13px; 
            color: #6b7280; 
            background: #f3f4f6; 
            padding: 2px 8px; 
            border-radius: 4px; 
        }
        .r-course svg { width: 10px; height: 10px; margin-right: 4px; opacity: 0.6; }

        /* === Footer === */
        .fixed-footer {
            position: fixed; bottom: 0; left: 0; right: 0;
            width: 100%;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            border-top: 1px solid #f3f4f6;
            padding: 10px 16px;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .mobile-footer {
            display: flex;
            align-items: center;
            gap: 12px;
            max-width: 375px;
            width: 100%;
        }

        .action-share {
            display: flex; flex-direction: column; align-items: center;
            font-size: 10px; color: #6b7280; background: none; border: none;
            min-width: 40px;
        }
        .btn {
            flex: 1; height: 44px; border-radius: 22px;
            font-size: 14px; font-weight: 600;
            border: none; cursor: pointer;
        }
        .btn-outline { background: #fff; border: 1px solid var(--primary); color: var(--primary); }
        .btn-primary {
            background: linear-gradient(90deg, #f97316 0%, #f59e0b 100%);
            color: #fff;
            box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
        }

        /* PC端头部 */
        .main-container {
            /* width: 1440px; */
            box-sizing: border-box;
            margin: 0 auto;
            min-height: 960px;
            background: white;
            box-shadow: 0 40px 100px -20px rgba(0,0,0,0.1);
            overflow: hidden;
            border-radius: 12px;
        }
        .main-content {
            padding:30px 30px 80px 30px;
        }
        .teacher-avatar {
            width: 520px;
            height: 720px;
            object-fit: cover;
            border-radius: 40px;
            box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
        }
        .glass-card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.4);
        }
        .achievement-card {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .achievement-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.06);
            border-color: #F59E0B;
        }
        .medal-icon {
            background: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }


        /* 核心Grid布局 */
        .grid-container {
            width: 100%;
            margin: 0 auto; /* 整体居中 */
            display: grid; /* 开启Grid布局 */
            grid-template-columns: repeat(2, 1fr); /* 2列，每列均分宽度 */
            gap: 8px; /* 图片之间的间距（行+列），可调整 */
            padding: 10px;
            box-sizing: border-box;
        }

            /* 图片容器：核心设置1:1.5比例 */
        .grid-item {
            aspect-ratio: 1/1; /* 宽:高 = 1:1.5，竖版图片 */
            overflow: hidden; /* 裁剪超出部分 */
            border-radius: 6px; /* 可选：圆角，增加美观度 */
        }


        /* 图片样式：保持比例，填充容器 */
        .grid-item img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 保持图片比例，裁剪多余部分 */
            
            transition: transform 0.3s; /* 可选：hover动画 */
            overflow: hidden;
            
        }

        /* 可选：hover放大效果 */
        .grid-item img:hover {
            transform: scale(1.02);
            border-radius: 6px; /* 可选：圆角，增加美观度 */
        }


        /* 响应式设计 - 平板及以上设备 */
        @media (min-width: 768px) {
            .section-adaptive{
                padding-left:111px ; 
                padding-right:111px;
            }

            /* 核心Grid布局 */
            .grid-container {
               grid-template-columns: repeat(4, 1fr); /* 2列，每列均分宽度 */
            }
        }