/* ============================================================
   8号说破局 · Premium Teal v6.0
   Design: Cool minimalism · charcoal + teal
   ============================================================ */

/* ===== Apple Font Stack ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

*, *::before, *::after { margin:0; padding:0; box-sizing: border-box; }

:root {
    /* Premium Teal + Charcoal Palette */
    --bg-primary: #fafaf9;
    --bg-secondary: #f5f5f4;
    --bg-dark: #1c1917;
    --text-primary: #1c1917;
    --text-secondary: #78716c;
    --text-tertiary: #a8a29e;
    --accent: #0D4F4F;
    --accent-hover: #1A6B6B;
    --accent-light: #2D8A8A;
    --border: #e7e5e4;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 12px 48px rgba(0,0,0,0.1);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --font: -apple-system, BlinkMacSystemFont, 'Noto Sans SC', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: #f0f0f0;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d6d3d1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #aeaeb2; }

/* ===== Animations ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-in {
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }

/* ===== Navigation ===== */
.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 48px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.main-nav-logo {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}
.main-nav-logo span { color: var(--accent); }
.main-nav-links { display: flex; align-items: center; gap: 8px; }
.main-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 980px;
    transition: all 0.2s;
}
.main-nav-links a:hover { color: var(--text-primary); background: rgba(0,0,0,0.04); }
.main-nav-links a.active { color: var(--text-primary); font-weight: 600; }
.main-nav-cta {
    background: var(--accent) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 6px 18px !important;
}
.main-nav-cta:hover { background: var(--accent-hover) !important; opacity: 1 !important; }

/* ===== Hero ===== */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 28px 32px 48px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}
/* Subtle grid texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13,79,79,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,79,79,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
/* Mouse glow (controlled by JS via CSS variables) */
.hero-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,79,79,0.08) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    transition: left 0.3s ease-out, top 0.3s ease-out;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.hero > * { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
    opacity: 0.9;
}
.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text-primary);
    max-width: 860px;
    margin: 0 auto 24px;
}
.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 48px;
    font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(13,79,79,0.25);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(13,79,79,0.35);
    opacity: 1;
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font);
    transition: all 0.3s;
}
.btn-secondary:hover {
    background: rgba(13,79,79,0.06);
    transform: translateY(-2px);
    opacity: 1;
}

/* ===== Sections ===== */
.section {
    padding: 72px 32px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-narrow { max-width: 900px; }
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Tool Cards (Apple-style) ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.tool-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
    transition: border-color 0.3s;
}
.tool-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
.tool-card:hover::before { border-color: rgba(13,79,79,0.2); }
.tool-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    background: #f5f5f4;
    transition: transform 0.3s;
}
.tool-card:hover .tool-card-icon { transform: scale(1.05); }
.tool-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.tool-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 24px;
}
.tool-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tool-card-tag {
    padding: 4px 12px;
    background: #f5f5f4;
    border-radius: 980px;
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
}
.tool-card-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}
.tool-card:hover .tool-card-link { gap: 10px; }

/* ===== Trust Bar ===== */
.trust-bar {
    background: var(--bg-dark);
    color: white;
    padding: 56px 32px;
}
.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.trust-item-num {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(217,138,165,0.25);
}
.trust-item-label { font-size: 15px; color: rgba(255,255,255,0.55); margin-top: 8px; font-weight: 500; }

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.about-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
}
.about-card h4 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.about-card p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); }
.about-card ul { list-style: none; }
.about-card ul li {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.6;
}
.about-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 40px 40px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}
.footer-brand h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 12px;
}
.footer-brand h3 span { color: #ffffff; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.75); }
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: white; opacity: 1; }
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

