/* ===================================
   Point B Case Study - Travel Theme
   =================================== */

/* Variables */
:root {
    --pointb-navy: #1E3A5F;
    --pointb-navy-dark: #152942;
    --pointb-orange: #F97316;
    --pointb-orange-light: #FFEDD5;
    --pointb-sky: #E0F2FE;
    --pointb-sky-dark: #BAE6FD;
    --pointb-white: #FFFFFF;
    --pointb-gray-900: #1F2937;
    --pointb-gray-700: #374151;
    --pointb-gray-500: #6B7280;
    --pointb-gray-300: #D1D5DB;
    --pointb-gray-100: #F3F4F6;
}

/* Body */
.pointb-body {
    background: var(--pointb-white);
    color: var(--pointb-gray-900);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.7;
}

/* Navigation Override */
.pointb-nav {
    background: var(--pointb-white);
    border-bottom: 1px solid var(--pointb-gray-100);
}

.pointb-nav .nav-logo {
    font-weight: 500;
    color: var(--pointb-gray-500);
    font-size: 0.9rem;
}

.pointb-nav .nav-logo:hover {
    color: var(--pointb-navy);
}

/* ===================================
   Hero
   =================================== */
.pointb-hero {
    padding: 9rem 0 4rem;
    background: linear-gradient(135deg, var(--pointb-navy) 0%, var(--pointb-navy-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Abstract travel pattern - road lines */
.pointb-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.03) 49%, rgba(255,255,255,0.03) 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.02) 49%, rgba(255,255,255,0.02) 51%, transparent 51%);
    background-size: 80px 80px;
    pointer-events: none;
}

/* Horizon gradient */
.pointb-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(0deg, rgba(249, 115, 22, 0.15) 0%, transparent 100%);
    pointer-events: none;
}

/* Traveling dot animation - follows grid lines */
.hero-traveling-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(249, 115, 22, 0.7);
    border-radius: 50%;
    box-shadow: 
        0 0 12px rgba(249, 115, 22, 0.5),
        0 0 24px rgba(249, 115, 22, 0.3);
    pointer-events: none;
    z-index: 1;
    animation: travel-grid 20s ease-in-out infinite;
    opacity: 0;
}

.hero-traveling-dot-2 {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 255, 255, 0.2);
    animation: travel-grid-2 24s ease-in-out infinite;
    animation-delay: 0.5s;
}

.hero-traveling-dot-3 {
    width: 5px;
    height: 5px;
    background: rgba(249, 115, 22, 0.5);
    box-shadow: 
        0 0 8px rgba(249, 115, 22, 0.4),
        0 0 16px rgba(249, 115, 22, 0.2);
    animation: travel-grid-3 18s ease-in-out infinite;
    animation-delay: 0.25s;
}

/* Grid-based movement: horizontal then vertical steps */
@keyframes travel-grid {
    0% {
        top: 80px;
        left: 0px;
        opacity: 0;
    }
    3% {
        opacity: 0.8;
    }
    /* Move right along grid line */
    15% {
        top: 80px;
        left: 240px;
    }
    /* Move down */
    25% {
        top: 160px;
        left: 240px;
    }
    /* Move right */
    40% {
        top: 160px;
        left: 480px;
    }
    /* Move down */
    50% {
        top: 240px;
        left: 480px;
    }
    /* Move right */
    65% {
        top: 240px;
        left: 720px;
    }
    /* Move up */
    75% {
        top: 160px;
        left: 720px;
    }
    /* Move right to exit */
    97% {
        top: 160px;
        left: 100%;
        opacity: 0.8;
    }
    100% {
        top: 160px;
        left: 100%;
        opacity: 0;
    }
}

@keyframes travel-grid-2 {
    0% {
        top: 240px;
        right: 0px;
        left: auto;
        opacity: 0;
    }
    3% {
        opacity: 0.6;
    }
    /* Move left along grid line */
    18% {
        top: 240px;
        right: 240px;
        left: auto;
    }
    /* Move up */
    28% {
        top: 160px;
        right: 240px;
        left: auto;
    }
    /* Move left */
    45% {
        top: 160px;
        right: 480px;
        left: auto;
    }
    /* Move down */
    55% {
        top: 240px;
        right: 480px;
        left: auto;
    }
    /* Move left */
    72% {
        top: 240px;
        right: 720px;
        left: auto;
    }
    /* Move up */
    82% {
        top: 80px;
        right: 720px;
        left: auto;
    }
    /* Move left to exit */
    97% {
        top: 80px;
        right: 100%;
        left: auto;
        opacity: 0.6;
    }
    100% {
        top: 80px;
        right: 100%;
        left: auto;
        opacity: 0;
    }
}

@keyframes travel-grid-3 {
    0% {
        bottom: 0px;
        left: 400px;
        top: auto;
        opacity: 0;
    }
    3% {
        opacity: 0.6;
    }
    /* Move up */
    20% {
        bottom: 160px;
        left: 400px;
        top: auto;
    }
    /* Move right */
    35% {
        bottom: 160px;
        left: 560px;
        top: auto;
    }
    /* Move up */
    50% {
        bottom: 240px;
        left: 560px;
        top: auto;
    }
    /* Move left */
    65% {
        bottom: 240px;
        left: 320px;
        top: auto;
    }
    /* Move up */
    80% {
        bottom: 320px;
        left: 320px;
        top: auto;
    }
    /* Move right and exit top */
    97% {
        bottom: 100%;
        left: 480px;
        top: auto;
        opacity: 0.6;
    }
    100% {
        bottom: 100%;
        left: 480px;
        top: auto;
        opacity: 0;
    }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pointb-orange);
    background: rgba(249, 115, 22, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--pointb-white);
    margin: 0 auto 1.5rem;
    text-align: center;
    display: block;
    width: 100%;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-meta-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 120px;
}

.chip-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

.chip-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pointb-white);
}

/* ===================================
   Content Area
   =================================== */
.pointb-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ===================================
   Chapters
   =================================== */
.chapter {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--pointb-gray-100);
}

.chapter:last-child {
    border-bottom: none;
}

.chapter-alt {
    background: var(--pointb-sky);
    margin: 0 -3rem;
    padding: 3.5rem 3rem;
    border-radius: 0;
}

.chapter-solution {
    background: var(--pointb-gray-100);
    margin: 0 -3rem;
    padding: 3.5rem 3rem;
}

.chapter-final {
    background: var(--pointb-navy);
    color: var(--pointb-white);
    margin: 0 -3rem;
    padding: 3.5rem 3rem;
    border-radius: 0;
}

.chapter-final .chapter-num {
    color: var(--pointb-orange);
}

.chapter-final .chapter-title {
    color: var(--pointb-white);
}

.chapter-final p {
    color: #ffffff;
}

.chapter-final .lead-text {
    color: #ffffff !important;
}

.chapter-header {
    margin-bottom: 1.5rem;
}

.chapter-num {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--pointb-orange);
    background: rgba(249, 115, 22, 0.08);
    padding: 0.3rem 0.65rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.chapter-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--pointb-navy);
    margin: 0;
    line-height: 1.2;
}

.chapter-body p {
    font-size: 0.95rem;
    color: var(--pointb-gray-700);
    margin-bottom: 1rem;
    line-height: 1.65;
}

.chapter-body p:last-child {
    margin-bottom: 0;
}

.lead-text {
    font-size: 1.15rem !important;
    color: var(--pointb-gray-900) !important;
    line-height: 1.6;
}

.chapter-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin: 2.25rem 0 0.75rem;
    letter-spacing: -0.01em;
}

.chapter-body h3:first-of-type {
    margin-top: 1.75rem;
}

.chapter-final h4 {
    color: var(--pointb-white);
}

/* ===================================
   Problem Statement
   =================================== */
