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

:root {
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;
    --primary-300: #6ee7b7;
    --primary-400: #34d399;
    --primary-500: #10b981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065f46;
    --primary-900: #064e3b;
    
    --secondary-50: #eff6ff;
    --secondary-100: #dbeafe;
    --secondary-200: #bfdbfe;
    --secondary-300: #93c5fd;
    --secondary-400: #60a5fa;
    --secondary-500: #3b82f6;
    --secondary-600: #2563eb;
    --secondary-700: #1d4ed8;
    --secondary-800: #1e40af;
    --secondary-900: #1e3a8a;
    
    --accent-50: #fff7ed;
    --accent-100: #ffedd5;
    --accent-200: #fed7aa;
    --accent-300: #fdba74;
    --accent-400: #fb923c;
    --accent-500: #f97316;
    --accent-600: #ea580c;
    --accent-700: #c2410c;
    --accent-800: #9a3412;
    --accent-900: #7c2d12;
    
    --danger-50: #fef2f2;
    --danger-100: #fee2e2;
    --danger-200: #fecaca;
    --danger-300: #fca5a5;
    --danger-400: #f87171;
    --danger-500: #ef4444;
    --danger-600: #dc2626;
    --danger-700: #b91c1c;
    --danger-800: #991b1b;
    --danger-900: #7f1d1d;
    
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-200: #fde68a;
    --warning-300: #fcd34d;
    --warning-400: #fbbf24;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;
    --warning-800: #92400e;
    --warning-900: #78350f;
    
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    
    --white: #ffffff;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 4.5rem;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-xs);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 5rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 40%, var(--secondary-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-200) 0%, transparent 70%);
    opacity: 0.4;
    animation: float 25s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 70%;
    height: 90%;
    background: radial-gradient(circle, var(--secondary-200) 0%, transparent 70%);
    opacity: 0.3;
    animation: float 30s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

.hero-content {
    flex: 1;
    max-width: 620px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600), var(--accent-500));
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-title-main {
    display: block;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-qrcode-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-2xl);
    padding: 0.9rem 1.05rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(6px);
}

.hero-qrcode-box {
    display: inline-block;
    background: var(--white);
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.hero-qrcode-img {
    width: 142px;
    height: 142px;
    display: block;
    border-radius: var(--radius-md);
}

.hero-qrcode-content {
    min-width: 0;
}

.hero-qrcode-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
}

.hero-qrcode-hint {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 17rem;
}

@media (min-width: 1280px) {
    .hero-qrcode-wrap {
        gap: 1.15rem;
        padding: 1rem 1.2rem;
    }

    .hero-qrcode-img {
        width: 154px;
        height: 154px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-slower);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-600);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border-color: var(--primary-500);
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-600);
}

.btn-large {
    padding: 1.125rem 2.75rem;
    font-size: 1.125rem;
}

.btn-icon {
    font-size: 1.375rem;
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--gray-300), transparent);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, var(--gray-800), var(--gray-900));
    border-radius: 50px;
    padding: 14px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: phoneFloat 7s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 28px;
    background: var(--gray-900);
    border-radius: 20px;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-25px) rotate(2deg);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-50);
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.app-header {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600), var(--secondary-500));
    padding: 2.5rem 1.25rem 1.25rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.app-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}

.app-title {
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
}

.app-content {
    padding: 1.25rem;
}

.search-bar {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.search-icon {
    font-size: 1.375rem;
}

.search-text {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.category-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.25rem 0.75rem;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-xs);
}

