/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
    background: linear-gradient(135deg, #fef7ed 0%, #fefce8 50%, #fef2f2 100%);
    min-height: 100vh;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-space-grotesk {
    font-family: 'Space Grotesk', sans-serif;
}

/* Tailwind CSS 基础样式 */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-orange-50 {
    --tw-gradient-from: #fff7ed;
    --tw-gradient-to: rgb(255 247 237 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-yellow-50 {
    --tw-gradient-to: rgb(254 252 232 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), #fefce8, var(--tw-gradient-to);
}

.to-red-50 {
    --tw-gradient-to: #fef2f2;
}

.text-gray-800 {
    color: #1f2937;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-0 {
    z-index: 0;
}

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

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

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

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

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 2rem;
}

.space-x-3 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.75rem;
}

.group {
    position: relative;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-orange-400 {
    --tw-gradient-from: #fb923c;
    --tw-gradient-to: rgb(251 146 60 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-red-500 {
    --tw-gradient-to: #ef4444;
}

.rounded-2xl {
    border-radius: 1rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.text-white {
    color: #ffffff;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.font-black {
    font-weight: 900;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

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

.bg-white\/90 {
    background-color: rgb(255 255 255 / 0.9);
}

.backdrop-blur-xl {
    backdrop-filter: blur(24px);
}

.border-b {
    border-bottom-width: 1px;
}

.border-orange-200\/50 {
    border-color: rgb(254 215 170 / 0.5);
}

.top-0 {
    top: 0;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.hover\:text-orange-500:hover {
    color: #f97316;
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:rotate-12:hover {
    transform: rotate(12deg);
}

.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
}

.text-transparent {
    color: transparent;
}

.from-orange-500 {
    --tw-gradient-from: #f97316;
    --tw-gradient-to: rgb(249 115 22 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-red-600 {
    --tw-gradient-to: #dc2626;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-orange-500 {
    color: #f97316;
}

.-mt-1 {
    margin-top: -0.25rem;
}

.hidden {
    display: none;
}

.lg\:flex {
    display: flex;
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.max-w-3xl {
    max-width: 48rem;
}

.grid {
    display: grid;
}

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

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

.gap-8 {
    gap: 2rem;
}

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

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

/* 动态背景形状 */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

/* 自定义动画 */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
    50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.6); }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

.animate-spin-reverse {
    animation: spin-reverse 6s linear infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #f97316, #ef4444);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ea580c, #dc2626);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 玻璃态效果 */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 悬停效果增强 */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
}

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #f97316, #ef4444, #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

/* 卡片阴影效果 */
.card-glow {
    transition: all 0.3s ease;
}

.card-glow:hover {
    box-shadow: 
        0 0 20px rgba(249, 115, 22, 0.2),
        0 0 40px rgba(239, 68, 68, 0.1),
        0 0 60px rgba(236, 72, 153, 0.05);
}

/* 按钮特效 */
.btn-creative {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #f97316, #ef4444);
    border: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

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

.btn-creative:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

/* 导航栏特效 */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* 3D变换效果 */
.transform-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.rotate-y {
    transform: rotateY(15deg);
    transition: transform 0.3s ease;
}

.rotate-y:hover {
    transform: rotateY(0deg);
}

/* 加载动画 */
.loading-creative {
    position: relative;
    overflow: hidden;
}

.loading-creative::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.4), transparent);
    animation: creative-loading 2s infinite;
}

@keyframes creative-loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-shapes .shape {
        display: none;
    }
    
    .grid-cols-1 {
        gap: 1rem;
    }
    
    .text-6xl {
        font-size: 3rem;
    }
    
    .text-8xl {
        font-size: 4rem;
    }
}

/* 创意边框 */
.creative-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #f97316, #ef4444) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* 创意渐变效果 */
.creative-gradient {
    background: linear-gradient(45deg, 
        rgba(249, 115, 22, 0.1) 0%,
        rgba(239, 68, 68, 0.1) 25%,
        rgba(236, 72, 153, 0.1) 50%,
        rgba(251, 191, 36, 0.1) 75%,
        rgba(249, 115, 22, 0.1) 100%);
    background-size: 400% 400%;
    animation: creative-shift 4s ease infinite;
}

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

/* 扫描线效果 */
.scan-lines {
    position: relative;
    overflow: hidden;
}

.scan-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(249, 115, 22, 0.05) 2px,
        rgba(249, 115, 22, 0.05) 4px
    );
    pointer-events: none;
}

/* 能量球效果 */
.energy-orb {
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.6) 0%, rgba(239, 68, 68, 0.3) 50%, transparent 70%);
    animation: energy-pulse 2s ease-in-out infinite;
}

@keyframes energy-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* 数据流效果 */
.data-stream {
    position: relative;
    overflow: hidden;
}

.data-stream::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(249, 115, 22, 0.1) 20%,
        rgba(239, 68, 68, 0.2) 40%,
        rgba(236, 72, 153, 0.1) 60%,
        transparent 80%);
    animation: data-flow 3s linear infinite;
}