/* Problem Space Simple */
.problem-space-simple {
    padding: 1rem 1.25rem;
    background: var(--pointb-gray-100);
    border-radius: 8px;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.problem-space-label {
    color: var(--pointb-gray-500);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.problem-space-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.problem-space-item {
    color: var(--pointb-gray-700);
}

.problem-space-item strong {
    color: var(--pointb-navy);
}

.problem-space-divider {
    color: var(--pointb-gray-300);
    font-size: 0.6rem;
}

@media (max-width: 768px) {
    .problem-space-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    
    .problem-space-divider {
        display: none;
    }
}

.problem-statement {
    background: linear-gradient(135deg, var(--pointb-orange-light) 0%, #FFF7ED 100%);
    border-left: 3px solid var(--pointb-orange);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.08);
}

.problem-statement p {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    color: var(--pointb-gray-900) !important;
    margin: 0 !important;
    line-height: 1.5;
}

/* ===================================
   Insight Cards
   =================================== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.insight-card {
    background: var(--pointb-white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.insight-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.insight-card .insight-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.insight-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin: 0 0 0.5rem;
}

.insight-card p {
    font-size: 0.9rem;
    color: var(--pointb-gray-500);
    margin: 0 !important;
    line-height: 1.5;
}

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

/* ===================================
   Phone Mockups
   =================================== */
.screens-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 2rem 0;
}

.screen-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.screen-item:nth-child(even) {
    grid-template-columns: 1fr 260px;
}

.screen-item:nth-child(even) .phone-container {
    order: 2;
}

.screen-item:nth-child(even) .screen-description {
    order: 1;
    text-align: right;
}

.screen-description h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin: 0 0 0.75rem;
}

.screen-description p {
    font-size: 1rem;
    color: var(--pointb-gray-500);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .screen-item,
    .screen-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .screen-item:nth-child(even) .phone-container,
    .screen-item:nth-child(even) .screen-description {
        order: unset;
    }
    
    .screen-item:nth-child(even) .screen-description {
        text-align: left;
    }
    
    .phone-container {
        max-width: 260px;
        margin: 0 auto;
    }
}

/* Phone Frame - Hyper-Realistic Titanium */
.phone-container {
    width: 280px;
    height: 580px;
    /*
     * Titanium frame: bright chamfer edges, dark matte body center.
     * Light source at top-left — highlights wrap around corners, 
     * body stays deep dark, opposite edge slightly warmer.
     */
    background:
        linear-gradient(
            158deg,
            #d4d4d4 0%,
            #b0b0b0 1.5%,
            #787878 4%,
            #404040 7%,
            #262626 11%,
            #191919 18%,
            #141414 35%,
            #141414 55%,
            #1c1c1c 72%,
            #2e2e2e 84%,
            #505050 91%,
            #808080 96%,
            #b8b8b8 98.5%,
            #d0d0d0 100%
        );
    border-radius: 52px;
    padding: 8px;
    position: relative;
    /* Layered shadow system — ambient, mid, contact, edge ring */
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.18),
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 6px 12px rgba(0, 0, 0, 0.08),
        /* Thin crisp outer edge ring */
        0 0 0 0.5px rgba(0, 0, 0, 0.9),
        /* Polished top chamfer — specular from top-left */
        inset 0 2px 1px rgba(255, 255, 255, 0.12),
        inset 1px 0 1px rgba(255, 255, 255, 0.05),
        /* Bottom/right ambient occlusion */
        inset 0 -2px 2px rgba(0, 0, 0, 0.5),
        inset -1px 0 1px rgba(0, 0, 0, 0.2);
}

/* Chamfered edge gloss — polished flat edge reflects light at angle */
.phone-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 52px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.03) 16%,
        transparent 36%,
        transparent 64%,
        rgba(0, 0, 0, 0.04) 84%,
        rgba(0, 0, 0, 0.09) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Dynamic Island */
.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 106px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    box-shadow:
        inset 0 1px 4px rgba(0, 0, 0, 1),
        inset 0 -1px 2px rgba(255, 255, 255, 0.03),
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Camera lens */
.phone-notch::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 26px;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    /* Realistic camera lens with lens flare dot */
    background: radial-gradient(
        circle at 35% 35%,
        #1e2d45 0%,
        #0d1520 45%,
        #000 100%
    );
    border-radius: 50%;
    box-shadow:
        0 0 0 1px rgba(60, 60, 80, 0.7),
        0 0 0 2px rgba(0, 0, 0, 0.9),
        inset 0 0 3px rgba(80, 100, 140, 0.25);
}

/* FaceID sensor */
.phone-notch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, #0d1d2e 40%, #060d14 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(40, 60, 80, 0.5);
}

/* Side Buttons — physically accurate with depth gradients */
.phone-container .side-button-right {
    position: absolute;
    right: -3px;
    top: 120px;
    width: 4px;
    height: 56px;
    background: linear-gradient(
        90deg,
        #3a3a3a 0%,
        #555 30%,
        #484848 50%,
        #2e2e2e 70%,
        #1c1c1c 100%
    );
    border-radius: 0 3px 3px 0;
    box-shadow:
        1px 0 3px rgba(0, 0, 0, 0.6),
        inset -1px 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.phone-container .side-button-left-top {
    position: absolute;
    left: -3px;
    top: 95px;
    width: 4px;
    height: 34px;
    background: linear-gradient(
        270deg,
        #3a3a3a 0%,
        #555 30%,
        #484848 50%,
        #2e2e2e 70%,
        #1c1c1c 100%
    );
    border-radius: 3px 0 0 3px;
    box-shadow:
        -1px 0 3px rgba(0, 0, 0, 0.6),
        inset 1px 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.phone-container .side-button-left-bottom {
    position: absolute;
    left: -3px;
    top: 143px;
    width: 4px;
    height: 64px;
    background: linear-gradient(
        270deg,
        #3a3a3a 0%,
        #555 30%,
        #484848 50%,
        #2e2e2e 70%,
        #1c1c1c 100%
    );
    border-radius: 3px 0 0 3px;
    box-shadow:
        -1px 0 3px rgba(0, 0, 0, 0.6),
        inset 1px 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    /* Glass inset — dark lip + deep screen cavity */
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.28),
        inset 0 2px 6px rgba(0, 0, 0, 0.14),
        inset 0 -1px 3px rgba(0, 0, 0, 0.1);
}

/* Screen glass reflection — subtle angled light sweep */
.phone-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 42px;
    background: linear-gradient(
        140deg,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 25%
    );
    pointer-events: none;
    z-index: 100;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px 10px;
    font-size: 11px;
    font-weight: 600;
    background: transparent;
    position: relative;
    z-index: 15;
}

.status-bar.dark {
    color: var(--pointb-white);
}

.status-bar.light {
    color: var(--pointb-gray-900);
}

/* Status bar backgrounds match each screen's top colour — no white bleed */
.phone-screen:has(.screen-onboarding) .status-bar {
    background: #162847;
}

.phone-screen:has(.screen-search) .status-bar {
    background: #F0F7FC;
}

.phone-screen:has(.screen-results) .status-bar {
    background: #FAFBFD;
}

.phone-screen:has(.screen-detail) .status-bar {
    background: #1a3a5f;
}

.phone-screen:has(.screen-confirmed) .status-bar {
    background: #152942;
}

.status-time {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.02em;
}

.status-icons {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 13px;
}

/* Screen Content Base */
.screen-content {
    height: calc(100% - 44px);
    overflow: hidden;
    position: relative;
}

/* ===================================
   Screen 1: Onboarding - Premium
   =================================== */
.screen-onboarding {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(30, 58, 95, 0.3) 0%, transparent 40%),
        linear-gradient(180deg, #162847 0%, #0f1d35 40%, #0b1528 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

/* Subtle grid pattern */
.screen-onboarding::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 30%, transparent 80%);
}

/* 3D Map Pin Container */
.onboarding-pin-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -0.6rem;
    margin-bottom: 0.6rem;
    z-index: 1;
}

/* Ambient pulse rings */
.pin-pulse {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    animation: pin-ripple 3.5s ease-out infinite;
    pointer-events: none;
}

.pin-pulse-1 {
    width: 60px;
    height: 24px;
    border-radius: 50%;
    animation-delay: 0s;
}

.pin-pulse-2 {
    width: 100px;
    height: 40px;
    border-radius: 50%;
    animation-delay: 1s;
}

.pin-pulse-3 {
    width: 140px;
    height: 56px;
    border-radius: 50%;
    animation-delay: 2s;
}

