/* ===================================
   Project Detail Page Styles
   =================================== */

/* Scroll Animation Setup - Apple Style */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.fade-up {
    opacity: 0;
    transform: translateY(20px);
}

.animate-on-scroll.scale-in {
    opacity: 0;
    transform: scale(0.98);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Remove stagger animations for cleaner Apple-style */
.design-principles .principle-card,
.research-findings .finding-item,
.exploration-grid .exploration-item,
.impact-metrics .metric-card {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Project Navigation */
.project-nav {
    background: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    opacity: 1 !important;
    transform: none !important;
}

.project-nav .logo {
    text-decoration: none;
    color: var(--text-dark);
    transition: opacity 0.3s ease;
}

.project-nav .logo:hover {
    opacity: 0.6;
}

/* Project Hero */
.project-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5rem;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('static/project2/banner1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 0;
}

.hero-label {
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #8B5CF6;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.project-hero-image {
    margin: 0;
    padding: 0;
    width: 100%;
    line-height: 0;
}

.project-hero-image .container-wide {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    vertical-align: bottom;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
}

.project-hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.project-hero-subtitle {
    /* font-size: clamp(0.8rem, 3.3vw, 2.5rem);
     */
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 5rem;
    opacity: 0.95;
    line-height: 1.4;
}

.project-hero-meta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.meta-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    font-weight: 500;
}

.meta-value {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.95;
}

/* Case Study Sections */
.case-study-section {
    padding: 8rem 5rem;
    background: #ffffff;
}

.case-study-section.alt-bg {
    background: #f5f5f7;
}

/* First case study section after hero - generous top padding */
.project-hero + .case-study-section {
    padding-top: 8rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    margin-bottom: 5rem;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1d1d1f;
    margin-bottom: 2rem;
    font-weight: 400;
}

.section-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 5rem 0 2.5rem;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-content h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem;
    color: #1d1d1f;
    line-height: 1.3;
}

.section-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--accent);
    margin-bottom: 3rem;
    font-style: italic;
}

.margin-top {
    margin-top: 4rem !important;
}

/* Highlight Box */
.highlight-box {
    background: #f0f4ff;
    border-left: 4px solid #667eea;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 8px;
}

.highlight-box h4 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 1rem;
}

.highlight-box p {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

/* UJM Image */
.ujm-image-wrapper {
    width: 100%;
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ujm-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Design Principles */
.design-principles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 5rem 0;
}

.principle-card {
    background: #ffffff;
    padding: 4rem 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.principle-number {
    font-size: 4rem;
    font-weight: 700;
    color: #4DD0E1;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.principle-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: #1d1d1f;
    line-height: 1.3;
}

.principle-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
    color: #6e6e73;
}

/* Research Findings */
.research-findings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.finding-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.finding-stat {
    font-size: 4rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
    margin-bottom: 1rem;
}

.finding-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
}

/* Insights List */
.insights-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.insights-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    color: var(--text-dark);
}