/* ===== App Container (Tool Pages) ===== */
.app-container {
    max-width: 100%;
    min-height: 100vh;
    background: var(--bg-secondary);
    padding-top: 48px;
}
.brand-header {
    background: #f0f0f0;
    padding: 48px 32px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.brand-header h1 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.brand-header .slogan {
    font-size: 15px;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== Tab Bar ===== */
.tab-bar {
    display: flex;
    background: rgba(255,255,255,0.9);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    overflow-x: auto;
    position: sticky;
    top: 48px;
    z-index: 50;
}
.tab-btn {
    flex: 1;
    min-width: 0;
    padding: 16px 16px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
    font-family: var(--font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tab-btn:hover { color: var(--text-primary); background: rgba(0,0,0,0.02); }
.tab-btn.active { color: var(--accent); }
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}
.tab-icon { font-size: 16px; flex-shrink: 0; }

/* ===== Tab Panels ===== */
.tab-panel { display: none; }
.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* ============================================================
   Tool 1 · AI自评
   ============================================================ */
#tool1 .t1-container {
    max-width: 780px;
    margin: 40px auto;
    background: #f0f0f0;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
}
#tool1 .t1-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
}
#tool1 .t1-info-form { padding: 48px 48px 40px; }
#tool1 .t1-form-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}
#tool1 .t1-form-group { margin-bottom: 24px; }
#tool1 .t1-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
#tool1 .t1-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d6d3d1;
    border-radius: var(--radius-sm);
    font-size: 17px;
    font-family: var(--font);
    transition: all 0.2s;
    background: #f0f0f0;
    color: var(--text-primary);
}
#tool1 .t1-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13,79,79,0.12);
}
#tool1 .t1-form-group input::placeholder { color: #d6d3d1; }

/* Progress */
#tool1 .t1-progress-bar {
    background: #e7e5e4;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin: 0;
}
#tool1 .t1-progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}
#tool1 .t1-step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 28px 48px 16px;
}
#tool1 .t1-step-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #e7e5e4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-tertiary);
    transition: all 0.3s;
    font-weight: 700;
}
#tool1 .t1-step-connector { width: 32px; height: 2px; background: #e7e5e4; transition: background 0.3s; }
#tool1 .t1-step-dot.active { background: var(--accent); color: white; }
#tool1 .t1-step-connector.active { background: var(--accent); }
#tool1 .t1-step-dot.completed { background: #7C2D4E; color: white; }

#tool1 .t1-content { padding: 8px 48px 48px; }
#tool1 .t1-section { display: none; }
#tool1 .t1-section.active { display: block; animation: fadeUp 0.5s ease; }

/* Questions */
#tool1 .t1-q-group { margin-bottom: 32px; }
#tool1 .t1-q-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
#tool1 .t1-options { display: flex; flex-direction: column; gap: 10px; }
#tool1 .t1-option {
    border: 1px solid #d6d3d1;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0f0f0;
}
#tool1 .t1-option:hover { border-color: var(--accent); background: #fafaf9; }
#tool1 .t1-option.selected {
    border-color: var(--accent);
    background: rgba(13,79,79,0.04);
}
#tool1 .t1-option input[type="radio"] { display: none; }
#tool1 .t1-option-label { font-size: 15px; flex: 1; color: var(--text-primary); }
#tool1 .t1-option-score { font-size: 12px; color: var(--text-tertiary); font-weight: 600; }

/* Buttons */
#tool1 .t1-btn-group { display: flex; gap: 14px; margin-top: 36px; }
#tool1 .t1-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}
#tool1 .t1-btn-prev { background: #f5f5f4; color: var(--text-secondary); }
#tool1 .t1-btn-prev:hover { background: #e7e5e4; }
#tool1 .t1-btn-next { background: var(--accent); color: white; box-shadow: 0 4px 16px rgba(13,79,79,0.2); }
#tool1 .t1-btn-next:hover { background: var(--accent-hover); transform: translateY(-1px); }
#tool1 .t1-btn-submit { background: #7C2D4E; color: white; box-shadow: 0 4px 16px rgba(124,45,78,0.2); }
#tool1 .t1-btn-submit:hover { background: #6B1B3E; transform: translateY(-1px); }