@keyframes pin-ripple {
    0% {
        transform: translateX(-50%) scale(0.5);
        opacity: 0;
    }
    30% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(-50%) scale(1.8);
        opacity: 0;
    }
}

/* Pin shadow on ground */
.pin-shadow {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 12px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    animation: pin-shadow-breathe 2.5s ease-in-out infinite;
}

@keyframes pin-shadow-breathe {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(0.85); opacity: 0.35; }
}

/* The pin itself */
.onboarding-pin {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pin-float 2.5s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

@keyframes pin-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Pin head - teardrop balloon shape (matches map-pin in search screen) */
.pin-head {
    width: 68px;
    height: 68px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(145deg, #ffffff 0%, #e8e8ee 40%, #d0d0d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transform: rotate(-45deg);
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.15),
        inset 0 2px 6px rgba(255, 255, 255, 0.9),
        inset 0 -4px 8px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.22);
}

/* No gloss overlay needed on teardrop */
.pin-head::before {
    display: none;
}

/* Inner dot — counter-rotated so it stays upright */
.pin-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--pointb-orange) 0%, #FB923C 60%, #F59E0B 100%);
    box-shadow:
        0 2px 8px rgba(249, 115, 22, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Tail hidden — shape is handled by the teardrop border-radius */
.pin-tail {
    display: none;
}

.pin-tail::before { display: none; }
.pin-tail::after  { display: none; }

.onboarding-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 0.6rem;
    line-height: 1;
}

/* Wrapper keeps both words on one line, baseline-aligned */
.ob-title-text {
    display: flex;
    align-items: baseline;
    gap: 0.18em;
    white-space: nowrap;
}

/* "POINT" — ultra-thin, wide-tracked: feels like a destination label */
.ob-title-point {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.22em;
    /* shift right to optically compensate for tracking */
    padding-left: 0.22em;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
}

/* "B" — ultra-bold: the arrival, the destination, the weight of certainty */
.ob-title-b {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--pointb-white);
    text-shadow:
        0 2px 24px rgba(0, 0, 0, 0.4),
        4px 0 16px rgba(249, 115, 22, 0.2);
}


.onboarding-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 200px;
}

.onboarding-features {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.onboarding-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.ob-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6px;
    height: 6px;
    filter: drop-shadow(0 0 3px rgba(249, 115, 22, 0.6));
}

/* Transport icon row — top of welcome screen */
.ob-transport-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0.5rem;
    opacity: 0.45;
}

.ob-t-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-t-icon svg {
    width: 15px;
    height: 15px;
}

.onboarding-btn {
    /* Glass layer over a warm tinted base */
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(249, 115, 22, 0.55) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--pointb-white);
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    max-width: 200px;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    /* Border: bright top edge fading to subtle bottom */
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    /* Shadow: lifted 3D depth, minimal orange glow */
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(249, 115, 22, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Top glass sheen — angled highlight for 3D dome effect */
.onboarding-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.06) 70%,
        transparent 100%
    );
    border-radius: 100px 100px 60% 60%;
    pointer-events: none;
}

.onboarding-skip {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.01em;
}

/* ===================================
   Screen 2: Search - Premium
   =================================== */
.screen-search {
    background: linear-gradient(180deg, #F0F7FC 0%, #E4F0FA 50%, #D8EAFA 100%);
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    position: relative;
}

/* Decorative gradient orbs */
.screen-search::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.screen-search::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.search-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--pointb-orange);
    background: rgba(249, 115, 22, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.loc-pulse {
    width: 5px;
    height: 5px;
    background: var(--pointb-orange);
    border-radius: 50%;
    animation: loc-blink 2s ease-in-out infinite;
}

@keyframes loc-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(249, 115, 22, 0); }
}

.search-header {
    padding: 0.25rem 0 0.75rem;
    position: relative;
    z-index: 1;
}

.search-greeting {
    font-size: 0.8rem;
    color: var(--pointb-gray-500);
    margin-bottom: 0.15rem;
    font-weight: 400;
}

.search-question {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pointb-navy);
    letter-spacing: -0.04em;
}

.search-input-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.search-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--pointb-navy) 0%, #2a4a6b 100%);
    position: relative;
    flex-shrink: 0;
}

.search-icon-circle::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 9px;
    height: 9px;
    border: 1.5px solid white;
    border-radius: 50%;
}

.search-icon-circle::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 5px;
    height: 1.5px;
    background: white;
    transform: rotate(45deg);
    border-radius: 1px;
}

.search-placeholder {
    font-size: 0.85rem;
    color: var(--pointb-gray-400);
    font-weight: 400;
}

.search-map {
    flex: 1;
    background: 
        linear-gradient(135deg, #E2EFF8 0%, #D6E8F5 50%, #CCDFF0 100%);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* Map roads */
.map-road {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
}

.map-road-h {
    top: 45%;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 2px;
}

.map-road-v {
    top: 0;
    bottom: 0;
    left: 55%;
    width: 4px;
    border-radius: 2px;
}

.map-road-d {
    top: 20%;
    left: 10%;
    width: 50%;
    height: 3px;
    transform: rotate(25deg);
    border-radius: 2px;
    opacity: 0.6;
}

/* Map building blocks */
.map-block {
    position: absolute;
    background: rgba(30, 58, 95, 0.06);
    border-radius: 4px;
}

.map-block-1 { top: 15%; left: 12%; width: 35px; height: 25px; }
.map-block-2 { top: 55%; left: 65%; width: 30px; height: 40px; }
.map-block-3 { top: 25%; right: 15%; width: 25px; height: 20px; }

.map-pin {
    position: absolute;
    top: 42%;
    left: 53%;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--pointb-orange) 0%, #FB923C 100%);
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -70%) rotate(-45deg);
    box-shadow: 
        0 8px 20px rgba(249, 115, 22, 0.5),
        0 0 0 2.5px rgba(255, 255, 255, 0.95);
    z-index: 3;
    animation: pin-pulse 2.5s ease-in-out infinite;
}

@keyframes pin-pulse {
    0%, 100% { transform: translate(-50%, -70%) rotate(-45deg) scale(1); }
    50% { transform: translate(-50%, -70%) rotate(-45deg) scale(1.06); }
}

.map-pin::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 16px;
    height: 6px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.15) 0%, transparent 70%);
    transform: translateX(-50%) rotate(45deg);
}

.map-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--pointb-white);
    border-radius: 50%;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Radius ring around pin */
.map-radius {
    position: absolute;
    top: 42%;
    left: 53%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    border: 1.5px solid rgba(249, 115, 22, 0.15);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.04) 0%, transparent 70%);
    z-index: 2;
    animation: radius-pulse 3s ease-in-out infinite;
}

@keyframes radius-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.recent-searches {
    margin-top: 0.6rem;
    position: relative;
    z-index: 1;
}

.recent-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--pointb-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    margin-bottom: 0.35rem;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(0, 0, 0, 0.02);
}

.recent-item-dot {
    width: 6px;
    height: 6px;
    background: var(--pointb-gray-300);
    border-radius: 50%;
    flex-shrink: 0;
}

.recent-item-text {
    display: flex;
    flex-direction: column;
}

.recent-item-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pointb-gray-800);
    letter-spacing: -0.01em;
}

.recent-item-sub {
    font-size: 0.6rem;
    color: var(--pointb-gray-400);
    margin-top: 1px;
}

/* ===================================
   Screen 3: Results - Premium
   =================================== */
.screen-results {
    background: linear-gradient(180deg, #FAFBFD 0%, #F4F6F9 50%, #EEF2F7 100%);
    display: flex;
    flex-direction: column;
}

.results-header {
    padding: 0.4rem 1rem 0.6rem;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.results-route {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--pointb-gray-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.results-route-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.results-route-dot.from {
    background: var(--pointb-orange);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.results-route-dot.to {
    background: var(--pointb-navy);
    box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.15);
}

.results-route-line {
    width: 20px;
    height: 2px;
    background: var(--pointb-gray-200);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.route-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--pointb-orange), var(--pointb-navy));
    border-radius: 2px;
}

.results-filter-bar {
    display: flex;
    gap: 0.35rem;
}

.filter-chip {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    color: var(--pointb-gray-500);
    background: rgba(0, 0, 0, 0.03);
    letter-spacing: 0.01em;
}

.filter-chip.active {
    background: var(--pointb-navy);
    color: white;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
}

.results-title {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--pointb-gray-400);
    letter-spacing: 0.02em;
    margin-top: 0.6rem;
    padding: 0 1rem;
}

