/* --- RESET & VARIABLES --- */
:root {
    --bg-dark: #0f172a;
    --text-light: #f3f4f6;
    --text-muted: #94a3b8;
    --text-gray-400: #9ca3af;
    --primary-yellow: #fbbf24;
    --primary-blue: #3b82f6;
    --blue-400: #60a5fa;
    --green-400: #34d399;
    --purple-500: #a855f7;
    --red-500: #ef4444;
    --surface-dark: rgba(30, 41, 59, 0.6);
    --surface-darker: rgba(15, 23, 42, 0.7);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark);
    margin: 0;
    padding: 0;
    color: var(--text-light);
    overflow-x: hidden;
    padding-top: 45px;
}

/* --- HEADER / NAVIGATION BAR --- */
.sp-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    font-family: Arial, sans-serif;
}

.left-group {
    display: flex;
    align-items: center;
    height: 100%;
}

.sp-back-to-k14 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #007f74;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s;
    cursor: pointer;
}
.sp-back-to-k14:hover {
    background-color: #00665d;
}

.sp-mag-logo {
    margin-left: 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.sp-mag-logo img {
    height: 24px;
    width: auto;
    display: block;
}

.center-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none; 
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-logo img {
    height: 26px;
    width: auto;
    display: block;
}

.right-group {
    display: flex;
    align-items: center;
    padding-right: 15px;
}

.fb-custom-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.fb-custom-btn:hover {
    opacity: 1;
    text-decoration: underline;
}
.fb-custom-btn i {
    font-size: 15px; 
}

@media (max-width: 600px) {
    .center-logo {
        display: none;
    }
}

/* --- SCROLLYTELLING CONTAINER --- */
.step {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* --- BACKGROUND LAYER --- */
.bg-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    transition: transform 1s ease-out;
    filter: saturate(1.2);
}

.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1569154941061-e231b4725ef1?q=80&w=2070&auto=format&fit=crop');
}

.sapo-bg {
    background-image: url('https://images.unsplash.com/photo-1478760329108-5c3ed9d495a0?q=80&w=2074&auto=format&fit=crop');
    filter: saturate(0.8) brightness(0.6);
}

/* --- OVERLAY LAYER --- */
.overlay-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.5) 0%, #0f172a 90%);
    z-index: 1;
    backdrop-filter: blur(3px);
}

.sapo-overlay {
    background: rgba(15, 23, 42, 0.9);
}

/* --- CONTENT LAYER --- */
.content-layer {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 90%;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.step.active .content-layer {
    opacity: 1;
    transform: translateY(0);
}

/* --- TYPOGRAPHY --- */
h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    margin-top: 0;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-weight: 400;
}

.tag-top {
    text-transform: uppercase; 
    letter-spacing: 4px; 
    font-size: 1.1rem; 
    color: var(--text-muted); 
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.main-title {
    font-size: 3rem; 
    color: #fff; 
    font-weight: 900; 
    letter-spacing: 1px;
}
        
.hero-text {
    font-size: 2.8rem; 
    font-weight: 900;
    line-height: 1.3;
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 1.5rem;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
    letter-spacing: 1px;
}

.sub-title {
    font-size: 1.2rem;
    color: var(--primary-yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    display: inline-block;
    border-bottom: 3px solid var(--primary-yellow);
    padding-bottom: 5px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.sapo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary-yellow);
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8);
    position: relative;
    padding: 2rem 0;
}

.sapo-text::before, .sapo-text::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--primary-yellow);
    margin: 1.5rem auto;
    box-shadow: 0 0 10px var(--primary-yellow);
}

/* --- COMPONENTS REPLACING TAILWIND --- */

/* Utility Colors */
.text-white { color: #fff !important; }
.text-dark { color: var(--bg-dark) !important; }
.text-blue { color: var(--blue-400) !important; }
.text-yellow { color: var(--primary-yellow) !important; }
.text-green { color: var(--green-400) !important; }
.text-purple { color: var(--purple-500) !important; }
.text-red { color: var(--red-500) !important; }
.text-gray-400 { color: var(--text-gray-400) !important; }

.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }

/* Icon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.icon-box {
    background: var(--surface-dark);
    backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s, border-color 0.3s;
}
.icon-box:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary-yellow);
    background: rgba(30, 41, 59, 0.8);
}
.icon-box i { font-size: 3.5rem; color: var(--primary-yellow); margin-bottom: 1.5rem; }
.icon-box h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; margin-top: 0; }
.icon-box p { font-size: 0.875rem; color: var(--text-gray-400); margin: 0; }

/* Stats */
.big-number {
    font-size: 7rem;
    font-weight: 900;
    color: var(--primary-yellow);
    line-height: 1;
    margin: 1rem 0;
    letter-spacing: -3px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}
