:root {
    --bg-dark: #050914;
    --panel-bg: rgba(13, 22, 45, 0.6);
    --panel-border: rgba(0, 210, 255, 0.2);
    --neon-blue: #00d2ff;
    --neon-purple: #b026ff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .price, .pro-badge {
    font-family: 'Orbitron', 'Noto Sans JP', sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }

/* --- サイバー背景 --- */
.cyber-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

/* --- グラスモーフィズムパネル --- */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.5);
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* --- ヘッダー --- */
header {
    position: fixed;
    top: 0; width: 100%;
    z-index: 100;
    padding: 15px 0;
    transition: background 0.3s, backdrop-filter 0.3s;
}

header.scrolled {
    background: rgba(5, 9, 20, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--panel-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 40px; border-radius: 8px; }
.logo h1 { font-size: 1.2rem; background: -webkit-linear-gradient(45deg, var(--neon-blue), var(--neon-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

nav ul { display: flex; gap: 20px; }
nav a { font-weight: 700; font-size: 0.9rem; transition: color 0.3s; }
nav a:hover, nav a.active { color: var(--neon-blue); }

/* --- ヒーローセクション --- */
#hero {
    padding: 150px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text { flex: 1; }
.catchphrase { color: var(--neon-purple); font-weight: bold; margin-bottom: 10px; }
.hero-text h2 { font-size: 2.8rem; line-height: 1.3; margin-bottom: 20px; }
.description { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }

.cta-group { display: flex; gap: 15px; }

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-blue), #0077ff);
    color: #fff;
    border: none;
}
.btn-primary:hover { box-shadow: 0 0 20px rgba(0, 210, 255, 0.6); }

.btn-secondary {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
}
.btn-secondary:hover { background: rgba(0, 210, 255, 0.1); }

.hero-image {
    flex: 1;
    padding: 10px;
    display: flex;
    justify-content: center;
}
.hero-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* --- セクション共通 --- */
section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }

/* --- カード --- */
.card { padding: 30px; }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.card h4 { margin-bottom: 10px; color: var(--neon-blue); }

.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-row { display: flex; gap: 20px; }
.feature-text { padding: 25px; flex: 1; }
.feature-text h4 { margin-bottom: 10px; color: #fff; }
.feature-text p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Editions --- */
.edition-card { display: flex; flex-direction: column; position: relative; }
.edition-card h4 { font-size: 1.5rem; text-align: center; color: #fff; }
.price { font-size: 2.5rem; font-weight: bold; text-align: center; margin: 15px 0; }
.price .sub { font-size: 1rem; font-weight: normal; color: var(--text-muted); }
.feature-check { margin-bottom: 30px; flex-grow: 1; }
.feature-check li { margin-bottom: 10px; font-size: 0.95rem; }
.full-width { width: 100%; display: block; }

.pro-card { border-color: var(--neon-purple); }
.pro-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--neon-purple); color: #fff; padding: 5px 15px;
    border-radius: 20px; font-size: 0.8rem; font-weight: bold;
    box-shadow: 0 0 10px var(--neon-purple);
}

.warning-box { padding: 30px; border-color: #ff3366; }
.warning-box h4 { color: #ff3366; margin-bottom: 15px; }
.warning-box p { color: var(--text-muted); font-size: 0.9rem; }

/* --- Update Page --- */
.update-page { padding-top: 120px; min-height: 80vh; }
.tab-buttons { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.tab-btn {
    background: transparent; color: var(--text-main);
    border: 1px solid var(--panel-border); padding: 10px 20px;
    border-radius: 8px; cursor: pointer; transition: 0.3s;
    font-family: 'Orbitron', sans-serif; font-weight: bold;
}
.tab-btn.active, .tab-btn:hover { background: rgba(0, 210, 255, 0.1); border-color: var(--neon-blue); color: var(--neon-blue); }

.update-timeline { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.update-item { padding: 25px; }
.update-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--panel-border); padding-bottom: 15px; margin-bottom: 15px; }
.update-version { font-size: 1.5rem; color: var(--neon-blue); font-weight: bold; }
.update-date { color: var(--text-muted); }
.update-title { font-weight: bold; margin-bottom: 10px; color: #fff; }
.update-changes li { margin-bottom: 8px; color: var(--text-muted); font-size: 0.95rem; }

/* --- フッター --- */
footer { background: #02040a; padding: 40px 0 20px; border-top: 1px solid var(--panel-border); margin-top: 50px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.footer-info h4 { color: var(--neon-blue); margin-bottom: 10px; }
.footer-info p { color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--neon-blue); }
.copyright { text-align: center; color: #475569; font-size: 0.8rem; }

/* --- アニメーション --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-content { flex-direction: column; text-align: center; }
    .feature-row { flex-direction: column; }
    .header-container { flex-direction: column; gap: 15px; }
}