.results-list {
    flex: 1;
    padding: 0.4rem 0.75rem 0.75rem;
    overflow-y: auto;
}

.result-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.result-rank {
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--pointb-gray-300);
    letter-spacing: -0.02em;
}

.result-card.recommended {
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 243, 224, 0.98) 100%);
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 
        0 8px 24px rgba(249, 115, 22, 0.1),
        0 2px 8px rgba(249, 115, 22, 0.05),
        0 0 0 1px rgba(249, 115, 22, 0.08);
}

.result-card.recommended .result-rank {
    color: var(--pointb-orange);
    font-weight: 800;
}

.result-card.recommended::before {
    content: 'AI Pick';
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, var(--pointb-orange) 0%, #FB923C 100%);
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 3px 10px 3px 8px;
    border-radius: 0 16px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    flex-shrink: 0;
    color: white;
}

.result-icon-box.icon-train {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

.result-icon-box.icon-taxi {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

.result-icon-box.icon-bus {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.result-type-info {
    display: flex;
    flex-direction: column;
}

.result-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--pointb-gray-900);
    letter-spacing: -0.02em;
}

.result-sub {
    font-size: 0.6rem;
    color: var(--pointb-gray-400);
    margin-top: 1px;
}

.result-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pointb-gray-800);
}

.result-rating-bar {
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #F59E0B 0%, #FBBF24 100%);
    border-radius: 2px;
}

.result-details {
    display: flex;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--pointb-gray-500);
    align-items: center;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.result-stat {
    display: flex;
    flex-direction: column;
}

.result-stat-val {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--pointb-gray-800);
    letter-spacing: -0.01em;
}

.result-stat-lbl {
    font-size: 0.5rem;
    color: var(--pointb-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-tag {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.06) 0%, rgba(30, 58, 95, 0.1) 100%);
    color: var(--pointb-navy);
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-left: auto;
}

/* ===================================
   Screen 4: Detail - Premium
   =================================== */
.screen-detail {
    background: linear-gradient(180deg, #F7F9FC 0%, #F0F3F8 50%, #EBF0F6 100%);
    display: flex;
    flex-direction: column;
}

.detail-hero {
    background: 
        radial-gradient(ellipse at 70% 10%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, #1a3a5f 0%, #152942 60%, #0f1d30 100%);
    padding: 0.5rem 1rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Decorative arc */
.detail-hero::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -40px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.detail-hero::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.detail-hero-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.detail-back {
    font-size: 1rem;
    color: var(--pointb-white);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
}

.detail-share-btn {
    font-size: 0.9rem;
    color: var(--pointb-white);
    opacity: 0.6;
    letter-spacing: 2px;
}

.detail-hero-content {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: -0.35rem;
    align-self: stretch;
}

.detail-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-icon-large {
    width: 48px;
    height: 48px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(59, 130, 246, 0.75) 45%,
        rgba(96, 165, 250, 0.90) 100%
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 10px 28px rgba(59, 130, 246, 0.42),
        0 4px 10px rgba(59, 130, 246, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.50),
        inset 0 -1px 0 rgba(0, 0, 0, 0.10);
    position: relative;
    overflow: hidden;
}

/* Dome glass sheen */
.detail-icon-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.0) 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

/* Subtle radial inner glow */
.detail-icon-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.28) 0%, rgba(59, 130, 246, 0.12) 65%, transparent 100%);
    border-radius: 16px;
    pointer-events: none;
}

.detail-hero-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pointb-white);
    margin: 0 0 0.1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.detail-hero-text p {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.3;
}

.detail-hero-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.detail-stats {
    display: flex;
    justify-content: space-around;
    padding: 0.85rem 0.6rem;
    background: rgba(255, 255, 255, 0.97);
    margin: -0.5rem 0.6rem 0;
    border-radius: 14px;
    position: relative;
    z-index: 5;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.detail-stat {
    text-align: center;
    flex: 1;
    position: relative;
}

.detail-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 65%;
    width: 1px;
    background: var(--pointb-gray-200);
}

.detail-stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--pointb-navy);
    letter-spacing: -0.03em;
}

.detail-stat-label {
    font-size: 0.55rem;
    color: var(--pointb-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.1rem;
}

.detail-section {
    padding: 0.75rem 0.85rem;
    margin-top: 0.25rem;
}

.detail-section-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--pointb-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.detail-ai-insight {
    background: 
        linear-gradient(135deg, rgba(224, 242, 254, 0.6) 0%, rgba(240, 249, 255, 0.6) 100%);
    border: 1px solid rgba(59, 130, 246, 0.08);
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.detail-ai-badge {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--pointb-navy), #2a4a6b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 10px rgba(30, 58, 95, 0.2);
}

.detail-ai-text {
    font-size: 0.72rem;
    color: var(--pointb-gray-600);
    line-height: 1.5;
}

/* Reliability bar */
.detail-reliability {
    padding: 0 0.85rem;
    margin-top: 0.15rem;
}

.reliability-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
}

.reliability-bar {
    flex: 1;
    height: 7px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.reliability-fill {
    width: 97%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #059669 0%,
        #10B981 45%,
        #34D399 80%,
        #6EE7B7 100%
    );
    border-radius: 100px;
    position: relative;
    box-shadow:
        0 0 10px rgba(16, 185, 129, 0.55),
        0 0 4px rgba(16, 185, 129, 0.3);
}

/* Shimmer highlight on top of the fill */
.reliability-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
    border-radius: 100px 100px 0 0;
}

.reliability-pct {
    font-size: 0.65rem;
    font-weight: 800;
    color: #10B981;
    letter-spacing: -0.02em;
    min-width: 2.2rem;
    text-align: right;
}

.detail-book-btn {
    background: linear-gradient(
        145deg,
        #F97316 0%,
        #FB923C 60%,
        #FDBA74 100%
    );
    color: var(--pointb-white);
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    max-width: 200px;
    margin-top: auto;
    margin-bottom: 0.75rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: -1rem;
    overflow: hidden;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow:
        0 4px 14px rgba(249, 115, 22, 0.30),
        0 2px 5px rgba(249, 115, 22, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.detail-book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.04) 70%,
        transparent 100%
    );
    border-radius: 100px 100px 60% 60%;
    pointer-events: none;
}

/* ===================================
   Screen 5: Confirmed - Premium
   =================================== */
.screen-confirmed {
    background:
        radial-gradient(ellipse at 80% 5%, rgba(59, 130, 246, 0.18) 0%, transparent 40%),
        linear-gradient(
            180deg,
            #152942 0%,
            #1E3A5F 17%,
            #EEF4FA 17.8%,
            #F5F8FC 50%,
            #FFFFFF 100%
        );
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    padding: 0;
    position: relative;
}

/* Sparkle decorative elements */
.confirmed-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--pointb-orange);
    border-radius: 50%;
    animation: sparkle-float 3s ease-in-out infinite;
}

.confirmed-sparkle-1 {
    top: 75px;
    left: 30px;
    opacity: 0.4;
    animation-delay: 0s;
}

.confirmed-sparkle-2 {
    top: 95px;
    right: 35px;
    width: 3px;
    height: 3px;
    background: #10B981;
    opacity: 0.3;
    animation-delay: 0.8s;
}

.confirmed-sparkle-3 {
    top: 110px;
    left: 60px;
    width: 2px;
    height: 2px;
    background: #3B82F6;
    opacity: 0.25;
    animation-delay: 1.5s;
}

@keyframes sparkle-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-6px) scale(1.3); opacity: 0.6; }
}

