:root {
    --base-color: #0A0A0A;
    --midnight-blue: #001F3F;
    --dark-purple: #2A0A2A;
    --electric-blue: #00FFFF;
    --cyber-pink: #FF00FF;
    --neon-green: #39FF14;
    --silver-gray: #808080;
    --white: #FFFFFF;
    --orbitron-font: 'Orbitron', sans-serif;
    --roboto-mono-font: 'Roboto Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--roboto-mono-font);
    background-color: var(--base-color);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* グローバルなテキストスタイル */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--orbitron-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cyber-pink);
    text-shadow: 0 0 10px var(--cyber-pink);
}

/* ボタン基本スタイル */
.cta-button {
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
    padding: 12px 25px;
    font-family: var(--orbitron-font);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
}

.cta-button:hover {
    color: var(--base-color);
    border-color: var(--cyber-pink);
    box-shadow: 0 0 15px var(--cyber-pink), inset 0 0 15px rgba(255, 0, 255, 0.2);
    text-shadow: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* ヘッダーとナビゲーション */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--electric-blue);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* HUD風ナビゲーション (仮) */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--orbitron-font);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* メインコンテンツ */
main {
    margin-top: 80px; /* ヘッダーの高さ分 */
}

/* ヒーローセクション */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    z-index: -1;
    animation: glitch-scan 2s linear infinite;
}

@keyframes glitch-scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

#hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--electric-blue);
    text-shadow: 0 0 10px var(--electric-blue), 0 0 20px var(--electric-blue), 0 0 30px var(--electric-blue);
    animation: flicker 2s infinite alternate;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.8;
    }
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--silver-gray);
    max-width: 600px;
}

#hero .cta-button {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* セクション共通スタイル */
section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--cyber-pink);
    text-shadow: 0 0 5px var(--cyber-pink);
}

/* セクション2: 問題提起 */
#section2 {
    background-color: rgba(42, 10, 42, 0.3);
    text-align: center;
}

#section2 p {
    font-size: 1.1rem;
    color: var(--silver-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* セクション3: ソリューション */
#section3 {
    text-align: center;
}

#section3 .features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
}

.feature-item {
    flex-basis: 30%;
    margin: 20px;
    padding: 30px;
    background: rgba(0, 31, 63, 0.3);
    border: 1px solid var(--electric-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--neon-green);
}

.feature-item p {
    color: var(--silver-gray);
}

/* CTAクロージングセクション */
#cta-closing {
    background-color: rgba(0, 31, 63, 0.5);
    text-align: center;
    border-top: 1px solid var(--cyber-pink);
}

#cta-closing h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--electric-blue);
    text-shadow: 0 0 5px var(--electric-blue);
}

#cta-closing .cta-button {
    font-size: 1.2rem;
    padding: 18px 40px;
}

/* フッター */
footer {
    padding: 30px 50px;
    text-align: center;
    border-top: 1px solid var(--silver-gray);
    background-color: var(--base-color);
}

footer p {
    color: var(--silver-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--silver-gray);
    margin: 0 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 5px var(--electric-blue);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--silver-gray);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 10px var(--electric-blue);
    transform: translateY(-3px);
}

/* パーティクルエフェクトのキャンバス */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .nav-links {
        display: none; /* モバイルでは一旦非表示、ハンバーガーメニューに変更予定 */
    }

    main {
        margin-top: 60px;
    }

    section {
        padding: 60px 20px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .feature-item {
        flex-basis: 100%;
    }
}
