/* 干饭联盟官网 - 全局样式与核心 CSS 框架 */

/* Base Reset & Box Sizing */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: var(--color-outline-variant);
}

a {
    text-decoration: none;
    color: inherit;
}

/* 主题颜色变量定义 (亮色与暗色模式) */
:root {
    --color-primary: #ff6b35;
    --color-primary-container: #fff0eb;
    --color-on-primary: #ffffff;
    --color-on-primary-container: #c2410c;
    
    --color-background: #f8fafc;
    --color-on-background: #0f172a;
    --color-surface: #ffffff;
    --color-on-surface: #0f172a;
    --color-surface-variant: #f1f5f9;
    --color-on-surface-variant: #475569;
    
    --color-surface-container-lowest: #ffffff;
    --color-surface-container-low: #f8fafc;
    --color-surface-container: #f1f5f9;
    --color-surface-container-high: #e2e8f0;
    --color-surface-container-highest: #cbd5e1;
    
    --color-outline: #94a3b8;
    --color-outline-variant: #e2e8f0;
    --color-secondary: #475569;
    --color-on-secondary: #ffffff;
    
    --color-primary-fixed: #ffedd5;
    --color-primary-fixed-dim: #fed7aa;
    --color-on-primary-fixed: #7c2d12;
    --color-on-primary-fixed-variant: #9a3412;
    
    --color-tertiary: #0284c7;
    --color-tertiary-container: #e0f2fe;
    --color-on-tertiary: #ffffff;
    --color-on-tertiary-container: #0369a1;
    
    --color-inverse-surface: #1e293b;
    --color-inverse-on-surface: #f8fafc;
    --color-inverse-primary: #ff8a5c;
}

.dark {
    --color-primary: #ff8a5c;
    --color-primary-container: #7c2d12;
    --color-on-primary: #431407;
    --color-on-primary-container: #ffedd5;
    
    --color-background: #0f172a;
    --color-on-background: #f8fafc;
    --color-surface: #1e293b;
    --color-on-surface: #f8fafc;
    --color-surface-variant: #334155;
    --color-on-surface-variant: #cbd5e1;
    
    --color-surface-container-lowest: #020617;
    --color-surface-container-low: #0f172a;
    --color-surface-container: #1e293b;
    --color-surface-container-high: #334155;
    --color-surface-container-highest: #475569;
    
    --color-outline: #64748b;
    --color-outline-variant: #334155;
    --color-secondary: #94a3b8;
    --color-on-secondary: #0f172a;
    
    --color-primary-fixed: #ffedd5;
    --color-primary-fixed-dim: #fed7aa;
    --color-on-primary-fixed: #7c2d12;
    --color-on-primary-fixed-variant: #9a3412;
    
    --color-tertiary: #38bdf8;
    --color-tertiary-container: #0369a1;
    --color-on-tertiary: #082f49;
    --color-on-tertiary-container: #e0f2fe;
    
    --color-inverse-surface: #f8fafc;
    --color-inverse-on-surface: #0f172a;
    --color-inverse-primary: #ff6b35;
}