/* Result */
#tool1 .t1-result-section { display: none; }
#tool1 .t1-result-section.active { display: block; animation: fadeUp 0.6s ease; }
#tool1 .t1-score-card {
    background: var(--bg-dark);
    color: white;
    border-radius: var(--radius-md);
    padding: 48px 40px;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
#tool1 .t1-score-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(13,79,79,0.08);
    pointer-events: none;
}
#tool1 .t1-score-circle {
    position: relative;
    width: 120px; height: 120px;
    margin: 20px auto;
}
#tool1 .t1-score-number {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.03em;
}
#tool1 .t1-score-label { font-size: 17px; opacity: 0.7; margin-top: 8px; }

#tool1 .t1-suitability-card {
    background: #f0f0f0;
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
#tool1 .t1-suitability-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
}
#tool1 .t1-suitability-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
#tool1 .t1-suitability-content { font-size: 15px; line-height: 1.8; color: var(--text-secondary); }

#tool1 .t1-next-steps {
    background: #f5f5f4;
    border-radius: var(--radius-md);
    padding: 28px;
    margin-top: 28px;
}
#tool1 .t1-next-steps-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
#tool1 .t1-next-steps-list { list-style: none; }
#tool1 .t1-next-steps-list li {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 7px 0 7px 28px;
    position: relative;
    line-height: 1.6;
}
#tool1 .t1-next-steps-list li::before {
    content: '✓';
    position: absolute; left: 0;
    color: #7C2D4E;
    font-weight: 700;
}

#tool1 .t1-save-btn,
#tool1 .t1-btn-generate-report {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
    font-family: var(--font);
}
#tool1 .t1-btn-generate-report { background: var(--accent); color: white; box-shadow: 0 4px 16px rgba(13,79,79,0.2); }
#tool1 .t1-btn-generate-report:hover { background: var(--accent-hover); transform: translateY(-1px); }
#tool1 .t1-save-btn { background: #6B1B3E; color: white; }
#tool1 .t1-save-btn:hover { background: #4db8ea; transform: translateY(-1px); }
#tool1 .t1-restart-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #f5f5f4;
    color: var(--text-secondary);
    border: none;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s;
    font-family: var(--font);
}
#tool1 .t1-restart-btn:hover { background: #e7e5e4; }

/* Toast */
#tool1 .t1-toast,
#tool3 .t3-toast {
    display: none;
    position: fixed;
    top: 60px; right: 20px;
    background: #7C2D4E;
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#tool1 .t1-toast.show,
#tool3 .t3-toast.show { display: block; }

/* ============================================================
   Tool 2 · 服务商测评
   ============================================================ */
#tool2 .t2-container {
    max-width: 1100px;
    margin: 40px auto;
    background: #f0f0f0;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
}
#tool2 .t2-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
}
#tool2 .t2-content { padding: 48px; }

#tool2 .t2-overview-card {
    background: var(--bg-dark);
    color: white;
    border-radius: var(--radius-md);
    padding: 36px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}
#tool2 .t2-overview-card::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(13,79,79,0.08);
    pointer-events: none;
}
#tool2 .t2-overview-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; position: relative; }
#tool2 .t2-overview-text { font-size: 15px; line-height: 1.8; opacity: 0.8; position: relative; }

#tool2 .t2-section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* Dimension cards */
#tool2 .t2-dimension-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}
#tool2 .t2-dimension-card {
    background: #f0f0f0;
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
#tool2 .t2-dimension-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
    transition: border-color 0.3s;
}
#tool2 .t2-dimension-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
#tool2 .t2-dimension-card:hover::before { border-color: rgba(13,79,79,0.2); }
#tool2 .t2-dim-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
#tool2 .t2-dim-name { font-size: 17px; font-weight: 700; color: var(--text-primary); }
#tool2 .t2-dim-weight {
    background: var(--accent);
    color: white;
    padding: 4px 14px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 700;
}
#tool2 .t2-weight-bar { height: 4px; background: #e7e5e4; border-radius: 2px; margin: 12px 0; overflow: hidden; }
#tool2 .t2-weight-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.5s ease; }
#tool2 .t2-criteria { margin-top: 16px; }
#tool2 .t2-criteria-item {
    background: #f5f5f4;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
