/* ============================================
   远辰人机验证 - 方形液态玻璃UI v2.0
   设计原则：方形为主 / 不对称布局 / 无紫色 / 增强现实感
============================================ */

:root {
    --c-dark: #0a1628;
    --c-mid: #3d5a70;
    --c-light: #7b96ab;
    --c-faint: #b8c9d8;
    --c-primary: #1a4a6e;
    --c-primary-deep: #0f344d;
    --c-accent: #0e8c7a;
    --c-cyan: #1598a8;
    --c-surface: #e4ecf2;
    --c-bg-1: #dde8f0;
    --c-bg-2: #c8dce8;
    --glass-white: rgba(255, 255, 255, 0.20);
    --glass-border: rgba(255, 255, 255, 0.32);
    --glass-inner: rgba(26, 74, 110, 0.08);
    --ok: #16a34a;
    --err: #dc2626;
    --warn: #d97706;
    /* 方形圆角 */
    --r-xs: 3px;
    --r-sm: 5px;
    --r-md: 8px;
    --r-lg: 12px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(160deg, var(--c-bg-1) 0%, #dbe8f2 35%, var(--c-bg-2) 70%, #bcd2e2 100%);
    min-height: 100vh;
    color: var(--c-dark);
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
}

/* ====== 动态背景 ====== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 55% at 15% 30%, rgba(26, 74, 110, 0.06) 0%, transparent 68%),
        radial-gradient(ellipse 55% 50% at 88% 18%, rgba(14, 140, 122, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 45% 55% at 48% 92%, rgba(21, 152, 168, 0.04) 0%, transparent 52%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
    animation: bgDrift 40s linear infinite alternate;
    pointer-events: none;
    z-index: -1;
    opacity: 0.55;
}

@keyframes bgDrift {
    from { transform: translate(0, 0) rotate(0deg); }
    to   { transform: translate(-4%, -4%) rotate(1deg); }
}

/* ====== 液态玻璃容器（方形） ====== */
.glass {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.13) 50%, rgba(255,255,255,0.19) 100%);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border-radius: var(--r-lg);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 36px rgba(10, 22, 40, 0.07),
        0 2px 10px rgba(10, 22, 40, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(255,255,255,0.11) 0%, transparent 100%);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    pointer-events: none;
}

.glass:hover {
    box-shadow:
        0 18px 52px rgba(10, 22, 40, 0.11),
        0 4px 18px rgba(10, 22, 40, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        inset 0 -1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.48);
}

/* ====== 导航栏（方形） ====== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    padding: 0;
    background: rgba(15, 52, 78, 0.94);
    backdrop-filter: blur(22px) saturate(190%);
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 3px 20px rgba(0,0,0,0.1);
}

.navbar .container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    height: 64px;
}

.navbar-brand {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .brand-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(14,140,122,0.85), #1598a8);
    border-radius: var(--r-sm);
    border: 1.5px solid rgba(255,255,255,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.navbar-nav { list-style: none; display: flex; gap: 4px; }

.navbar-nav a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 17px;
    border-radius: var(--r-sm);
    transition: all 0.22s ease;
}

.navbar-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.11);
}

.navbar-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

/* ====== Hero区域（不对称） ====== */
.hero-section {
    padding: 140px 24px 80px;
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 64px - 120px);
}

.hero-content { text-align: left; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(26, 74, 110, 0.08);
    border: 1px solid rgba(26, 74, 110, 0.16);
    padding: 7px 16px;
    border-radius: var(--r-sm);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(34px, 5.5vw, 52px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: var(--c-dark);
}

.hero-title span {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--c-mid);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Hero右侧视觉块 */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glass-block {
    width: 320px;
    height: 320px;
    background: linear-gradient(
        145deg,
        rgba(26, 74, 110, 0.08) 0%,
        rgba(14, 140, 122, 0.05) 50%,
        rgba(21, 152, 168, 0.06) 100%
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,0.28);
    position: relative;
    overflow: hidden;
}

.hero-glass-block::before {
    content: '';
    position: absolute;
    top: -40%; right: -40%;
    width: 90%; height: 90%;
    background: radial-gradient(circle, rgba(14,140,122,0.12), transparent 70%);
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glass-block::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(26,74,110,0.06), transparent);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.hero-glass-text {
    position: absolute;
    bottom: 32px;
    left: 28px;
    z-index: 2;
}

.hero-glass-text .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-light);
    margin-bottom: 4px;
}

