/* Typography */
body {
    font-family: 'Inter', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
    background-color: #050505;
    color: #f5f5f7;
    overflow-x: hidden;
}

/* Navbar */
.glass-nav {
    background-color: rgba(5, 5, 5, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradients */
.text-gradient-hero {
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-logo {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
    background-color: #2563EB;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background-color: #3b82f6;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
    transform: translateY(-1px);
}
.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Animations & Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Cards */
.bento-card {
    background-color: #0F0F10; 
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
    border: 1px solid rgba(255,255,255,0.05);
}
.bento-card:hover {
    transform: scale(1.02);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* Misc */
.mask-image-b-fade {
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.aurora-bg {
    background: radial-gradient(circle at 50% 120%, #172033 0%, #0a0a0a 50%, #050505 100%);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 8s ease-out;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: scale(1.05);
}
.hero-slide.active {
    opacity: 0.6;
    transform: scale(1);
}

/* Demo Console */
.demo-console {
    background: rgba(15, 15, 16, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.demo-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}
.demo-input:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