/* 全局基调与平滑过渡 */
html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-background);
    color: var(--color-on-background);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body, nav, footer, .glass-panel, .glass-card, button, a, input, textarea {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 核心 Utility 类实现 */

/* Typography Rules */
.font-headline-xl { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 48px; line-height: 56px; letter-spacing: -0.02em; font-weight: 800; }
.font-headline-lg { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 32px; line-height: 40px; letter-spacing: -0.01em; font-weight: 700; }
.font-headline-lg-mobile { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 24px; line-height: 32px; font-weight: 700; }
.font-title-md { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 20px; line-height: 28px; font-weight: 600; }
.font-body-lg { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 28px; font-weight: 400; }
.font-body-md { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 24px; font-weight: 400; }
.font-label-md { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 20px; font-weight: 500; }
.font-label-sm { font-family: 'Inter', sans-serif; font-size: 12px; line-height: 16px; letter-spacing: 0.05em; font-weight: 500; }

.text-headline-xl { font-size: 48px; line-height: 56px; }
.text-headline-lg { font-size: 32px; line-height: 40px; }
.text-headline-lg-mobile { font-size: 24px; line-height: 32px; }
.text-title-md { font-size: 20px; line-height: 28px; }
.text-body-lg { font-size: 18px; line-height: 28px; }
.text-body-md { font-size: 16px; line-height: 24px; }
.text-label-md { font-size: 14px; line-height: 20px; }
.text-label-sm { font-size: 12px; line-height: 16px; }

.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.antialiased { -webkit-font-smoothing: antialiased; }
.select-none { user-select: none; }

/* Colors Utility */
.bg-background { background-color: var(--color-background); }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-variant { background-color: var(--color-surface-variant); }
.bg-surface-container-lowest { background-color: var(--color-surface-container-lowest); }
.bg-surface-container-low { background-color: var(--color-surface-container-low); }
.bg-surface-container { background-color: var(--color-surface-container); }
.bg-surface-container-high { background-color: var(--color-surface-container-high); }
.bg-surface-container-highest { background-color: var(--color-surface-container-highest); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-container { background-color: var(--color-primary-container); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-tertiary { background-color: var(--color-tertiary); }
.bg-tertiary-container { background-color: var(--color-tertiary-container); }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-tertiary { color: var(--color-tertiary); }
.text-on-background { color: var(--color-on-background); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-on-primary { color: var(--color-on-primary); }
.text-on-primary-container { color: var(--color-on-primary-container); }
.text-on-secondary { color: var(--color-on-secondary); }
.text-on-tertiary { color: var(--color-on-tertiary); }

.border-outline { border-color: var(--color-outline); }
.border-outline-variant { border-color: var(--color-outline-variant); }
.border-primary { border-color: var(--color-primary); }
.border-surface-variant { border-color: var(--color-surface-variant); }

/* Borders & Shadows */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Flexbox & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }

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

.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-gutter { gap: 24px; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-6 { row-gap: 1.5rem; }

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* Positioning & Sizing */
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.-z-10 { z-index: -10; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.min-h-screen { min-height: 100vh; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-container-max-width { max-width: 1280px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding & Margin */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-margin-mobile { padding-left: 16px; padding-right: 16px; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-4 { padding-top: 1rem; }
.pt-20 { padding-top: 5rem; }
.pb-28 { padding-bottom: 7rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }

/* Backdrop Blur & Transitions */
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

.hover\:bg-primary-container:hover { background-color: var(--color-primary-container); }
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:bg-surface-variant\/40:hover { background-color: rgba(245, 224, 211, 0.4); }
.dark .hover\:bg-surface-variant\/40:hover { background-color: rgba(83, 68, 60, 0.4); }
.hover\:bg-surface-container-low:hover { background-color: var(--color-surface-container-low); }

.grayscale { filter: grayscale(100%); }
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0%); }
.grayscale-0 { filter: grayscale(0%); }
.opacity-60 { opacity: 0.6; }
.opacity-90 { opacity: 0.9; }

.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* Responsive Media Queries */
@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:gap-4 { gap: 1rem; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:px-margin-desktop { padding-left: 40px; padding-right: 40px; }
    .md\:h-16 { height: 4rem; }
    .md\:font-headline-lg { font-size: 32px; line-height: 40px; font-weight: 700; }
    .md\:text-headline-lg { font-size: 32px; line-height: 40px; }
    .md\:mt-0 { margin-top: 0; }
    .md\:gap-x-12 { column-gap: 3rem; }
    .md\:gap-y-8 { row-gap: 2rem; }
    .md\:gap-8 { gap: 2rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Material Symbols Outlined 字体 */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* 玻璃面板与卡片效果 */
.glass-panel {
    background: rgba(var(--color-surface), 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-outline-variant);
}

.glass-card {
    background: rgba(var(--color-surface), 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-outline-variant);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* 悬浮提升效果 */
.hover-lift {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(255, 107, 53, 0.18), 0 6px 12px -2px rgba(255, 107, 53, 0.08);
}

/* 手风琴组件 */
.accordion-content {
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 16px;
}
.accordion-item.active .material-symbols-outlined.expand-icon {
    transform: rotate(180deg);
}

/* 关键帧与动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(255, 107, 53, 0.15); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.animate-pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* 滚动显示 - 初始隐藏，JS控制显示 */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 渐变文字特效 */
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops, #ff6b35, #ff8a5c)); }
.from-primary { --tw-gradient-from: var(--color-primary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 107, 53, 0)); }
.to-primary-container { --tw-gradient-to: var(--color-primary-container); }

/* 顶部导航栏 (#top-nav) 专用样式：彻底去除字体与 a 标签下划线、下边框线 */
#top-nav,
#top-nav * {
    text-decoration: none !important;
}

#top-nav a,
#top-nav a:hover,
#top-nav a:focus,
#top-nav a:active,
#top-nav a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    border-bottom-width: 0 !important;
}

/* 顶部导航 Logo 尺寸放大优化 (放大 h-14 md:h-16 w-auto object-contain select-none) */
.h-14.md\:h-16.w-auto.object-contain.select-none,
#top-nav img.object-contain {
    height: 4.25rem !important; /* 约 68px，移动端大幅放大 */
    max-height: 72px;
    width: auto !important;
}

@media (min-width: 768px) {
    .h-14.md\:h-16.w-auto.object-contain.select-none,
    #top-nav img.object-contain {
        height: 4.75rem !important; /* 约 76px，桌面端高度放大突出 */
        max-height: 78px;
        width: auto !important;
    }
}

/* ==========================================================================
   agency-ui-designer 高级视觉体系 (Modern SaaS / Fintech UI System)
   ========================================================================== */

/* 1. 微光科技感网格与环境底色 */
.bg-grid-pattern {
    background-image: radial-gradient(rgba(255, 107, 53, 0.12) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
}
.dark .bg-grid-pattern {
    background-image: radial-gradient(rgba(255, 138, 92, 0.16) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
}

.bg-mesh-glow {
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.14) 0%, rgba(255, 138, 92, 0.04) 40%, transparent 70%);
}
.dark .bg-mesh-glow {
    background: radial-gradient(circle at 50% 0%, rgba(255, 138, 92, 0.18) 0%, rgba(255, 107, 53, 0.06) 45%, transparent 75%);
}

/* 2. 高阶三维质感毛玻璃卡片 */
.glass-card-elevated {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dark .glass-card-elevated {
    background: rgba(30, 41, 59, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(51, 65, 85, 0.85);
    box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.glass-card-elevated:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 20px 40px -10px rgba(255, 107, 53, 0.18), 0 0 0 1px rgba(255, 107, 53, 0.2) inset;
}

/* 3. 悬浮 SaaS 动态微组件 (Floating Widgets) */
.floating-widget {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 107, 53, 0.25);
    box-shadow: 0 16px 36px -6px rgba(255, 107, 53, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 12px 18px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dark .floating-widget {
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid rgba(255, 138, 92, 0.3);
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(255, 107, 53, 0.12);
}
.floating-widget:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--color-primary);
    box-shadow: 0 22px 42px -6px rgba(255, 107, 53, 0.28);
}

/* 4. 流光按钮特效 (Shimmer Button) */
.shimmer-btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(255, 107, 53, 0.45);
}
.shimmer-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg) translateY(-100%);
    animation: shimmer 4s infinite;
}
@keyframes shimmer {
    0% { transform: rotate(30deg) translateY(-100%); }
    22%, 100% { transform: rotate(30deg) translateY(100%); }
}

/* 5. 品牌官方渠道立体卡片 */
.brand-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-outline-variant);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}
.dark .brand-card {
    background: rgba(30, 41, 59, 0.85);
}
.brand-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 14px 28px -4px rgba(255, 107, 53, 0.18);
}

