/* ========================================
   MT5 Aegis Lab - Stylesheet
   AI MQL合同会社
======================================== */

/* ========================================
   1. リセット & ベーススタイル
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #0066ff;
    --primary-light: #00d4ff;
    --primary-dark: #0047b3;
    --secondary-color: #1a1a2e;
    --background-dark: #0f0f1e;
    --background-darker: #0a0a14;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    /* AIモデル専用カラー */
    --gemini-color: #4285f4;
    --gpt-color: #10a37f;
    --genspark-color: #9333ea;
    --grok-color: #ff6b35;
    --perplexity-color: #20b2aa;
    --claude-color: #d4a574;
    
    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(180deg, var(--background-dark) 0%, var(--background-darker) 100%);
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.3);
    
    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* フォント */
    --font-primary: 'Inter', sans-serif;
    --font-japanese: 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-japanese), var(--font-primary), -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   2. タイポグラフィ
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

/* ========================================
   3. レイアウト
======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: var(--gradient-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.delivery-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-light);
    font-size: 1.25rem;
}

.delivery-time i {
    color: #ffa500;
}

/* ========================================
   4. ヘッダー
======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

#header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    color: var(--primary-light);
    font-size: 2rem;
}

.nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav a:hover {
    color: var(--text-primary);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav a:hover::after {
    width: 100%;
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: var(--text-primary) !important;
}

.btn-contact::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ========================================
   5. ヒーローセクション
======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    padding-bottom:100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 102, 255, 0.5);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-disclaimer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 165, 0, 0.15);
    border: 1px solid rgba(255, 165, 0, 0.4);
    border-radius: 10px;
    font-size: 0.875rem;
    color: #ffa500;
    margin-bottom: 3rem;
    animation: fadeInUp 1.1s ease;
}

.hero-disclaimer i {
    font-size: 1rem;
}

.hero-performance-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.hero-performance-note i {
    color: #ffa500;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.875rem;
}

.feature-item i {
    color: var(--primary-light);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1.4s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 1.6s ease;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

/* ========================================
   6. サービス概要
======================================== */

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   7. AIモデルカード
======================================== */

.ai-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ai-model-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.ai-model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.ai-model-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ai-model-card:hover::before {
    opacity: 1;
}

/* AIモデル別カラー */
.ai-model-card.gemini { border-color: var(--gemini-color); }
.ai-model-card.gemini::before { background: var(--gemini-color); }
.ai-model-card.gemini:hover { box-shadow: 0 8px 32px rgba(66, 133, 244, 0.3); }

.ai-model-card.gpt { border-color: var(--gpt-color); }
.ai-model-card.gpt::before { background: var(--gpt-color); }
.ai-model-card.gpt:hover { box-shadow: 0 8px 32px rgba(16, 163, 127, 0.3); }

.ai-model-card.genspark { border-color: var(--genspark-color); }
.ai-model-card.genspark::before { background: var(--genspark-color); }
.ai-model-card.genspark:hover { box-shadow: 0 8px 32px rgba(147, 51, 234, 0.3); }

.ai-model-card.grok { border-color: var(--grok-color); }
.ai-model-card.grok::before { background: var(--grok-color); }
.ai-model-card.grok:hover { box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3); }

.ai-model-card.perplexity { border-color: var(--perplexity-color); }
.ai-model-card.perplexity::before { background: var(--perplexity-color); }
.ai-model-card.perplexity:hover { box-shadow: 0 8px 32px rgba(32, 178, 170, 0.3); }

.ai-model-card.claude { border-color: var(--claude-color); }
.ai-model-card.claude::before { background: var(--claude-color); }
.ai-model-card.claude:hover { box-shadow: 0 8px 32px rgba(212, 165, 116, 0.3); }

.ai-model-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.ai-model-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-model-card.gemini .ai-model-icon { background: rgba(66, 133, 244, 0.2); color: var(--gemini-color); }
.ai-model-card.gpt .ai-model-icon { background: rgba(16, 163, 127, 0.2); color: var(--gpt-color); }
.ai-model-card.genspark .ai-model-icon { background: rgba(147, 51, 234, 0.2); color: var(--genspark-color); }
.ai-model-card.grok .ai-model-icon { background: rgba(255, 107, 53, 0.2); color: var(--grok-color); }
.ai-model-card.perplexity .ai-model-icon { background: rgba(32, 178, 170, 0.2); color: var(--perplexity-color); }
.ai-model-card.claude .ai-model-icon { background: rgba(212, 165, 116, 0.2); color: var(--claude-color); }

