/* ベース設定 */
:root {
    --main-bg: #172554;
    --cyber-cyan: #00f3ff;
    --cyber-fuchsia: #ff00ff;
    --cyber-lime: #bcff00;
}

body {
    background-color: var(--main-bg);
    font-family: 'Noto Sans JP', sans-serif;
    color: #e6edf3;
    line-height: 1.6;
}

/* タイポグラフィ */
.code-font {
    font-family: 'Fira Code', 'Oxanium', monospace;
}

.cyber-h2 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyber-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.cyber-text-glow {
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.7);
}

.cyber-text-glow-fuchsia {
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

/* 背景グリッド */
.cyber-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

/* スキャンライン効果 */
.scanline {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 51%,
        transparent 51%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 100;
    opacity: 0.3;
}

/* ロゴ装飾 */
.logo-icon-cyber {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--main-bg);
    border: 2px solid var(--cyber-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-cyan);
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.logo-title-cyber {
    font-family: 'Oxanium', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 0.9;
    color: #fff;
    text-shadow: 2px 2px var(--cyber-fuchsia);
}

.logo-subtitle-cyber {
    font-size: 0.7rem;
    color: var(--cyber-cyan);
    letter-spacing: 0.2em;
}

/* クリップボックス (角が削れたデザイン) */
.clipped-box {
    clip-path: polygon(0 0, 95% 0, 100% 15%, 100% 100%, 5% 100%, 0 85%);
}

/* カード共通 */
.feature-card-cyber {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card-cyber:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    background: rgba(30, 41, 59, 0.9);
}

/* 分析ステップ */
.cyber-step-card {
    border: 1px solid rgba(0, 243, 255, 0.2);
    background: rgba(13, 17, 23, 0.6);
    position: relative;
}

.step-num-cyber {
    width: 40px;
    height: 25px;
    background: var(--cyber-cyan);
    color: #000;
    font-weight: 900;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}

/* 装飾アニメーション */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* ダッシュボード背景 */
.dashboard-visual {
    background: 
        radial-gradient(circle at center, #1e293b 0%, #020617 100%),
        repeating-linear-gradient(0deg, transparent 0, transparent 1px, rgba(0, 243, 255, 0.05) 1px, rgba(0, 243, 255, 0.05) 2px);
}

/* スマホ対応 */
@media (max-width: 640px) {
    .logo-title-cyber { font-size: 2rem; }
    body { font-size: 16px; }
}

/* BudouX用 (改行維持) */
header p, section p, .feature-card-cyber p, h2, h3 {
    word-break: keep-all;
    overflow-wrap: anywhere;
}
