/* ==========================================================================
   探索未来 - 情感桌宠 & 舔狗机器人官网样式表
   ========================================================================== */

/* 1. 设计系统与变量定义 */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0c;
    --bg-tertiary: #16161a;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-tertiary: #6e6e73;
    
    /* 苹果标志性暖金 & 科技极光色 */
    --accent-gold: #e5c158;
    --accent-purple: #8b5cf6;
    --accent-blue: #06b6d4;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-title: 'Outfit', var(--font-sans);
    
    --nav-height: 48px;
    --container-width: 1120px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.5;
}

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

/* 布局容器 */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* 3. 导航栏 (Navbar) */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-logo span {
    font-size: 9px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    font-size: 12px;
    font-weight: 600;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 99px;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    transform: scale(1.05);
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* 4. 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* 5. 英雄首屏 (Hero Section) */
.hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(circle, rgba(229, 193, 88, 0.08) 0%, rgba(139, 92, 246, 0.04) 50%, transparent 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Gradient border trick */
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.8)), 
                      linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-purple) 50%, var(--accent-blue) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    
    padding: 8px 20px;
    border-radius: 99px;
    margin-bottom: 32px;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.hero-badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 25px rgba(229, 193, 88, 0.15);
    color: var(--accent-gold);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--accent-gold);
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 12px;
    height: 12px;
    border: 1.5px solid var(--accent-gold);
    border-radius: 50%;
    animation: badge-pulse 2s infinite ease-out;
}

@keyframes badge-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
    font-family: var(--font-title);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin-top: auto;
    padding: 0 24px;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.product-glow {
    position: absolute;
    width: 60%;
    height: 70%;
    bottom: 10%;
    background: radial-gradient(circle, rgba(229, 193, 88, 0.15) 0%, rgba(139, 92, 246, 0.08) 60%, transparent 100%);
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(229, 193, 88, 0.05);
    object-fit: cover;
    transition: transform 0.1s ease-out; /* JavaScript 视差用 */
}