.ai-model-info {
    flex: 1;
    padding-left: 1rem;
}

.ai-model-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.ai-model-provider {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.ai-model-weight {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.weight-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.weight-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ai-model-body {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.ai-model-role {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-light);
}

.ai-model-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   8. コンセンサス説明
======================================== */

.consensus-explanation {
    margin-top: 4rem;
}

.consensus-box {
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 3rem;
}

.consensus-box h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.consensus-box h3 i {
    color: var(--primary-light);
}

.consensus-formula {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.formula-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.formula-box code {
    font-size: 1.25rem;
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 10px;
    display: inline-block;
}

.formula-conditions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.condition {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.condition i {
    font-size: 1.25rem;
    color: var(--primary-light);
}

.veto-rule {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
}

.veto-icon {
    font-size: 3rem;
    color: #ff6b6b;
}

.veto-content h4 {
    margin-bottom: 0.5rem;
    color: #ff6b6b;
}

/* ========================================
   9. 3フェーズプロセス
======================================== */

.process-flow {
    max-width: 800px;
    margin: 0 auto;
}

.process-phase {
    position: relative;
    margin-bottom: 3rem;
}

.phase-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 1;
}

.phase-content {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem 2rem;
    transition: all var(--transition-normal);
}

.process-phase:hover .phase-content {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.phase-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.phase-content h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.phase-ai {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.phase-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.phase-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phase-features li:last-child {
    border-bottom: none;
}

.phase-features i {
    color: var(--primary-light);
}

.phase-result {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-weight: 600;
}

.phase-result.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #4ade80;
}

.phase-result i {
    margin-right: 0.5rem;
}

.phase-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-light);
    margin: 1rem 0;
}

.ai-parallel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-parallel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.ai-name {
    font-weight: 600;
}

.ai-weight {
    font-weight: 700;
    color: var(--primary-light);
}

.process-summary {
    margin-top: 4rem;
}

.summary-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
}

.summary-box i {
    font-size: 3rem;
    color: var(--primary-light);
}

.summary-content h4 {
    margin-bottom: 0.5rem;
}

.summary-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   10. パフォーマンス実績
======================================== */

.performance-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.performance-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.performance-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.performance-card.highlight {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 212, 255, 0.1));
    border-color: var(--primary-color);
}

.performance-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.performance-value {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.performance-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.performance-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* AI別パフォーマンス */
.ai-performance-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
}

.ai-performance-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ai-performance-section h3 i {
    color: #ffa500;
}

.ai-performance-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ai-performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ai-performance-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.ai-performance-item:hover {
    transform: translateY(-5px);
}

.gemini-perf { border-color: rgba(66, 133, 244, 0.5); }
.gemini-perf:hover { box-shadow: 0 8px 32px rgba(66, 133, 244, 0.3); }

.genspark-perf { border-color: rgba(147, 51, 234, 0.5); }
.genspark-perf:hover { box-shadow: 0 8px 32px rgba(147, 51, 234, 0.3); }

.gpt-perf { border-color: rgba(16, 163, 127, 0.5); }
.gpt-perf:hover { box-shadow: 0 8px 32px rgba(16, 163, 127, 0.3); }

.grok-perf { border-color: rgba(255, 107, 53, 0.5); }
.grok-perf:hover { box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3); }

.perplexity-perf { border-color: rgba(32, 178, 170, 0.5); }
.perplexity-perf:hover { box-shadow: 0 8px 32px rgba(32, 178, 170, 0.3); }

.claude-perf { border-color: rgba(212, 165, 116, 0.5); }
.claude-perf:hover { box-shadow: 0 8px 32px rgba(212, 165, 116, 0.3); }

.ai-perf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ai-perf-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.ai-perf-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
}