.category-item:hover {
    background: var(--primary-50);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.category-icon {
    font-size: 2.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

.category-name {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 600;
}

.food-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.food-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.food-image {
    font-size: 2.75rem;
}

.food-info {
    flex: 1;
}

.food-name {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
    font-size: 1.05rem;
}

.food-status {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.food-status-safe {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    color: var(--primary-700);
}

.food-status-caution {
    background: linear-gradient(135deg, var(--warning-100), var(--warning-50));
    color: var(--warning-700);
}

.food-status-forbidden {
    background: linear-gradient(135deg, var(--danger-100), var(--danger-50));
    color: var(--danger-700);
}

.camera-button {
    position: absolute;
    bottom: 1.75rem;
    right: 50%;
    transform: translateX(50%);
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600), var(--secondary-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(16, 185, 129, 0.4),
        0 0 0 8px rgba(16, 185, 129, 0.15);
    cursor: pointer;
    transition: all var(--transition-base);
}

.camera-button:hover {
    transform: translateX(50%) scale(1.1);
    box-shadow: 
        0 12px 35px rgba(16, 185, 129, 0.5),
        0 0 0 12px rgba(16, 185, 129, 0.2);
}

.camera-button:active {
    transform: translateX(50%) scale(1.05);
}

.camera-icon {
    font-size: 2rem;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.features {
    padding: 7rem 0;
    background: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-2xl);
    padding: 2.25rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-400), var(--secondary-400));
    transform: scaleX(0);
    transition: transform var(--transition-slow);
    transform-origin: left;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--primary-50) 100%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 0;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.feature-icon-camera {
    background: linear-gradient(135deg, var(--secondary-100), var(--secondary-50));
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.feature-icon-ai {
    background: linear-gradient(135deg, var(--accent-100), var(--accent-50));
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}

.feature-icon-search {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.icon-emoji {
    font-size: 2.25rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-size: 0.975rem;
    position: relative;
    z-index: 1;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.feature-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ai-analysis {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ai-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    letter-spacing: -0.03em;
}

.ai-title-icon {
    font-size: 2.75rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(16, 185, 129, 0));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
    }
}

.ai-description {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.ai-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.ai-feature:hover {
    background: var(--white);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.ai-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-100), var(--white));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.ai-feature-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.ai-feature-content p {
    color: var(--gray-600);
    font-size: 0.925rem;
    line-height: 1.6;
}

.ai-visual {
    display: flex;
    justify-content: center;
}

.ai-report-preview {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--gray-100);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.report-header {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600), var(--secondary-500));
    padding: 1.75rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.report-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite;
}

.report-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    position: relative;
    letter-spacing: -0.02em;
}

.report-status {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.report-status-analyzing {
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
    animation: dotPulse 1.75s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(255,255,255,0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

.report-content {
    padding: 2rem;
}

.report-section {
    margin-bottom: 1.75rem;
}

.report-section:last-child {
    margin-bottom: 0;
}

.report-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.875rem;
}

.safety-level {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-2xl);
    font-size: 1.15rem;
    font-weight: 700;
}

.safety-level-caution {
    background: linear-gradient(135deg, var(--warning-100), var(--warning-50));
    color: var(--warning-700);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.safety-level-danger {
    background: linear-gradient(135deg, var(--danger-100), var(--danger-50));
    color: var(--danger-700);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.level-icon {
    font-size: 1.625rem;
}

.report-text {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.75;
}

.report-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
}

.report-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.625rem;
    color: var(--gray-700);
}

.report-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

.sources {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.source-tag {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 600;
    border: 1px solid var(--gray-200);
}

.trust {
    padding: 7rem 0;
    background: var(--white);
    position: relative;
}

.safety-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.safety-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-2xl);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.safety-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0,0,0,0.02), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.safety-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.safety-card:hover::before {
    opacity: 1;
}

.safety-card-safe {
    border-color: var(--primary-300);
}

.safety-card-safe:hover {
    border-color: var(--primary-400);
    box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.3);
}

.safety-card-caution {
    border-color: var(--warning-300);
}

.safety-card-caution:hover {
    border-color: var(--warning-400);
    box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.3);
}

.safety-card-forbidden {
    border-color: var(--danger-300);
}

.safety-card-forbidden:hover {
    border-color: var(--danger-400);
    box-shadow: 0 20px 40px -15px rgba(239, 68, 68, 0.3);
}

.safety-card-unknown {
    border-color: var(--gray-300);
}

