/* =========================================================
   PROJECT EXHIBIT PAGE CSS — projects/*.html
   Obsidian Emerald & Champagne Amber Edition
========================================================= */

body {
    overflow-x: hidden;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    z-index: 9999;
    background: linear-gradient(90deg, #10e89f, #22d3ee, #f5b041);
    box-shadow: 0 0 20px rgba(16, 232, 159, 0.85);
}

.proj-nav {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 1850px;
    margin: auto;
    padding: 28px clamp(24px, 5vw, 90px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.nav-actions-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(209, 250, 229, 0.50);
}

.container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1750px;
    margin: auto;
    padding-left: clamp(24px, 5vw, 90px);
    padding-right: clamp(24px, 5vw, 90px);
}

.section {
    padding-top: clamp(78px, 8vw, 120px);
}

.label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #34d399;
}

.label::before {
    content: "";
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, #10e89f, #f5b041, transparent);
}

.section-title {
    max-width: 1050px;
    margin-bottom: 24px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(28px, 4.4vw, 76px);
    line-height: 0.98;
    letter-spacing: clamp(-3px, -0.2vw, -1px);
    overflow-wrap: break-word;
}

.section-description {
    max-width: 900px;
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.85;
    color: rgba(203, 213, 225, 0.62);
}

/* HERO */
.hero {
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 64px;
}

.hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(36px, 5vw, 90px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 16px;
    border: 1px solid rgba(110, 231, 183, 0.22);
    border-radius: 100px;
    background: rgba(12, 22, 22, 0.62);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(236, 253, 245, 0.78);
}

.hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(32px, 5.2vw, 94px);
    line-height: 0.92;
    letter-spacing: clamp(-4px, -0.25vw, -1px);
    margin-bottom: 24px;
    overflow-wrap: break-word;
    background: linear-gradient(110deg, #ffffff 15%, #e2fdf4 36%, #34d399 60%, #f5b041 84%, #ffffff);
    background-size: 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShine 6s linear infinite;
}

.hero-text {
    max-width: 720px;
    font-size: clamp(15px, 1.05vw, 19px);
    line-height: 1.78;
    color: rgba(203, 213, 225, 0.68);
    margin-bottom: 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 100px;
    background: linear-gradient(135deg, #10e89f, #22d3ee);
    color: #03110d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 38px rgba(16, 232, 159, 0.32);
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(16, 232, 159, 0.45);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tag {
    padding: 8px 14px;
    border: 1px solid rgba(110, 231, 183, 0.16);
    border-radius: 100px;
    background: rgba(16, 232, 159, 0.05);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(236, 253, 245, 0.68);
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
}

.image-frame {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(110, 231, 183, 0.18);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(16, 30, 30, 0.78), rgba(8, 12, 14, 0.45));
    box-shadow: 0 45px 135px rgba(0, 0, 0, 0.58), 0 0 85px rgba(16, 232, 159, 0.12);
    overflow: hidden;
}

.image-frame::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #10e89f, #f5b041, transparent);
}

.image-frame img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    background: #091012;
}

.floating-stat {
    position: absolute;
    z-index: 10;
    padding: 15px 20px;
    border: 1px solid rgba(110, 231, 183, 0.22);
    border-radius: 16px;
    background: rgba(7, 12, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.52);
}

.stat1 {
    left: -26px;
    bottom: 26px;
}

.stat2 {
    right: -20px;
    top: 26px;
}

.stat-small {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.48);
}

.stat-big {
    margin-top: 6px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
}

.green {
    color: #34d399;
}

.purple {
    color: #f5b041;
}

.cyan {
    color: #22d3ee;
}

/* QUICK STATS BAR */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(110, 231, 183, 0.14);
    border-bottom: 1px solid rgba(110, 231, 183, 0.14);
}

.stat-box {
    padding: 36px 28px;
    border-right: 1px solid rgba(110, 231, 183, 0.12);
}

.stat-box:last-child {
    border-right: none;
}

.stat-number {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(32px, 3vw, 54px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.05;
}

.stat-label {
    margin-top: 10px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(209, 250, 229, 0.45);
}

/* FEATURE CARDS */
.feature-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature {
    position: relative;
    min-height: 230px;
    padding: 30px;
    border: 1px solid rgba(110, 231, 183, 0.12);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(16, 26, 28, 0.72), rgba(8, 12, 14, 0.48));
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature:hover {
    transform: translateY(-7px);
    border-color: rgba(16, 232, 159, 0.50);
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.42), 0 0 42px rgba(16, 232, 159, 0.12);
}

.feature-number {
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f5b041;
    margin-bottom: 24px;
}

.feature h3 {
    margin-bottom: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    line-height: 1.15;
}

.feature p {
    line-height: 1.72;
    font-size: 14px;
    color: rgba(203, 213, 225, 0.62);
}

