@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

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

:root {
    --primary-bg: #0a0e1a;
    --secondary-bg: #111827;
    --card-bg: rgba(30, 41, 59, 0.6);
    --accent-cyan: #06b6d4;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);
    --glow-cyan: rgba(6, 182, 212, 0.4);
    --glow-purple: rgba(168, 85, 247, 0.4);
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#presentation {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev-slide {
    transform: translateX(-100%);
}

.slide-content {
    max-width: 1400px;
    width: 100%;
}

.slide-number {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Slide 1: Title Page */
.slide-header {
    text-align: center;
}

.label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 2rem;
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.highlight {
    display: block;
    font-size: 5rem;
    margin-top: 0.5rem;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px var(--glow-cyan));
    }
    50% {
        filter: drop-shadow(0 0 40px var(--glow-purple));
    }
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

/* Slide 2: Factors Grid */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon {
    color: var(--accent-cyan);
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.icon svg {
    width: 100%;
    height: 100%;
}

.icon-inline {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.factor-icon svg,
.tech-icon svg {
    width: 100%;
    height: 100%;
    color: var(--accent-cyan);
}

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

.factor-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.factor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.factor-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2);
}

.factor-card:hover::before {
    opacity: 1;
}

.factor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.factor-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.threat-level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.factor-card.high .threat-level {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.factor-card.medium-high .threat-level {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.factor-card.medium .threat-level {
    background: rgba(234, 179, 8, 0.2);
    color: #fde047;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.factor-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Slide 3: Dashboard */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--accent-cyan);
    border-radius: 0.5rem;
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 1rem;
}

.badge.critical {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #fca5a5;
}

.badge.tech {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--accent-purple);
    color: #c084fc;
}

.badge.strategy {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--accent-green);
    color: #6ee7b7;
}

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

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.highlight-card .stat-number {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.stat-detail {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.info-panel {
    grid-column: span 3;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.info-panel h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Slide 4: Chart */
.chart-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.chart-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bar-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.bar-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.bar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 0.5rem;
    height: 3rem;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    border-radius: 0.5rem;
    transition: width 1s ease;
}

.bar-fill.prediction {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    animation: pulse-bar 2s ease-in-out infinite;
}

@keyframes pulse-bar {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.bar-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.insight-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.insight-card.wide {
    grid-column: span 3;
}

.insight-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.big-stat {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.region-list {
    list-style: none;
}

.region-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.timeline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 0.5rem;
}

.timeline-item.highlight {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid var(--accent-cyan);
}

.timeline-item .date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.timeline-item .percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.timeline-arrow {
    color: var(--accent-cyan);
    font-size: 1.5rem;
}

/* Slide 5: Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.tech-card.primary {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--accent-purple);
}

.tech-card.wide {
    grid-column: span 2;
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tech-icon {
    font-size: 2rem;
}

.tech-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.tech-metric {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.tech-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

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

.market-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

/* Slide 6: Strategy */
.strategy-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.strategy-main {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.strategy-heading {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.strategy-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.strategy-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.strategy-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 0.75rem;
    border-left: 3px solid var(--accent-cyan);
    transition: all 0.3s ease;
}

.strategy-item:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(5px);
}

.strategy-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.strategy-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.strategy-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

.kpi-shift {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.kpi-shift h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.kpi-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kpi-old, .kpi-new {
    padding: 1rem;
    border-radius: 0.5rem;
}

.kpi-old {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.kpi-new {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.kpi-old h5, .kpi-new h5 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kpi-old h5 {
    color: #fca5a5;
}

.kpi-new h5 {
    color: #6ee7b7;
}

.kpi-old ul, .kpi-new ul {
    list-style: none;
}

.kpi-old li, .kpi-new li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding-left: 1.25rem;
    position: relative;
}

.kpi-old li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #fca5a5;
}

.kpi-new li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6ee7b7;
}

.kpi-arrow {
    text-align: center;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Navigation */
.navigation {
    position: fixed;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 100;
}

.nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 0.75rem;
}

.nav-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
}

.nav-dot:hover {
    background: var(--accent-cyan);
    transform: scale(1.2);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(148, 163, 184, 0.1);
    z-index: 200;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.6s ease;
}

/* Responsive */
@media (max-width: 1200px) {
    .slide {
        padding: 2rem;
    }

    .main-title {
        font-size: 3rem;
    }

    .highlight {
        font-size: 3.5rem;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-panel {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .highlight {
        font-size: 2.5rem;
    }

    .content-grid,
    .insight-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .info-panel,
    .insight-card.wide,
    .tech-card.wide {
        grid-column: span 1;
    }

    .strategy-container {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}