.hero-glass-text .value {
    font-size: 28px;
    font-weight: 900;
    color: var(--c-primary);
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-10px, 8px); }
}

/* ====== 按钮系统（方形） ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    border-radius: var(--r-md);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.14), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.25s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--c-primary) 0%, #245a84 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(26, 74, 110, 0.28), inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(26, 74, 110, 0.38), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-outline {
    background: transparent;
    color: var(--c-primary);
    border: 2px solid rgba(26, 74, 110, 0.22);
    box-shadow: none;
}
.btn-outline:hover {
    background: rgba(26, 74, 110, 0.05);
    border-color: var(--c-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 74, 110, 0.12);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--c-accent) 0%, #10967a 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 140, 122, 0.28);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(14, 140, 122, 0.38);
}

.btn-success { background: linear-gradient(135deg, var(--ok) 0%, #15803d 100%); color: #fff; }
.btn-danger  { background: linear-gradient(135deg, var(--err) 0%, #b91c1c 100%); color: #fff; }

.btn-sm  { padding: 7px 15px; font-size: 12.5px; border-radius: var(--r-sm); }
.btn-lg  { padding: 16px 36px; font-size: 15.5px; border-radius: var(--r-md); }

/* ====== 功能卡片网格（不对称） ====== */
.features-section { padding: 90px 0; position: relative; }

.section-label {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--c-cyan);
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: clamp(26px, 3.8vw, 36px);
    font-weight: 900;
    color: var(--c-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-desc {
    text-align: center;
    color: var(--c-mid);
    max-width: 500px;
    margin: 0 auto 56px;
    font-size: 15px;
    line-height: 1.7;
}

/* 不对称网格 */
.features-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.features-grid .feature-card:first-child {
    grid-row: span 2;
}

.feature-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.27) 0%,
        rgba(255, 255, 255, 0.13) 100%
    );
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, 0.40);
    padding: 32px 28px;
    box-shadow:
        0 8px 32px rgba(10, 22, 40, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.56),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 44%;
    background: linear-gradient(180deg, rgba(255,255,255,0.13) 0%, transparent 100%);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.008);
    box-shadow:
        0 22px 54px rgba(10, 22, 40, 0.1),
        0 6px 20px rgba(10, 22, 40, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.66);
    border-color: rgba(255, 255, 255, 0.53);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26,74,110,0.12), rgba(21,152,168,0.08));
    color: var(--c-primary);
    border: 1px solid rgba(26,74,110,0.14);
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, rgba(14,140,122,0.10), rgba(21,152,168,0.07));
    color: var(--c-accent);
    border-color: rgba(14,140,122,0.14);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, rgba(21,152,168,0.10), rgba(26,74,110,0.07));
    color: var(--c-cyan);
    border-color: rgba(21,152,168,0.14);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, rgba(217,119,6,0.10), rgba(220,38,38,0.06));
    color: var(--warn);
    border-color: rgba(217,119,6,0.14);
}

.feature-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 9px;
}

.feature-desc {
    color: var(--c-mid);
    font-size: 14px;
    line-height: 1.7;
}

/* ====== 流程步骤 ====== */
.process-section {
    padding: 90px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26,74,110,0.03) 50%, transparent 100%);
}

.process-steps {
    display: flex;
    max-width: 940px;
    margin: 0 auto;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 24px;
}