.big-unit {
    font-size: 2.5rem; font-weight: 300; letter-spacing: 5px; text-transform: uppercase; color: var(--text-muted);
}
.divider {
    width: 100px; height: 6px; background: var(--primary-yellow); margin: 2rem auto; border-radius: 3px; box-shadow: 0 0 10px var(--primary-yellow);
}

/* Roadmap */
.roadmap-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}
.roadmap-card {
    flex: 1;
    background: var(--surface-darker);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}
.roadmap-card:hover { transform: scale(1.02); border-color: var(--primary-blue); }
.active-card { border-color: var(--primary-yellow); background: rgba(30, 41, 59, 0.8); }
.roadmap-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; margin-top: 0; }
.card-number { font-size: 2.25rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.unit-small { font-size: 1.125rem; color: var(--text-gray-400); font-weight: 400; }
.roadmap-card p { font-size: 0.875rem; color: var(--text-gray-400); margin: 0; }

/* Charts */
.chart-wrapper {
    display: flex;
    justify-content: center;
    gap: 5rem;
    align-items: flex-end;
    height: 350px;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}
.bar-group { text-align: center; width: 100%; }
.chart-label { margin-bottom: 1.5rem; font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.bar-container { display: flex; gap: 30px; align-items: flex-end; justify-content: center; }
.bar {
    width: 70px;
    background: linear-gradient(to top, #2563eb, #60a5fa);
    border-radius: 8px 8px 0 0;
    transition: height 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 0;
    position: relative;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}
.bar-val {
    position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
    font-weight: 800; font-size: 1.5rem; color: #fff; width: 100px;
}
.bar-year {
    margin-top: 20px; font-weight: 600; color: #94a3b8;
    position: absolute; bottom: -30px; width: 100%; text-align: center;
}
.chart-divider { width: 2px; height: 80%; background: rgba(255,255,255,0.1); display: block; }
.step.active .h-30 { height: 140px; }
.step.active .h-50 { height: 240px; }
.step.active .h-16 { height: 100px; background: linear-gradient(to top, #059669, #34d399); box-shadow: 0 0 15px rgba(5, 150, 105, 0.4); }
.step.active .h-25 { height: 180px; background: linear-gradient(to top, #059669, #34d399); box-shadow: 0 0 15px rgba(5, 150, 105, 0.4); }

/* Standards */
.star-rating { font-size: 3.5rem; color: var(--primary-yellow); margin: 1.5rem 0; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.feature-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    border-left-width: 8px;
    border-left-style: solid;
}
.feature-card.border-blue { border-left-color: var(--primary-blue); }
.feature-card.border-yellow { border-left-color: var(--primary-yellow); }
.feature-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; margin-top: 0; }
.feature-card p { color: var(--text-gray-400); margin: 0; }

/* Infrastructure */
.infra-wrapper { display: flex; flex-direction: column; gap: 3rem; margin-top: 2.5rem; }
@media (min-width: 768px) {
    .infra-wrapper { flex-direction: row; justify-content: center; }
}
.infra-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 1rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.infra-label { color: var(--text-gray-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

/* Parking Viz */
.parking-viz { display: flex; justify-content: center; align-items: center; gap: 4rem; margin-top: 3rem; }
.circle-viz {
    width: 180px; height: 180px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    backdrop-filter: blur(5px); transition: all 0.5s;
}
.circle-viz.basic { border: 2px solid #4b5563; background: rgba(15, 23, 42, 0.8); }
.circle-viz.advanced { border: 2px solid rgba(255,255,255,0.1); background: #1e293b; }
.step.active .circle-viz.advanced { border-color: var(--primary-yellow); box-shadow: 0 0 30px rgba(251, 191, 36, 0.2); transform: scale(1.1); }
.circle-viz .text-5xl { font-size: 3rem; font-weight: 700; color: var(--text-gray-400); }
.circle-viz .text-6xl { font-size: 3.75rem; font-weight: 900; }
.circle-label { font-size: 0.875rem; margin-top: 0.5rem; text-transform: uppercase; color: #6b7280; }
.circle-label.highlight { color: rgba(253, 224, 71, 0.7); font-weight: 700; }
.arrow-icon { font-size: 2.25rem; color: #6b7280; }

/* Connection Grid */
.grid-3-col { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3-col { grid-template-columns: repeat(3, 1fr); } }

.connect-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 2rem;
    border-radius: 0.75rem;
    border-top-width: 4px;
    border-top-style: solid;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.connect-card:hover { transform: translateY(-0.5rem); }
.border-top-blue { border-top-color: var(--primary-blue); }
.border-top-purple { border-top-color: var(--purple-500); }
.border-top-red { border-top-color: var(--red-500); }
.connect-card h3 { font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 0.5rem; margin-top: 0; }
.connect-card p { font-size: 0.875rem; color: var(--text-gray-400); margin: 0; }

/* Community Section */
.big-stat { font-size: 4.5rem; font-weight: 900; margin: 1.5rem 0; line-height: 1; }
.stat-label { font-size: 1.5rem; font-weight: 300; color: #d1d5db; }
.stat-desc {
    margin-top: 1.5rem; background: rgba(30, 41, 59, 0.6); padding: 1.5rem;
    border-radius: 0.5rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: inline-block; color: var(--text-gray-400); border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Summary Grid */
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: left; }
.summary-item {
    background: rgba(30, 41, 59, 0.6);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 5px solid var(--primary-yellow);
    border-top: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}
.summary-label { font-size: 0.75rem; color: var(--text-gray-400); text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
.summary-val { font-size: 1.5rem; font-weight: 900; color: #fff; margin-top: 0.5rem; }

/* Timeline */
.timeline-container {
    margin-top: 2.5rem;
    position: relative;
    border-left: 4px solid var(--primary-blue);
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: left;
}
@media (min-width: 768px) {
    .timeline-container {
        flex-direction: row; border-left: none; margin-left: 0; justify-content: center; gap: 2.5rem; text-align: center;
    }
}
.timeline-item { position: relative; padding-left: 1.5rem; }
@media (min-width: 768px) {
    .timeline-item { width: 33%; padding-left: 0; padding-top: 2rem; }
}
.timeline-icon {
    width: 2rem; height: 2rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 4px solid var(--bg-dark);
    position: absolute; left: -1.2rem; top: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
    .timeline-icon { left: 50%; transform: translateX(-50%); top: -1rem; }
}
.timeline-icon.icon-blue { background-color: var(--primary-blue); box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
.timeline-icon.icon-yellow { background-color: var(--primary-yellow); box-shadow: 0 0 10px rgba(250, 204, 21, 0.5); }

.timeline-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    transition: transform 0.3s;
}
.timeline-item:hover .timeline-card { transform: translateY(-0.5rem); }
.timeline-title { color: #fff; font-weight: 700; font-size: 1.125rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0; }
.timeline-card p { color: var(--text-gray-400); font-size: 0.875rem; margin: 0; }
@media (min-width: 768px) { .timeline-card p { text-align: center; } }

/* Footer / Quote */
.end-title { font-size: 4rem; color: #fff; }
.quote-container { position: relative; margin: 2rem auto; max-width: 900px; padding: 3rem 2rem; }
.quote-icon { font-size: 4rem; color: var(--primary-yellow); opacity: 0.8; margin-bottom: 1rem; display: block; }
.quote-text {
    font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; font-style: italic;
    color: #f3f4f6; line-height: 1.4; text-shadow: 0 2px 10px rgba(0,0,0,0.5); position: relative;
}
.quote-text span {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.credit-box {
    margin-top: 4rem; color: var(--text-muted); font-size: 1rem;
    border-top: 1px solid #333; padding-top: 2rem; display: inline-block;
}
.source-link { color: var(--primary-yellow); text-decoration: underline; transition: color 0.3s; }
.source-link:hover { color: #fff; }

/* Mobile Responsive */
@media (max-width: 768px) {
    h2 { font-size: 2.2rem; }
    .hero-text { font-size: 1.8rem; }
    .big-number { font-size: 4rem; }
    .quote-text { font-size: 1.6rem; }
    .sapo-text { font-size: 1.4rem; padding: 1rem; }
    .sapo-text::before, .sapo-text::after { margin: 1rem auto; width: 50px; }
    
    .icon-grid, .roadmap-container, .summary-grid, .grid-2-col, .grid-3-col {
        grid-template-columns: 1fr;
        flex-direction: column;
        display: flex;
        gap: 1.5rem;
    }
    
    .summary-grid, .grid-3-col, .grid-2-col {
        display: grid; /* Reset override for grid systems */
        grid-template-columns: 1fr;
    }

    .parking-viz { flex-direction: column; gap: 2rem; }

    .chart-wrapper {
        flex-direction: column; gap: 3rem; height: auto; padding: 1.5rem; align-items: center;
    }
    .chart-divider { display: none; }
    .bar-container { gap: 15px; }
    .bar { width: 40px; }
    .bar-val { font-size: 1rem; top: -25px; }
    .step.active .h-30 { height: 100px; }
    .step.active .h-50 { height: 160px; }
    .step.active .h-16 { height: 80px; }
    .step.active .h-25 { height: 120px; }
    
    #page-1 .bg-layer {
        background-image: url('https://images.unsplash.com/photo-1569154941061-e231b4725ef1?q=80&w=2070&auto=format&fit=crop') !important;
        background-position: 65% center !important;
    }
}