.confirmed-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.30) 0%,
        rgba(16, 185, 129, 0.72) 50%,
        rgba(5, 150, 105, 0.90) 100%
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-bottom-color: rgba(255, 255, 255, 0.10);
    box-shadow:
        0 10px 28px rgba(16, 185, 129, 0.45),
        0 4px 10px rgba(16, 185, 129, 0.25),
        0 0 0 6px rgba(16, 185, 129, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.10);
    position: relative;
    overflow: hidden;
    animation: success-pop 0.5s ease-out;
}

@keyframes success-pop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Pulse ring */
.confirmed-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1.5px solid rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    animation: pulse-ring 2.5s ease-out infinite;
}

.confirmed-icon::after {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 50%;
    animation: pulse-ring 2.5s ease-out infinite 0.5s;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.confirmed-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.confirmed-subtitle {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

.confirmed-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    padding: 0.85rem;
    width: 100%;
    text-align: left;
    margin-bottom: 0.75rem;
    box-shadow:
        0 14px 36px rgba(30, 58, 95, 0.11),
        0 4px 10px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.confirmed-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.confirmed-card-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.confirmed-card-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(59, 130, 246, 0.75) 45%,
        rgba(96, 165, 250, 0.92) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-bottom-color: rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.6rem;
    color: white;
    box-shadow:
        0 4px 12px rgba(59, 130, 246, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.25);
}

.confirmed-card-info {
    display: flex;
    flex-direction: column;
}

.confirmed-card-name {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--pointb-gray-900);
    letter-spacing: -0.01em;
}

.confirmed-card-sub {
    font-size: 0.55rem;
    color: var(--pointb-gray-400);
    margin-top: 1px;
}

.confirmed-card-price {
    font-weight: 800;
    font-size: 1rem;
    color: var(--pointb-navy);
    letter-spacing: -0.02em;
}

/* Route visual */
.confirmed-route-visual {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0;
    margin: 0 0.25rem;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--pointb-gray-700);
}

.route-dot-mini {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.route-from .route-dot-mini {
    background: var(--pointb-orange);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.15);
}

.route-to .route-dot-mini {
    background: var(--pointb-navy);
    box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.1);
}

.route-line-v {
    width: 1px;
    height: 14px;
    background: linear-gradient(180deg, var(--pointb-orange), var(--pointb-navy));
    margin-left: 2.5px;
    border-radius: 1px;
}

/* Meta row */
.confirmed-meta {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
}

.confirmed-meta-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.meta-label {
    font-size: 0.5rem;
    color: var(--pointb-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.meta-value {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pointb-gray-800);
    letter-spacing: -0.01em;
}

.confirmed-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.confirmed-btn {
    flex: 1;
    padding: 11px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.confirmed-btn-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.confirmed-btn-primary {
    background: linear-gradient(
        145deg,
        #F97316 0%,
        #FB923C 60%,
        #FDBA74 100%
    );
    color: var(--pointb-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow:
        0 5px 16px rgba(249, 115, 22, 0.30),
        0 2px 6px rgba(249, 115, 22, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.confirmed-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 70%, transparent 100%);
    border-radius: 100px 100px 60% 60%;
    pointer-events: none;
}

.confirmed-btn-secondary {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--pointb-navy);
    border: 1px solid rgba(30, 58, 95, 0.12);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* ===================================
   Screen 5: Direction Steps
   =================================== */

/* Nav header */
.dir-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem 0.65rem;
}

.dir-header-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.01em;
}

/* Override confirmed-card margin for this layout */
.screen-confirmed .confirmed-card {
    margin: 0 0.85rem 0;
    width: calc(100% - 1.7rem);
    border-radius: 16px;
    box-sizing: border-box;
}

/* Steps container */
.dir-steps {
    padding: 0.65rem 0.85rem 0;
}

.dir-steps-lbl {
    font-size: 0.48rem;
    font-weight: 600;
    color: var(--pointb-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.55rem;
}

/* Individual step row */
.dir-step {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

/* Left track: icon + vertical connector */
.dir-step-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.dir-step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dir-step-icon svg {
    width: 13px;
    height: 13px;
}

/* Numbered step circle */
.dir-num {
    background: linear-gradient(145deg, #F97316 0%, #FB923C 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.6rem;
    font-weight: 700;
    box-shadow:
        0 2px 6px rgba(249, 115, 22, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Dashed vertical connector between steps */
.dir-connector {
    width: 1px;
    height: 14px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-left: 1px dashed rgba(59, 130, 246, 0.22);
    margin: 2px 0;
}

/* Step text */
.dir-step-body {
    display: flex;
    flex-direction: column;
    padding-bottom: 0.5rem;
    padding-top: 2px;
}

.dir-step-action {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pointb-gray-800);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.dir-step-meta {
    font-size: 0.54rem;
    color: var(--pointb-gray-400);
    margin-top: 2px;
    line-height: 1.3;
}

/* Override confirmed-actions for this layout */
.screen-confirmed .confirmed-actions {
    padding: 0 0.85rem 0.75rem;
    margin-top: 0.5rem;
}

/* ===================================
   Learnings
   =================================== */
.learnings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.learning {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.learning h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #ffffff;
}

.learning p {
    font-size: 0.9rem;
    margin: 0 !important;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

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

/* ===================================
   Footer
   =================================== */
.pointb-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--pointb-gray-100);
}

.back-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pointb-gray-500);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--pointb-navy);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--pointb-gray-500);
    margin: 0;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
    .pointb-hero {
        padding: 8rem 0 3rem;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-meta-row {
        gap: 0.75rem;
    }
    
    .meta-chip {
        padding: 0.75rem 1rem;
        min-width: 100px;
    }
    
    .pointb-content {
        padding: 0 1.5rem;
    }
    
    .chapter {
        padding: 2.5rem 0;
    }
    
    .chapter-alt,
    .chapter-solution,
    .chapter-final {
        margin: 0 -1.5rem;
        padding: 2.5rem 1.5rem;
    }
    
    .pointb-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   Animations
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .chapter {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .chapter:nth-child(1) { animation-delay: 0.1s; }
    .chapter:nth-child(2) { animation-delay: 0.15s; }
    .chapter:nth-child(3) { animation-delay: 0.2s; }
    .chapter:nth-child(4) { animation-delay: 0.25s; }
    .chapter:nth-child(5) { animation-delay: 0.3s; }
}

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

/* ===================================
   UX Artifacts
   =================================== */

/* Artifact Container */
.artifact {
    background: var(--pointb-white);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.artifact-full {
    margin: 1.5rem 0;
}

.artifact-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pointb-gray-500);
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--pointb-gray-100);
    display: flex;
    align-items: center;
}

/* ===================================
   Problem Space Diagram
   =================================== */
.problem-space-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
}

.problem-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--pointb-navy) 0%, #2D4A6F 100%);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.problem-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pointb-white);
}

.problem-branches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.problem-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branch-line {
    width: 2px;
    height: 20px;
    background: var(--pointb-gray-300);
    margin-bottom: 0.5rem;
}

.branch-card {
    background: var(--pointb-gray-100);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    height: 100%;
}

.branch-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.branch-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin-bottom: 0.25rem;
}

.branch-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--pointb-gray-500);
    line-height: 1.4;
}

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

/* ===================================
   Interview Stats
   =================================== */
.interview-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pointb-gray-100);
}

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

.interview-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--pointb-navy);
    line-height: 1;
}

.interview-stat .stat-label {
    font-size: 0.7rem;
    color: var(--pointb-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.interview-questions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

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

.question-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem;
    background: var(--pointb-gray-100);
    border-radius: 6px;
}

.q-num {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pointb-orange);
    background: var(--pointb-orange-light);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.q-text {
    font-size: 0.8rem;
    color: var(--pointb-gray-700);
    line-height: 1.4;
}

/* ===================================
   Observations & Insights Grid
   =================================== */
.obs-insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

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

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

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

.artifact-compact {
    padding: 1rem;
    margin: 0;
}

.artifact-compact .artifact-label {
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
}

.artifact-compact .artifact-intro {
    font-size: 0.75rem;
    color: var(--pointb-gray-500);
    margin-bottom: 0.75rem !important;
}

/* Compact Sticky Notes */
.sticky-notes-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sticky-sm {
    font-size: 0.7rem;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    font-style: italic;
    line-height: 1.3;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.08);
}

