/* ===== 年轻现代科技感配色方案 ===== */
:root {
    /* ── Logo 延展色系（亮蓝 + 晴空蓝 + 琥珀） ── */
    --color-primary: #2563EB;          /* 明亮主蓝，整体更年轻 */
    --color-primary-light: #38BDF8;    /* 晴空蓝，用于渐变和高光 */
    --color-secondary: #F59E0B;        /* 琥珀橙，保留 Logo 的活力 */
    --color-secondary-light: #FBBF24;  /* 明亮浅橙 */
    --color-accent: #FF5A5F;           /* 轻珊瑚红，年轻化点缀 */
    --color-success: #10B981;          /* 现代绿色 */
    --color-warning: #F97316;          /* 活力橙 */
    --color-info: #06B6D4;             /* 清透青蓝 */
    --color-danger: #EF4444;           /* 警示红 */
    --color-dark: #0F172A;             /* 深夜蓝文字 */
    --color-light: #F7FBFF;            /* 轻空气感背景 */
    --color-surface: #FFFFFF;          /* 卡片背景 */
    --color-border: #D9E8F7;           /* 冷调浅蓝边框 */
}

/* ===== 基础重置与全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 顶部导航栏 ===== */
.navbar {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(37, 99, 235, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: var(--color-secondary);
}

/* 优化用户下拉菜单样式 */
.nav-btn.user-menu {
    position: relative;
    cursor: pointer;
    padding: 0 !important;
    background: transparent !important;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.user-menu-trigger:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.3s ease;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding-left: 20px;
    color: var(--color-primary);
}

.user-dropdown a i {
    width: 18px;
    text-align: center;
    color: var(--color-secondary);
}

#logoutLink {
    color: #dc3545;
    border-top: 2px solid #f0f0f0;
}

#logoutLink:hover {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    color: white !important;
}

#logoutLink:hover i {
    color: white !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航栏品牌样式 */
.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.nav-brand a:hover {
    transform: scale(1.02);
}

.nav-brand i {
    font-size: 1.8rem;
    color: var(--color-secondary-light);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-img {
    width: auto;
    height: 44px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
}

.logo-text {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

.nav-btn {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    border: none;
    cursor: pointer;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* ===== 主视觉区域 ===== */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.feature-btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(30deg);
    transition: left 0.5s;
}

.feature-btn:hover::after {
    left: 120%;
}

.feature-btn.editor {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: white;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.feature-btn.login {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-btn.demo {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== 核心价值展示区 ===== */
.feature-highlight {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.feature-highlight h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-dark);
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: var(--color-secondary);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--color-dark);
    opacity: 0.8;
    line-height: 1.7;
}

/* ===== 家谱示例预览区 ===== */
.demo-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-light) 0%, #EEF7FF 100%);
}

.demo-preview h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.preview-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    background: var(--color-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
    border: 1px solid var(--color-border);
}

.preview-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-header::before {
    content: '🌳';
    font-size: 1.5rem;
}

.preview-content {
    padding: 4rem 2rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #F7FBFF, #EEF7FF);
    position: relative;
    overflow: hidden;
}

.preview-content::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(37, 99, 235, 0.1));
    top: -100px;
    right: -100px;
}

.preview-content::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1));
    bottom: -75px;
    left: -75px;
}

.placeholder-tree {
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--color-primary);
}

.placeholder-tree p:first-child {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.placeholder-tree p:last-child {
    font-size: 1.2rem;
    opacity: 0.8;
}

.preview-actions {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
}

/* ===== 功能预告与订阅区 ===== */
.coming-soon {
    padding: 6rem 0;
    background: var(--color-light);
}

.coming-soon h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: var(--color-surface);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--color-border);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    border-color: var(--color-secondary);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--color-primary);
}

.feature-card h4 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--color-dark);
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(16, 185, 129, 0.1));
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--color-secondary);
}

.subscribe-box {
    max-width: 600px;
    margin: 4rem auto 0;
    padding: 3rem;
    background: var(--color-surface);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08);
    border: 1px solid var(--color-border);
}

.subscribe-box p {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.email-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.email-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-light);
}

.email-form input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-status {
    font-size: 0.9rem;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}

.email-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.email-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.tip {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-dark);
    opacity: 0.6;
}

