:root {
 --背景色: #f2f2ee;
 --主色: #1a2a1e;
 --副色: #7a8a81;
 --装饰色: #d1d9d4;
 --强调色: #b8a164;
 --曲线: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 -webkit-tap-highlight-color: transparent;
}

html,
body {
 max-width: 100%;
 overflow-x: hidden;
}

body {
 background-color: var(--背景色);
 color: var(--主色);
 font-family: "LXGW WenKai Screen", serif;
 line-height: 1.8;
 -webkit-font-smoothing: antialiased;
}

.ambient-light {
 position: fixed;
 top: 0;
 left: 0;
 width: 100vw;
 height: 100vh;
 z-index: -1;
 background: radial-gradient(
 circle at var(--mx, 50%) var(--my, 50%),
 rgba(209, 217, 212, 0.4) 0%,
 transparent 50%
 ),
 linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
 pointer-events: none;
}

.container {
 max-width: 1000px;
 margin: 0 auto;
 padding: 0 30px;
}

.reveal {
 opacity: 0;
 transform: translateY(40px);
 transition: all 1.5s var(--曲线);
}

.reveal.active {
 opacity: 1;
 transform: translateY(0);
}

header {
 height: 90vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 position: relative;
}

.brand-meta {
 font-size: 0.9rem;
 letter-spacing: 0.6em;
 color: var(--副色);
 margin-bottom: 1.5rem;
 text-transform: uppercase;
}

h1 {
 font-size: clamp(2.8rem, 10vw, 4.8rem);
 font-weight: 400;
 letter-spacing: 0.35em;
 line-height: 1.2;
}

.header-desc {
 margin-top: 2rem;
 color: var(--副色);
 font-size: 1.1rem;
 border-left: 2px solid var(--装饰色);
 padding-left: 1.5rem;
 max-width: 500px;
}

.scroll-hint {
 position: absolute;
 bottom: 50px;
 left: 0;
 font-size: 0.75rem;
 letter-spacing: 0.3em;
 color: var(--副色);
 display: flex;
 align-items: center;
 gap: 15px;
}

.scroll-hint::after {
 content: "";
 width: 40px;
 height: 1px;
 background: var(--装饰色);
}

.section-split {
 padding: 120px 0;
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 80px;
 align-items: center;
}

.essay p {
 margin-bottom: 1.5rem;
 font-size: 1.15rem;
 color: #334036;
 text-align: justify;
}

.app-specs {
 background: white;
 padding: 40px;
 border-radius: 2px;
 box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.03);
 position: relative;
}

.app-specs::before {
 content: "SPEC";
 position: absolute;
 top: -10px;
 right: 20px;
 font-size: 3rem;
 font-weight: 900;
 color: var(--背景色);
 z-index: -1;
}

.spec-row {
 display: flex;
 justify-content: space-between;
 padding: 12px 0;
 border-bottom: 1px solid #f0f0f0;
 font-size: 0.9rem;
}

.spec-row span:first-child {
 color: var(--副色);
 letter-spacing: 2px;
}

.preview-header {
 text-align: center;
 margin: 100px 0 60px;
}

.preview-header h2 {
 font-weight: 400;
 letter-spacing: 0.5em;
 font-size: 1.5rem;
}

.gallery {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 40px;
 margin-bottom: 120px;
}

.phone-mockup {
 border-radius: 10px;

 box-shadow: 0 0 0 2px #2a2a2a, 0 0 0 3px #1a1a1a,
 inset 0 0 6px rgba(0, 0, 0, 0.5),
 0 20px 50px rgba(0, 0, 0, 0.15);

 aspect-ratio: 9 / 19.5;
 overflow: hidden;
 cursor: zoom-in;
 transition: transform 0.6s var(--曲线), box-shadow 0.6s var(--曲线);
 position: relative;
 background: #000;

}

.phone-mockup:hover {
 transform: translateY(-15px) scale(1.01);
 box-shadow: 0 0 0 2px #3a3a3a, 0 0 0 6px #2a2a2a,
 inset 0 0 20px rgba(0, 0, 0, 0.6), 0 30px 70px rgba(0, 0, 0, 0.2);
}

.phone-mockup img {
 width: 100%;
 height: 100%;

 border-radius: 10px;

 opacity: 0.95;

}

.action-zone-container {
 width: 100%;
 background: white;
 padding: 100px 0;
 text-align: center;
}

.action-zone-content {
 max-width: 1000px;
 margin: 0 auto;
 padding: 0 30px;
}

.download-btn {
 display: inline-block;
 padding: 24px 100px;
 background: var(--主色);
 color: white;
 text-decoration: none;
 letter-spacing: 0.8em;
 font-size: 1rem;
 transition: 0.5s;
 position: relative;
 overflow: hidden;
}

.download-btn:hover {
 background: #344a39;
 box-shadow: 0 15px 30px rgba(26, 42, 30, 0.2);
}

.github-entry {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 margin-top: 40px;
 color: var(--副色);
 text-decoration: none;
 font-size: 0.9rem;
 transition: 0.3s;
}

.github-entry:hover {
 color: var(--主色);
}

.warning-text {
 max-width: 600px;
 margin: 60px auto 0;
 padding: 20px;
 border: 1px dashed var(--装饰色);
 font-size: 0.86rem;
 color: #ff0000;
 line-height: 2;
}

footer {
 padding: 80px 0;
 text-align: center;
 font-size: 0.75rem;
 color: var(--副色);
 letter-spacing: 1px;
}

#lightbox {
 position: fixed;
 inset: 0;
 background: rgba(242, 242, 238, 0.95);

 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 z-index: 10000;
 display: none;
 justify-content: center;
 align-items: center;
 opacity: 0;

 transition: opacity 0.4s ease-out;
}

#lightbox.active {
 opacity: 1;
 display: flex;
}

#lightbox img {
 max-height: 85vh;
 max-width: 90vw;
 border-radius: 12px;
 box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
 transform: scale(0.95);
 transition: transform 0.5s var(--曲线);
}

#lightbox.active img {
 transform: scale(1);
}

@media (max-width: 768px) {
 .section-split {
 grid-template-columns: 1fr;
 gap: 40px;
 padding: 80px 0;
 }

 .gallery {
 grid-template-columns: repeat(2, 1fr);
 gap: 20px;
 }

 h1 {
 font-size: 2.5rem;
 }

 .app-specs {
 padding: 30px;
 }

 .download-btn {
 width: 100%;
 padding: 24px 0;
 letter-spacing: 0.4em;
 }

 .header-desc {
 font-size: 1rem;
 }

 .phone-mockup {
 box-shadow: 0 0 0 1px #2a2a2a, 0 0 0 4px #1a1a1a,
 inset 0 0 10px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.1);
 }
}