.step-item {
    flex: 1;
    min-width: 240px;
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 54px;
    height: 54px;
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-cyan) 100%);
    box-shadow: 0 5px 18px rgba(26, 74, 110, 0.28);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(rgba(255,255,255,0.18), transparent);
}

.step-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 7px;
}

.step-desc {
    color: var(--c-mid);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ====== CTA区域 ====== */
.cta-section {
    padding: 90px 24px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(26,74,110,0.05) 0%, rgba(14,140,122,0.03) 50%, rgba(21,152,168,0.03) 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 650px; height: 300px;
    background: radial-gradient(ellipse, rgba(21,152,168,0.07), transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(24px, 3.8vw, 32px);
    font-weight: 900;
    color: var(--c-dark);
    margin-bottom: 12px;
    position: relative;
}

.cta-desc {
    color: var(--c-mid);
    font-size: 15px;
    margin-bottom: 32px;
    position: relative;
}

/* ====== 表单容器（方形） ====== */
.form-container {
    max-width: 440px;
    margin: 90px auto 50px;
    padding: 42px 36px;
}

.form-container.glass { padding: 42px 36px; }

.form-title {
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 5px;
    color: var(--c-dark);
    letter-spacing: -0.01em;
}

.form-subtitle {
    text-align: center;
    color: var(--c-mid);
    margin-bottom: 34px;
    font-size: 13.5px;
}

.form-group { margin-bottom: 18px; }

.form-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: var(--c-dark);
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(150, 175, 195, 0.38);
    border-radius: var(--r-md);
    font-size: 14.5px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    outline: none;
    color: var(--c-dark);
}

.form-control:focus {
    border-color: var(--c-primary);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 0 4px rgba(26, 74, 110, 0.09), 0 2px 8px rgba(26, 74, 110, 0.07);
}

.form-control::placeholder { color: var(--c-light); }

.captcha-group {
    display: flex;
    gap: 12px;
    align-items: center;
}
.captcha-input { flex: 1; }

.captcha-image {
    width: 136px;
    height: 48px;
    border-radius: var(--r-sm);
    cursor: pointer;
    border: 1.5px solid rgba(150, 175, 195, 0.32);
    transition: all 0.25s;
    object-fit: cover;
}
.captcha-image:hover {
    border-color: var(--c-primary);
    box-shadow: 0 2px 10px rgba(26, 74, 110, 0.14);
}

/* ====== 提示消息（方形） ====== */
.alert {
    padding: 13px 16px;
    border-radius: var(--r-md);
    margin-bottom: 18px;
    font-size: 13.5px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 9px;
}

.alert-success { background: rgba(22,163,74,0.07); border-color: rgba(22,163,74,0.18); color: var(--ok); }
.alert-error   { background: rgba(220,38,38,0.07); border-color: rgba(220,38,38,0.18); color: var(--err); }
.alert-warning { background: rgba(217,119,6,0.07); border-color: rgba(217,119,6,0.18); color: var(--warn); }
.alert-info    { background: rgba(21,152,168,0.07); border-color: rgba(21,152,168,0.18); color: var(--c-cyan); }

/* ====== 链接 ====== */
.link {
    color: var(--c-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}
.link:hover { color: var(--c-primary-deep); text-decoration: underline; }

/* ====== 页脚（现代化方形增强） ====== */
.footer {
    background: linear-gradient(
        145deg,
        rgba(15, 52, 78, 0.97) 0%,
        rgba(10, 38, 58, 0.98) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 48px 24px 36px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.15) 30%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0.15) 70%,
        transparent 100%
    );
}

.footer-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 13.5px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 550;
    transition: all 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
    max-width: 1080px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
    text-align: center;
    font-size: 12.5px;
    color: rgba(255,255,255,0.38);
    line-height: 2;
}

.footer-bottom a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

