body {
    background-color: #050505;
    color: #f8fafc;
    overflow-x: hidden;
}

/* 隐藏滚动条 */
::-webkit-scrollbar { width: 0px; background: transparent; }

/* 玻璃拟态 */
.glass {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-card {
    background: linear-gradient(145deg, rgba(30,41,59,0.4), rgba(15,23,42,0.4));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glass-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(40,51,70,0.6), rgba(20,30,50,0.6));
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.3);
}

/* 动画类 */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
}

/* 视差容器 */
.parallax-wrapper {
    perspective: 1000px;
}

/* 视图切换 */
.view-section {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.view-active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.8s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === 纯净样机 (仅留图片位) === */

/* iPhone Frame */
.iphone-frame {
    width: 280px;
    height: 594px;
    background: #000;
    border-radius: 44px;
    border: 6px solid #2d2d2d;
    box-shadow: inset 0 0 0 2px #444, 0 30px 60px -12px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}
.iphone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 90px; height: 26px; background: #000;
    border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; z-index: 20;
}
/* 图片容器，填满样机 */
.screen-content {
    width: 100%; height: 100%;
    object-fit: contain;
    background-color: #1e1e1e; /* 占位色 */
}

/* MacBook Frame */
.macbook-frame {
    width: 100%; max-width: 800px; aspect-ratio: 16/9;
    background: #0f172a;
    border-radius: 16px 16px 0 0;
    border: 10px solid #1e293b; border-bottom: none;
    position: relative; margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.macbook-base {
    width: 110%; height: 20px; background: #334155;
    border-radius: 0 0 16px 16px; margin-left: -5%;
}

.gradient-text {
    background: linear-gradient(to right, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



