@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700&display=swap');

:root {
    --color-bg: #0f172a;
    --color-accent: #8b5cf6;
    --color-text: #e2e8f0;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

/* 梦境背景特效 */
.dream-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #110c22 0%, #050505 100%);
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: #4c1d95;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* 玻璃拟态卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
    transform: translateY(0) scale(1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
    transform: translateY(-5px) scale(1.02);
}

/* 霓虹文字 */
.neon-text {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Hero 动画元素 */
.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

/* 抽象 Blob 动画 */
.blob-shape {
    animation: morph 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transition: all 1s ease-in-out;
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Blob 装饰点微动动画：增加位移和明显的缩放 */
@keyframes dot-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(6px, -12px) scale(1.6);
    }
}

.blob-shape>div:nth-child(1) {
    animation: dot-float 4s ease-in-out infinite;
}

.blob-shape>div:nth-child(2) {
    animation: dot-float 6s ease-in-out infinite reverse;
}

.blob-shape>div:nth-child(3) {
    animation: dot-float 5s ease-in-out infinite 1s;
}

/* 移动端 UA 适配覆盖 */
body.mobile {
    font-size: 15px;
}

body.mobile #navbar {
    padding: 8px 20px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
}

body.mobile #navbar>div {
    padding: 8px 0;
}

body.mobile header,
body.mobile section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

body.mobile header {
    min-height: auto;
    padding-top: 6rem;
}

body.mobile .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
    line-height: 1.15;
}

body.mobile .hero-text {
    font-size: 1rem;
    margin-bottom: 2rem;
}

body.mobile .hero-cta {
    gap: 0.75rem;
}

body.mobile .hero-blob .blob-shape {
    width: 280px;
    height: 280px;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.25);
}

body.mobile .hero-blob .orb-dot {
    transform: scale(0.85);
}

body.mobile #pain-points .glass-card,
body.mobile #hardware .glass-card,
body.mobile #software .glass-card {
    padding: 2rem;
}

body.mobile .glass-card .text-5xl {
    font-size: 2.5rem;
}

body.mobile #waitlist input {
    width: 100%;
}