.footer-bottom .icp-link {
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

/* ====== 通用卡片（方形） ====== */
.card {
    background: linear-gradient(145deg, rgba(255,255,255,0.24), rgba(255,255,255,0.11));
    backdrop-filter: blur(18px);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,0.33);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(10,22,40,0.045);
    transition: all 0.3s ease;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    pointer-events: none;
}

.card-header {
    font-size: 17px;
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(150, 175, 195, 0.22);
}

.card-body { color: var(--c-mid); font-size: 14px; }

/* ====== 表格（方形） ====== */
.table-container {
    overflow-x: auto;
    border-radius: var(--r-md);
    background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.09));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.30);
}

.table { width: 100%; border-collapse: collapse; }

.table th, .table td {
    padding: 13px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(150, 175, 195, 0.18);
    font-size: 13.5px;
}

.table th {
    background: rgba(26, 74, 110, 0.055);
    font-weight: 800;
    color: var(--c-primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-bottom: 1.5px solid rgba(26, 74, 110, 0.1);
}

.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(26, 74, 110, 0.022); }

/* ====== 徽章（方形） ====== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: var(--r-sm);
    font-size: 11.5px;
    font-weight: 700;
    gap: 4px;
}

.badge-success { background: rgba(22,163,74,0.09); color: var(--ok); border: 1px solid rgba(22,163,74,0.16); }
.badge-warning { background: rgba(217,119,6,0.09); color: var(--warn); border: 1px solid rgba(217,119,6,0.16); animation: pulse 2s infinite; }
.badge-danger  { background: rgba(220,38,38,0.09); color: var(--err); border: 1px solid rgba(220,38,38,0.16); }
.badge-info    { background: rgba(21,152,168,0.09); color: var(--c-cyan); border: 1px solid rgba(21,152,168,0.16); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

/* ====== 分页（方形） ====== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 26px;
    list-style: none;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    text-decoration: none;
    color: var(--c-dark);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,0.33);
    border: 1px solid rgba(150,175,195,0.22);
    transition: all 0.22s;
}

.pagination li a:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    box-shadow: 0 3px 12px rgba(26, 74, 110, 0.22);
    transform: translateY(-1px);
}

.pagination li.active span {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    box-shadow: 0 3px 12px rgba(26, 74, 110, 0.22);
}

.pagination li.disabled span { opacity: 0.4; pointer-events: none; }

/* ====== API信息框 ====== */
.api-info-box {
    background: linear-gradient(135deg, rgba(26,74,110,0.05) 0%, rgba(14,140,122,0.035) 100%);
    border: 1.5px dashed rgba(26, 74, 110, 0.22);
    border-radius: var(--r-md);
    padding: 26px;
    margin: 18px 0;
}

.api-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(150, 175, 195, 0.18);
    flex-wrap: wrap;
    gap: 10px;
}
.api-info-item:last-child { border-bottom: none; }

.api-info-label { font-weight: 700; color: var(--c-dark); font-size: 13.5px; }

.api-info-value {
    font-family: "SF Mono", Consolas, Monaco, monospace;
    background: rgba(255, 255, 255, 0.58);
    padding: 6px 12px;
    border-radius: var(--r-sm);
    font-size: 12px;
    color: var(--c-primary);
    word-break: break-all;
    border: 1px solid rgba(26, 74, 110, 0.09);
}

.copy-btn {
    background: var(--c-primary);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 11.5px;
    font-weight: 700;
    margin-left: 7px;
    transition: all 0.2s;
}
.copy-btn:hover { background: #245a84; transform: scale(1.04); }

/* ====== 空状态 ====== */
.empty-state { text-align: center; padding: 60px 24px; color: var(--c-light); }
.empty-state-text { font-size: 15px; margin-bottom: 9px; color: var(--c-mid); }

/* ====== 模态框（方形） ====== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(255,255,255,0.80));
    backdrop-filter: blur(30px);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,0.48);
    padding: 32px;
    max-width: 480px;
    width: 90%;
    transform: translateY(-14px) scale(0.97);
    transition: all 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 24px 64px rgba(10,22,40,0.16);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-title { font-size: 19px; font-weight: 800; color: var(--c-dark); margin-bottom: 15px; }

/* ====== 统计卡片（管理后台）===== */
.stat-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.26), rgba(255,255,255,0.12));
    backdrop-filter: blur(18px);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,0.38);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(10,22,40,0.04);
    transition: all 0.3s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(10,22,40,0.09); }

