/* 
   GRIP - Minimalist Apple Style Design System 
   Font: Pretendard, SF Pro
   Colors: Black, White, Apple Blue (#0071E3)
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

:root {
    --bg-color: #FFFFFF;
    /* Pure White */
    --text-primary: #1D1D1F;
    /* Apple Dark Gray */
    --text-secondary: #86868B;
    /* Apple Light Gray */
    --text-secondary-2: #515154;
    --text-secondary-3: #86868b;
    --accent-blue: #0071E3;
    /* Apple Blue for light mode */
    --accent-red: #E3000F;
    --bg-dark: #F5F5F7;
    /* Light Gray for cards */
    --bg-gray: #FFFFFF;
    /* White for contrast cards */
    --border-color: #D2D2D7;

    --font-stack: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --section-spacing: 240px;
    /* 1.5x - 2x increased */
    --max-width: 1000px;
}

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

body {
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    letter-spacing: -0.015em;
    overflow-x: hidden;
    word-break: keep-all;
    /* Korean typography fix */
}

/* Typography Utilities */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

#white {
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.global-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    text-shadow: none;
}

.nav-links a {
    transition: color 0.3s ease;
}

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

.nav-btn {
    background: var(--accent-blue);
    color: white !important;
    padding: 6px 14px;
    border-radius: 99px;
    font-weight: 500;
}

/* Global Layout */
.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* height: 100vh; Removed fixed height */
    min-height: 100vh;
    /* Ensure at least full screen */
    height: auto;
    /* Allow content to push height */
    background: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* overflow: hidden; Removed to fix sticky behavior */
}

.hero-sticky-container {
    height: 250vh;
    /* Reduced from 350vh for faster scroll */
    width: 100%;
    position: relative;
    /* ✅ sticky 제거 */
    background: var(--bg-color);
    z-index: 50;
}

.sticky-image-wrapper {
    position: sticky;
    top: 52px;
    /* ✅ 네비 높이만큼 아래에서 고정 시작 */
    height: calc(100vh - 52px);
    /* ✅ 남은 화면 높이 */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-sticky {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Removed sticky */
    overflow: hidden;
}

.hero-title {
    font-size: 120px;
    z-index: 20;
    white-space: nowrap;
    color: var(--text-primary);
    /* Ensure text color adapts */
    opacity: 1;
    /* Make visible by default */
    margin-bottom: 20px;
}



.hero-teaser {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    z-index: 8;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: opacity 0.1s ease-out;
}

.hero-teaser p {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #86868b;
    margin-bottom: 6px;
    opacity: 0;
    animation: teaserReveal 0.7s forwards;
}

.hero-teaser p:nth-child(1) {
    animation-delay: 0.5s;
}

.hero-teaser p:nth-child(2) {
    animation-delay: 0.8s;
}

.hero-teaser p:nth-child(3) {
    animation-delay: 1.1s;
    display: inline-block;
    /* Required for background */
    background: linear-gradient(to right, #F5F5F7, #F5F5F7);
    /* Gray Highlighter */
    color: var(--text-primary);
    /* Text on gray */
    padding: 0 5px;
    /* Spacing like real highlighter */
    font-weight: 700;
    margin-top: 4px;
    /* Slight adjustment */
    line-height: 1.2;
}

@keyframes teaserReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}



.hero-sub {
    font-size: 40px;
    /* Increased font size for impact */
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    /* opacity, transform controlled by JS */
    will-change: transform, opacity;
}

.mobile-br {
    display: none;
}

@media (max-width: 768px) {
    .hero-sub {
        white-space: normal;
        /* Allow wrapping on mobile */
        text-align: center;
        line-height: 1.3;
    }

    .mobile-br {
        display: block;
        /* Force break on mobile */
    }

    .hide-on-mobile {
        display: none !important;
    }
}

/* Sub Sticky Section */
.sub-sticky-container {
    height: 250vh;
    /* Reduced from 350vh for faster scroll */
    width: 100%;
    position: relative;
    background: var(--bg-color);
    z-index: 50;
}


.sticky-sub-wrapper {
    position: sticky;
    top: 52px;
    /* Nav height */
    height: calc(100vh - 52px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#sub-showcase {
    /* Initial state for JS animation */
    opacity: 1;
    transform: scale(3.0);
    transform-origin: center center;
    will-change: transform, opacity;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Manifesto Section */
.manifesto-container {
    height: 300vh;
    /* Increased for retention */
    position: relative;
    background: var(--bg-color);
}

@media (max-width: 768px) {
    .manifesto-container {
        height: 400vh;
        /* Mobile height increase */
    }
}

.manifesto-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.manifesto-line {
    position: absolute;
    font-size: 80px;
    /* Massive typography */
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* Optimized speed */
    transition-delay: 0.15s;
    /* Maintain lag */
    width: 90%;
    max-width: 1200px;
}

.manifesto-line.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .manifesto-line {
        font-size: 40px;
    }
}

/* Grid Section (The Ecosystem) */
.grid-section {
    padding-bottom: var(--section-spacing);
    background: #fff;
    /* White Background */
    overflow: hidden;
    /* Prevent overflow */
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    color: #1d1d1f;
    /* Dark Text */
    text-align: center;
}

.section-subtitle {
    font-size: 24px;
    color: #86868b;
    text-align: center;
    margin-bottom: 0px;
    line-height: 1.4;
    opacity: 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
    gap: 20px;
}

.bento-item {
    background: #f5f5f7;
    /* Light Gray Cards */
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    opacity: 0;
    width: 100%;
    box-sizing: border-box;
}

.bento-item:hover {
    transform: scale(1.02);
}

.bento-item.large {
    grid-column: span 1;
    aspect-ratio: 4/3;
}

.bento-item.small {
    grid-column: span 1;
    aspect-ratio: 4/3;
}

.bento-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
    color: #1d1d1f;
    /* Dark Icon */
}

.bento-content h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #1d1d1f;
    /* Dark Heading */
}

