/* 基础与全局 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { width: 100%; height: 100%; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background-color: #000; overflow-x: hidden; scroll-behavior: smooth; }

/* 顶部装饰条 */
body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 90px; 
    background: linear-gradient(to bottom, #18453B, #12362e); z-index: 9998; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.3); pointer-events: none;
}

.bg-image-container { position: fixed; inset: 0; background-image: url('photo1.jpg'); background-size: cover; background-position: center; z-index: 1; filter: brightness(1.5) saturate(1.3);}

.bg-image-container::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7)); z-index: 2; }

/* UI 元素 */
.fixed-logo-box { position: fixed; top: 25px; left: 40px; z-index: 10001; }
.school-logo { height: 40px; width: auto; }
.top-right-auth { position: fixed; top: 25px; right: 40px; z-index: 10001; display: flex; gap: 12px; }
.auth-btn { text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 8px 22px; border-radius: 8px; backdrop-filter: blur(10px); transition: 0.3s; color: white; }
.btn-login { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-register { background: rgba(76, 175, 80, 0.7); border: 1px solid rgba(76, 175, 80, 0.4); }

/* 导航 */
.card-nav-container { position: fixed; top: 15px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 700px; z-index: 10005; }
.card-nav { background: rgba(255, 255, 255, 0.98); border-radius: 1.2rem; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.5); transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); height: 60px; cursor: pointer; }
.card-nav.is-open { height: 280px; }
.card-nav-top { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; }
.nav-center-title { font-weight: 600; color: #18453B; font-size: 0.95rem; }
.hamburger-line { width: 22px; height: 2px; background-color: #18453B; margin: 4px 0; }
.card-nav-cta-button { background-color: #18453B; color: white; border: none; padding: 7px 18px; border-radius: 6px; font-weight: 600; }
.card-nav-content { display: flex; gap: 15px; padding: 10px 20px 20px; opacity: 0; visibility: hidden; transition: 0.3s; }
.card-nav.is-open .card-nav-content { opacity: 1; visibility: visible; }
.nav-card { flex: 1; border-radius: 10px; padding: 15px; display: flex; flex-direction: column; }
.nav-card-label { color: white !important; font-weight: 800; font-size: 0.85rem; margin-bottom: 12px; }
.nav-card-link { color: white !important; text-decoration: none; font-size: 0.8rem; opacity: 0.8; transition: 0.2s; display: block; margin-bottom: 5px; }

/* 第一、二幕样式 */
.transparent-hero { height: 100vh; position: relative; z-index: 10; display: flex; justify-content: center; align-items: center; }
.hero-content-wrapper { background: rgba(88, 124, 109, 0.65); backdrop-filter: blur(1px); padding: 3.5rem 5rem; border-radius: 2.5rem; border: 1px solid rgba(76, 175, 80, 0.4); margin-bottom: 40px; text-align: center; }
.hero-title { font-size: 3rem; font-weight: 800; letter-spacing: 20px; color: white; }
.scroll-velocity-container { width: 90%; max-width: 1000px; overflow: hidden; margin: 0 auto; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.velocity-content { display: flex; font-size: 1.1rem; color: #e9f0e8; white-space: nowrap; animation: scrollLeft 40s linear infinite; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.content-section { min-height: 100vh; background: #0a1a15; position: relative; z-index: 20; padding: 120px 40px; }
.data-screen-label { font-size: 2.5rem; font-weight: 800; color: #0b460d; border-left: 6px solid #4CAF50; padding-left: 20px; margin-bottom: 60px; max-width: 1300px; margin: 0 auto 60px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1300px; margin: 0 auto; }
.magic-card { height: 320px; border-radius: 24px; position: relative; overflow: hidden; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; transition: transform 0.4s ease; }
.magic-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 70%); z-index: 1; }
.magic-card h3 { font-size: 2rem; color: #4CAF50; z-index: 3; position: relative; }
.description-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1300px; margin: 30px auto 0; }
.desc-item { color: rgba(255,255,255,0.8); font-size: 1rem; border-top: 1px solid rgba(76,175,80,0.3); padding-top: 15px; }

/* 第三幕：TrueFocus + 3D卡片 */
.third-act { 
    min-height: 100vh; background: #ffffff; position: relative; z-index: 20; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 40px; 
}

/* TrueFocus 样式 */
#trueFocusRoot { margin-bottom: 60px; width: 100%; display: flex; justify-content: center; }
.focus-container { position: relative; display: flex; gap: 2rem; justify-content: center; align-items: center; flex-wrap: wrap; padding: 20px; }
.focus-word { position: relative; font-size: 2.8rem; font-weight: 900; color: #18453B; transition: filter 0.5s ease; cursor: default; }
.focus-frame { position: absolute; pointer-events: none; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-sizing: border-box; }
.corner { position: absolute; width: 1.2rem; height: 1.2rem; border: 3px solid #052e0a; border-radius: 3px; filter: drop-shadow(0px 0px 4px rgba(5,46,10,0.4)); }
.top-left { top: -10px; left: -10px; border-right: none; border-bottom: none; }
.top-right { top: -10px; right: -10px; border-left: none; border-bottom: none; }
.bottom-left { bottom: -10px; left: -10px; border-right: none; border-top: none; }
.bottom-right { bottom: -10px; right: -10px; border-left: none; border-top: none; }

.exploration-container { display: flex; align-items: center; gap: 80px; max-width: 1300px; width: 100%; justify-content: center; }
.tilted-card-figure { position: relative; width: 450px; height: 450px; perspective: 1200px; flex-shrink: 0; }
.tilted-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.15s ease-out; }
.tilted-card-img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(24,69,59,0.15); }
.tilted-card-overlay { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; transform: translateZ(80px); transform-style: preserve-3d; }
.tilted-card-overlay-text { color: white; font-weight: 800; font-size: 2.2rem; background: rgba(24,69,59,0.85); padding: 15px 35px; border-radius: 15px; backdrop-filter: blur(8px); box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.tilted-card-caption { pointer-events: none; position: fixed; background: #18453B; padding: 6px 14px; font-size: 12px; color: #ffffff; border-radius: 6px; opacity: 0; z-index: 10000; transform: translate(-50%, -50%); }

.explore-title { font-size: 3.5rem; color: #18453B; margin-bottom: 30px; font-weight: 800; }
.explore-btn { background: #18453B; color: #ffffff; border: none; padding: 16px 50px; font-size: 1.2rem; font-weight: 600; border-radius: 50px; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 25px rgba(24,69,59,0.2); }
.explore-btn:hover { transform: translateY(-5px); background: #2d6a5c; }