.sticky-sm.yellow { background: #fff9c4; color: #5d4e37; }
.sticky-sm.pink { background: #fce4ec; color: #5d3a45; }
.sticky-sm.blue { background: #e3f2fd; color: #37495d; }
.sticky-sm.green { background: #e8f5e9; color: #3d5d45; }

/* Original Sticky Notes */
.sticky-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sticky {
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--pointb-gray-900);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    transform: rotate(-1deg);
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 120px;
}

.sticky:nth-child(even) {
    transform: rotate(1deg);
}

.sticky.yellow {
    background: #FEF3C7;
}

.sticky.pink {
    background: #FCE7F3;
}

.sticky.blue {
    background: #DBEAFE;
}

.sticky.green {
    background: #D1FAE5;
}

/* Insight Cards Stack */
.insight-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-card-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--pointb-sky);
    border-radius: 8px;
    border-left: 3px solid var(--pointb-navy);
}

.insight-card-item .insight-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pointb-navy);
}

.insight-card-item p {
    font-size: 0.9rem;
    margin: 0 !important;
    color: var(--pointb-gray-700);
}

/* ===================================
   Personas
   =================================== */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.persona-card {
    background: var(--pointb-gray-100);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.persona-avatar {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.persona-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin: 0 0 0.5rem;
}

.persona-quote {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--pointb-gray-500);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.persona-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.trait {
    font-size: 0.7rem;
    background: var(--pointb-white);
    color: var(--pointb-gray-700);
    padding: 0.25rem 0.5rem;
    border-radius: 100px;
    border: 1px solid var(--pointb-gray-300);
}

.persona-goal {
    font-size: 0.8rem;
    color: var(--pointb-gray-700);
    padding-top: 0.75rem;
    border-top: 1px solid var(--pointb-gray-300);
}

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

/* ===================================
   Journey Map
   =================================== */
.journey-map {
    overflow-x: auto;
}

.journey-phases {
    display: flex;
    gap: 0.5rem;
    min-width: 700px;
    margin-bottom: 1.5rem;
}

.journey-phase {
    flex: 1;
    background: var(--pointb-gray-100);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.phase-header {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pointb-navy);
    margin-bottom: 0.75rem;
}

.phase-emotion {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.phase-emotion svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.phase-action {
    font-size: 0.8rem;
    color: var(--pointb-gray-700);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.phase-pain {
    font-size: 0.75rem;
    color: var(--pointb-gray-500);
    font-style: italic;
    line-height: 1.4;
}

.journey-opportunity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--pointb-orange-light) 0%, #FFF7ED 100%);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.08);
}

.opp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(249, 115, 22, 0.12);
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--pointb-orange);
}

.opp-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.opp-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pointb-gray-900);
}

/* ===================================
   Value Proposition
   =================================== */
.value-prop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.vp-section {
    padding: 1rem;
    border-radius: 12px;
}

.vp-section h5 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
}

.vp-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vp-section li {
    font-size: 0.85rem;
    padding: 0.35rem 0;
    color: var(--pointb-gray-700);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.vp-section li:last-child {
    border-bottom: none;
}

.vp-gains {
    background: #D1FAE5;
}

.vp-gains h5 {
    color: #065F46;
}

.vp-pains {
    background: #FEE2E2;
}

.vp-pains h5 {
    color: #991B1B;
}

.vp-jobs {
    background: #DBEAFE;
}

.vp-jobs h5 {
    color: #1E40AF;
}

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

/* ===================================
   HMW Statements
   =================================== */
.hmw-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hmw-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--pointb-gray-100);
    border-radius: 8px;
    align-items: flex-start;
}

.hmw-item.featured {
    background: linear-gradient(135deg, var(--pointb-sky) 0%, #F0F9FF 100%);
    border: 1px solid var(--pointb-navy);
}

.hmw-prefix {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--pointb-orange);
    white-space: nowrap;
}

.hmw-text {
    font-size: 0.9rem;
    color: var(--pointb-gray-700);
    line-height: 1.4;
}

/* ===================================
   User Flows
   =================================== */
.user-flows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.flow {
    background: var(--pointb-gray-100);
    border-radius: 12px;
    padding: 1.25rem;
}

.flow-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin-bottom: 1rem;
}

.flow-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.flow-step {
    background: var(--pointb-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pointb-gray-700);
    border: 1px solid var(--pointb-gray-300);
}

.flow-arrow {
    color: var(--pointb-gray-400);
    font-size: 0.9rem;
}

/* ===================================
   Style Guide
   =================================== */
.style-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sg-section h5 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pointb-gray-500);
    margin: 0 0 1rem;
}

/* Color Swatches */
.color-swatches {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.swatch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.swatch-color {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.swatch-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pointb-gray-900);
}

.swatch-hex {
    font-size: 0.75rem;
    color: var(--pointb-gray-500);
    font-family: monospace;
}

/* Type Samples */
.type-samples {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.type-sample {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.type-label {
    font-size: 0.7rem;
    color: var(--pointb-gray-500);
}

.type-preview {
    color: var(--pointb-gray-900);
}

/* Component Samples */
.component-samples {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sample-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
}

.sample-btn-primary {
    background: var(--pointb-orange);
    color: white;
}

.sample-btn-secondary {
    background: var(--pointb-gray-100);
    color: var(--pointb-gray-700);
    border: 1px solid var(--pointb-gray-300);
}

.sample-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--pointb-gray-100);
    padding: 0.6rem 1rem;
    border-radius: 8px;
}

.sample-card-icon {
    font-size: 1rem;
}

.sample-card-text {
    font-size: 0.8rem;
    color: var(--pointb-gray-700);
}

.sample-badge {
    display: inline-block;
    background: var(--pointb-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

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

/* ===================================
   Artifact Intro Text
   =================================== */
.artifact-intro {
    font-size: 0.9rem;
    color: var(--pointb-gray-500);
    margin: 0 0 1.25rem !important;
    font-style: italic;
}

/* ===================================
   Affinity Clusters
   =================================== */
.affinity-clusters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.affinity-cluster {
    background: var(--pointb-white);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-top: 2.5px solid var(--pointb-gray-300);
    transition: box-shadow 0.2s ease;
}

.affinity-cluster:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Per-cluster accent border */
.affinity-cluster:nth-child(1) { border-top-color: #3B82F6; }
.affinity-cluster:nth-child(2) { border-top-color: var(--pointb-orange); }
.affinity-cluster:nth-child(3) { border-top-color: #14B8A6; }
.affinity-cluster:nth-child(4) { border-top-color: var(--pointb-navy); }

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

.cluster-icon {
    font-size: 1.25rem;
}

.cluster-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pointb-navy);
}

.cluster-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pointb-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.cluster-summary {
    font-size: 0.85rem;
    color: var(--pointb-gray-600);
    line-height: 1.5;
}

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

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

/* ===================================
   Detailed Insights
   =================================== */
.insights-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

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

.insight-detailed {
    background: var(--pointb-white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 3px solid var(--pointb-navy);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease;
}

.insight-detailed:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.insight-num-large {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pointb-orange);
    line-height: 1;
}

.insight-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin: 0;
}

.insight-body {
    font-size: 0.85rem;
    color: var(--pointb-gray-700);
    line-height: 1.55;
    margin: 0 0 0.75rem !important;
}

.insight-evidence {
    background: var(--pointb-white);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.evidence-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--pointb-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.evidence-quote {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--pointb-gray-600);
    line-height: 1.4;
}

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

/* ===================================
   Detailed Persona Cards
   =================================== */
.persona-detailed {
    margin: 1.5rem 0;
    padding: 0;
    overflow: hidden;
}

.persona-detailed-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    color: white;
}

