/* ============================================
   NEO TOKYO 204X - サイバーパンクランディングページ
   究極のCSSスタイルシート
   ============================================ */

/* ============================================
   CSS変数 (デザインコンセプト: ネオ・ノワール・グリッチウェーブ)
   ============================================ */
:root {
    /* ベースカラー */
    --base-dark: #0A0A0A;
    --base-darker: #050505;
    --base-black: #000000;
    --midnight-blue: #001F3F;
    --dark-purple: #2A0A2A;

    /* メインアクセントカラー (ネオン/発光色) */
    --neon-cyan: #00FFFF;
    --neon-pink: #FF00FF;
    --neon-green: #39FF14;
    --neon-yellow: #FFFF00;
    --neon-orange: #FF6600;

    /* サブアクセントカラー */
    --silver-gray: #808080;
    --white: #FFFFFF;
    --light-gray: #E0E0E0;
    --transparent-white: rgba(255, 255, 255, 0.1);

    /* ゲ lze */
    --glitch-thickness: 2px;
    --neon-glow-cyan: 0 0 5px #00FFFF, 0 0 10px #00FFFF, 0 0 20px #00FFFF, 0 0 40px #00FFFF;
    --neon-glow-pink: 0 0 5px #FF00FF, 0 0 10px #FF00FF, 0 0 20px #FF00FF, 0 0 40px #FF00FF;
    --neon-glow-green: 0 0 5px #39FF14, 0 0 10px #39FF14, 0 0 20px #39FF14, 0 0 40px #39FF14;

    /* フォント */
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.8s ease;

    /* razdaljivanje */
    --z-background: -1;
    --z-default: 1;
    --z-up: 10;
    --z-top: 100;
}

/* ============================================
   リセット & ベーススタイル
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--base-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
 }

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   選択テキストのスタイル
   ============================================ */
::selection {
    background-color: var(--neon-pink);
    color: var(--base-dark);
}

::-webkit-selection {
    background-color: var(--neon-pink);
    color: var(--base-dark);
}

/* ============================================
   スクロールバーのスタイル
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--base-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

/* ============================================
   ローディングスクリーン
   ============================================ */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--base-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: var(--z-top);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.glitch-loading {
    width: 60px;
    height: 60px;
    position: relative;
}

.glitch-loading::before,
.glitch-loading::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-green));
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    animation: glitchSpin 2s linear infinite;
}

.glitch-loading::after {
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    animation-delays: 1s;
}

@keyframes glitchSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-screen span {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--neon-cyan);
    letter-spacing: 3px;
    animation: loadingText 1s ease-in-out infinite alternate;
}

@keyframes loadingText {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(0, 255, 255, 0.2);
    margin-top: 30px;
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    width: 0%;
    animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   ローディング完了メッセージ
   ============================================ */
#loaded-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--neon-green);
    letter-spacing: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: var(--z-top);
    text-shadow: var(--neon-glow-green);
}

#loaded-message.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   ナビゲーション
   ============================================ */
.hud-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-top);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.hud-navigation.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-logo .glitch-text {
    color: var(--neon-cyan);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-cyan);
    text-shadow: var(--neon-glow-cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* ============================================
   モバイルナビゲーション
   ============================================ */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: var(--z-top);
    display: none;
}

.mobile-nav.show {
    transform: translateX(0);
}

.mobile-link {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.mobile-link:hover {
    color: var(--neon-cyan);
}

/* ============================================
   グリッチテキストエフェクト
   ============================================ */
.glitch-text {
    position: relative;
    animation: glitchSkew 4s infinite linear alternate-reverse;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: var(--neon-pink);
    animation: glitchEffect 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translateX(-2px);
}

.glitch-text::after {
    color: var(--neon-cyan);
    animation: glitchEffect 2s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translateX(2px);
}

@keyframes glitchEffect {
    0% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

@keyframes glitchSkew {
    0% { transform: skew(0deg); }
    10% { transform: skew(-0.5deg); }
    20% { transform: skew(0.5deg); }
    30% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

/* ============================================
   タイピングアニメーション
   ============================================ */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--neon-cyan);
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--neon-cyan); }
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: var(--z-up);
}

.main-heading {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.sub-heading {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light-gray);
    line-height: 1.8;
}

.cta-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cyber-Visual {
    width: 400px;
    height: 400px;
    position: relative;
}

.cyber-Visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: var(--neon-glow-cyan);
}

.cyber-Visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--neon-pink);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite 1s;
    box-shadow: var(--neon-glow-pink);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