/* ===== 底部信息 ===== */
.site-footer {
    background: linear-gradient(135deg, var(--color-primary), #1E3A8A);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary-light);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--color-secondary-light);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-secondary);
    transform: scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.beian-info {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.beian-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.beian-link:hover {
    color: var(--color-secondary-light);
}

.gongan-icon {
    width: 24px;
    height: 24px;
    /* 移除滤镜，显示图标原有色彩 */
    vertical-align: middle;
    margin-bottom: 2px;
}

/* ===== 回到顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    border: none;
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ===== 法律页面样式 ===== */
.main-container {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.terms-content {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    border: 1px solid var(--color-border);
}

.terms-content h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 2rem 0 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.terms-content p:last-child {
    margin-bottom: 0;
}

.terms-preamble {
    font-size: 1.05rem;
    color: var(--color-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: #fff8ee;
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
}

.terms-meta {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.terms-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: var(--color-dark);
    line-height: 1.8;
}

.terms-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.3rem;
}

/* ===== 联系我们页面样式 ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-top: 2rem;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    border: 1px solid var(--color-border);
}

.contact-info {
    padding: 1rem;
}

.contact-info h2 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--color-dark);
    margin: 0;
}

.contact-item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-secondary);
}

/* 社交媒体样式 */
.social-links h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--color-light);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.social-icon:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.4);
    border-color: var(--color-secondary);
}

/* 反馈表单样式 */
.feedback-form {
    padding: 1rem;
}

.feedback-form h2 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

#feedbackForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-light);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--color-dark);
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* 验证码样式 */
.captcha-container {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.captcha-container input {
    flex: 1;
}

.captcha-image {
    background: var(--color-light);
    padding: 0.8rem;
    border-radius: 8px;
    border: 2px solid var(--color-border);
    min-width: 120px;
    text-align: center;
    cursor: pointer;
}

.refresh-captcha {
    background: var(--color-light);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    color: var(--color-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-captcha:hover {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
    transform: rotate(180deg);
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.form-actions button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
}

.btn-secondary {
    background: var(--color-light);
    color: var(--color-primary);
    border: 2px solid var(--color-border) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.btn-secondary:hover {
    background: var(--color-border);
    border-color: var(--color-border) !important;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
        width: 95%;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .nav-actions {
        justify-content: center;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .feature-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .value-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card,
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .email-form input,
    .email-form button {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .feature-highlight h2,
    .demo-preview h2,
    .coming-soon h2 {
        font-size: 2rem;
    }
    
    .subscribe-box {
        padding: 2rem 1.5rem;
    }
    
    /* 法律页面响应式样式 */
    .content-wrapper h1 {
        font-size: 2rem;
    }
    
    .terms-content {
        padding: 2rem 1.5rem;
    }
    
    .terms-content h2 {
        font-size: 1.3rem;
    }
    
    .terms-content p {
        text-align: left;
    }
    
    /* 联系我们页面响应式样式 */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .contact-item i {
        margin-top: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-image {
        min-width: auto;
    }
    
    .refresh-captcha {
        width: 100%;
    }
}

   /* 法律页面专用样式 */
.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.legal-sidebar {
    position: sticky;
    top: 2rem;
    background: var(--color-light);
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
    border: 1px solid var(--color-border);
}

.legal-sidebar h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.legal-sidebar ul {
    list-style: none;
    padding: 0;
}

.legal-sidebar li {
    margin-bottom: 0.5rem;
}

.legal-sidebar a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--color-dark);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.legal-sidebar a:hover,
.legal-sidebar a.active {
    background: rgba(37, 99, 235, 0.05);
    color: var(--color-primary);
    border-left: 4px solid var(--color-secondary);
}

.legal-content {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
    border: 1px solid var(--color-border);
}

.legal-content h1 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.legal-content h2 {
    color: var(--color-primary);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-content p {
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 1rem;
    text-align: justify;
}

/* 条款编号样式 */
.terms-content h2 {
    counter-increment: section;
}

.terms-content h2:before {
    content: counter(section) ". ";
    color: var(--color-secondary);
    font-weight: bold;
}

/* 统计相关样式 */

/* 统计卡片动画 */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

/* 统计模态框动画 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 统计比例图 */
.gender-chart {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
    background: #f0f0f0;
}

.gender-chart-male {
    background: linear-gradient(90deg, #2196f3, #64b5f6);
    height: 100%;
    transition: width 0.5s ease;
}

.gender-chart-female {
    background: linear-gradient(90deg, #e91e63, #f48fb1);
    height: 100%;
    transition: width 0.5s ease;
}

/* 代际标记 */
.generation-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

/* 统计响应式设计 */
@media (max-width: 768px) {
    .statistics-modal-content {
        padding: 15px !important;
        max-width: 95% !important;
    }
    
    .stat-card {
        margin-bottom: 15px;
    }
}

/* 响应式设计 */
@media (max-width: 900px) {
    .legal-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .legal-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

/* ===== 首页优化样式 ===== */
.page-home {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-home main {
    flex: 1;
}

.user-dropdown.show {
    display: block;
}

.menu-caret {
    font-size: 12px;
    margin-left: 2px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-inline-link,
.secondary-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-inline-link {
    display: inline-block;
    margin-top: 1.25rem;
}

.hero-inline-link:hover,
.secondary-link:hover {
    opacity: 1;
    transform: translateX(3px);
}

.hero-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.95rem;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-highlight-item {
    text-align: left;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.hero-highlight-item strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.hero-highlight-item span {
    display: block;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.92;
}

.welcome-text {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
}

.quick-start,
.ready-section,
.faq-section {
    padding: 6rem 0;
}

.quick-start {
    background: linear-gradient(180deg, #ffffff 0%, #EEF7FF 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.06);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    font-weight: 700;
}

.step-card h3 {
    color: var(--color-primary);
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.step-card p {
    color: var(--color-dark);
    opacity: 0.82;
}

.quick-start-panel {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    background: var(--color-surface);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08);
}

.quick-start-panel h3,
.preview-copy h3,
.faq-item summary {
    color: var(--color-primary);
}

.scenario-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.scenario-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-dark);
}

.scenario-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 1.2rem;
    line-height: 1;
}

.panel-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.panel-actions .secondary-link,
.preview-actions .secondary-link {
    color: var(--color-primary);
    font-weight: 600;
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: center;
}

.tree-snapshot {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
}

.tree-tier {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    width: 100%;
}

.tree-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: white;
    color: var(--color-primary);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
    font-weight: 600;
}

.tree-node.accent {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: white;
    border-color: transparent;
}

.tree-node.light {
    background: rgba(255, 255, 255, 0.85);
}

.tree-branch.vertical {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.4));
}

.tree-branch.horizontal {
    width: 65%;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.4), rgba(37, 99, 235, 0.15));
}

.preview-copy {
    position: relative;
    z-index: 2;
    text-align: left;
}

.preview-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.preview-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--color-dark);
    line-height: 1.7;
}

.preview-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-success);
    font-weight: 700;
}

.preview-tip {
    margin-top: 1.2rem;
    color: var(--color-dark);
    opacity: 0.78;
}

.preview-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.preview-cta {
    background: linear-gradient(135deg, var(--color-info), #4285f4);
    color: white;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.capability-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.capability-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    font-size: 1.4rem;
}

.capability-card h3 {
    color: var(--color-primary);
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.capability-card p {
    color: var(--color-dark);
    opacity: 0.82;
    margin-bottom: 1.2rem;
}

.capability-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}

.capability-link:hover {
    color: var(--color-secondary);
}

.contact-shortcuts,
.footer-contact-links {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.contact-shortcuts {
    justify-content: center;
    margin-top: 1.4rem;
}

.contact-shortcuts a,
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-shortcuts a {
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-primary);
    font-weight: 600;
}

.contact-shortcuts a:hover,
.footer-contact-link:hover {
    transform: translateY(-2px);
}

.footer-contact-links {
    margin-top: 1rem;
}

.footer-contact-link {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.faq-section {
    background: linear-gradient(180deg, #ffffff 0%, #EEF7FF 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.05);
}

.faq-item summary {
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 0.9rem;
    color: var(--color-dark);
    opacity: 0.84;
    line-height: 1.8;
}

.form-status[data-state="success"] {
    color: #1f7a4d;
}

.form-status[data-state="error"] {
    color: #FF5A5F;
}

.form-status[data-state="info"] {
    color: #1a5fb4;
}

.form-status[data-state="idle"] {
    min-height: 0;
}

@media (max-width: 992px) {
    .hero-highlights,
    .steps-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .quick-start-panel,
    .preview-content {
        grid-template-columns: 1fr;
    }

    .preview-copy {
        text-align: center;
    }

    .preview-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.88rem;
    }

    .hero-points {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-points span,
    .hero-highlight-item,
    .step-card,
    .capability-card {
        width: 100%;
    }

    .panel-actions {
        align-items: stretch;
    }

    .contact-shortcuts,
    .footer-contact-links,
    .preview-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-shortcuts a,
    .footer-contact-link,
    .preview-actions .feature-btn,
    .preview-actions .secondary-link {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .quick-start,
    .ready-section,
    .faq-section {
        padding: 4.5rem 0;
    }

    .quick-start-panel,
    .step-card,
    .capability-card,
    .faq-item {
        padding: 1.5rem;
    }

    .tree-node {
        min-width: 72px;
        font-size: 0.9rem;
    }
}

/* ===== 2026-04-06 首页现代化重构 ===== */
.page-home {
    background:
        radial-gradient(circle at top right, rgba(255, 179, 102, 0.22), transparent 30%),
        radial-gradient(circle at left 16%, rgba(255, 122, 89, 0.12), transparent 26%),
        radial-gradient(circle at 78% 62%, rgba(56, 189, 248, 0.08), transparent 24%),
        #FFF9F4;
    color: var(--color-dark);
}

.page-home .navbar {
    background: rgba(20, 33, 61, 0.74);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 240, 228, 0.1);
    box-shadow: 0 18px 40px rgba(20, 33, 61, 0.18);
}

.page-home .navbar.scrolled {
    background: rgba(20, 33, 61, 0.9);
}

.page-home .nav-container {
    gap: 1.5rem;
}

.page-home .logo {
    gap: 0.85rem;
}

.page-home .logo-text {
    font-size: 1.08rem;
    color: #FFFFFF;
}

.page-home .logo-img {
    height: 42px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
}

.page-home .nav-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.page-home .nav-link {
    color: rgba(255, 245, 236, 0.82);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 600;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.page-home .nav-link:hover,
.page-home .nav-link.active {
    background: rgba(255, 244, 235, 0.14);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.page-home .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 30px rgba(196, 109, 72, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(196, 109, 72, 0.3);
}

.home-modern {
    overflow: hidden;
}

.home-section {
    position: relative;
    padding: 6.5rem 0;
}

.home-section-light {
    background: transparent;
}

.home-section-dark {
    background: linear-gradient(135deg, #14213D 0%, #243B6B 42%, #6B4C7A 100%);
    color: #FFFFFF;
}

.home-section-heading {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #8A4B14;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: none;
}

.home-section-dark .home-kicker {
    background: rgba(255, 244, 235, 0.14);
    color: #FFF4E8;
}

.home-section-heading h2,
.home-cta-copy h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.home-section-heading h2 {
    color: var(--color-dark);
}

.home-section-dark .home-section-heading h2 {
    color: #FFFFFF;
}

.home-section-heading .section-subtitle {
    margin: 1rem auto 0;
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(52, 38, 24, 0.72);
}

.home-section-dark .section-subtitle {
    color: rgba(255, 245, 236, 0.78);
}

.home-hero {
    position: relative;
    padding: 6rem 0 4.5rem;
    background: linear-gradient(135deg, #173058 0%, #2D4E87 46%, #6B4C7A 100%);
    color: #FFFFFF;
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 50%;
    pointer-events: none;
}

.home-hero::before {
    width: 520px;
    height: 520px;
    right: -120px;
    top: -220px;
    background: radial-gradient(circle, rgba(255, 190, 120, 0.3), transparent 72%);
}

.home-hero::after {
    width: 420px;
    height: 420px;
    left: -140px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(255, 133, 92, 0.22), transparent 72%);
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 3rem;
    align-items: center;
}

.home-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.home-hero-copy p {
    margin-top: 1.35rem;
    max-width: 620px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: rgba(255, 245, 236, 0.84);
}

.page-home .hero-badge {
    background: rgba(255, 243, 234, 0.14);
    border-color: rgba(255, 220, 198, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 28px rgba(20, 33, 61, 0.16);
}

.home-hero-actions,
.home-inline-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-hero-actions {
    margin-top: 2rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 176px;
    padding: 0.95rem 1.35rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn-primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    box-shadow: 0 18px 34px rgba(196, 109, 72, 0.3);
}

.home-btn-secondary {
    color: #FFFFFF;
    background: rgba(255, 244, 235, 0.12);
    border: 1px solid rgba(255, 228, 210, 0.2);
    backdrop-filter: blur(10px);
}

.home-btn-tertiary {
    color: var(--color-dark);
    background: #FFF7EF;
    box-shadow: 0 14px 30px rgba(52, 38, 24, 0.14);
}

.page-home .hero-inline-link {
    margin-top: 1.25rem;
    font-weight: 600;
    opacity: 0.9;
}

.home-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.home-trust-item {
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    background: rgba(255, 246, 239, 0.12);
    border: 1px solid rgba(255, 225, 203, 0.16);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 30px rgba(20, 33, 61, 0.16);
}

.home-trust-item strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.home-trust-item span {
    display: block;
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(255, 243, 235, 0.76);
}

.home-hero-visual {
    position: relative;
}

.home-window {
    position: relative;
    z-index: 2;
    padding: 1rem;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 226, 205, 0.06));
    border: 1px solid rgba(255, 232, 214, 0.12);
    box-shadow: 0 28px 60px rgba(20, 33, 61, 0.28);
}

.home-window-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.2rem 0.2rem 1rem;
}

.home-window-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.home-window-top span:nth-child(1) {
    background: #FF5F57;
}

.home-window-top span:nth-child(2) {
    background: #FEBC2E;
}

.home-window-top span:nth-child(3) {
    background: #28C840;
}

.home-window-top p {
    margin-left: 0.45rem;
    font-size: 0.92rem;
    color: rgba(255, 244, 235, 0.78);
}

.home-window-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 1rem;
}

.home-preview-panel {
    min-height: 430px;
    padding: 1.4rem;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 242, 231, 0.92));
    color: var(--color-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-preview-caption {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(196, 109, 72, 0.12);
    color: #9A4E2F;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.home-tree-demo {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.home-tree-level {
    display: grid;
    justify-content: center;
    gap: 0.9rem;
}

.home-tree-level.two,
.home-tree-level.three {
    width: 100%;
}

.home-tree-level.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-tree-level.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-tree-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: #FFFFFF;
    color: var(--color-primary);
    border: 1px solid rgba(196, 109, 72, 0.12);
    box-shadow: 0 12px 24px rgba(196, 109, 72, 0.08);
    font-weight: 700;
}

.home-tree-node.accent {
    color: #FFFFFF;
    background: linear-gradient(135deg, #C46D48, #F59E0B);
    border-color: transparent;
}

.home-tree-node.light {
    background: linear-gradient(180deg, #FFFFFF, #FFF2E7);
}

.home-tree-line.vertical {
    width: 2px;
    height: 38px;
    background: linear-gradient(180deg, rgba(196, 109, 72, 0.18), rgba(196, 109, 72, 0.42));
}

.home-tree-line.horizontal {
    width: 68%;
    height: 2px;
    background: linear-gradient(90deg, rgba(196, 109, 72, 0.15), rgba(196, 109, 72, 0.42), rgba(196, 109, 72, 0.15));
}

.home-side-stack {
    display: grid;
    gap: 1rem;
}

.home-mini-card {
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(20, 33, 61, 0.74);
    border: 1px solid rgba(255, 232, 214, 0.08);
    box-shadow: 0 18px 36px rgba(20, 33, 61, 0.18);
}

.home-mini-card.glass {
    background: rgba(255, 243, 234, 0.14);
    backdrop-filter: blur(14px);
}

.mini-label {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: rgba(255, 236, 224, 0.76);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-mini-card strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.4;
}

.home-mini-card p,
.home-mini-card li {
    color: rgba(255, 244, 236, 0.74);
    line-height: 1.7;
}

.home-mini-card ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 0.7rem;
}

.home-mini-card li::before {
    content: "•";
    color: #F6BE76;
    margin-right: 0.55rem;
}

.home-floating-note {
    position: relative;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    max-width: 320px;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: rgba(34, 35, 67, 0.84);
    border: 1px solid rgba(255, 232, 214, 0.12);
    box-shadow: 0 20px 40px rgba(20, 33, 61, 0.28);
    line-height: 1.6;
}

.home-floating-note i {
    color: #F6BE76;
}

.home-proof-strip {
    padding: 1.25rem 0;
    background: rgba(255, 248, 241, 0.82);
    border-top: 1px solid rgba(241, 221, 204, 0.95);
    border-bottom: 1px solid rgba(241, 221, 204, 0.95);
    backdrop-filter: blur(12px);
}

.home-proof-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-proof-items span {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #6C3F2A;
    font-size: 0.96rem;
    font-weight: 600;
}

.home-proof-items span::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    flex: 0 0 auto;
}

.home-steps-modern,
.home-value-grid,
.home-entry-grid {
    display: grid;
    gap: 1.25rem;
}

.home-steps-modern {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-step-card,
.home-value-card,
.home-entry-card {
    position: relative;
    overflow: hidden;
    padding: 1.8rem;
    border-radius: 26px;
    background: rgba(255, 252, 248, 0.9);
    border: 1px solid rgba(241, 221, 204, 0.9);
    box-shadow: 0 22px 44px rgba(196, 109, 72, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-step-card::before,
.home-value-card::before,
.home-entry-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF8A5B, #F59E0B, #38BDF8);
    opacity: 0.95;
}

.home-step-card:hover,
.home-value-card:hover,
.home-entry-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 109, 72, 0.28);
    box-shadow: 0 28px 52px rgba(196, 109, 72, 0.12);
}

.home-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 14px 28px rgba(196, 109, 72, 0.22);
}

.home-step-card h3,
.home-value-card h3,
.home-entry-card h3,
.showcase-detail-card h3 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 0.85rem;
}

.home-step-card p,
.home-value-card p,
.home-entry-card p,
.showcase-detail-card p {
    color: rgba(15, 23, 42, 0.72);
    line-height: 1.8;
}

.home-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 2.5rem;
    align-items: center;
}

.home-showcase-copy p {
    max-width: 560px;
    color: rgba(255, 246, 238, 0.8);
    line-height: 1.9;
}

.home-benefit-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.home-benefit-list article {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 244, 235, 0.1);
    border: 1px solid rgba(255, 232, 214, 0.14);
}

.home-benefit-list strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.home-benefit-list span {
    color: rgba(255, 245, 236, 0.76);
    line-height: 1.7;
}

.home-inline-actions {
    margin-top: 2rem;
}

.home-showcase-panel {
    position: relative;
}

.showcase-browser {
    padding: 1rem;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 214, 186, 0.05));
    border: 1px solid rgba(255, 232, 214, 0.12);
    box-shadow: 0 24px 54px rgba(20, 33, 61, 0.24);
}