#tool2 .t2-criteria-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 26px;
    border-radius: 980px;
    background: var(--accent);
    color: white;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Provider cards */
#tool2 .t2-provider-section { margin-top: 48px; }
#tool2 .t2-provider-card {
    background: #f0f0f0;
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
#tool2 .t2-provider-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
    transition: border-color 0.3s;
}
#tool2 .t2-provider-card:hover { box-shadow: var(--card-shadow); }
#tool2 .t2-provider-card:hover::before { border-color: rgba(13,79,79,0.2); }
#tool2 .t2-provider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f5f5f4;
}
#tool2 .t2-provider-name { font-size: 20px; font-weight: 700; color: var(--text-primary); }
#tool2 .t2-provider-score {
    background: var(--bg-dark);
    color: white;
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
    letter-spacing: -0.03em;
}
#tool2 .t2-score-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
#tool2 .t2-score-item {
    background: #f5f5f4;
    border-radius: 10px;
    padding: 12px 16px;
}
#tool2 .t2-sl { font-size: 12px; color: var(--text-tertiary); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.03em; }
#tool2 .t2-sv { font-size: 18px; font-weight: 800; color: var(--accent); }

#tool2 .t2-btn-report {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    transition: all 0.3s;
    font-family: var(--font);
}
#tool2 .t2-btn-report:hover { background: var(--accent-hover); transform: translateY(-1px); }
#tool2 .t2-report-details {
    display: none;
    margin-top: 16px;
    padding: 24px;
    background: #f5f5f4;
    border-radius: var(--radius-md);
}
#tool2 .t2-report-details.active { display: block; animation: fadeUp 0.4s ease; }
#tool2 .t2-report-text { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }

/* Radar */
#tool2 .t2-radar-section {
    margin-top: 48px;
    padding: 40px;
    background: #f0f0f0;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}
#tool2 .t2-radar-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
}
#tool2 .t2-radar-container { max-width: 420px; margin: 24px auto; }

/* Methodology */
#tool2 .t2-methodology {
    background: #f5f5f4;
    border-radius: var(--radius-md);
    padding: 28px;
    margin-top: 48px;
}
#tool2 .t2-methodology-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
#tool2 .t2-methodology-text { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }

/* ============================================================
   Tool 3 · 客户立项表
   ============================================================ */
#tool3 .t3-container {
    max-width: 780px;
    margin: 40px auto;
    background: #f0f0f0;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
}
#tool3 .t3-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
}
#tool3 .t3-content { padding: 48px; }
#tool3 .t3-section { margin-bottom: 36px; }
#tool3 .t3-section-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f4;
}
#tool3 .t3-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
}
#tool3 .t3-field-row { display: flex; margin-bottom: 16px; align-items: flex-start; }
#tool3 .t3-field-label {
    width: 140px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
    padding-top: 8px;
    flex-shrink: 0;
}
#tool3 .t3-field-value {
    flex: 1;
    border-bottom: 1px solid #d6d3d1;
    padding: 8px 4px;
    color: var(--text-tertiary);
    font-size: 15px;
    min-height: 36px;
    transition: border-color 0.2s;
    cursor: text;
    outline: none;
}
#tool3 .t3-field-value:focus { border-color: var(--accent); color: var(--text-primary); }
#tool3 .t3-field-value.t3-editable:focus { color: var(--text-primary); }

#tool3 .t3-checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
#tool3 .t3-checkbox-item {
    border: 1px solid #d6d3d1;
    border-radius: 980px;
    padding: 8px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    background: #f0f0f0;
}
#tool3 .t3-checkbox-item:hover { border-color: var(--accent); }
#tool3 .t3-checkbox-item.selected { border-color: var(--accent); background: rgba(13,79,79,0.06); color: var(--accent); font-weight: 600; }