/* ARCHITECTURE 5-STAGE PIPELINE */
.pipeline {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.pipeline-node {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 18px;
    border: 1px solid rgba(110, 231, 183, 0.14);
    border-radius: 22px;
    background: rgba(14, 24, 24, 0.62);
    text-align: center;
    transition: 0.35s;
}

.pipeline-node:hover {
    transform: translateY(-7px);
    border-color: rgba(16, 232, 159, 0.56);
    background: rgba(16, 232, 159, 0.10);
}

.pipeline-step {
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #22d3ee;
    margin-bottom: 12px;
}

.pipeline-node h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
}

.pipeline-node p {
    font-size: 12px;
    line-height: 1.58;
    color: rgba(203, 213, 225, 0.58);
}

.arrow {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #10e89f;
}

/* INTERACTIVE SCREENSHOT SHOWCASE */
.gallery-wrapper {
    margin-top: 46px;
}

.dashboard-showcase {
    padding: 12px;
    border: 1px solid rgba(110, 231, 183, 0.16);
    border-radius: 28px;
    background: rgba(14, 24, 24, 0.54);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.48);
    overflow: hidden;
}

.dashboard-showcase img {
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    background: #080d0f;
    display: block;
    border-radius: 20px;
    transition: opacity 0.2s ease;
}

.gallery-bar {
    margin-top: 14px;
    padding: 12px 18px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-caption {
    font-size: 13px;
    font-weight: 600;
    color: rgba(236, 253, 245, 0.78);
}

.gallery-hint {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5b041;
}

.gallery-thumbs {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gallery-thumb {
    border: 1px solid rgba(110, 231, 183, 0.16);
    border-radius: 14px;
    background: rgba(14, 24, 24, 0.56);
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(203, 213, 225, 0.72);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.gallery-thumb img {
    width: 68px;
    height: 44px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    background: #091012;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #10e89f;
    background: rgba(16, 232, 159, 0.16);
    color: #ffffff;
    box-shadow: 0 0 24px rgba(16, 232, 159, 0.24);
}

/* TECHNICAL METRICS / BENCHMARK TABLE */
.performance-table {
    margin-top: 42px;
    overflow-x: auto;
    border: 1px solid rgba(110, 231, 183, 0.14);
    border-radius: 22px;
    background: rgba(12, 20, 22, 0.56);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

th,
td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

tr:last-child td {
    border-bottom: none;
}

th {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #34d399;
    background: rgba(16, 232, 159, 0.09);
}

td {
    font-size: 13.5px;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.5;
}

.metric-highlight {
    color: #fde68a;
    font-weight: 800;
}

/* TECH STACK */
.tech-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tech {
    padding: 26px;
    border: 1px solid rgba(110, 231, 183, 0.12);
    border-radius: 20px;
    background: rgba(14, 24, 24, 0.54);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.tech:hover {
    border-color: rgba(16, 232, 159, 0.45);
    transform: translateY(-4px);
}

.tech-type {
    margin-bottom: 10px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #34d399;
}

.tech-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: #ffffff;
}

/* ROADMAP / FUTURE */
.future-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.future {
    padding: 22px 24px;
    border: 1px solid rgba(110, 231, 183, 0.12);
    border-radius: 16px;
    color: rgba(203, 213, 225, 0.68);
    background: rgba(14, 24, 24, 0.48);
    font-size: 14px;
    line-height: 1.5;
    transition: 0.3s ease;
}

.future:hover {
    transform: translateX(5px);
    border-color: rgba(245, 176, 65, 0.48);
    color: #ffffff;
}

/* FINAL CTA */
.final {
    margin-top: 110px;
    padding: 84px clamp(20px, 5vw, 60px);
    text-align: center;
    border-top: 1px solid rgba(110, 231, 183, 0.12);
}

.final-small {
    margin-bottom: 16px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #34d399;
}

.final h2 {
    max-width: 1050px;
    margin: auto;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(30px, 5.2vw, 92px);
    line-height: 0.95;
    letter-spacing: clamp(-4px, -0.25vw, -1px);
    overflow-wrap: break-word;
}

.final p {
    max-width: 720px;
    margin: 24px auto 34px;
    line-height: 1.8;
    color: rgba(203, 213, 225, 0.58);
}

.final-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border: 1px solid rgba(110, 231, 183, 0.18);
    border-radius: 100px;
    background: rgba(14, 24, 24, 0.62);
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.cta:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 232, 159, 0.65);
    background: rgba(16, 232, 159, 0.16);
}

/* LIGHTBOX ZOOM MODAL */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 9, 0.90);
    backdrop-filter: blur(14px);
}

.lightbox-dialog {
    position: relative;
    z-index: 2;
    max-width: min(92vw, 1320px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox-dialog img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
    border: 1px solid rgba(110, 231, 183, 0.24);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.85);
    background: #080d0f;
}

.lightbox-caption {
    font-size: 13px;
    color: rgba(236, 253, 245, 0.84);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(110, 231, 183, 0.32);
    background: #0d191b;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    border-color: #10e89f;
    background: #132b29;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        max-width: 820px;
    }
    .pipeline {
        grid-template-columns: 1fr;
    }
    .arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid,
    .tech-grid,
    .future-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .nav-status {
        display: none;
    }
    .hero-title {
        letter-spacing: -2px;
    }
    .floating-stat {
        display: none;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(110, 231, 183, 0.12);
    }
}