.showcase-browser-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.2rem 0.2rem 0.95rem;
}

.showcase-browser-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
}

.showcase-browser-top p {
    margin-left: 0.5rem;
    color: rgba(255, 244, 235, 0.72);
    font-size: 0.9rem;
}

.showcase-browser-body {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 1rem;
}

.showcase-tree-card,
.showcase-detail-card {
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.showcase-tree-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #8A4B14;
}

.showcase-tree-head span {
    font-size: 0.88rem;
    color: rgba(138, 75, 20, 0.7);
}

.showcase-tree-body {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    padding-top: 0.2rem;
}

.showcase-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.showcase-node {
    min-width: 84px;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(196, 109, 72, 0.1);
    background: #FFFFFF;
    color: var(--color-primary);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 12px 24px rgba(196, 109, 72, 0.08);
}

.showcase-node.accent {
    color: #FFFFFF;
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    border-color: transparent;
}

.showcase-node.light {
    background: linear-gradient(180deg, #FFFFFF, #EEF7FF);
}

.showcase-line.vertical {
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.4));
}

.showcase-line.horizontal {
    width: 66%;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.42), rgba(37, 99, 235, 0.15));
}

.showcase-detail-card ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.showcase-detail-card li {
    position: relative;
    padding-left: 1.3rem;
    color: rgba(15, 23, 42, 0.72);
}