.insights-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hi-Fi Mockup Container */
.hifi-mockup-container {
    width: 100%;
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hifi-mockup-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Prototype Placeholders */
.prototype-placeholder {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.prototype-placeholder.lowfi {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a0 100%);
}

.prototype-placeholder.hifi {
    background: linear-gradient(135deg, #e0f7fa 0%, #80deea 100%);
}

.prototype-placeholder.final {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
}

.prototype-placeholder p {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.prototype-placeholder small {
    font-size: 1rem;
    opacity: 0.7;
}

/* Exploration Grid */
.exploration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.exploration-item {
    padding: 2rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.exploration-item h4 {
    margin-top: 0;
    color: #667eea;
}

.exploration-item p {
    font-size: 1rem;
    margin: 0;
}

/* Design Details */
.design-details {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.detail-col h4 {
    margin-top: 0;
}

.color-swatches {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.swatch {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Iteration Timeline */
.iteration-timeline {
    margin: 3rem 0;
    position: relative;
}

.iteration-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 1rem 0;
}

.timeline-content h4 {
    margin-top: 0;
}

.timeline-content p {
    margin: 0;
    font-size: 1rem;
}

/* Prototype Features */
.prototype-features {
    margin: 3rem 0;
}

.prototype-features ul {
    list-style: none;
    padding: 0;
}

.prototype-features li {
    font-size: 1.1rem;
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    color: var(--text-dark);
}

.prototype-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Impact Metrics */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.metric-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-8px);
}

.metric-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

.metric-description {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.5rem;
}

/* Next Project */
.next-project {
    padding: 6rem 3rem;
    background: var(--bg-dark);
    text-align: center;
}

.next-project h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.next-project-link {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    padding: 1.5rem 3rem;
    border: 3px solid var(--text-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.next-project-link:hover {
    background: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-5px);
}

/* ===================================
   Inspiration Timeline Styles
   =================================== */

/* Inspiration Header Container */
.inspiration-header {
    margin-bottom: 2rem;
    display: block;
}

.inspiration-header .section-title {
    margin-bottom: 1rem;
}

/* Personal Timeline Badge */
.personal-timeline-badge {
    display: block;
    width: fit-content;
    background: #8B5CF6;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.02em;
    margin-left: 0;
    margin-right: auto;
}

/* Timeline Intro Text */
.timeline-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 2rem 0 4rem;
    max-width: 900px;
}

/* Horizontal Timeline Container */
.inspiration-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    padding-top: 4rem;
}

/* Timeline Connector Line */
.timeline-connector {
    position: absolute;
    top: 12px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #8B5CF6;
    z-index: 0;
}

/* Timeline Node */
.timeline-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Node Marker (Circle) */
.node-marker {
    width: 20px;
    height: 20px;
    border: 3px solid #8B5CF6;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Vertical connector from node to content */
.node-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: #8B5CF6;
    z-index: 0;
}

/* Node Content */
.node-content {
    margin-top: 0;
    text-align: left;
    width: 100%;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.node-content h4 {
    color: #8B5CF6;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.8rem 0;
    line-height: 1.3;
}

.node-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

/* Node Images */
.node-images {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/2;
    background: #e8e8e8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 500;
}

/* Wide Node for Reality Check */
.node-wide {
    grid-column: span 1;
}

.node-wide .node-content {
    background: white;
}

.node-wide .node-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.node-wide .node-content > p {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Employment Chart */
.employment-chart {
    margin-top: 1rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.chart-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    text-align: center;
}

.chart-bars {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: center;
    height: 160px;
    padding: 0 1rem;
}

.chart-bar {
    flex: 0 0 auto;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bar-label {
    font-size: 0.7rem;
    color: #666;
    text-align: center;
    order: 2;
    margin-top: 0.8rem;
    line-height: 1.3;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(180deg, #a8a8a8 0%, #787878 100%);
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.8rem;
    position: relative;
    order: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
    max-width: 100%;
}

.fact-card {
    display: flex;
    gap: 0;
    padding: 0;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
    align-items: stretch;
}

.fact-card:hover {
    transform: translateY(-5px);
}

.fact-image {
    flex-shrink: 0;
    width: 200px;
    position: relative;
    display: flex;
    align-items: stretch;
}

.fact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fact-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8d5f7 0%, #d4b5ea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #8B5CF6;
    font-weight: 600;
    position: relative;
}

.fact-image .image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.1);
}

.fact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.fact-content h4 {
    color: #8B5CF6;
    font-size: 1.3rem;
    margin: 0 0 0.8rem 0;
    font-weight: 700;
}

.fact-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-dark);
}

/* Barrier Chart */
.barrier-chart {
    margin: 2rem 0;
}

.barrier-item {
    margin-bottom: 1.5rem;
}

.barrier-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.barrier-bar {
    background: linear-gradient(90deg, #8B5CF6 0%, #6D28D9 100%);
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1.2rem;
    margin-bottom: 0.3rem;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    width: 0;
    overflow: hidden;
}

.barrier-bar.animated {
    /* Width will be set by JavaScript */
}

.barrier-percentage {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
}

.barrier-description {
    font-size: 0.9rem;
    color: var(--accent);
    line-height: 1.5;
    margin: 0;
    padding-left: 0;
}

/* Employment Data */
.employment-data {
    margin: 3rem 0;
}

.tier-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
    border-left: 4px solid #8B5CF6;
}

.stat-item h4 {
    color: #8B5CF6;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
}

.stat-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Problems Grid */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.problem-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.problem-card h4 {
    color: #8B5CF6;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
}

.problem-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Competitor Analysis */
.competitors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.competitor-card {
    padding: 0;
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.competitor-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.competitor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.competitor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.competitor-card:hover .competitor-image img {
    transform: scale(1.05);
}

.competitor-card h3 {
    color: #8B5CF6;
    font-size: 1.6rem;
    margin: 0 0 1rem 0;
    padding: 1.5rem 2rem 0;
}

.competitor-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}

.competitor-pros,
.competitor-cons {
    margin: 1.5rem 0;
    padding: 0 2rem;
}

.competitor-pros:last-child,
.competitor-cons:last-child {
    padding-bottom: 2rem;
}

.competitor-pros h4 {
    color: #10b981;
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
}

.competitor-cons h4 {
    color: #ef4444;
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
}

.competitor-pros ul,
.competitor-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.competitor-pros li,
.competitor-cons li {
    font-size: 0.95rem;
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    line-height: 1.5;
}

.competitor-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.competitor-cons li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
    font-size: 1.2rem;
}

.competitive-positioning {
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
}

.competitive-positioning h3 {
    color: #8B5CF6;
    margin-top: 0;
}

.competitive-positioning ul {
    list-style: none;
    padding: 0;
}

.competitive-positioning li {
    font-size: 1.05rem;
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    line-height: 1.7;
}

.competitive-positioning li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-size: 1.5rem;
}