.bento-content p {
    font-size: 17px;
    color: #86868b;
    line-height: 1.4;
    word-break: keep-all;
    /* Fixes Korean word wrapping */
}

/* The Engine Section */
.engine-section {
    padding: var(--section-spacing) 0;
    text-align: center;
    background: var(--bg-color);
}

.engine-header {
    margin-bottom: 80px;
}

.section-label {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #86868b;
    margin-bottom: 20px;
}

.engine-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.engine-data-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    flex-wrap: wrap;
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.data-label {
    font-size: 24px;
    color: #86868b;
    margin-bottom: 10px;
}

.data-number {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
}

.neon-blue {
    color: var(--accent-blue);
    /* Removed text-shadow for clean look */
}

.neon-red {
    color: var(--accent-red);
    /* Removed text-shadow for clean look */
}

.data-divider {
    width: 2px;
    height: 100px;
    background: var(--border-color);
}

.engine-visual-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--bg-color);
    /* Clean border for dark mode */
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 113, 227, 0.1);
    /* Subtle Blue Glow */
    border: 1px solid var(--border-color);
}

.map-bg {
    opacity: 0.3;
    max-height: 100%;
    /* filter: invert(1); */
    /* Make it look dark mode if it's light */
}

.glow-point {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulseGlow 2s infinite;
}

.glow-point.red {
    background: var(--accent-red);
    box-shadow: 0 0 15px var(--accent-red);
}

.glow-point.blue {
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
}

/* Positioning arbitrary points */
.p1 {
    top: 30%;
    left: 40%;
}

.p2 {
    top: 40%;
    left: 60%;
}

.p3 {
    top: 60%;
    left: 30%;
}

.p4 {
    top: 70%;
    left: 55%;
}

.p5 {
    top: 25%;
    left: 70%;
}