.showcase-detail-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.home-value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-value-icon,
.home-entry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.12);
    color: #A2582C;
    font-size: 1.35rem;
}

.home-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-entry-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.2rem;
    color: #8A4B14;
    text-decoration: none;
    font-weight: 700;
}

.home-entry-link::after {
    content: "→";
    transition: transform 0.25s ease;
}

.home-entry-link:hover::after {
    transform: translateX(4px);
}

.home-cta-band {
    position: relative;
    padding: 6rem 0 7rem;
}

.home-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 249, 244, 0), rgba(255, 235, 220, 0.78));
    pointer-events: none;
}

.home-cta-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
    padding: 2rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(255, 242, 232, 0.98));
    border: 1px solid rgba(241, 221, 204, 0.92);
    box-shadow: 0 28px 56px rgba(196, 109, 72, 0.1);
}

.home-cta-copy {
    padding: 0.7rem 0.5rem;
}

.home-cta-copy h2 {
    max-width: 12ch;
    color: var(--color-dark);
}

.home-cta-copy p {
    margin-top: 1rem;
    max-width: 560px;
    line-height: 1.9;
    color: rgba(52, 38, 24, 0.72);
}

.subscribe-box {
    padding: 1.8rem;
    border-radius: 28px;
    background: linear-gradient(180deg, #1C2D4D 0%, #6B4C7A 100%);
    color: #FFFFFF;
    box-shadow: 0 24px 50px rgba(52, 38, 24, 0.22);
}

.subscribe-box > p:first-child {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: none;
    color: rgba(255, 240, 228, 0.78);
}

.email-form {
    margin-top: 1rem;
}

.form-group {
    display: grid;
    gap: 0.7rem;
}

.subscribe-box input {
    width: 100%;
    padding: 1rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 226, 205, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-dark);
    font: inherit;
}