#tool3 .t3-grade-section { margin-top: 16px; }
#tool3 .t3-grade-label { font-weight: 600; font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
#tool3 .t3-grade-box { display: flex; gap: 10px; flex-wrap: wrap; }
#tool3 .t3-grade-item {
    border: 1px solid #d6d3d1;
    border-radius: 980px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    background: #f0f0f0;
}
#tool3 .t3-grade-item:hover { border-color: var(--accent); }
#tool3 .t3-grade-item.selected { border-color: var(--accent); background: rgba(13,79,79,0.06); color: var(--accent); }

#tool3 .t3-conclusion-box {
    background: #f5f5f4;
    border-radius: 10px;
    padding: 16px;
    min-height: 60px;
    margin-top: 10px;
    color: var(--text-tertiary);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    cursor: text;
    border: 1px solid transparent;
}
#tool3 .t3-conclusion-box:focus { border-color: var(--accent); color: var(--text-primary); background: white; }

/* Score table */
#tool3 .t3-score-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
}
#tool3 .t3-score-table th {
    background: #f5f5f4;
    color: var(--text-secondary);
    padding: 12px 16px;
    font-size: 12px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e7e5e4;
}
#tool3 .t3-score-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f4;
    color: var(--text-primary);
}
#tool3 .t3-table-input {
    border: 1px solid #d6d3d1;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 14px;
    font-family: var(--font);
    width: 100%;
    background: white;
    color: var(--text-primary);
    transition: border-color 0.2s;
}
#tool3 .t3-table-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,79,79,0.1); }

#tool3 .t3-btn-group { display: flex; gap: 14px; margin-top: 32px; }
#tool3 .t3-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}
#tool3 .t3-btn-primary { background: var(--accent); color: white; box-shadow: 0 4px 16px rgba(13,79,79,0.2); }
#tool3 .t3-btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
#tool3 .t3-btn-secondary { background: #f5f5f4; color: var(--text-secondary); }
#tool3 .t3-btn-secondary:hover { background: #e7e5e4; }

/* Info box */
#tool3 .t3-info-box {
    background: #f5f5f4;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .main-nav { padding: 0 16px; height: 48px; }
    .main-nav-links a { padding: 6px 10px; font-size: 13px; }
    .hero { padding: 8px 20px 32px; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 17px; }
    .section { padding: 72px 20px; }
    .section-header { margin-bottom: 48px; }
    .section-header h2 { font-size: 28px; }
    .tools-grid { grid-template-columns: 1fr; gap: 20px; }
    .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { margin-bottom: 0; }
    .site-footer { padding: 48px 20px 32px; }

    #tool1 .t1-info-form { padding: 32px 24px 28px; }
    #tool1 .t1-content { padding: 8px 24px 32px; }
    #tool1 .t1-btn-group { flex-direction: column; }
    #tool1 .t1-step-indicator { padding: 20px 24px 12px; }

    #tool2 .t2-content { padding: 32px 24px; }
    #tool2 .t2-dimension-grid { grid-template-columns: 1fr; }
    #tool2 .t2-score-breakdown { grid-template-columns: 1fr 1fr; }

    #tool3 .t3-content { padding: 32px 24px; }
    #tool3 .t3-field-row { flex-direction: column; }
    #tool3 .t3-field-label { width: 100%; padding-top: 0; margin-bottom: 4px; }
    #tool3 .t3-btn-group { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .trust-inner { grid-template-columns: 1fr 1fr; }
    #tool2 .t2-score-breakdown { grid-template-columns: 1fr; }
}

/* ===== 3D Card Tilt (subtle) ===== */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}
.tilt-card .tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.05) 40%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.05) 60%,
        rgba(255,255,255,0) 100%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}
.tilt-card:hover .tilt-shine { opacity: 1; }

/* ===== Print ===== */
@media print {
    .main-nav, .tab-bar, .hero-actions, .btn-primary, .btn-secondary, .t3-btn-group { display: none !important; }
    .hero { min-height: auto; padding: 0px 20px 20px; }
    body { background: white; }
    .app-container { background: white; }
}