.safety-card-unknown:hover {
    border-color: var(--gray-400);
    box-shadow: 0 20px 40px -15px rgba(113, 113, 122, 0.25);
}

.safety-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.safety-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.safety-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.safety-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.safety-examples span {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--gray-200);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.trust-badge:hover {
    background: var(--primary-50);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.badge-icon {
    font-size: 1.75rem;
}

.badge-text {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.cta {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700), var(--secondary-600));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.cta-wechat {
    margin-bottom: 2.5rem;
    text-align: center;
}

.wechat-qrcode {
    display: inline-block;
    background: var(--white);
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.wechat-qrcode::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary-400);
    border-radius: var(--radius-xl);
    opacity: 0.3;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    display: block;
    border-radius: var(--radius-md);
    visibility: visible !important;
}

.wechat-qrcode .qrcode-img {
    display: block !important;
}

.qrcode-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.qrcode-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.qrcode-modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    position: relative;
    animation: scaleIn 0.2s ease;
    box-shadow: var(--shadow-2xl);
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.qrcode-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.qrcode-modal-close:hover {
    color: var(--gray-700);
}

.qrcode-modal-img {
    display: inline-block;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.qrcode-modal-img img {
    width: 200px;
    height: 200px;
    display: block;
    border-radius: var(--radius-md);
}

.qrcode-modal-hint {
    color: var(--gray-700);
    font-size: 1.1rem;
    font-weight: 600;
}

.qrcode-placeholder {
    width: 160px;
    height: 160px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}

.placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.placeholder-text {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.placeholder-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
}

.wechat-hint {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    margin-top: 1rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.92;
    margin-bottom: 2.75rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-600);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    background: var(--gray-50);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-3px);
}

.cta-note {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 3.5rem;
}

.footer-brand .logo {
    margin-bottom: 1.25rem;
}