.ai-perf-badge.winner {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.ai-perf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.ai-perf-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.ai-perf-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ai-perf-stat .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

.ai-perf-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.ai-perf-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

.gemini-fill { background: linear-gradient(90deg, #4285f4, #669df6); }
.genspark-fill { background: linear-gradient(90deg, #9333ea, #a855f7); }
.gpt-fill { background: linear-gradient(90deg, #10a37f, #1fc497); }
.grok-fill { background: linear-gradient(90deg, #ff6b35, #ff8c61); }
.perplexity-fill { background: linear-gradient(90deg, #20b2aa, #48d1cc); }
.claude-fill { background: linear-gradient(90deg, #d4a574, #e0c097); }

/* 時間帯別パフォーマンス */
.session-performance {
    margin-bottom: 4rem;
}

.session-performance h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.session-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.session-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.session-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.session-card.best {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.1));
    border-color: var(--primary-color);
}

.session-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 50px;
}

.session-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.session-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.session-time {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.session-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.session-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.session-stat span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.session-stat strong {
    font-size: 1.5rem;
    color: var(--primary-light);
}

/* パフォーマンス免責事項 */
.performance-disclaimer {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid rgba(255, 165, 0, 0.4);
    border-radius: 15px;
    align-items: start;
}

.performance-disclaimer i {
    font-size: 2.5rem;
    color: #ffa500;
    flex-shrink: 0;
}

.disclaimer-content h4 {
    margin-bottom: 0.75rem;
    color: #ffa500;
}

.disclaimer-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   11. YenPulse実績
======================================== */

.yenpulse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.yenpulse-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.yenpulse-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.yenpulse-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.yenpulse-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.yenpulse-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.yenpulse-features h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 4rem;
}

.feature-grid .feature-item {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-disclaimer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.feature-disclaimer i {
    color: #ffa500;
}

.yenpulse-architecture h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.architecture-layers {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.arch-layer {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.arch-layer:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.arch-layer-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.arch-layer-title i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.arch-layer-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-light);
    margin: 1rem 0;
}

.yenpulse-cta {
    text-align: center;
}

/* ========================================
   11. 比較表
======================================== */

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table thead {
    background: rgba(0, 102, 255, 0.2);
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.item-label {
    font-weight: 600;
    color: var(--text-primary);
}

.traditional {
    color: #ff6b6b;
}

.traditional i {
    margin-right: 0.5rem;
}

.aegis {
    color: #4ade80;
}

.aegis i {
    margin-right: 0.5rem;
}

.comparison-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.highlight-item h4 {
    margin-bottom: 0.75rem;
}

.highlight-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   12. 提供サービス
======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.service-card li i {
    color: var(--primary-light);
}

/* ========================================
   13. お問い合わせ
======================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content h2 {
    margin-bottom: 1.5rem;
}

.contact-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.contact-feature i {
    color: var(--primary-light);
}

.contact-note {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-note i {
    font-size: 1.5rem;
    color: #ffa500;
    flex-shrink: 0;
}

.contact-note strong {
    color: var(--text-primary);
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-secondary);
    margin: 0;
}

.info-item a {
    color: var(--primary-light);
}

/* ========================================
   14. フッター
======================================== */

.footer {
    background: var(--background-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.footer-disclaimers {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
}

.footer-disclaimer i {
    color: #ffa500;
}

.footer-disclaimer strong {
    color: var(--text-secondary);
}

/* ========================================
   15. トップへ戻るボタン
======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* ========================================
   16. アニメーション
======================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   17. レスポンシブ
======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .ai-models-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 20, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .about-grid,
    .yenpulse-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-models-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-parallel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
    
    .consensus-box {
        padding: 2rem 1.5rem;
    }
    
    .formula-conditions {
        grid-template-columns: 1fr;
    }
    
    .hero-disclaimer {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        text-align: center;
    }
    
    .footer-disclaimers {
        gap: 0.5rem;
    }
    
    .footer-disclaimer {
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-note {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        font-size: 0.75rem;
    }
    
    .contact-note i {
        font-size: 1.25rem;
    }
    
    .performance-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .performance-value {
        font-size: 2.5rem;
    }
    
    .ai-performance-section {
        padding: 2rem 1.5rem;
    }
    
    .ai-performance-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-perf-stats {
        gap: 0.75rem;
    }
    
    .session-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-disclaimer {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .performance-disclaimer i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
}