.stat-value { font-size: 36px; font-weight: 900; color: var(--c-primary); margin-bottom: 3px; line-height: 1.1; }
.stat-label { color: var(--c-mid); font-size: 13px; font-weight: 600; }

/* ====== 管理后台侧栏（方形） ====== */
.admin-layout { display: flex; min-height: calc(100vh - 64px); margin-top: 64px; }

.sidebar {
    width: 248px;
    background: linear-gradient(180deg, rgba(15, 52, 78, 0.97), rgba(10, 42, 66, 0.98));
    backdrop-filter: blur(20px);
    padding: 22px 0;
    position: fixed;
    top: 64px; left: 0; bottom: 0;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.05);
    box-shadow: 4px 0 24px rgba(0,0,0,0.07);
}

.sidebar-nav { list-style: none; padding: 0; margin: 0; }

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.23s;
    border-left: 3px solid transparent;
}

.sidebar-nav li a:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border-left-color: rgba(255,255,255,0.26);
}

.sidebar-nav li a.active {
    background: rgba(255,255,255,0.11);
    color: #fff;
    border-left-color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.main-content {
    flex: 1;
    margin-left: 248px;
    padding: 32px;
    min-height: calc(100vh - 64px);
}

/* 工具栏 */
.toolbar {
    display: flex;
    gap: 11px;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.toolbar input[type="text"],
.toolbar input[type="date"],
.toolbar select {
    padding: 10px 15px;
    border: 1.5px solid rgba(150, 175, 195, 0.32);
    border-radius: var(--r-md);
    font-size: 13.5px;
    background: rgba(255, 255, 255, 0.52);
    outline: none;
    transition: all 0.25s;
    color: var(--c-dark);
}

.toolbar input:focus,
.toolbar select:focus {
    border-color: var(--c-primary);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(26, 74, 110, 0.07);
}

.toolbar input[type="text"] { width: 250px; }
.toolbar input[type="date"] { width: 165px; }
.toolbar select { width: 150px; }
.btn-toolbar { padding: 10px 19px; font-size: 13.5px; border-radius: var(--r-md); }

/* 小统计项 */
.stats-mini { display: flex; gap: 15px; margin-bottom: 26px; flex-wrap: wrap; }

.stat-mini-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.24), rgba(255,255,255,0.10));
    backdrop-filter: blur(14px);
    padding: 17px 22px;
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,0.33);
}

.stat-mini-value { font-size: 25px; font-weight: 900; color: var(--c-primary); }
.stat-mini-label { font-size: 11.5px; color: var(--c-mid); margin-top: 3px; font-weight: 600; }

/* ====== 动画 ====== */
.fade-in {
    animation: fadeUp 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ====== 响应式 ====== */
@media (max-width: 992px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0 !important; }
    .features-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 560px;
    }
    .features-grid .feature-card:first-child { grid-row: span 1; }
    .hero-section { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
}

@media (max-width: 768px) {
    .navbar .container { padding: 0 16px; height: 58px; }
    .navbar-nav a { padding: 8px 11px; font-size: 12.5px; }
    .navbar-brand { font-size: 17px; }
    .hero-section { padding: 110px 16px 60px; }
    .form-container { margin: 70px auto 30px; padding: 26px 20px; }
    .main-content { padding: 20px 16px; }
    .features-grid { grid-template-columns: 1fr; max-width: 420px; }
    .toolbar input[type="text"], .toolbar input[type="date"], .toolbar select { width: 100%; }
    .btn-toolbar { width: 100%; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .captcha-group { flex-direction: column; }
    .captcha-image { width: 100%; height: 50px; }
    .api-info-item { flex-direction: column; align-items: flex-start; }
}

/* ====== 滚动条美化（方形） ====== */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.03); border-radius: var(--r-xs); }
::-webkit-scrollbar-thumb { background: rgba(26, 74, 110, 0.18); border-radius: var(--r-xs); }
::-webkit-scrollbar-thumb:hover { background: rgba(26, 74, 110, 0.32); }

