:root {
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-grey: #86868b;
    --accent: #0071e3;
    --glass: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    overflow: hidden;
}

/* ヒーローセクション */
.hero {
    text-align: center;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.badge {
    background: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.glare-text {
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 800;
    margin: 20px 0;
    background: linear-gradient(180deg, #fff 30%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 紹介セクション */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
}

.gradient-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.premium-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--text-white);
    color: var(--bg-black);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.premium-btn:hover {
    background: var(--accent);
    color: white;
}

/* スペック表示 */
.spec-grid {
    display: flex;
    gap: 100px;
    text-align: center;
}

.spec-item .label {
    display: block;
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.spec-item .value {
    font-size: 3rem;
    font-weight: 700;
}

/* アニメーション用 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.placeholder-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    border: 1px solid #333;
}

@media (max-width: 768px) {
    .container { grid-template-columns: 1fr; text-align: center; }
    .spec-grid { flex-direction: column; gap: 40px; }
}
.hero {
    position: relative;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    z-index: -1;
    filter: brightness(0.4); /* 動画を暗くして文字を目立たせる */
    object-fit: cover;
}
.premium-btn {
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* --- ASUS究重のヌルヌル・スクロールエフェクト --- */

/* 1. ヒーローセクション：スクロールで文字が奥に消えていく */
@supports (animation-timeline: scroll()) {
    .hero-content {
        animation: heroFadeOut linear both;
        animation-timeline: scroll();
        animation-range: exit 0% exit 100%; /* セクションが出る時にアニメーション */
    }

    @keyframes heroFadeOut {
        to {
            opacity: 0;
            transform: scale(1.5) translateY(-100px);
        }
    }

    /* 2. 紹介セクション：画像がスクロールに合わせてズームイン */
    .glass-image {
        overflow: hidden; /* はみ出し防止 */
        border-radius: 24px;
    }

    .placeholder-img {
        animation: imageZoom linear both;
        animation-timeline: scroll();
        animation-range: entry 10% exit 80%; /* 画面に入ってから出るまで */
    }

    @keyframes imageZoom {
        from { transform: scale(1.3); } /* 最初はデカい */
        to { transform: scale(1.0); }   /* ジャストサイズに */
    }

    /* 3. スペックセクション：数字が横からスライドイン */
    .spec-item {
        animation: specSlide linear both;
        animation-timeline: scroll();
        animation-range: entry 0% entry 100%;
    }

    @keyframes specSlide {
        from {
            opacity: 0;
            transform: translateX(100px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}