@keyframes data-flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 无障碍访问增强 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 焦点样式 */
.focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-gradient-to-r,
    .bg-gradient-to-br {
        background: white !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .text-gray-600 {
        color: #374151;
    }
    
    .text-gray-400 {
        color: #6b7280;
    }
    
    .border-orange-200\/50 {
        border-color: #fed7aa;
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 创意按钮样式 */
.btn-gradient {
    background: linear-gradient(45deg, #f97316, #ef4444, #ec4899, #f59e0b);
    background-size: 300% 300%;
    animation: gradient-shift 3s ease infinite;
    border: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
}

/* 文字动画效果 */
.text-animate {
    background: linear-gradient(45deg, #f97316, #ef4444, #ec4899, #f59e0b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

/* 创意图标动画 */
.icon-bounce {
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 创意边框动画 */
.border-animate {
    position: relative;
    overflow: hidden;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f97316, transparent);
    animation: border-flow 2s linear infinite;
}

@keyframes border-flow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 创意阴影效果 */
.shadow-creative {
    box-shadow: 
        0 4px 6px -1px rgba(249, 115, 22, 0.1),
        0 2px 4px -1px rgba(239, 68, 68, 0.06);
}

.shadow-creative-lg {
    box-shadow: 
        0 10px 15px -3px rgba(249, 115, 22, 0.1),
        0 4px 6px -2px rgba(239, 68, 68, 0.05);
}

/* 创意渐变背景 */
.bg-creative-gradient {
    background: linear-gradient(135deg, 
        rgba(249, 115, 22, 0.05) 0%,
        rgba(239, 68, 68, 0.05) 25%,
        rgba(236, 72, 153, 0.05) 50%,
        rgba(251, 191, 36, 0.05) 75%,
        rgba(249, 115, 22, 0.05) 100%);
}

/* 创意文字效果 */
.text-creative {
    background: linear-gradient(45deg, #f97316, #ef4444, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* 创意按钮悬停效果 */
.btn-creative-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-creative-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-creative-hover:hover::before {
    width: 300px;
    height: 300px;
}

/* 创意加载效果 */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* 创意进度条 */
.progress-creative {
    background: linear-gradient(90deg, #f97316, #ef4444, #ec4899, #f59e0b);
    background-size: 200% 100%;
    animation: progress-flow 2s linear infinite;
}

@keyframes progress-flow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 创意标签效果 */
.tag-creative {
    background: linear-gradient(45deg, rgba(249, 115, 22, 0.1), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #f97316;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag-creative:hover {
    background: linear-gradient(45deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
    transform: scale(1.05);
}

/* 创意输入框效果 */
.input-creative {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #f97316, #ef4444) border-box;
    transition: all 0.3s ease;
}

.input-creative:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* 创意网格效果 */
.grid-creative {
    background-image: 
        linear-gradient(rgba(249, 115, 22, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 115, 22, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 创意波浪效果 */
.wave-creative {
    position: relative;
    overflow: hidden;
}

.wave-creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(249, 115, 22, 0.1) 50%,
        transparent 100%);
    animation: wave-flow 3s ease-in-out infinite;
}

@keyframes wave-flow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 创意脉冲效果 */
.pulse-creative {
    animation: pulse-creative 2s ease-in-out infinite;
}

@keyframes pulse-creative {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* 创意旋转效果 */
.rotate-creative {
    animation: rotate-creative 10s linear infinite;
}

@keyframes rotate-creative {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 创意闪烁效果 */
.blink-creative {
    animation: blink-creative 2s ease-in-out infinite;
}

@keyframes blink-creative {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}