/* ====== 选中文本 ====== */
::selection { background: rgba(26, 74, 110, 0.18); color: var(--c-dark); }

/* ========================================
 * Cloudflare 门卫验证（全屏遮罩）
 * 方形为主 / 液态玻璃 / 无紫色
 ======================================== */

/* 全屏遮罩 */
.cf-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, #e8f1f5 0%, #d4e5ed 35%, #c8dfe8 70%, #b8d2df 100%);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.cf-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 验证容器 - 玻璃卡片 */
.cf-challenge-container {
    width: 92%;
    max-width: 600px;
    background: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(255,255,255,0.55));
    backdrop-filter: blur(32px) saturate(160%);
    border-radius: 10px;
    border: 1px solid rgba(150,175,195,0.28);
    box-shadow:
        0 20px 60px rgba(15,45,75,0.12),
        0 2px 0 rgba(255,255,255,0.6) inset,
        0 -2px 16px rgba(0,0,0,0.03) inset;
    overflow: hidden;
}

/* 顶部信息条 */
.cf-info-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    background: linear-gradient(90deg, rgba(22,163,74,0.07), rgba(21,152,168,0.05));
    border-bottom: 1px solid rgba(150,175,195,0.18);
}
.cf-dot {
    width: 8px; height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}
.cf-dot-green { background: #16a34a; box-shadow: 0 0 6px rgba(22,163,74,0.3); }
.cf-info-text {
    font-size: 11.5px;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* 主区域：左右分栏 */
.cf-main { display: flex; padding: 24px; gap: 24px; }

.cf-left { flex: 1; }
.cf-right { width: 280px; flex-shrink: 0; }

/* 品牌块 */
.cf-brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.cf-logo-mark {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #0e8c7a, #1598a8);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    box-shadow: 0 3px 12px rgba(14,140,122,0.25);
}
.cf-brand-text { display: flex; flex-direction: column; gap: 1px; }
.cf-brand-text strong {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    letter-spacing: 0.3px;
}
.cf-brand-text small {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

/* 状态区域 */
.cf-status { }
.cf-status-text {
    font-size: 13px;
    color: #374151;
    margin-bottom: 10px;
    font-weight: 550;
}
.cf-spinner-bar {
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}
.cf-spinner-fill {
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, #1598a8, #0e8c7a);
    border-radius: 2px;
    animation: cfSlide 1.4s ease-in-out infinite;
}
@keyframes cfSlide {
    0%   { transform: translateX(-100%); }
    50%  { transform: translateX(180%); }
    100% { transform: translateX(-100%); }
}

/* 验证组件（右侧） */
.cf-widget {
    background: #fff;
    border-radius: 7px;
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    position: relative;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: default;
}
.cf-widget:hover { border-color: #9ca3af; box-shadow: 0 3px 14px rgba(0,0,0,0.06); }
.cf-widget.verified { border-color: #16a34a; background: #f0fdf4; }

/* 勾选框内部 */
.cf-widget-inner {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s;
}
.cf-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    cursor: pointer;
}
.cf-check-visual {
    width: 26px; height: 26px;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    background: #f9fafb;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}
.cf-checkbox-wrap:hover .cf-check-visual {
    border-color: #1598a8;
    box-shadow: 0 0 0 3px rgba(21,152,168,0.1);
}
.cf-check-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

/* 正在验证态 */
.cf-verifying,
.cf-success {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 16px;
    width: 100%;
    justify-content: center;
}
.cf-verifying span,
.cf-success span {
    font-size: 13.5px;
    font-weight: 700;
}
.cf-verifying span { color: #6b7280; }
.cf-success span { color: #16a34a; }

/* 转圈动画 */
.cf-spin-wheel {
    width: 20px; height: 20px;
    border: 2.5px solid #e5e7eb;
    border-top-color: #1598a8;
    border-radius: 50%;
    animation: cfSpin 0.65s linear infinite;
}
@keyframes cfSpin { to { transform: rotate(360deg); } }

/* 底部信息条 */
.cf-footer-bar {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid rgba(150,175,195,0.18);
    font-size: 11px;
    color: #9ca3af;
    background: rgba(240,245,250,0.4);
}
.cf-session-id {
    background: rgba(0,0,0,0.04);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: "SF Mono", Consolas, Monaco, monospace;
    font-size: 10.5px;
    color: #6b7280;
    letter-spacing: 0.5px;
}

/* 提示文字 */
.cf-hint {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 10px;
    line-height: 1.5;
}

/* 网站内容隐藏状态 */
.site-content-hidden { display: none !important; }

/* 隐藏辅助类 */
.hidden { display: none !important; }

/* ========================================
 * 内联CF验证组件（嵌入表单使用）
 * 方形 / 紧凑 / 与表单风格一致
 ======================================== */

.cf-inline-group {
    margin-bottom: 20px;
}

.cf-inline-widget {
    background: linear-gradient(145deg, rgba(255,255,255,0.70), rgba(255,255,255,0.40));
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-radius: var(--r-md);
    border: 1.5px solid rgba(150,175,195,0.30);
    box-shadow: 0 2px 10px rgba(10,22,40,0.04), inset 0 1px 0 rgba(255,255,255,0.45);
    overflow: hidden;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.cf-inline-widget:hover {
    border-color: rgba(150,175,195,0.45);
    box-shadow: 0 3px 14px rgba(10,22,40,0.06), inset 0 1px 0 rgba(255,255,255,0.50);
}

.cf-inline-widget.verified {
    border-color: rgba(22,163,74,0.35);
    background: linear-gradient(145deg, rgba(22,163,74,0.06), rgba(22,163,74,0.02));
    box-shadow: 0 2px 12px rgba(22,163,74,0.08), inset 0 1px 0 rgba(255,255,255,0.50);
}

/* 内联勾选区域 */
.cf-inline-inner {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s;
}

.cf-inline-inner.disabled {
    cursor: default;
    opacity: 0.65;
}

.cf-inline-check {
    width: 24px; height: 24px;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-inline-inner:not(.disabled):hover .cf-inline-check {
    border-color: #1598a8;
    box-shadow: 0 0 0 3px rgba(21,152,168,0.1);
}

.cf-inline-check.checked {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-color: #16a34a;
}

.cf-inline-check svg {
    display: none;
    width: 15px; height: 15px;
}
.cf-inline-check.checked svg { display: block; }

.cf-inline-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    user-select: none;
}

/* 内联验证中/成功态 */
.cf-inline-verifying,
.cf-inline-success {
    display: none;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    width: 100%;
    justify-content: center;
}
.cf-inline-verifying.active,
.cf-inline-success.active { display: flex; }

.cf-inline-verifying span,
.cf-inline-success span {
    font-size: 13.5px;
    font-weight: 700;
}
.cf-inline-verifying span { color: #6b7280; }
.cf-inline-success span { color: #16a34a; }

/* 错误提示 */
.cf-inline-error {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: var(--err);
    font-weight: 600;
    align-items: center;
    gap: 4px;
}
.cf-inline-error.show { display: flex; }

/* CF响应式 */
@media (max-width: 600px) {
    .cf-main { flex-direction: column; padding: 18px; gap: 18px; }
    .cf-right { width: 100%; }
    .cf-challenge-container { max-width: none; width: 94%; }
}