/* ============================================
  auer
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--light-gray);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    z-index: var(--z-up);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--neon-cyan);
    border-bottom: 2px solid var(--neon-cyan);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   ボタンスタイル
   ============================================ */
.cta-button {
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    color: var(--base-dark);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    border: 2px solid var(--neon-cyan);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    z-index: var(--z-default);
}

.cta-button:hover {
    box-shadow: var(--neon-glow-cyan);
    transform: translateY(-3px);
}

.cta-button.large {
    padding: 18px 50px;
    font-size: 1.1rem;
}

.button-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.cta-button:hover .button-glitch {
    transform: translateX(100%);
}

.secondary-button {
    padding: 15px 40px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 2px;
    border: 2px solid var(--transparent-white);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.secondary-button:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--neon-glow-cyan);
}

/* ============================================
   セクション共通スタイル
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--neon-cyan);
    letter-spacing: 3px;
}

.section-heading {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   Aboutセクション
   ============================================ */
.about-section {
    background: linear-gradient(180deg, var(--base-dark) 0%, var(--midnight-blue) 100%);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-paragraph {
    margin-bottom: 25px;
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.data-stream {
    width: 100%;
    max-width: 400px;
    height: 300px;
    position: relative;
    background: rgba(0, 255, 255, 0.05);
    overflow: hidden;
}

.data-stream::before,
.data-stream::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--neon-cyan);
    opacity: 0.6;
}

.data-stream::before {
    left: 20%;
    animation: dataStream 2s linear infinite;
}

.data-stream::after {
    left: 80%;
    animation: dataStream 2s linear infinite 1s;
}

@keyframes dataStream {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* ============================================
   Solutionセクション
   ============================================ */
.solution-section {
    background: var(--base-dark);
    position: relative;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.3;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--neon-cyan);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.solution-item:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

.solution-item:hover::before {
    transform: scaleX(1);
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.neon-icon {
    color: var(--neon-cyan);
    transition: all 0.3s ease;
}

.neon-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.neon-icon:hover {
    color: var(--neon-pink);
    text-shadow: var(--neon-glow-pink);
}

.solution-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--white);
    letter-spacing: 1px;
}

.solution-description {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Technologyセクション
   ============================================ */
.technology-section {
    background: linear-gradient(180deg, var(--midnight-blue) 0%, var(--dark-purple) 100%);
    position: relative;
}

.technology-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.circuit-diagram {
    flex: 1;
    height: 400px;
    position: relative;
    background: rgba(0, 255, 255, 0.03);
    border: 2px solid var(--neon-cyan);
    border-radius: 10px;
    overflow: hidden;
}

.circuit-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: var(--neon-glow-cyan);
}

.circuit-node:nth-child(1) { top: 50px; left: 50px; }
.circuit-node:nth-child(2) { top: 200px; left: 200px; }
.circuit-node:nth-child(3) { top: 300px; left: 100px; }

.circuit-line {
    position: absolute;
    height: 2px;
    background: var(--neon-cyan);
    opacity: 0.6;
}

.circuit-line:nth-child(1) { top: 70px; left: 70px; width: 100px; transform: rotate(45deg); }
.circuit-line:nth-child(2) { top: 220px; left: 220px; width: 150px; }
.circuit-line:nth-child(3) { top: 320px; left: 30px; width: 80px; transform: rotate(-30deg); }

.circuit-node::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    animation: circuitPulse 2s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes circuitPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

.technology-text {
    flex: 1;
}

.technology-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
}

.tech-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 255, 255, 0.05);
    border-left: 3px solid var(--neon-cyan);
    transition: all 0.3s ease;
}

.tech-feature:hover {
    background: rgba(0, 255, 255, 0.1);
    border-left-color: var(--neon-pink);
}

.feature-name {
    color: var(--neon-cyan);
    font-weight: 600;
    font-family: var(--font-mono);
}

.feature-value {
    color: var(--white);
    font-weight: 500;
}

/* ============================================
   Use Caseセクション
   ============================================ */
.usecase-section {
    background: var(--base-dark);
    position: relative;
}

.usecase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
    opacity: 0.3;
}

.usecase-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.usecase-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: var(--neon-glow-cyan);
    z-index: var(--z-up);
}

.neon-marker {
    animation: neonBlink 2s infinite;
}

@keyframes neonBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-left: 2px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(0, 255, 255, 0.05);
    border-left-color: var(--neon-cyan);
    transform: translateX(10px);
}