/* 6. 数据统计指标栏 */
.stat-item {
    position: relative;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-outline-variant);
    transition: all 0.25s ease;
}
.dark .stat-item {
    background: rgba(30, 41, 59, 0.6);
}
.stat-item:hover {
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}
.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #ff5722 0%, #ff8a5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 7. 手机模拟器高端外壳 (iPhone Mockup 2.0) */
.phone-mockup-frame {
    border: 11px solid #1e293b;
    border-radius: 46px;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}
.dark .phone-mockup-frame {
    border-color: #0f172a;
    background: #090d16;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.dynamic-island {
    width: 96px;
    height: 25px;
    background: #000000;
    border-radius: 20px;
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

/* 8. 漂浮动效变体 */
.animate-float-delayed {
    animation: float 3.5s ease-in-out 1.5s infinite;
}
.animate-float-slow {
    animation: float 4.2s ease-in-out 0.8s infinite;
}

/* ==========================================================================
   agency-whimsy-injector 趣味灵魂与交互体验系统
   ========================================================================== */

/* 1. 点击全局美食/金币粒子升腾动效 */
.food-particle {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    font-size: 20px;
    font-weight: 800;
    user-select: none;
    transform: translate(-50%, -50%);
    animation: foodParticleFloat 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes foodParticleFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    40% {
        opacity: 1;
        transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 40px)) scale(1.3);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 90px)) scale(1);
    }
}

/* 2. 悬浮“今天吃什么？”抽签机启动药丸按钮 */
.whimsy-lottery-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8a5c 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(255, 107, 53, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.4) inset;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.whimsy-lottery-float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 32px -4px rgba(255, 107, 53, 0.65), 0 0 0 2px rgba(255, 255, 255, 0.6) inset;
}
.whimsy-lottery-float-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* 3. 趣味 Modal 弹窗通用样式 */
.whimsy-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-out;
}
.whimsy-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.whimsy-modal-dialog {
    width: 100%;
    max-width: 440px;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.whimsy-modal-backdrop.active .whimsy-modal-dialog {
    transform: translateY(0) scale(1);
}

/* 4. 抽签机滚筒动效 */
.dish-roller-card {
    background: var(--color-surface-container-low);
    border: 2px dashed rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.2s ease;
}
.dish-roller-card.rolling {
    animation: dishShake 0.1s infinite;
}
@keyframes dishShake {
    0% { transform: translateY(-2px); }
    50% { transform: translateY(2px); }
    100% { transform: translateY(-2px); }
}

/* 5. 收益计算器滑动轨美化 */
.calc-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    transition: background 0.2s;
}
.dark .calc-range-slider {
    background: #334155;
}
.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ff6b35;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.5), 0 0 0 3px #ffffff;
    transition: transform 0.15s ease;
}
.calc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