/* Design Purpose */
.purpose-dual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.purpose-column {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.purpose-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.purpose-column h3 {
    color: #8B5CF6;
    text-align: center;
    margin: 0 0 1.5rem 0;
}

.purpose-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.purpose-column li {
    font-size: 1.1rem;
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    line-height: 1.6;
}

.purpose-column li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-weight: 700;
}

/* Solution */
.solution-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.solution-column {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.solution-column h3 {
    color: #8B5CF6;
    margin-top: 0;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    font-size: 1rem;
    padding: 1rem 0;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.solution-features strong {
    color: #8B5CF6;
    font-weight: 600;
}

/* User Journey */
.journey-stages {
    margin: 3rem 0;
}

.journey-stage {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.journey-stage h4 {
    color: #8B5CF6;
    font-size: 1.8rem;
    margin: 0 0 2rem 0;
    text-align: center;
}

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

.action-item {
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 8px;
}

.action-item h5 {
    color: #8B5CF6;
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
}

.action-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.emotion-line {
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    text-align: center;
}

.emotion-line.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.emotion-line.mixed {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.touchpoints {
    margin-top: 1rem;
}

.touchpoints ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.touchpoints li {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: #8B5CF6;
    color: white;
    border-radius: 20px;
}

.persona-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
    padding: 3rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
}

.persona-column h4 {
    color: #8B5CF6;
    margin-top: 0;
}

.persona-column ul {
    list-style: none;
    padding: 0;
}

.persona-column li {
    font-size: 0.95rem;
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    line-height: 1.6;
}

.persona-column li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-size: 1.5rem;
}

/* Features Detailed */
.features-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.feature-group {
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
}

.feature-group h4 {
    color: #8B5CF6;
    margin-top: 0;
}

.feature-group ul {
    list-style: none;
    padding: 0;
}

.feature-group li {
    font-size: 1rem;
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    line-height: 1.6;
}

.feature-group li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-weight: 700;
}

/* Screens Overview */
.screens-overview ul {
    list-style: none;
    padding: 0;
}

.screens-overview li {
    font-size: 1.1rem;
    padding: 1rem 0;
    line-height: 1.7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.screens-overview li:last-child {
    border-bottom: none;
}

.screens-overview strong {
    color: #8B5CF6;
    font-weight: 600;
}

/* Responsive Design */

/* Tablet and below (≤1024px) */
@media (max-width: 1024px) {
    .inspiration-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem 2rem;
        padding-top: 3rem;
    }

    .timeline-connector {
        display: none;
    }

    .node-marker {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
    }

    .node-marker::after {
        height: 30px;
    }

    .node-content {
        margin-top: 0;
    }
}

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

    .competitor-image {
        height: 180px;
    }
}