.timeline-year {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--neon-cyan);
    display: block;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.timeline-content p {
    color: var(--light-gray);
    font-size: 1rem;
}

/* ============================================
   CTAセクション
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--dark-purple), var(--midnight-blue));
    position: relative;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.3;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-header {
    margin-bottom: 30px;
}

.cta-text {
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--light-gray);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* ============================================
   カウントダウンタイマー
   ============================================ */
.countdown-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.timer-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--neon-green);
    letter-spacing: 3px;
}

.timer-display {
    display: flex;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--neon-green);
    letter-spacing: 2px;
}

.timer-value {
    padding: 15px 25px;
    background: rgba(57, 255, 20, 0.1);
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    min-width: 60px;
    text-shadow: var(--neon-glow-green);
}

.timer-separator {
    align-self: center;
    color: var(--neon-green);
    opacity: 0.6;
}

/* ============================================
   フッター
   ============================================ */
.footer {
    background: var(--base-black);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-logo span {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-cyan);
    letter-spacing: 3px;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--neon-pink);
    letter-spacing: 4px;
    display: block;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--neon-cyan);
    text-shadow: var(--neon-glow-cyan);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-link {
    color: var(--light-gray);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    color: var(--neon-pink);
    transform: translateY(-5px);
    text-shadow: var(--neon-glow-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--silver-gray);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-warning {
    color: var(--neon-orange) !important;
    font-size: 0.75rem !important;
    letter-spacing: 2px;
    animation: warningBlink 1s infinite alternate;
}

@keyframes warningBlink {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* ============================================
   パララックス要素
   ============================================ */
.parallax-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-background);
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    will-change: transform;
    animation: float 20s ease-in-out infinite;
}

.layer-1 {
    background: radial-gradient(circle, rgba(0, 255, 255, 0.03) 1%, transparent 50%);
    animation-delay: 0s;
    animation-duration: 15s;
}

.layer-2 {
    background: radial-gradient(circle, rgba(255, 0, 255, 0.03) 1%, transparent 50%);
    animation-delay: 3s;
    animation-duration: 18s;
}

.layer-3 {
    background: radial-gradient(circle, rgba(57, 255, 20, 0.02) 1%, transparent 50%);
    animation-delay: 6s;
    animation-duration: 21s;
}

@keyframes float {
    0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
    25% { transform: translate(-5%, -15%) rotate(5deg); }
    50% { transform: translate(0%, -10%) rotate(0deg); }
    75% { transform: translate(-5%, -5%) rotate(-5deg); }
}

/* ============================================
   パーティクル背景 (JavaScriptで生成)
   ============================================ */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
    pointer-events: none;
}

/* ============================================
   レスポンシブデザイン
   ============================================ */

/* タブレット */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .technology-content {
        flex-direction: column;
        gap: 40px;
    }

    .circuit-diagram {
        height: 300px;
    }

    .usecase-timeline {
        padding-left: 20px;
    }

    .usecase-timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-marker {
        left: 10px;
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    .section-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }

    .cta-container {
        padding: 0 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button.large {
        width: 100%;
        max-width: 300px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .timer-display {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .timer-value {
        padding: 10px 15px;
        font-size: 1.5rem;
        min-width: 50px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-social {
        gap: 15px;
    }
}

/* 非常に小さい画面 */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .main-heading {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .loading-screen span {
        font-size: 1rem;
    }

    .circuit-diagram {
        height: 200px;
    }

    .circuit-node:nth-child(1) { top: 30px; left: 30px; }
    .circuit-node:nth-child(2) { top: 120px; left: 120px; }
    .circuit-node:nth-child(3) { top: 180px; left: 60px; }
}

/* ============================================
   アニメーション (イタリアリックなインタラクション)
   ============================================ */

/* スクロールでフェードイン */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* グリッチホバーエフェクト */
.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.grid-item:hover::before {
    left: 100%;
}

/* 表の行のホバー */
table tr {
    transition: background-color 0.3s ease;
}

table tr:hover {
    background-color: rgba(0, 255, 255, 0.05);
}

/* ============================================
   印刷スタイル
   ============================================ */
@media print {
    body {
        background: white;
        color: black;
    }

    .hud-navigation,
    .scroll-indicator,
    .parallax-elements,
    #particles-js,
    #loading-screen,
    #loaded-message {
        display: none !important;
    }

    .neon-button {
        color: black !important;
        border-color: black !important;
        background: white !important;
    }
}