.subscribe-box button {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.95rem 1.15rem;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    color: #FFFFFF;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(196, 109, 72, 0.28);
}

.tip {
    margin-top: 0.9rem;
    color: rgba(255, 239, 228, 0.7);
    line-height: 1.7;
}

.page-home .faq-section {
    background: transparent;
}

.page-home .faq-list {
    max-width: 920px;
    margin: 0 auto;
}

.page-home .faq-item {
    background: rgba(255, 252, 248, 0.88);
    border: 1px solid rgba(241, 221, 204, 0.94);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 36px rgba(196, 109, 72, 0.06);
}

.page-home .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-home .faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    color: #A2582C;
}

.page-home .faq-item[open] summary::after {
    content: "−";
}

.page-home .site-footer {
    background: #141E35;
    border-top: 1px solid rgba(255, 240, 228, 0.08);
}

.page-home .footer-content {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, minmax(0, 0.8fr));
    gap: 2rem;
}

.page-home .footer-section h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.page-home .footer-section p,
.page-home .footer-section a,
.page-home .copyright p,
.page-home .beian-link {
    color: rgba(255, 239, 228, 0.72);
}

.page-home .footer-section ul {
    list-style: none;
}

.page-home .footer-section li + li {
    margin-top: 0.75rem;
}

.page-home .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .beian-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-home .beian-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 1080px) {
    .home-hero-grid,
    .home-showcase,
    .home-cta-shell,
    .showcase-browser-body,
    .home-window-body,
    .page-home .footer-content {
        grid-template-columns: 1fr;
    }

    .home-trust-row,
    .home-proof-items,
    .home-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-floating-note {
        position: static;
        margin-top: 1rem;
        max-width: none;
    }
}