.p6 {
    top: 50%;
    left: 20%;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

.engine-desc {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .engine-title {
        font-size: 40px;
    }

    .data-number {
        font-size: 80px;
    }

    .data-divider {
        display: none;
    }

    .engine-data-container {
        gap: 40px;
    }

    .engine-desc {
        font-size: 20px;
    }
}

/* Tech Index Card */
.tech-index-card {
    display: flex;
    flex-wrap: wrap;
    /* responsive */
    gap: 40px;
    align-items: center;
    background: var(--bg-dark);
    border-radius: 24px;
    padding: 60px;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.index-logo-box {
    background: #fff;
    width: 200px;
    height: 280px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.index-text {
    font-weight: 800;
    font-size: 24px;
}

.index-star {
    font-size: 100px;
    color: var(--accent-blue);
    line-height: 1;
    text-align: center;
    /* Optional: Replace with img/svg if needed */
}

.index-sub {
    font-weight: 700;
    font-size: 16px;
    text-align: right;
    color: #333;
}

.index-desc {
    flex: 1;
}

.index-desc p {
    font-size: 24px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.index-desc strong {
    color: var(--text-primary);
}

/* Data-Driven Mathematics Section */
.data-driven-section {
    background: #FFFFFF;
    padding: 180px 20px;
}

.data-driven-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 80px;
    opacity: 1;
    /* fade-up 클래스랑 충돌 방지 차원 */
}

.data-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.data-subtitle {
    color: #86868B;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.data-title {
    color: #1D1D1F;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.data-desc {
    color: #515154;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    word-break: keep-all;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.data-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

.data-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.data-presentation-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
    /* 이미지 부양 효과 */
    display: block;
}

@media (max-width: 768px) {
    .data-driven-section {
        padding: 100px 20px;
    }

    .data-driven-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .data-text-col {
        align-items: center;
    }

    .data-title {
        font-size: 32px;
    }

    .data-desc {
        text-align: left;
        /* 모바일에서 본문은 좌측 정렬 유지하거나 기호에 맞게 변경 */
    }
}


/* Tech Stats */
.tech-stats-container {
    padding-top: 40px;
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stats-icon {
    font-size: 24px;
    color: var(--text-primary);
}

.stats-header h3 {
    font-size: 28px;
    font-weight: 700;
}

.stats-main-text {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 50px;
}

.highlight-blue {
    color: var(--accent-blue);
}

.highlight-cyan {
    color: #00f3ff;
}

.stats-visual-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 40px;
    color: var(--text-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.map-area {
    flex: 1;
    position: relative;
    min-height: 400px;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.korea-map-img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 113, 227, 0.4));
}

.korea-map-svg {
    display: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-region {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    white-space: nowrap;
    text-shadow: none;
}

.chart-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chart-title {
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 20px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.chart-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-list .city {
    width: 40px;
    color: var(--text-secondary);
}

.bar-bg {
    flex: 1;
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    margin: 0 16px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0071E3, #5AC8FA);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 113, 227, 0.3);
}

.chart-list li:nth-child(1) .bar-fill,
.chart-list li:nth-child(2) .bar-fill,
.chart-list li:nth-child(3) .bar-fill {
    background: #10103a;
    /* Darker top bars */
}

.chart-list li:nth-child(n+4) .bar-fill {
    background: #4a6cfa;
    /* Lighter lower bars */
}

.stats-footer {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .stats-visual-box {
        flex-direction: column;
    }

    .map-area {
        min-height: 300px;
    }

    .tech-title {
        font-size: 40px;
    }

    .tech-index-card {
        padding: 30px;
    }
}

/* Lineup Section */
.lineup-section {
    padding: var(--section-spacing) 0;
    background: #fff;
}

.book-shelf {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.book-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
}

.book-placeholder {
    width: 240px;
    height: 340px;
    background: #f5f5f7;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.book-item:hover .book-placeholder {
    transform: translateY(-10px);
}

.book-item h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.book-sub {
    font-size: 19px;
    color: var(--text-secondary-2);
    font-weight: 600;
    margin-bottom: 6px;
}

.book-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.link-more {
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 500;
}

.link-more:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #f5f5f7;
    padding: 60px 0;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin: 12px 0;
}

.footer-links a {
    margin: 0 10px;
    color: var(--text-secondary);
}

/* Reality Section */
.reality-section {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
    background: #fff;
    text-align: center;
}

.stat-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

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

.stat-number {
    font-size: 80px;
    font-weight: 800;
    color: var(--accent-blue);
    display: block;
    line-height: 1;
    margin-bottom: 20px;
}

.stat-desc {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.stat-sub {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Comparison Section */
.comparison-section {
    padding: var(--section-spacing) 0;
    background: #fff;
}

.comparison-container {
    background: #fff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 19px;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    font-weight: 700;
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 15px;
}

.col-feature {
    flex: 1;
    text-align: left;
    font-weight: 600;
}

.col-others {
    flex: 1;
    text-align: center;
    color: var(--text-secondary);
}

.col-grip {
    flex: 1;
    text-align: center;
    font-weight: 700;
    color: var(--accent-blue);
}

.highlight {
    color: var(--accent-blue);
}

.text-red {
    color: var(--accent-red);
}

/* Outro Section */
.outro-section {
    padding: var(--section-spacing) 0;
    text-align: center;
    background: var(--bg-color);
}

.outro-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 60px;
    line-height: 1.2;
}

.outro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.outro-visual {
    margin-bottom: 60px;
    max-width: 600px;
    width: 100%;
}

.outro-img {
    width: 100%;
    height: auto;
    display: block;
}

.outro-buttons {
    display: flex;
    gap: 20px;
}

.btn-cta {
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta.primary {
    background: var(--accent-blue);
    color: #fff;
    border: none;
}

.btn-cta.primary:hover {
    background: #0077ED;
    /* Slightly darker/different shade */
    transform: scale(1.05);
}

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

.btn-cta.outline:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .outro-title {
        font-size: 36px;
    }

    .outro-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* Workflow Section */
.workflow-section {
    padding: var(--section-spacing) 0;
    background: #fff;
    text-align: center;
}

.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    background: #fff;
    padding: 20px;
    opacity: 0;
}

.step-num {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(0, 113, 227, 0.1);
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 20px;
}

.step-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
}

.step-item p {
    font-size: 17px;
    color: var(--text-secondary);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border-color);
}

@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: column;
        gap: 30px;
    }

    .step-item {
        width: 100%;
        max-width: 300px;
        /* Limit width on mobile */
    }

    .step-line {
        width: 2px;
        height: 40px;
        /* Vertical line */
    }
}

/* Contact Section */
.contact-section {
    padding: var(--section-spacing) 0;
    background: #F5F5F7;
    text-align: center;
}

.contact-desc {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.kakao-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FAE100;
    /* Kakao Yellow */
    color: #371D1E;
    /* Kakao Brown */
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 60px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kakao-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250, 225, 0, 0.4);
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.qr-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Inception Section */
.inception-section {
    background-color: var(--bg-color);
    color: var(--text-primary);
    padding: var(--section-spacing) 0;
    text-align: center;
}

.inception-header h2 {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-secondary);
    /* Dimmed by default */
    line-height: 1.2;
    margin-bottom: 60px;
}