.persona-detailed-header.efficiency {
    background: linear-gradient(135deg, #3D5A73 0%, #4A6A82 100%);
}

.persona-detailed-header.explorer {
    background: linear-gradient(135deg, #7B6B99 0%, #9585AD 100%);
}

.persona-detailed-header.planner {
    background: linear-gradient(135deg, #4A7C6F 0%, #5E9185 100%);
}

.persona-avatar-large {
    font-size: 3.5rem;
    line-height: 1;
}

.persona-intro {
    flex: 1;
}

.persona-detailed-header p {
    color: #ffffff !important;
}

.persona-type {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.persona-name-large {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.persona-tagline {
    font-size: 0.95rem;
    color: #ffffff !important;
    opacity: 0.9;
    margin: 0 !important;
    font-style: italic;
}

.persona-detailed-body {
    padding: 1.25rem;
}

.persona-section {
    margin-bottom: 1rem;
}

.persona-section:last-child {
    margin-bottom: 0;
}

.persona-section h5 {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pointb-gray-500);
    margin: 0 0 0.5rem;
}

.persona-demographics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.demo-item {
    display: flex;
    flex-direction: column;
    background: var(--pointb-gray-100);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    min-width: 120px;
}

.demo-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pointb-gray-500);
    margin-bottom: 0.25rem;
}

.demo-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pointb-gray-900);
}

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

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

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

.persona-list li {
    font-size: 0.8rem;
    color: var(--pointb-gray-700);
    padding: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
    border-bottom: 1px solid var(--pointb-gray-100);
}

.persona-list li:last-child {
    border-bottom: none;
}

.persona-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--pointb-navy);
    font-weight: bold;
}

.persona-list.frustrations li::before {
    content: '✕';
    color: #DC2626;
    font-size: 0.7rem;
}

.persona-list.needs li::before {
    content: '✓';
    color: #059669;
}

.persona-quote-block {
    background: var(--pointb-gray-100);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    position: relative;
}

.persona-quote-block .quote-icon {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    line-height: 1;
    color: var(--pointb-gray-300);
    font-family: Georgia, serif;
}

.persona-quote-block p {
    margin: 0 !important;
    padding-left: 2rem;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--pointb-gray-700);
    line-height: 1.6;
}

/* ===================================
   Archetype Journey Maps
   =================================== */
.journey-map-labeled {
    position: relative;
    padding-top: 2rem;
}

.journey-map-labeled.efficiency {
    border-top: 3px solid #3D5A73;
}

.journey-map-labeled.explorer {
    border-top: 3px solid #7B6B99;
}

.journey-map-labeled.planner {
    border-top: 3px solid #4A7C6F;
}

.journey-persona-tag {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.journey-map-labeled.efficiency .journey-persona-tag {
    background: #3D5A73;
}

.journey-map-labeled.explorer .journey-persona-tag {
    background: #7B6B99;
}

.journey-map-labeled.planner .journey-persona-tag {
    background: #4A7C6F;
}

.phase-thought {
    font-size: 0.75rem;
    color: var(--pointb-gray-500);
    font-style: italic;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--pointb-gray-300);
}

/* ===================================
   Comparison Grid
   =================================== */
.comparison-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--pointb-gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-row {
    display: grid;
    grid-template-columns: 140px repeat(3, 1fr);
    border-bottom: 1px solid var(--pointb-gray-200);
}

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

.comparison-row.header-row {
    background: var(--pointb-gray-100);
    font-weight: 600;
}