@media (max-width: 820px) {
    .page-home .nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .page-home .logo {
        justify-content: center;
    }

    .page-home .nav-links {
        justify-content: center;
    }

    .page-home .nav-btn {
        width: 100%;
    }

    .home-steps-modern,
    .home-entry-grid,
    .home-trust-row,
    .home-proof-items,
    .home-value-grid,
    .home-tree-level.two,
    .home-tree-level.three {
        grid-template-columns: 1fr;
    }

    .home-section,
    .faq-section {
        padding: 5rem 0;
    }

    .home-hero {
        padding-top: 4.8rem;
    }

    .home-hero-copy h1 {
        max-width: 100%;
    }

    .home-hero-actions,
    .home-inline-actions,
    .contact-shortcuts,
    .page-home .footer-contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .home-btn,
    .contact-shortcuts a,
    .page-home .footer-contact-link {
        width: 100%;
    }

    .home-showcase-copy,
    .home-section-heading,
    .home-cta-copy {
        text-align: left;
    }

    .home-section-heading {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .home-section-heading .section-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .page-home .copyright {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .page-home .container {
        width: 94%;
        padding: 0 10px;
    }

    .home-window,
    .showcase-browser,
    .home-cta-shell,
    .home-step-card,
    .home-value-card,
    .home-entry-card,
    .subscribe-box {
        border-radius: 24px;
    }

    .home-hero-copy h1,
    .home-section-heading h2,
    .home-cta-copy h2 {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .home-preview-panel,
    .showcase-tree-card,
    .showcase-detail-card {
        padding: 1.1rem;
    }

    .home-tree-node,
    .showcase-node {
        min-width: 0;
        width: 100%;
    }
}

/* ===== 2026-04-06 内页风格统一 ===== */
:root {
    --color-primary: #14213D;
    --color-primary-light: #243B6B;
    --color-primary-soft: #6B4C7A;
    --color-secondary: #F59E0B;
    --color-secondary-light: #FFB46B;
    --color-accent: #FF8A5B;
    --color-success: #2E9B74;
    --color-warning: #F97316;
    --color-info: #5B7CF6;
    --color-danger: #D9504E;
    --color-dark: #2F241D;
    --color-light: #FFF9F4;
    --color-surface: rgba(255, 255, 255, 0.92);
    --color-border: #F1DDCC;
    --color-muted: #7C6254;
}

body {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.page-inner,
.page-auth,
.page-account {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 32%),
        radial-gradient(circle at left 16%, rgba(255, 138, 91, 0.12), transparent 26%),
        #FFF9F4;
    min-height: 100vh;
}

.page-inner .navbar,
.page-auth .navbar,
.page-account .navbar {
    background: rgba(20, 33, 61, 0.82);
    border-bottom: 1px solid rgba(255, 238, 227, 0.12);
    box-shadow: 0 14px 32px rgba(20, 33, 61, 0.18);
    backdrop-filter: blur(18px);
}

.page-inner .navbar.scrolled,
.page-auth .navbar.scrolled,
.page-account .navbar.scrolled {
    background: rgba(20, 33, 61, 0.92);
}

.page-inner .nav-container,
.page-auth .nav-container,
.page-account .nav-container {
    gap: 1.5rem;
}

.page-inner .logo,
.page-auth .logo,
.page-account .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
}

.page-inner .logo-img,
.page-auth .logo-img,
.page-account .logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.16));
}

.page-inner .logo,
.page-auth .logo,
.page-account .logo {
    color: #FFFFFF;
}

.page-inner .logo-text,
.page-auth .logo-text,
.page-account .logo-text {
    color: #FFFFFF;
}

.page-inner .nav-links,
.page-auth .nav-links,
.page-account .nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-inner .nav-link,
.page-auth .nav-link,
.page-account .nav-link {
    color: rgba(255, 245, 236, 0.82);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.page-inner .nav-link:hover,
.page-inner .nav-link.active,
.page-auth .nav-link:hover,
.page-auth .nav-link.active,
.page-account .nav-link:hover,
.page-account .nav-link.active {
    background: rgba(255, 244, 235, 0.14);
    color: #FFFFFF;
}

.page-inner .nav-btn,
.page-auth .nav-btn,
.page-account .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 221, 198, 0.3);
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(196, 109, 72, 0.24);
}

.page-inner .nav-btn:hover,
.page-auth .nav-btn:hover,
.page-account .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(196, 109, 72, 0.3);
}

.inner-shell,
.auth-shell,
.account-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.inner-hero,
.auth-shell,
.account-shell {
    padding: 3.75rem 0 2.25rem;
}

.inner-hero-grid,
.auth-layout,
.account-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.inner-kicker,
.auth-kicker,
.account-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 188, 0.5);
    background: rgba(255, 248, 241, 0.86);
    color: #8A4B14;
    font-size: 0.95rem;
    font-weight: 600;
}

.inner-hero-copy h1,
.auth-visual h1,
.account-profile h1 {
    margin-top: 1.2rem;
    font-size: clamp(2.3rem, 4.8vw, 4rem);
    line-height: 1.08;
    color: #1F1A17;
    letter-spacing: -0.03em;
}

.inner-hero-copy p,
.auth-visual p,
.account-profile p {
    margin-top: 1.15rem;
    font-size: 1.06rem;
    line-height: 1.8;
    color: rgba(47, 36, 29, 0.78);
}

.inner-actions,
.auth-actions,
.account-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.8rem;
}

.surface-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(241, 221, 204, 0.96);
    border-radius: 30px;
    box-shadow: 0 22px 44px rgba(196, 109, 72, 0.08);
    backdrop-filter: blur(18px);
}

.inner-highlight-card {
    padding: 1.9rem;
}

.inner-highlight-card h3,
.account-panel h3,
.contact-panel h3,
.auth-card h2 {
    color: #1F1A17;
    font-size: 1.35rem;
    margin-bottom: 0.95rem;
}

.inner-bullet-list,
.promise-list,
.contact-method-list,
.contact-commitments,
.auth-note-list,
.account-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.inner-bullet-list li,
.promise-list li,
.contact-commitments li,
.auth-note-list li,
.account-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(47, 36, 29, 0.8);
    line-height: 1.7;
}

