/* ===== 基本スタイルリセット ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --base-black: #0A0A0A;
    --midnight-blue: #001F3F;
    --dark-purple: #2A0A2A;
    --electric-blue: #00FFFF;
    --cyber-pink: #FF00FF;
    --neon-green: #39FF14;
    --bright-yellow: #FFFF00;
    --silver-gray: #808080;
    --white: #FFFFFF;
    
    /* フォント */
    --font-header: 'Orbitron', sans-serif;
    --font-body: 'Roboto Mono', monospace;
    
    /* サイズ */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--base-black);
    color: var(--silver-gray);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== ナビゲーション ===== */
.cyber-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--electric-blue);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: baseline;
}

.logo-text {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 10px var(--electric-blue);
}

.logo-accent {
    font-family: var(--font-header);
    font-size: 20px;
    font-weight: 900;
    color: var(--cyber-pink);
    margin-left: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-header);
    font-size: 14px;
    font-weight: 500;
    color: var(--silver-gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 5px var(--electric-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--electric-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--electric-blue);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ===== ヒーローセクション ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--base-black) 0%, var(--midnight-blue) 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-header);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0.05em 0 0 rgba(255, 0, 255, 0.75), -0.05em -0.025em 0 rgba(0, 255, 255, 0.75), 0.025em 0.05em 0 rgba(255, 255, 0, 0.75); }
    25% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 255, 0.75), 0.025em 0.025em 0 rgba(0, 255, 255, 0.75), -0.05em -0.05em 0 rgba(255, 255, 0, 0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 255, 0.75), 0.05em 0 0 rgba(0, 255, 255, 0.75), 0 -0.05em 0 rgba(255, 255, 0, 0.75); }
    75% { text-shadow: -0.025em 0 0 rgba(255, 0, 255, 0.75), -0.025em -0.025em 0 rgba(0, 255, 255, 0.75), -0.025em -0.05em 0 rgba(255, 255, 0, 0.75); }
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--silver-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cyber-btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-header);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--electric-blue);
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--electric-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.cyber-btn:hover::before {
    left: 0;
}

.primary-btn {
    color: var(--white);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.primary-btn:hover {
    color: var(--base-black);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.secondary-btn {
    color: var(--electric-blue);
    background: transparent;
}

.secondary-btn:hover {
    color: var(--white);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 98%, var(--electric-blue) 100%),
        linear-gradient(0deg, transparent 98%, var(--electric-blue) 100%);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: moveCircuit 20s linear infinite;
}

@keyframes moveCircuit {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hud-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 1px solid var(--neon-green);
    border-radius: 10px;
    opacity: 0.3;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--silver-gray);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-indicator span {
    width: 4px;
    height: 10px;
    background: var(--silver-gray);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ===== セクション共通スタイル ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-header);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
    margin: 0 auto;
}

/* ===== 問題提起セクション ===== */
.problem-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--base-black) 0%, var(--midnight-blue) 100%);
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.problem-visual {
    position: relative;
}

.glitch-container {
    width: 100%;
    height: 300px;
    background: rgba(42, 10, 42, 0.3);
    border: 1px solid var(--cyber-pink);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.glitch-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--cyber-pink), var(--neon-green));
    animation: glitchBox 3s infinite;
}

@keyframes glitchBox {
    0%, 100% { transform: translate(-50%, -50%) scale(1); filter: hue-rotate(0deg); }
    25% { transform: translate(-48%, -52%) scale(1.05); filter: hue-rotate(90deg); }
    50% { transform: translate(-52%, -48%) scale(0.95); filter: hue-rotate(180deg); }
    75% { transform: translate(-49%, -51%) scale(1.02); filter: hue-rotate(270deg); }
}

/* ===== ソリューションセクション ===== */
.solution-section {
    padding: var(--section-padding);
    background: var(--base-black);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.solution-item {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--electric-blue);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--electric-blue), var(--cyber-pink), var(--neon-green));
    border-radius: 10px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.solution-item:hover::before {
    opacity: 1;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.solution-icon {
    font-size: 48px;
    color: var(--electric-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.solution-item h3 {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.solution-item p {
    color: var(--silver-gray);
    font-size: 16px;
    line-height: 1.6;
}

/* ===== テクノロジーセクション ===== */
.tech-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--base-black) 0%, var(--dark-purple) 100%);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.tech-diagram {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--neon-green);
    border-radius: 10px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.circuit-board {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--neon-green) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--electric-blue) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--cyber-pink) 0%, transparent 50%);
    opacity: 0.3;
}

.tech-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tech-module {
    background: rgba(42, 10, 42, 0.4);
    border: 1px solid var(--cyber-pink);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.tech-module:hover {
    background: rgba(42, 10, 42, 0.6);
    border-color: var(--neon-green);
    transform: translateX(10px);
}

.tech-module h3 {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tech-module p {
    color: var(--silver-gray);
    font-size: 16px;
    line-height: 1.6;
}

/* ===== ロードマップセクション ===== */
.roadmap-section {
    padding: var(--section-padding);
    background: var(--base-black);
}

.roadmap-timeline {
    position: relative;
    padding: 40px 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--electric-blue), var(--cyber-pink));
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-marker {
    background: var(--midnight-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-family: var(--font-header);
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--electric-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.timeline-content {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--silver-gray);
    border-radius: 10px;
    padding: 30px;
    width: 45%;
}

.timeline-content h3 {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timeline-content p {
    color: var(--silver-gray);
    font-size: 16px;
    line-height: 1.6;
}

/* ===== CTAセクション ===== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--dark-purple) 100%);
    text-align: center;
}

.cta-title {
    font-family: var(--font-header);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--silver-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.countdown {
    font-family: var(--font-header);
    font-size: 24px;
    color: var(--bright-yellow);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 5px;
    border: 1px solid var(--bright-yellow);
}

/* ===== フッター ===== */
.cyber-footer {
    background: var(--midnight-blue);
    padding: 60px 0 30px;
    border-top: 1px solid var(--electric-blue);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--silver-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--electric-blue);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--silver-gray);
    font-size: 24px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--electric-blue);
    transform: translateY(-5px);
    text-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--electric-blue);
    color: var(--silver-gray);
    font-size: 14px;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .problem-content,
    .tech-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-marker {
        margin-bottom: 20px;
    }
    
    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 48px;
    }
}