.comparison-row.highlight {
    background: linear-gradient(135deg, var(--pointb-orange-light) 0%, #FFF7ED 100%);
}

.comparison-cell {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    color: var(--pointb-gray-700);
    border-right: 1px solid var(--pointb-gray-200);
    display: flex;
    align-items: center;
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-cell.label {
    font-weight: 600;
    color: var(--pointb-gray-900);
    background: var(--pointb-gray-50);
}

.comparison-row.header-row .comparison-cell {
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .comparison-row {
        grid-template-columns: 100px repeat(3, 1fr);
    }
    
    .comparison-cell {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
}

/* ===================================
   Expanded Value Proposition
   =================================== */
.value-prop-expanded {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.value-prop-expanded .vp-section {
    padding: 1rem;
    border-radius: 12px;
    height: 100%;
}

.value-prop-expanded .vp-section h5 {
    margin-bottom: 1rem;
}

.value-prop-expanded .vp-section li {
    padding: 0.5rem 0;
}

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

/* ===================================
   HMW Grid
   =================================== */
.hmw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.hmw-category h5 {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--pointb-navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--pointb-orange);
}

.hmw-category .hmw-item {
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

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

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

/* ===================================
   Concept Cards
   =================================== */
.concepts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.concept-card {
    background: var(--pointb-white);
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    border: 2px solid var(--pointb-gray-200);
}

.concept-card.rejected {
    opacity: 0.7;
}

.concept-card.selected {
    border-color: var(--pointb-orange);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
}

.concept-status {
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--pointb-gray-300);
    color: var(--pointb-gray-700);
}

.concept-card.selected .concept-status {
    background: var(--pointb-orange);
    color: white;
}

.concept-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin: 0.5rem 0 0.5rem;
}

.concept-card > p {
    font-size: 0.85rem;
    color: var(--pointb-gray-600);
    margin: 0 0 1rem !important;
    line-height: 1.5;
}

.concept-evaluation {
    margin-bottom: 1rem;
}

.eval-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.eval-label {
    font-size: 0.7rem;
    color: var(--pointb-gray-500);
    width: 60px;
}

.eval-bar {
    flex: 1;
    height: 6px;
    background: var(--pointb-gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.eval-fill {
    height: 100%;
    background: var(--pointb-navy);
    border-radius: 3px;
}

.concept-card.selected .eval-fill {
    background: var(--pointb-orange);
}

.concept-reason {
    font-size: 0.8rem;
    color: var(--pointb-gray-600);
    margin: 0 !important;
    padding-top: 0.75rem;
    border-top: 1px solid var(--pointb-gray-200);
}

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

/* ===================================
   Priority Matrix
   =================================== */
.priority-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

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

.matrix-quadrant {
    padding: 1rem;
    border-radius: 10px;
    min-height: auto;
}

.quadrant-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.quadrant-subtitle {
    font-size: 0.65rem;
    color: var(--pointb-gray-500);
    margin-bottom: 0.75rem;
}

.high-impact-low-effort {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.high-impact-low-effort .quadrant-label { color: #065F46; }

.high-impact-high-effort {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

.high-impact-high-effort .quadrant-label { color: #1E40AF; }

.low-impact-low-effort {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.low-impact-low-effort .quadrant-label { color: #92400E; }

.low-impact-high-effort {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
}

.low-impact-high-effort .quadrant-label { color: #991B1B; }

.priority-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.priority-item {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.priority-item.p1 { color: #065F46; }
.priority-item.p2 { color: #1E40AF; }
.priority-item.p3 { color: #92400E; }
.priority-item.p4 { color: #991B1B; }

/* ===================================
   Information Architecture
   =================================== */
.ia-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
}

.ia-level {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ia-connector {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--pointb-navy), var(--pointb-gray-300));
    margin: 0.5rem 0;
}

.ia-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--pointb-white);
    border-radius: 12px;
    border: 1px solid var(--pointb-gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ia-node.ia-root {
    background: linear-gradient(135deg, var(--pointb-navy) 0%, #2D4A6F 100%);
    border: none;
    padding: 1.25rem 2rem;
}

.ia-root .ia-icon {
    font-size: 2rem;
}

.ia-root .ia-label {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.ia-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.ia-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pointb-navy);
}

.ia-level-3 {
    gap: 1.5rem;
}

.ia-group {
    background: var(--pointb-gray-100);
    border-radius: 12px;
    padding: 1rem;
    min-width: 140px;
}

/* Mermaid Diagram Container */
.mermaid-container {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 16px;
    padding: 2rem;
    overflow-x: auto;
}

.mermaid-container .mermaid {
    display: flex;
    justify-content: center;
}

.mermaid-container .mermaid svg {
    max-width: 100%;
    height: auto;
}

/* Mermaid node styling overrides */
.mermaid .node rect,
.mermaid .node polygon {
    fill: #1E3A5F !important;
    stroke: #3B82F6 !important;
    stroke-width: 2px !important;
}

.mermaid .node .label {
    color: #fff !important;
    fill: #fff !important;
}

.mermaid .edgePath .path {
    stroke: #F97316 !important;
    stroke-width: 2px !important;
}

.mermaid .edgeLabel {
    background-color: #0F172A !important;
    color: #fff !important;
}

.ia-group-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pointb-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.ia-leaves {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ia-leaf {
    font-size: 0.8rem;
    color: var(--pointb-gray-700);
    padding: 0.35rem 0.5rem;
    background: var(--pointb-white);
    border-radius: 6px;
}

/* ===================================
   Features Detailed
   =================================== */
.features-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

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

.feature-detail {
    background: var(--pointb-white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-detail:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

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

.feature-icon {
    font-size: 1.5rem;
}

.feature-header h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin: 0;
}

.feature-description {
    font-size: 0.85rem;
    color: var(--pointb-gray-600);
    line-height: 1.55;
    margin: 0 0 0.75rem !important;
}

.feature-insight {
    background: var(--pointb-sky);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.feature-insight .insight-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pointb-navy);
    white-space: nowrap;
}

.feature-insight .insight-text {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--pointb-gray-600);
}

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

/* ===================================
   User Flows Detailed
   =================================== */
.user-flows-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1000px) {
    .user-flows-detailed {
        grid-template-columns: 1fr;
    }
}

.flow-detailed {
    background: var(--pointb-white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.flow-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.flow-num {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pointb-orange);
    background: var(--pointb-orange-light);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    line-height: 1;
}

.flow-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin: 0 0 0.15rem;
}

.flow-info p {
    font-size: 0.75rem;
    color: var(--pointb-gray-500);
    margin: 0 !important;
    line-height: 1.4;
}

.flow-steps-visual {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.flow-step-visual {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.step-circle {
    width: 24px;
    height: 24px;
    background: var(--pointb-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pointb-gray-900);
}

.step-desc {
    font-size: 0.65rem;
    color: var(--pointb-gray-500);
}

.flow-line {
    width: 1px;
    height: 20px;
    background: linear-gradient(180deg, var(--pointb-navy) 0%, var(--pointb-gray-300) 100%);
    margin-left: 11px;
    border-radius: 1px;
    opacity: 0.4;
}

.flow-metric {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pointb-gray-200);
    display: flex;
    gap: 0.5rem;
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pointb-gray-500);
}

.metric-value {
    font-size: 0.75rem;
    color: var(--pointb-orange);
    font-weight: 600;
}

/* ===================================
   Decisions Grid
   =================================== */
.decisions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.decision-card {
    background: var(--pointb-white);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--pointb-navy);
}

.decision-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pointb-navy);
    margin-bottom: 0.75rem;
}

.decision-answer {
    font-size: 0.9rem;
    color: var(--pointb-gray-600);
    line-height: 1.6;
}

.decision-answer em {
    color: var(--pointb-gray-800);
    font-style: normal;
    font-weight: 500;
}

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

/* ===================================
   Expanded Style Guide
   =================================== */
.style-guide-expanded {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.color-swatches-expanded {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.swatch-color-large {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.swatch-info {
    display: flex;
    flex-direction: column;
}

.swatch-info .swatch-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pointb-gray-900);
}

.swatch-info .swatch-hex {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--pointb-gray-500);
}

.swatch-info .swatch-use {
    font-size: 0.75rem;
    color: var(--pointb-gray-500);
    margin-top: 0.15rem;
}

.type-samples-expanded {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.type-sample-large {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.type-preview-large {
    color: var(--pointb-gray-900);
}

.type-specs {
    font-size: 0.7rem;
    color: var(--pointb-gray-500);
}

.component-samples-expanded {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.component-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.sample-card-large {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--pointb-gray-100);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    flex: 1;
}

.sample-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sample-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pointb-gray-900);
}

.sample-card-meta {
    font-size: 0.75rem;
    color: var(--pointb-gray-500);
}

.sample-card-rating {
    font-size: 0.85rem;
    font-weight: 600;
    color: #F59E0B;
}

.sample-badge-local {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
}

.sample-badge-safe {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: #1E40AF;
}

/* ===================================
   Icon Replacements — SVG Based
   =================================== */

/* Icon Dot — inline SVG label marker */
.icon-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

.icon-dot svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
}

.icon-dot.icon-blue svg  { color: #3B82F6; stroke: #3B82F6; }
.icon-dot.icon-orange svg { color: var(--pointb-orange); stroke: var(--pointb-orange); }
.icon-dot.icon-teal svg  { color: #14B8A6; stroke: #14B8A6; }
.icon-dot.icon-navy svg  { color: var(--pointb-navy); stroke: var(--pointb-navy); }

/* Cluster icons — SVG icon boxes */
.cluster-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cluster-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.cluster-icon.icon-blue   { background: rgba(59, 130, 246, 0.1);  color: #3B82F6; }
.cluster-icon.icon-orange { background: rgba(249, 115, 22, 0.1);  color: var(--pointb-orange); }
.cluster-icon.icon-teal   { background: rgba(20, 184, 166, 0.1);  color: #14B8A6; }
.cluster-icon.icon-navy   { background: rgba(30, 58, 95, 0.1);    color: var(--pointb-navy); }

/* Persona initials */
.persona-initial {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.persona-tag-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Journey map mood indicators */
.phase-emotion.mood-positive { color: #10B981; }
.phase-emotion.mood-neutral  { color: #F59E0B; }
.phase-emotion.mood-low      { color: #F97316; }
.phase-emotion.mood-negative { color: #EF4444; }

/* Concept reason markers */
.concept-no {
    color: #EF4444;
    font-weight: 700;
    margin-right: 4px;
}

.concept-yes {
    color: #10B981;
    font-weight: 700;
    margin-right: 4px;
}

/* Feature icons — SVG icon boxes */
.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

.feature-icon.fi-ai    { background: rgba(99, 102, 241, 0.1);  color: #6366F1; }
.feature-icon.fi-chat  { background: rgba(20, 184, 166, 0.1);  color: #14B8A6; }
.feature-icon.fi-local { background: rgba(249, 115, 22, 0.1);  color: var(--pointb-orange); }
.feature-icon.fi-safe  { background: rgba(16, 185, 129, 0.1);  color: #10B981; }
.feature-icon.fi-cost  { background: rgba(30, 58, 95, 0.1);    color: var(--pointb-navy); }
.feature-icon.fi-fast  { background: rgba(245, 158, 11, 0.1);  color: #F59E0B; }

/* Status bar replacements */
.status-signal {
    width: 14px;
    height: 10px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
    opacity: 0.8;
}

.status-signal::before {
    content: '';
    display: block;
    width: 2px;
    height: 3px;
    background: currentColor;
    border-radius: 0.5px;
    box-shadow:
        3.5px 0 0 0 currentColor,
        3.5px -2px 0 0 currentColor,
        7px 0 0 0 currentColor,
        7px -2px 0 0 currentColor,
        7px -4px 0 0 currentColor,
        10.5px 0 0 0 currentColor,
        10.5px -2px 0 0 currentColor,
        10.5px -4px 0 0 currentColor,
        10.5px -6px 0 0 currentColor;
}

.status-signal::after {
    display: none;
}

.status-battery {
    display: inline-block;
    width: 18px;
    height: 9px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    position: relative;
    opacity: 0.6;
}

.status-battery::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 3px;
    bottom: 2px;
    background: currentColor;
    border-radius: 1px;
}

.status-battery::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -3px;
    transform: translateY(-50%);
    width: 2px;
    height: 4px;
    background: currentColor;
    border-radius: 0 1px 1px 0;
}

/* Transport icons — inline SVG */
.result-icon-box.icon-train,
.result-icon-box.icon-taxi,
.result-icon-box.icon-bus,
.sample-card-icon.icon-train,
.confirmed-card-icon-box.icon-train {
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon-box svg,
.confirmed-card-icon-box svg,
.detail-icon-large svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 1.8;
    fill: none;
}

.detail-icon-large.icon-train-lg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon-large.icon-train-lg svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 1.6;
    fill: none;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.22));
}

/* Recent item icon */
.recent-item-icon {
    opacity: 0.4;
}

/* AI detail icon */
.detail-ai-icon {
    font-weight: 800;
    font-size: 0.55rem;
    letter-spacing: 0.03em;
}