.inner-bullet-list i,
.promise-list i,
.contact-commitments i,
.auth-note-list i,
.account-bullet-list i {
    margin-top: 0.35rem;
    color: #F59E0B;
}

.metric-grid,
.account-stat-grid,
.account-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.metric-item,
.account-stat,
.account-action {
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 252, 248, 0.88);
    border: 1px solid rgba(241, 221, 204, 0.88);
}

.metric-item strong,
.account-stat strong,
.account-action strong {
    display: block;
    font-size: 1.35rem;
    color: #1F1A17;
}

.metric-item span,
.account-stat span,
.account-action span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(47, 36, 29, 0.68);
    line-height: 1.6;
}

.inner-section {
    padding: 1.25rem 0 4.5rem;
}

.inner-section-dark {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, #14213D 0%, #243B6B 42%, #6B4C7A 100%);
    color: #FFFFFF;
}

.inner-section-dark .inner-heading h2,
.inner-section-dark .inner-heading p,
.inner-section-dark .inner-card,
.inner-section-dark .inner-card h3,
.inner-section-dark .inner-card p,
.inner-section-dark .promise-list li,
.inner-section-dark .promise-list i {
    color: #FFFFFF;
}

.inner-section-dark .inner-card,
.inner-section-dark .contact-panel,
.inner-section-dark .account-panel {
    background: rgba(255, 244, 235, 0.12);
    border-color: rgba(255, 244, 235, 0.14);
    box-shadow: none;
}

.inner-heading {
    max-width: 720px;
    margin-bottom: 2rem;
}

.inner-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1F1A17;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.inner-heading p {
    margin-top: 0.9rem;
    color: rgba(47, 36, 29, 0.74);
    line-height: 1.8;
}

.inner-card-grid,
.contact-layout,
.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.inner-card,
.contact-panel,
.account-panel,
.auth-card {
    padding: 1.6rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(241, 221, 204, 0.94);
    box-shadow: 0 18px 36px rgba(196, 109, 72, 0.08);
}

.inner-card h3,
.contact-method h3,
.account-panel h3 {
    font-size: 1.15rem;
    color: #1F1A17;
    margin: 0.9rem 0 0.6rem;
}

.inner-card p,
.contact-method p,
.account-panel p,
.auth-card p {
    color: rgba(47, 36, 29, 0.74);
    line-height: 1.75;
}

.inner-card-icon,
.contact-method-icon,
.account-panel-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(255, 138, 91, 0.18));
    color: #C46D48;
    font-size: 1.15rem;
}

.inner-quote {
    margin-top: 1.3rem;
    padding: 1.1rem 1.2rem;
    border-left: 4px solid #F59E0B;
    border-radius: 18px;
    background: rgba(255, 249, 243, 0.88);
    color: #5B4336;
    line-height: 1.8;
}

.contact-method-list {
    gap: 1rem;
}

.contact-method {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(241, 221, 204, 0.72);
}

.contact-method:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-meta,
.social-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-chip,
.social-chip,
.account-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 247, 240, 0.92);
    border: 1px solid rgba(241, 221, 204, 0.88);
    color: #7C6254;
    text-decoration: none;
}

.contact-form-card {
    padding: 1.8rem;
}

.modern-form {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.55rem;
}

.form-group label {
    font-weight: 600;
    color: #382A21;
}

.field-control,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(227, 202, 182, 0.96);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    background: rgba(255, 252, 248, 0.96);
    color: #2F241D;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(245, 158, 11, 0.88);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
    transform: translateY(-1px);
}

.form-hint,
.form-note {
    font-size: 0.9rem;
    color: rgba(47, 36, 29, 0.62);
}

.captcha-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.8rem;
    align-items: center;
}

.captcha-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    min-width: 112px;
    padding: 0 1rem;
    border-radius: 18px;
    background: rgba(255, 247, 240, 0.94);
    border: 1px solid rgba(241, 221, 204, 0.9);
}

.captcha-image span {
    letter-spacing: 0.38em;
    font-weight: 700;
    color: #8A4B14;
}