/* 载入初始动画 */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#hero-badge { animation-delay: 0.1s; }
#hero-main-title { animation-delay: 0.2s; }
#hero-desc { animation-delay: 0.3s; }
#hero-actions { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 6. 内容区块通用样式 */
.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    text-align: center;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* 7. 产品介绍 (Product Intro) */
.product-intro {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.intro-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* 8. Bento Grid (便当盒展示) */
.features {
    background: var(--bg-primary);
}

.features-header {
    margin-bottom: 72px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.5s ease, transform 0.5s ease;
    min-height: 380px;
}

.bento-card:hover {
    border-color: var(--border-hover);
}

.bento-large {
    grid-column: span 7;
}

.bento-medium {
    grid-column: span 5;
}

.card-glow {
    position: absolute;
    top: var(--mouse-y, 0px);
    left: var(--mouse-x, 0px);
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 193, 88, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bento-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    z-index: 2;
    max-width: 100%;
}

.card-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.bento-card h3 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.bento-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Bento Card Visuals */
.card-visual {
    position: relative;
    width: 100%;
    height: 160px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

/* Visual 1: SLM Brain Chip */
.visual-chip {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

.mock-chip {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1f1f23, #111113);
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-chip::after {
    content: 'EXPLORE';
    color: var(--accent-gold);
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.chip-trace {
    position: absolute;
    background: linear-gradient(90deg, var(--accent-purple), transparent);
    height: 1px;
    opacity: 0.6;
}

.ct-1 { top: 30%; left: 10%; width: 25%; }
.ct-2 { bottom: 40%; right: 10%; width: 30%; transform: rotate(180deg); }
.ct-3 { top: 70%; left: 20%; width: 20%; }

/* Visual 2: mmWave Radar */
.visual-radar {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
}

.radar-wave {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
}

.radar-bar {
    width: 4px;
    height: 12px;
    background-color: var(--accent-blue);
    border-radius: 99px;
    animation: radar-pulse 1.5s infinite ease-in-out alternate;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.rb-1 { height: 20px; animation-delay: 0.1s; }
.rb-2 { height: 45px; animation-delay: 0.3s; background-color: #ffffff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); }
.rb-3 { height: 15px; animation-delay: 0.5s; }
.rb-4 { height: 35px; animation-delay: 0.2s; background-color: var(--accent-gold); box-shadow: 0 0 10px rgba(229, 193, 88, 0.4); }
.rb-5 { height: 25px; animation-delay: 0.4s; }

@keyframes radar-pulse {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.3); }
}

/* Visual 3: Sonic Bubble */
.visual-bubble {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
}

.sound-bubble {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-ring {
    position: absolute;
    border: 1.5px solid rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    animation: sound-expand 3s infinite linear;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.05);
}

.sr-1 { animation-delay: 0s; }
.sr-2 { animation-delay: 1s; }
.sr-3 { animation-delay: 2s; }

@keyframes sound-expand {
    0% { width: 0px; height: 0px; opacity: 1; border-color: rgba(6, 182, 212, 0.4); }
    100% { width: 120px; height: 120px; opacity: 0; border-color: rgba(139, 92, 246, 0); }
}

/* Visual 4: Sensory-Skin */
.visual-skin {
    background: rgba(255, 255, 255, 0.005);
}

.skin-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    width: 110px;
}

.skin-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.skin-dot.active {
    background-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
    animation: dot-glow 1.5s infinite alternate ease-in-out;
}

.sd-2 { animation-delay: 0.2s; }
.sd-4 { animation-delay: 0.5s; background-color: var(--accent-blue) !important; box-shadow: 0 0 10px var(--accent-blue) !important; }
.sd-7 { animation-delay: 0.8s; }
.sd-9 { animation-delay: 0.3s; background-color: var(--accent-purple) !important; box-shadow: 0 0 10px var(--accent-purple) !important; }

@keyframes dot-glow {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

/* Visual 5: Episodic Memory Network */
.visual-memory {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
}

.memory-network {
    position: relative;
    width: 120px;
    height: 100px;
}

.memory-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--accent-purple);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-purple);
    animation: float-node 3s infinite alternate ease-in-out;
}

.mn-1 { top: 20%; left: 20%; animation-delay: 0s; }
.mn-2 { top: 60%; left: 70%; animation-delay: 0.7s; background-color: var(--accent-gold); box-shadow: 0 0 12px var(--accent-gold); }
.mn-3 { top: 75%; left: 30%; animation-delay: 1.4s; background-color: var(--accent-blue); box-shadow: 0 0 12px var(--accent-blue); }

.memory-node::after {
    content: '';
    position: absolute;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    width: 60px;
    transform-origin: 0 0;
}

.mn-1::after { transform: rotate(40deg); }
.mn-2::after { transform: rotate(-120deg); width: 50px; }
.mn-3::after { transform: rotate(-30deg); width: 45px; }

@keyframes float-node {
    0% { transform: translateY(0) scale(0.9); }
    100% { transform: translateY(-8px) scale(1.1); }
}

/* Visual 6: Maglev Actuation Rings */
.visual-maglev {
    background: radial-gradient(circle, rgba(229, 193, 88, 0.04) 0%, transparent 70%);
}

.maglev-rings {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maglev-ring {
    position: absolute;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.maglev-ring-inner {
    width: 44px;
    height: 44px;
    border-top: 2px solid var(--accent-gold);
    animation: spin-clockwise 5s infinite linear;
    box-shadow: 0 0 15px rgba(229, 193, 88, 0.1);
}

.maglev-ring-outer {
    width: 80px;
    height: 80px;
    border-bottom: 2px solid var(--accent-purple);
    animation: spin-counter 7s infinite linear;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.08);
}

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

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

/* 9. 对话卡片区 (Quotes Section) */
.quotes {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.quotes-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.quotes-heading {
    text-align: center;
    margin-bottom: 48px;
    font-size: 28px;
    font-weight: 700;
}

.quotes-carousel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.quote-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.quote-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

.quote-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.quote-author {
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 600;
}

/* 10. 预订表单区 (Reserve Section) */
.reserve {
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
    text-align: center;
}

.reserve-glow {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, rgba(229, 193, 88, 0.03) 50%, transparent 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: glow-breath 8s infinite ease-in-out;
}

@keyframes glow-breath {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) scale(1.15);
        opacity: 0.9;
    }
}

.reserve-content {
    max-width: 650px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(10, 10, 12, 0.4) 100%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 60px 40px;
    z-index: 2;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.reserve-content h2 {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.reserve-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.reserve-form {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto;
}

.reserve-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    padding: 14px 24px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.reserve-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

/* 预约成功状态样式 */
.reserve-success-message {
    display: none;
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-smooth);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.reserve-success-message.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(229, 193, 88, 0.2);
    animation: scale-up-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes scale-up-bounce {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* 11. 页脚 (Footer) */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-info {
    margin-bottom: 40px;
    max-width: 500px;
}

.footer-info h3 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-desc {
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

/* ==========================================================================
   12. 滚动动画 (Scroll Reveal Animations) & 兼容性
   ========================================================================== */

/* 默认未进入视口的状态：当不支持原生 CSS 滚动Timeline时，通过 JS 辅助添加 revealed 类实现渐入 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 原生 CSS 滚动动画（Progressive Enhancement：针对支持的现代浏览器） */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes fade-up-reveal {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 覆盖 JS 辅助，直接由 CSS scroll 驱动 */
        .scroll-reveal {
            opacity: 0; /* 初始值 */
            animation: fade-up-reveal auto linear both;
            animation-timeline: view();
            animation-range: entry 5% cover 30%;
            transition: none; /* 关闭 JS 类的过渡以防冲突 */
        }
    }
}

/* 尊重用户减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in,
    .scroll-reveal,
    .scroll-reveal.revealed,
    .heart-pulse,
    .eye,
    .brain-waves span {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   13. 响应式布局自适应 (Responsive Design)
   ========================================================================== */
@media (max-width: 900px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .bento-large,
    .bento-medium {
        grid-column: span 12;
    }
    
    .bento-card {
        min-height: auto;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none; /* 移动端精简：隐藏菜单链接，保留Logo与CTA */
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .reserve-form {
        flex-direction: column;
        border-radius: 0;
        gap: 12px;
    }
    
    .reserve-input {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