.inception-header .text-white {
    color: var(--text-primary);
}

.inception-message-box {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px;
    max-width: 700px;
    margin: 0 auto 80px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.inception-message-box p {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

.inception-message-box .text-red {
    color: #ff3b30;
}

.inception-comparison {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 100px;
}

.inception-col {
    flex: 1;
    border: 1px solid #333;
    padding: 40px 20px;
    border-radius: 4px;
    /* Matches the sharp card look in image */
}

.inception-col.old {
    background: var(--bg-dark);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.inception-col.new {
    background: var(--bg-gray);
    color: var(--text-primary);
    border-color: var(--accent-blue);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.1);
}

.inception-col h3 {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid;
    border-color: inherit;
}

.inception-col ul {
    list-style: none;
    padding: 0;
}

.inception-col li {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Inception Footer Brand */
.inception-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.brand-grip {
    font-family: 'Orbitron', sans-serif;
    /* Tech feel */
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-inception {
    font-family: var(--font-stack);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Animation Classes */
@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.fade-up {
    transform: translateY(0);
    opacity: 1;
}

.fade-up.visible {
    transform: translateY(0);
    opacity: 1;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 60px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        /* Internal padding instead of width reduction */
        margin: 0;
        box-sizing: border-box;
    }

    .bento-item {
        width: 100%;
        padding: 30px;
        box-sizing: border-box;
    }



    .book-shelf {
        flex-direction: column;
    }

    .hero-image-container {
        width: 200px;
        height: 300px;
    }

    .manifesto-text {
        font-size: 32px;
    }

    /* Removed .nav-links { display: none; } so users can see the Resource Center link */

    /* New Sections Responsive */
    .stat-grid {
        flex-direction: column;
        gap: 40px;
    }

    .stat-number {
        font-size: 60px;
    }

}


/* The Collection Section */
.collection-section {
    padding: var(--section-spacing) 0;
    background: var(--bg-color);
}

.collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.collection-card {
    background: var(--bg-dark);
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.collection-card:hover {
    transform: translateY(-10px);
}

.card-blue {
    border-color: rgba(41, 151, 255, 0.3);
}

.card-red {
    border-color: rgba(255, 59, 48, 0.3);
}

.card-header {
    position: relative;
    z-index: 2;
}

.card-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 99px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-slogan {
    font-size: 24px;
    color: #86868b;
    margin-bottom: 40px;
}

.card-body {
    position: relative;
    z-index: 2;
}

.spec-group {
    margin-bottom: 30px;
}

.spec-group h4 {
    font-size: 16px;
    color: #86868b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-group p,
.spec-list li {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.spec-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #666;
}

/* Glow Effects */
.card-glow-blue {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.card-glow-red {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }

    .collection-card {
        min-height: auto;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .stats-visual-box {
        flex-direction: column;
        padding: 24px;
        gap: 30px;
    }

    .map-area {
        min-height: 300px;
    }

    .korea-map-img {
        max-height: 300px;
    }
}

/* Product Showcase Section */
.product-showcase {
    padding: 120px 0;
    text-align: center;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.showcase-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-desc {
    font-size: 20px;
    color: #86868b;
    margin-bottom: 60px;
    font-weight: 500;
}

.showcase-image-wrap {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-image-wrap:hover {
    transform: scale(1.02);
}

.showcase-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    /* Reflective Shine Effect */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .showcase-title {
        font-size: 32px;
    }

    .showcase-desc {
        font-size: 16px;
    }

    .product-showcase {
        padding: 80px 0;
    }

    .product-showcase {
        padding: 80px 0;
    }
}

/* Hero Integrated Showcase */
#hero-showcase {
    /* Reset for sticky behavior */
    position: relative;
    top: auto;
    left: auto;
    max-width: 1200px;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center center;
    will-change: transform, opacity;

    /* Initial Animation State */
    opacity: 1;
    transform: scale(3.0);
    /* transition: opacity 0.1s linear, transform 0.1s linear; Removed */
    /* Smoothness for JS updates */
}

@keyframes showcaseReveal {
    from {
        opacity: 0;
        transform: translate(-50%, 50px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Removed .hero-main-image-wrap as it is redundant to #hero-showcase */

.hero-main-image {
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    /* Ensure it fits in viewport */
    border-radius: 16px;
    display: block;
    opacity: 1 !important;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    animation: pulse 3s infinite ease-in-out;
}

/* Proven Section */
.proven-section {
    padding: var(--section-spacing) 0;
    background: var(--bg-color);
    text-align: center;
}

.proven-header {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 60px;
    color: #1d1d1f;
}

.proven-highlight-red {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.proven-highlight-red::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -10px;
    width: calc(100% + 20px);
    height: 15px;
    border-radius: 50%;
    border-bottom: 4px solid #ff3b30;
    /* Apple Red */
    transform: rotate(-1deg);
    z-index: -1;
}

.proven-box {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 60px;
    border-radius: 20px;
    display: inline-block;
    /* Fit content or fixed width? Let's use max-width */
    width: 100%;
    max-width: 800px;
    margin-bottom: 80px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-align: left;
    border: 1px solid var(--border-color);
}

.proven-list {
    list-style: none;
    font-size: 24px;
    font-weight: 600;
    line-height: 2;
}

.proven-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.proven-check {
    color: #ff3b30;
    /* Checkmark color matching highlight? Or Keep emoji color */
    font-size: 24px;
}

.proven-footer p {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #1d1d1f;
}

.proven-separator {
    width: 2px;
    height: 60px;
    background: var(--border-color);
    margin: 30px auto;
}

.proven-highlight-pink {
    color: #ff2d55;
    /* Pink/Magenta */
}

@media (max-width: 768px) {
    .proven-header {
        font-size: 36px;
    }

    .proven-box {
        padding: 30px;
    }

    .proven-list {
        font-size: 18px;
    }

    .proven-footer p {
        font-size: 24px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1d1d1f;
}

#modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1d1d1f;
}

/* Modal Steps */
.modal-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal-step.active {
    display: block;
}

/* Step 1 Buttons */
.modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-option-btn {
    background: #f5f5f7;
    border: none;
    padding: 20px;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-option-btn:hover {
    background: #e5e5ea;
    transform: scale(1.02);
}

.modal-option-btn .option-title {
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 700;
}

.modal-option-btn .option-desc {
    color: #86868b;
    font-size: 14px;
}

/* Step 2 Header */
.modal-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}

.modal-header-nav h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.modal-back-btn {
    position: absolute;
    left: 0;
    background: none;
    border: none;
    color: #0071e3;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    padding: 5px;
}

.modal-back-btn:hover {
    text-decoration: underline;
}

/* Subject Links (Step 2) */
.subject-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subject-link {
    display: block;
    background: #f5f5f7;
    border: none;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.subject-link:hover {
    background: #e5e5ea;
    transform: scale(1.02);
}

/* Button Reset for Link-More */
.link-more {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ====== NEW 6-SECTION REDESIGN STYLES ====== */

/* Spotlight Utilities */
.spotlight {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
}

.spotlight.blue {
    background: var(--accent-blue);
}

.spotlight.red {
    background: var(--accent-red);
}

/* Hero Text Adjustments */
.hero-sub-text {
    position: relative;
    z-index: 8;
    text-align: center;
    margin-top: 40px;
    opacity: 0;
    animation: teaserReveal 1s forwards;
    animation-delay: 1.5s;
}

.hero-sub-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

/* Base state for Book Silhouette */
.silhouette-effect {
    filter: brightness(0) contrast(1.2) drop-shadow(0 0 10px rgba(0, 0, 0, 0.05));
    transition: filter 0.1s ease-out;
    /* Controlled by JS via inline styles later, this is fallback */
}

/* Manifesto Highlights */
.manifesto-line.highlight {
    color: var(--accent-red);
    font-size: 60px;
    /* Slightly smaller to fit */
}

.manifesto-line strong {
    color: var(--accent-blue);
}

/* Proof Section Maps & Stats */
.proof-map-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.4;
}

.proof-stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    pointer-events: none;
}

.proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === New Proof Bento Box Grid (Apple Style) === */
.proof-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

.proof-bento-card {
    background: #f5f5f7;
    border-radius: 32px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.proof-bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* 상단 큰 카드 (143,987) */
.proof-bento-card.large {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    padding: 80px 40px;
}

/* 하단 작은 카드 2개 */
.proof-bento-card.small {
    grid-column: span 1;
    min-height: 280px;
    align-items: flex-start;
    text-align: left;
}

.bento-inner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 통일된 포인트 컬러 (Dark Navy/Blue) */
.proof-number {
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    color: #1d1d1f;
    /* 차콜 그레이로 압도적 무게감 */
    letter-spacing: -4px;
}

.proof-label {
    font-size: 24px;
    font-weight: 600;
    color: #86868b;
}

.bento-small-number {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    color: #007aff;
    /* 애플 블루 포인트 */
    letter-spacing: -2px;
}

.bento-small-label {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
}

.bento-desc {
    font-size: 20px;
    color: #86868b;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 800px;
    word-break: keep-all;
}

.bento-desc-small {
    font-size: 16px;
    color: #86868ba2;
    line-height: 1.5;
    margin-top: 8px;
    word-break: keep-all;
}

/* 우측 하단 지도 이미지 배경 */
.proof-bento-card.map-bg {
    background: #f5f5f7;
}

.proof-bento-card.map-bg .bento-small-label {
    color: #1d1d1f;
}

.proof-bento-card.map-bg .bento-desc-small {
    color: #86868b;
}

.proof-bento-card.map-bg .bento-small-number {
    color: #004ee6;
    font-weight: 900;
    /* 극강의 다크 애플 블루 (가시성 최상향) */
    text-shadow: none;
}

.proof-bento-card.map-bg .bento-map-img {
    position: absolute;
    right: -40px;
    bottom: -20px;
    width: 380px;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
    /* 지도 흰색 배경 투명화 및 자연스러운 합성 */
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0));
}

@media (max-width: 768px) {
    .proof-bento-grid {
        grid-template-columns: 1fr;
    }

    .proof-bento-card.small {
        grid-column: 1 / -1;
    }

    .proof-number {
        font-size: 64px;
        letter-spacing: -2px;
    }

    .bento-small-number {
        font-size: 56px;
    }

    .proof-bento-card.large {
        padding: 60px 24px;
    }

    .proof-bento-card.index-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
    }

    .proof-bento-card.index-card .bento-inner-content {
        align-items: center !important;
        text-align: center !important;
    }

    .proof-bento-card.index-card .bento-desc {
        text-align: center !important;
    }

    .proof-bento-card.index-card .index-logo-area {
        margin-top: 10px;
        transform: scale(0.8) !important;
    }

    .bento-title {
        font-size: 28px !important;
    }

    .bento-desc {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 12px;
    }

    .bento-desc-small {
        font-size: 14px;
    }
}

/* Massive Typography Showcase */
.typography-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.impact-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impact-main {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.4;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -1px;
}

.impact-sub {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.6;
    color: #86868b;
    margin: 0;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.impact-number {
    font-size: 160px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    letter-spacing: -4px;
    background: linear-gradient(135deg, #007aff, #00c6ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-number-label {
    font-size: 24px;
    font-weight: 600;
    color: #86868b;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .typography-showcase {
        padding: 60px 20px;
    }

    .impact-main {
        font-size: 32px;
        line-height: 1.3;
    }

    .impact-sub {
        font-size: 20px;
        line-height: 1.5;
    }

    .impact-number {
        font-size: 80px;
        letter-spacing: -2px;
    }

    .impact-number-label {
        font-size: 18px;
    }
}

/* Showcase Section */
/* INDEX System Container Add-on */
.index-system-container {
    margin-top: 100px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.index-header {
    margin-bottom: 60px;
}

.index-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.index-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.index-badge {
    background: var(--bg-dark);
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid var(--border-color);
}

.index-desc {
    font-size: 22px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.index-feature-card {
    display: flex;
    align-items: stretch;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    gap: 50px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.index-feature-card:hover {
    transform: translateY(-5px);
    border-color: #007aff;
}

.index-logo-area {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}

.asterisk-icon {
    font-size: 100px;
    color: #007aff;
    line-height: 1;
    font-family: Arial, sans-serif;
    transform: translateY(10px);
}

.logo-text {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin-top: 20px;
}

.index-text-area {
    display: flex;
    align-items: center;
}

.index-text-area p {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .index-system-container {
        text-align: center;
        padding: 0 16px;
    }

    .index-header {
        margin-bottom: 30px;
    }

    .index-feature-card {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        border-radius: 20px;
    }

    .index-title {
        font-size: 30px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
    }

    .index-badge {
        font-size: 16px;
        padding: 4px 12px;
    }

    .index-desc {
        font-size: 16px;
        word-break: keep-all;
    }

    .asterisk-icon {
        font-size: 64px;
    }

    .index-logo-area {
        min-width: 100%;
        padding: 24px 0;
    }

    .logo-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .logo-text {
        margin-top: 12px;
    }

    .index-text-area {
        justify-content: center;
        text-align: center;
    }

    .index-text-area p {
        font-size: 16px;
        line-height: 1.6;
        word-break: keep-all;
    }
}

.showcase-section {
    padding: 180px 0;
    background: var(--bg-color);
    color: var(--text-primary);
}

.showcase-intro {
    text-align: center;
    margin-bottom: 60px;
}

.showcase-intro-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.showcase-intro-desc {
    font-size: 24px;
    font-weight: 500;
    color: #86868b;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.tab-btn {
    background: transparent;
    border: 1px solid #424245;
    color: #86868b;
    padding: 12px 30px;
    border-radius: 99px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.tab-btn.active {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.showcase-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.showcase-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.showcase-book-img {
    height: 100%;
    width: 100%;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    position: relative;
    z-index: 10;
}

.pattern-tint {
    /* Subtle red tint for differentiation if using the same image placeholder */
    filter: hue-rotate(150deg);
}

.showcase-text {
    padding: 0 20px;
}

.panel-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.panel-desc {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.panel-desc strong {
    color: var(--text-primary);
}

.panel-features {
    list-style: none;
    margin-bottom: 50px;
}

.panel-features li {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.btn-preview {
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    padding: 16px 32px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-preview:hover {
    transform: scale(1.05);
    background: var(--accent-blue);
    box-shadow: 0 5px 20px rgba(0, 113, 227, 0.3);
}

@media (max-width: 900px) {
    .showcase-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-visual {
        height: 350px;
    }

    .showcase-text {
        padding-right: 0;
        padding-left: 0;
    }

    .panel-features li {
        justify-content: center;
        font-size: 15px;
        margin-bottom: 12px;
    }

    .panel-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .panel-desc {
        font-size: 16px;
        margin-bottom: 24px;
        word-break: keep-all;
    }

    .btn-preview {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
}

/* Ecosystem Grid (Dark Mode overrides) */
.ecosystem-header {
    text-align: center;
    margin-bottom: 20px;
}

.dark-mode {
    background: var(--bg-color);
    color: var(--text-primary);
}

.dark-mode .section-title {
    color: var(--text-primary);
}

.dark-mode .bento-item {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dark-mode .bento-content p {
    color: #86868b;
}

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

.bento-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dark-mode .bento-item {
    grid-column: span 1;
    padding: 40px 20px;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dark-mode .bento-item {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

.bento-icon-wrapper {
    margin-bottom: 24px;
}

.dark-mode .bento-icon {
    color: var(--text-primary);
}

/* Fullscreen Preview Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.show {
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.preview-modal-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: var(--bg-color);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.preview-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.preview-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.preview-pane {
    display: none;
    height: 100%;
    flex-direction: column;
}

.preview-pane.active {
    display: flex;
}

.preview-title {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    margin: 0;
}

.scrollable-preview-area {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mock-page {
    width: 100%;
    max-width: 800px;
    min-height: 800px;
    background: var(--bg-gray);
    border-radius: 8px;
    color: var(--text-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.mock-page-header {
    border-bottom: 2px solid var(--accent-blue);
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
}

.mock-page-body {
    padding: 40px;
    text-align: center;
    color: #888;
    font-size: 18px;
}

/* Section 5: The Workflow */
.workflow-section {
    padding: 120px 0;
    background: var(--bg-dark);
    color: var(--text-primary);
    text-align: center;
}

.workflow-section .section-title {
    color: var(--text-primary);
    margin-bottom: 80px;
}

.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    min-width: 200px;
    padding: 40px 20px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.step-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-family: var(--font-stack);
    /* or Orbitron if you want techy numbers */
}

.step-item:hover .step-num {
    color: var(--accent-blue);
}

.step-item h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-item p {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 500;
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--border-color);
    display: none;
    /* Hidden by default, useful for grid layouts or connect lines */
}

@media (min-width: 768px) {
    .step-line {
        display: block;
    }
}

@media (max-width: 767px) {
    :root {
        --section-spacing: 120px;
    }

    .nav-links {
        gap: 16px;
        font-size: 13px;
    }

    /* Hide unnecessary section links on mobile, keep only Resource Center and CTA */
    .nav-links a:not([href="board.html"]):not(.nav-btn) {
        display: none;
    }

    .nav-logo {
        font-size: 14px;
    }

    .nav-btn {
        padding: 4px 10px;
        font-size: 11px;
    }

    .hero-title {
        font-size: 46px;
    }

    .manifesto-title {
        font-size: 36px;
    }

    .engine-title {
        font-size: 32px;
    }

    .proof-stats-overlay {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .proof-label {
        font-size: 13px;
        padding: 6px 14px;
        margin-bottom: 4px;
        /* Pull number closer to label, but not overlapping */
        z-index: 2;
    }

    .proof-number {
        font-size: 56px !important;
        /* Force smaller size */
    }

    .engine-visual-box {
        margin: 20px 0;
    }

    .showcase-intro-title {
        font-size: 36px;
    }

    .ecosystem-subtitle {
        font-size: 22px !important;
    }

    .bento-content h3 {
        font-size: 24px;
    }

    .index-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 40px;
    }

    .proof-number {
        font-size: clamp(40px, 18vw, 80px);
        /* Dynamically shrinks on screens narrower than ~440px */
    }

    .ecosystem-header {
        margin-bottom: 10px;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .step-line {
        display: block;
        width: 2px;
        height: 40px;
    }
}