.refresh-captcha,
.form-primary-btn,
.form-secondary-btn,
.auth-submit-btn,
.account-action-btn {
    border: none;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.refresh-captcha {
    width: 52px;
    height: 52px;
    background: rgba(20, 33, 61, 0.08);
    color: #243B6B;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.4rem;
}

.form-primary-btn,
.auth-submit-btn,
.account-action-btn.primary {
    padding: 0.95rem 1.4rem;
    color: #FFFFFF;
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    box-shadow: 0 16px 32px rgba(196, 109, 72, 0.22);
}

.form-secondary-btn,
.account-action-btn.secondary {
    padding: 0.95rem 1.35rem;
    color: #453228;
    background: rgba(255, 247, 240, 0.92);
    border: 1px solid rgba(241, 221, 204, 0.9);
}

.form-primary-btn:hover,
.form-secondary-btn:hover,
.auth-submit-btn:hover,
.account-action-btn:hover,
.refresh-captcha:hover {
    transform: translateY(-2px);
}

.auth-layout {
    align-items: center;
}

.auth-visual {
    padding: 2.2rem;
    border-radius: 34px;
    background: linear-gradient(140deg, rgba(20, 33, 61, 0.94), rgba(36, 59, 107, 0.92) 48%, rgba(107, 76, 122, 0.9));
    color: #FFFFFF;
    box-shadow: 0 32px 60px rgba(20, 33, 61, 0.24);
}

.auth-visual h1,
.auth-visual p,
.auth-visual .auth-note-list li {
    color: #FFFFFF;
}

.auth-visual p {
    color: rgba(255, 243, 234, 0.78);
}

.auth-note-list i {
    color: #FFB46B;
}

.auth-card {
    padding: 2rem;
}

.auth-card-header {
    margin-bottom: 1.4rem;
}

.auth-card-header p {
    margin-top: 0.5rem;
}

.auth-demo-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.demo-btn {
    width: 100%;
    padding: 0.95rem 1rem;
    text-align: left;
    border-radius: 20px;
    border: 1px solid rgba(241, 221, 204, 0.94);
    background: rgba(255, 251, 247, 0.96);
    color: #382A21;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(196, 109, 72, 0.08);
}

/* 登录/注册 Tab 切换 */
.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.6rem;
    background: rgba(236, 240, 255, 0.5);
    border-radius: 999px;
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #6B7280;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-tab.active {
    background: #FFFFFF;
    color: var(--color-primary, #2563EB);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
    font-weight: 600;
}

.auth-tab:hover:not(.active) {
    color: var(--color-primary, #2563EB);
    background: rgba(255,255,255,0.5);
}

.error-message,
.success-message {
    display: none;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    font-size: 0.95rem;
}

.error-message {
    background: rgba(217, 80, 78, 0.12);
    color: #A13D39;
    border: 1px solid rgba(217, 80, 78, 0.24);
}

.success-message {
    background: rgba(46, 155, 116, 0.12);
    color: #1E7C5B;
    border: 1px solid rgba(46, 155, 116, 0.22);
}

.auth-footer-link {
    margin-top: 1.25rem;
    color: rgba(47, 36, 29, 0.72);
    text-align: center;
}

.auth-footer-link a {
    color: #C46D48;
    font-weight: 600;
    text-decoration: none;
}

.account-hero {
    padding: 2rem;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(20, 33, 61, 0.94), rgba(36, 59, 107, 0.9) 48%, rgba(107, 76, 122, 0.9));
    color: #FFFFFF;
    box-shadow: 0 32px 60px rgba(20, 33, 61, 0.24);
}

.account-profile {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.account-avatar {
    width: 88px;
    height: 88px;
    border-radius: 26px;
    background: linear-gradient(135deg, #F59E0B, #FF8A5B);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(196, 109, 72, 0.26);
}

.account-hero h1,
.account-hero p,
.account-hero .account-tag,
.account-hero .account-stat strong,
.account-hero .account-stat span {
    color: #FFFFFF;
}

.account-hero .account-tag,
.account-hero .account-stat {
    background: rgba(255, 244, 235, 0.12);
    border-color: rgba(255, 244, 235, 0.16);
}

.account-panel {
    height: 100%;
}

.account-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-panel-head small {
    color: rgba(47, 36, 29, 0.56);
}

.account-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-action-btn {
    width: 100%;
    padding: 0.95rem 1rem;
}

.page-inner .site-footer,
.page-account .site-footer,
.page-auth .site-footer {
    margin-top: 2.5rem;
    background: #141E35;
    border-top: 1px solid rgba(255, 240, 228, 0.08);
}

.page-inner .footer-content,
.page-account .footer-content,
.page-auth .footer-content {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, minmax(0, 0.8fr));
    gap: 2rem;
}

.page-inner .footer-section h3,
.page-account .footer-section h3,
.page-auth .footer-section h3 {
    color: #FFFFFF;
}

.page-inner .footer-section p,
.page-inner .footer-section a,
.page-inner .copyright p,
.page-inner .beian-link,
.page-account .footer-section p,
.page-account .footer-section a,
.page-account .copyright p,
.page-account .beian-link,
.page-auth .footer-section p,
.page-auth .footer-section a,
.page-auth .copyright p,
.page-auth .beian-link {
    color: rgba(255, 239, 228, 0.72);
}

.page-inner .footer-section ul,
.page-account .footer-section ul,
.page-auth .footer-section ul {
    list-style: none;
    padding: 0;
}

.page-inner .footer-section li + li,
.page-account .footer-section li + li,
.page-auth .footer-section li + li {
    margin-top: 0.75rem;
}

.page-inner .copyright,
.page-account .copyright,
.page-auth .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
}

.page-inner .beian-info,
.page-account .beian-info,
.page-auth .beian-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.page-inner .beian-link,
.page-account .beian-link,
.page-auth .beian-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.page-inner .gongan-icon,
.page-account .gongan-icon,
.page-auth .gongan-icon {
    height: 18px;
    width: auto;
}

@media (max-width: 1080px) {
    .inner-hero-grid,
    .auth-layout,
    .account-summary,
    .contact-layout,
    .account-grid,
    .page-inner .footer-content,
    .page-account .footer-content,
    .page-auth .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .page-inner .nav-container,
    .page-auth .nav-container,
    .page-account .nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .page-inner .logo,
    .page-auth .logo,
    .page-account .logo {
        justify-content: center;
    }

    .page-inner .nav-links,
    .page-auth .nav-links,
    .page-account .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .page-inner .nav-btn,
    .page-auth .nav-btn,
    .page-account .nav-btn {
        width: 100%;
    }

    .metric-grid,
    .account-stat-grid,
    .form-grid,
    .account-action-grid {
        grid-template-columns: 1fr;
    }

    .page-inner .copyright,
    .page-account .copyright,
    .page-auth .copyright {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .inner-shell,
    .auth-shell,
    .account-shell {
        width: min(100% - 24px, 1180px);
    }

    .logo-img {
        height: 38px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .auth-card,
    .contact-form-card,
    .account-panel,
    .inner-card,
    .inner-highlight-card,
    .account-hero,
    .auth-visual {
        border-radius: 24px;
        padding: 1.35rem;
    }

    .captcha-container {
        grid-template-columns: 1fr;
    }
}

/* SZJPV2: 20260405 */

/* 演示模式只读横幅 */
#demo-mode-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.4);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

#demo-mode-banner .banner-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.6);
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    transition: background 0.2s;
}

#demo-mode-banner .banner-link:hover {
    background: rgba(255,255,255,0.2);
}