@media (max-width: 1024px) {
    .project-hero {
        padding: 6rem 3rem;
        min-height: 70vh;
    }

    .case-study-section {
        padding: 6rem 3rem;
    }

    .section-content {
        max-width: 100%;
    }

    .design-principles {
        grid-template-columns: 1fr;
    }

    .exploration-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 5rem 2rem;
        min-height: 60vh;
    }

    .project-hero-meta {
        gap: 2rem;
    }

    .case-study-section {
        padding: 5rem 2rem;
    }

    /* Inspiration Timeline - 2 columns on mobile */
    .inspiration-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
        padding-top: 3rem;
    }

    .timeline-connector {
        display: none;
    }

    .node-marker {
        position: absolute;
        top: -35px;
        left: 50%;
        transform: translateX(-50%);
    }

    .node-marker::after {
        height: 25px;
    }

    .personal-timeline-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }

    .timeline-intro {
        font-size: 1rem;
        margin: 1.5rem 0 3rem;
    }

    .design-principles,
    .research-findings,
    .exploration-grid,
    .impact-metrics,
    .facts-grid,
    .problems-grid,
    .competitors-grid,
    .purpose-dual,
    .solution-overview,
    .persona-insights,
    .features-detailed {
        grid-template-columns: 1fr;
    }

    .competitor-image {
        height: 160px;
    }

    .competitor-card h3 {
        font-size: 1.4rem;
        padding: 1.2rem 1.5rem 0;
    }

    .competitor-description {
        font-size: 0.9rem;
        padding: 0 1.5rem;
    }

    .competitor-pros,
    .competitor-cons {
        padding: 0 1.5rem;
    }

    .fact-card {
        flex-direction: column;
    }

    .fact-image {
        width: 100%;
        height: 200px;
    }

    .fact-content {
        padding: 1.5rem;
    }

    .journey-actions {
        grid-template-columns: 1fr;
    }

    .tier-stats {
        grid-template-columns: 1fr;
    }

    .detail-row {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        gap: 1rem;
    }

    .iteration-timeline::before {
        left: 10px;
    }

    .timeline-marker {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .next-project-link {
        font-size: 1.8rem;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .project-hero {
        padding: 4rem 1.5rem;
        min-height: 50vh;
    }

    .section-title {
        font-size: clamp(2rem, 7vw, 2.5rem);
        margin-bottom: 3rem;
    }

    .section-content p {
        font-size: 1.063rem;
    }

    .case-study-section {
        padding: 4rem 1.5rem;
    }

    .principle-card,
    .finding-item,
    .exploration-item {
        padding: 2rem 1.5rem;
    }

    .principle-number {
        font-size: 3rem;
    }

    .finding-stat {
        font-size: 3rem;
    }

    /* Inspiration Timeline - 1 column on small mobile */
    .inspiration-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 2.5rem;
    }

    .node-marker {
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 18px;
        height: 18px;
    }

    .node-marker::after {
        height: 20px;
    }

    .node-content {
        padding: 1.2rem;
    }

    .node-content h4 {
        font-size: 1rem;
    }

    .node-content p {
        font-size: 0.9rem;
    }

    .employment-chart {
        padding: 1rem;
    }

    .chart-bars {
        height: 120px;
        gap: 1rem;
    }

    .chart-bar {
        width: 70px;
    }

    .principle-card,
    .finding-item,
    .exploration-item {
        padding: 1.5rem;
    }

    .finding-stat {
        font-size: 3rem;
    }

    .metric-value {
        font-size: 3rem;
    }

    .next-project-link {
        font-size: 1.5rem;
        padding: 1rem 1.5rem;
    }
}

/* ===================================
   Game Hub Project Specific Styles
   =================================== */

/* Demo Section */
.demo-section {
    background: #0a0e1a;
    padding: 5rem 2rem;
}

.demo-section .section-title {
    color: #ffffff;
}

.demo-section .section-intro {
    color: #a0a8b8;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #141824;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.demo-frame {
    width: 100%;
    height: 900px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: #0a0e1a;
    display: block;
    margin: 0 auto;
}

.demo-instructions {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    border-radius: 8px;
}

.demo-instructions p {
    color: #a0a8b8;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.demo-instructions strong {
    color: #10b981;
    font-weight: 600;
}

/* Design System Grid */
.design-system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.design-system-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.design-system-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.design-system-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.color-swatches {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.swatch {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.swatch:hover {
    transform: scale(1.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #10b981, #3b82f6);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

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

/* Tech Stack */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tech-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.tech-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.tech-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Code Highlight */
.code-highlight {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.code-highlight h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.code-highlight ul {
    list-style: none;
    padding: 0;
}

.code-highlight li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Decision Grid */
.decision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.decision-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.decision-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.decision-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Reflection Content */
.reflection-content {
    max-width: 900px;
}

.reflection-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.reflection-content ul {
    list-style: none;
    padding-left: 0;
}

.reflection-content li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.reflection-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* UI Showcase */
.ui-showcase {
    text-align: center;
}

.ui-showcase img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .demo-container {
        padding: 1.5rem;
    }

    .demo-frame {
        height: 700px;
    }

    .process-timeline {
        padding-left: 2rem;
    }

    .timeline-marker {
        left: -2rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.9rem;
    }

    .features-grid,
    .design-system-grid,
    .decision-grid {
        grid-template-columns: 1fr;
    }
}