.footer-brand .logo-text {
    background: linear-gradient(135deg, var(--primary-400), var(--secondary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    font-size: 0.925rem;
    line-height: 1.75;
    color: var(--gray-500);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-link-group h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.footer-link-group a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.footer-link-group a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-800);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.floating-miniapp-qr {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    width: 108px;
    padding: 8px 8px 6px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.floating-miniapp-qr img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 8px;
}

.floating-miniapp-qr span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
    color: var(--gray-700);
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1.5rem 4rem;
    }

    .hero-content {
        margin-bottom: 3.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .ai-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .ai-visual {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-qrcode-wrap {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .hero-qrcode-hint {
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.75rem;
    }

    .phone-mockup {
        width: 270px;
        height: 540px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .ai-title {
        font-size: 1.875rem;
    }

    .safety-levels {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-note {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav {
        padding: 0.875rem 1.25rem;
    }

    .hero {
        padding: 5rem 1.25rem 3rem;
    }

    .floating-miniapp-qr {
        width: 84px;
        right: 10px;
        bottom: 10px;
        padding: 6px 6px 4px;
    }

    .floating-miniapp-qr img {
        width: 70px;
        height: 70px;
    }

    .floating-miniapp-qr span {
        font-size: 0.64rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .ai-report-preview {
        max-width: 100%;
    }
}

/* GEO 知识页 / FAQ / HowTo */
.geo-page {
    background: radial-gradient(circle at top right, #ecfdf5 0%, #f8fafc 35%, #ffffff 65%);
    min-height: 100vh;
}

.geo-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.geo-main {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.geo-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(59, 130, 246, 0.09));
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

/* 详情页头部（对齐小程序 hero-section 布局） */
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 20px;
}

.detail-hero-main {
    position: relative;
    z-index: 1;
}

.detail-hero-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.detail-hero-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.detail-hero-title {
    font-size: 2.05rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.detail-hero-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.6rem;
}

.detail-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.detail-hero-pill {
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    background: rgba(248, 250, 252, 0.9);
}

.detail-hero-pill-level.detail-hero-pill-forbidden {
    background: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
    box-shadow: none;
}

.detail-hero-description {
    font-size: 0.92rem;
    color: var(--gray-700);
    margin-top: 0.15rem;
}

.detail-hero-meta {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.detail-hero-watermark {
    display: none;
}

@media (max-width: 768px) {
    .detail-hero {
        padding: 1.4rem 1.2rem 1.2rem;
    }

    .detail-hero-title {
        font-size: 1.6rem;
    }

    .detail-hero-watermark {
        width: 220px;
        height: 220px;
    }
}

/* 医院来源列表（参考小程序 source-list 样式） */
.hospital-sources-card {
    margin-top: 1rem;
    padding: 1.35rem 1.4rem;
    border-radius: 18px;
    border-color: var(--gray-200);
    background: linear-gradient(180deg, #ffffff 0%, #fcfffd 100%);
}

.hospital-sources-header {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.hospital-sources-header h2 {
    font-size: 1.08rem;
    line-height: 1.35;
    margin: 0;
    color: var(--gray-800);
}

.hospital-sources-header p {
    font-size: 0.84rem;
    color: var(--gray-600);
    margin: 0;
}

p.hospital-risk-description {
    font-size: 15.2px;
    line-height: 1.72;
    color: rgba(18, 18, 18, 1);
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
}

.hospital-sources-subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--gray-400);
    margin: 0.15rem 0 0.45rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--gray-200);
}

.hospital-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 0.22rem;
}

.hospital-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.22rem 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.hospital-item:last-child {
    border-bottom: none;
}

.hospital-name {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--gray-600);
    font-weight: 400;
}

.hospital-level-badge {
    font-size: 0.72rem;
    line-height: 1.2;
    padding: 0.16rem 0.56rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.hospital-level-forbidden {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.hospital-level-caution {
    background-color: #ffedd5;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.hospital-level-safe {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.hospital-level-unknown {
    background-color: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.geo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--primary-200);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.geo-hero h1,
.geo-content-card h1 {
    font-size: 2rem;
    line-height: 1.25;
    color: var(--gray-900);
    margin: 0.75rem 0 0.45rem;
}

.geo-subtitle,
.article-meta {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.geo-tags {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.geo-tag {
    font-size: 0.78rem;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
}

.geo-content-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.geo-content-card--risk {
    /* 参考小程序 ai-analysis-card 的多彩梦幻背景 */
    background:
        radial-gradient(farthest-side at 0% 0%, rgba(255, 228, 200, 0.3) 0%, transparent 100%),
        radial-gradient(farthest-side at 100% 0%, rgba(200, 200, 255, 0.3) 0%, transparent 100%),
        radial-gradient(farthest-side at 0% 100%, rgba(200, 255, 220, 0.3) 0%, transparent 100%),
        radial-gradient(farthest-side at 100% 100%, rgba(200, 240, 255, 0.3) 0%, transparent 100%),
        #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
}

.detail-ai-tag {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-size: 0.75rem;
    color: #5e35b1;
    background: rgba(249, 247, 255, 0.96);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    box-shadow: 0 4px 10px rgba(124, 77, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.detail-ai-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #7c4dff;
}

.geo-section {
    margin-bottom: 1rem;
}

.geo-section h2 {
    font-size: 1.2rem;
    margin: 0.4rem 0 0.5rem;
    color: var(--gray-800);
}

.geo-section p,
.geo-section li {
    color: var(--gray-700);
    line-height: 1.75;
}

.geo-section ul {
    padding-left: 1.2rem;
}

/* 详情页 Markdown 风格渲染（参考 risk 报告样式） */
.markdown-body {
    font-size: 0.95rem;
    color: var(--gray-800);
}

.markdown-body p + p {
    margin-top: 0.6rem;
}

.markdown-body h2 {
    font-size: 1.1rem;
    margin-top: 0.2rem;
    margin-bottom: 0.6rem;
}

.markdown-body ul,
.markdown-body ol {
    margin: 0.4rem 0 0.6rem;
    padding-left: 1.25rem;
}

.markdown-body li + li {
    margin-top: 0.2rem;
}

.markdown-body strong {
    font-weight: 700;
    color: var(--gray-900);
}

.markdown-body .md-ref {
    font-size: 0.8rem;
    vertical-align: super;
    text-decoration: none;
    margin-left: 0.1rem;
    color: var(--secondary-600);
}

.markdown-body .md-ref:hover {
    text-decoration: underline;
}

/* 风险分析标题图标（参考小程序 AI 图标） */
.analysis-title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.analysis-title::before {
    content: '';
    display: inline-block;
    width: 1.3rem;
    height: 1.3rem;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2L9.5 9.5 2 12l7.5 2.5L12 22l2.5-7.5L22 12l-7.5-2.5L12 2zm0 0' fill='%237c4dff'/%3E%3Cpath d='M19 2l-1 3-3 1 3 1 1 3 1-3 3-1-3-1-1-3zM5 16l-1 3-3 1 3 1 1 3 1-3 3-1-3-1-1-3z' fill='%237c4dff' opacity='0.7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.risk-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
}

.risk-chip-forbidden {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.risk-chip-caution {
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    box-shadow: var(--shadow-xs);
}

.faq-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    cursor: pointer;
}

.faq-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.faq-item h2 {
    margin: 0;
    font-size: 1.02rem;
    color: var(--gray-800);
}

.faq-chevron {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.faq-chevron-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.faq-header[aria-expanded="true"] .faq-chevron-icon {
    transform: rotate(180deg);
}

.faq-header:hover .faq-chevron {
    color: var(--gray-600);
}

.faq-panel {
    margin-top: 0.55rem;
    color: var(--gray-700);
    line-height: 1.72;
}

.faq-panel[hidden] {
    display: none;
}

.howto-grid {
    display: grid;
    gap: 0.8rem;
}

.howto-step {
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--primary-200);
    border-left: 4px solid var(--primary-500);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f8fffc);
}

.howto-step strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--gray-900);
}

.sources-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.5rem;
    font-size: 0.84rem;
}

.sources-list .source-item {
    margin: 0;
    padding: 0.58rem 0.7rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #fafafa;
}

.source-title-line {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.32rem;
    line-height: 1.42;
}

.source-ref-num {
    color: var(--gray-700);
    font-weight: 700;
}

.source-class-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.02rem 0.34rem;
    border-radius: 999px;
    font-size: 0.74rem;
    line-height: 1.4;
    color: #c2410c;
    background: #ffedd5;
    border: 1px solid #fdba74;
}

.source-title-zh {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.86rem;
}

.source-title-link {
    color: inherit;
    text-decoration: none;
}

.source-title-link:hover .source-title-zh {
    text-decoration: underline;
}

.source-original-title {
    margin: 0.22rem 0 0;
    color: var(--gray-700);
    line-height: 1.42;
    font-size: 0.82rem;
}

.source-authors,
.source-pub-line,
.source-extra-line {
    margin: 0.18rem 0 0;
    line-height: 1.42;
}

.source-authors {
    color: var(--gray-700);
}

.source-pub-line,
.source-extra-line {
    color: var(--gray-500);
    font-size: 0.78rem;
}

.sources-list a {
    color: var(--secondary-600);
    text-decoration: none;
}

.sources-list a:hover {
    text-decoration: underline;
}

.sources-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.65rem;
}

.disclaimer-inline {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-top: 1.1rem;
    padding: 0.8rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    line-height: 1.65;
}

.disclaimer .disclaimer-text {
    text-align: center;
}

.geo-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.geo-links a {
    color: var(--secondary-600);
    font-weight: 500;
    text-decoration: none;
}

.geo-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .geo-main {
        padding-top: 1.4rem;
    }

    .geo-hero h1,
    .geo-content-card h1 {
        font-size: 1.55rem;
    }

    .geo-content-card,
    .geo-hero {
        padding: 1rem;
    }

    .hospital-sources-card {
        padding: 1.05rem;
    }

    p.hospital-risk-description {
        font-size: 15.2px;
        line-height: 1.68;
    }

    .hospital-item {
        padding: 0.2rem 0;
    }
}