/* ============================================
   GREEN PAPER PAGE STYLES
   Documentation page for project purpose & design
   ============================================ */

/* Page Layout */
.gp-page {
    display: flex;
    min-height: 100vh;
    background: var(--bg-body);
}

/* ── Sidebar ── */
.gp-sidebar {
    width: 280px;
    background: var(--bg-body);
    border-right: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 48px 0 32px 0;
    overflow-y: auto;
}

.gp-back-link,
a.gp-back-link,
a.gp-back-link:visited {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 500;
    color: #7f7f7f;
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.15s ease;
}

a.gp-back-link:hover {
    color: #3b3b3b;
}

.gp-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 24px 0;
}

.gp-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.gp-nav-item:hover {
    color: var(--green-primary);
}

/* Active nav item */
.gp-nav-item.is-active {
    color: var(--green-primary);
    font-weight: 500;
}

.gp-nav-item.is-active .gp-nav-prefix {
    color: var(--green-primary);
}

.gp-nav-prefix {
    color: var(--green-primary);
    flex-shrink: 0;
}

/* Floating mantis icon - transitions between active nav items */
.gp-nav-mantis-float {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 16px;
    top: 55px;
    z-index: 102;
    pointer-events: none;
    transition: top 0.3s ease;
}

.gp-nav-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    padding: 24px 8px 12px;
}

/* Sidebar accent bar - squared, overlapping sidebar and content */
.gp-sidebar-accent {
    position: absolute;
    right: -8px;
    top: 55px;
    width: 16px;
    height: 30px;
    background: var(--green-primary);
    border-radius: 0;
    z-index: 101;
    transition: top 0.3s ease;
}

/* ── Main Content ── */
.gp-main {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
}

/* Green Paper Section (personal letter) */
.gp-section-letter {
    background-color: #75CB59;
    padding: 52px 80px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Liquid gradient - full screen, behind texture */
.gp-section-letter::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 80% at 20% 30%, rgba(84, 214, 177, 0.85) 0%, transparent 50%),
        radial-gradient(ellipse 70% 70% at 80% 70%, rgba(255, 255, 255, 0.45) 0%, transparent 50%),
        radial-gradient(ellipse 60% 90% at 60% 10%, rgba(84, 214, 177, 0.6) 0%, transparent 45%),
        radial-gradient(ellipse 90% 60% at 30% 80%, rgba(255, 255, 255, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 70% 80% at 70% 40%, rgba(117, 203, 89, 0.5) 0%, transparent 50%);
    background-size: 300% 300%;
    animation: liquid-flow 20s ease-in-out infinite;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 42% 42% at 50% 40%, transparent 25%, black 70%);
    mask-image: radial-gradient(ellipse 42% 42% at 50% 40%, transparent 25%, black 70%);
}

/* Texture pattern - above gradient, below content */
.gp-section-letter::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../../design system/Documentation/background pattern white.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

@keyframes liquid-flow {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 0%, 0% 100%, 80% 50%;
    }
    15% {
        background-position: 30% 20%, 70% 80%, 80% 30%, 20% 70%, 50% 20%;
    }
    30% {
        background-position: 60% 50%, 40% 30%, 20% 60%, 80% 40%, 30% 80%;
    }
    45% {
        background-position: 80% 80%, 20% 10%, 60% 90%, 50% 20%, 10% 60%;
    }
    60% {
        background-position: 40% 30%, 80% 60%, 10% 40%, 70% 80%, 60% 10%;
    }
    75% {
        background-position: 20% 70%, 50% 40%, 90% 20%, 30% 50%, 80% 70%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 50% 0%, 0% 100%, 80% 50%;
    }
}

/* ── Letter Shape ── */
.gp-letter-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 744px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center top;
}

.gp-letter-wrapper:hover {
    transform: scale(1.136);
}

.gp-letter {
    background: rgba(117, 196, 91, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    padding: 48px 32px 40px;
    clip-path: polygon(0 0, calc(100% - 70px) 0, 100% 70px, 100% 100%, 0 100%);
}

/* Border outline - 2px stroke */
.gp-letter-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    clip-path: polygon(0 0, calc(100% - 70px) 0, 100% 70px, 100% 100%, 0 100%);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

/* Fold diagonal line */
.gp-letter-fold-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
}

/* Letter Content */
.gp-letter-content {
    position: relative;
    z-index: 1;
    padding: 0 28px;
}

.gp-letter-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.15;
}

.gp-letter-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gp-letter-body p {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.gp-letter-body strong {
    font-weight: 700;
    color: #ffffff;
}

.gp-letter-body .gp-underline {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Signature */
.gp-signature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 10px;
}

.gp-signature-svg {
    width: 64.8px;
    height: 86.4px;
    flex-shrink: 0;
}

.gp-signature-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gp-signature-name {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.gp-signature-role {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* ── Design Diary Section ── */
.gp-diary-section {
    position: relative;
    z-index: 2;
    margin-top: 52px;
    width: 100%;
    max-width: 744px;
}

.gp-diary-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 28px;
}

.gp-diary-card {
    display: flex;
    gap: 0;
    background: var(--green-primary);
    border: 1px solid rgba(255, 255, 255, 0.35);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gp-diary-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.55);
}

.gp-diary-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
}

.gp-diary-cover {
    width: 58%;
    flex-shrink: 0;
}

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

.gp-diary-info {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.gp-diary-info-title {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
}

.gp-diary-info-desc {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.gp-watch-btn {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.gp-diary-card:hover .gp-watch-btn {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.6);
}

.gp-watch-btn-icon {
    width: 0;
    height: 0;
    border-left: 8px solid #FFFFFF;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 1px;
}

/* ── Features Sections (white background) ── */
.gp-section-features {
    background: #ffffff;
    background-image: url('../../design system/Documentation/background pattern green.png');
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: center;
    padding: 80px;
    min-height: 100vh;
}

.gp-feature-content {
    max-width: 870px;
    margin: 0 auto;
}

.gp-feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.gp-feature-body p {
    font-family: 'Fira Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.gp-feature-body strong {
    font-weight: 700;
}

.gp-code-block {
    margin: 12px 0 24px;
    padding: 18px 18px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #1E1E1E;
    overflow-x: auto;
}

.gp-code-block code {
    display: block;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    white-space: pre;
}

/* ── Mission & Vision ── */
.gp-mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.gp-mv-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.gp-mv-text {
    font-family: 'Fira Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

.gp-dangerous-img {
    width: 360px;
    height: auto;
    display: block;
    margin-top: -4px;
}

/* ── TL;DR Box ── */
.gp-tldr {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    padding: 20px 24px;
    margin-bottom: 40px;
}

.gp-tldr p {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-dark);
}

.gp-tldr-label {
    color: var(--green-primary);
    font-weight: 700;
}

/* ── Mantis Card Preview ── */
.gp-mantis-card {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.gp-mantis-card .mantis-card {
    transition: transform 0.25s ease;
    transform-origin: center;
}

.gp-mantis-card .mantis-card:hover {
    transform: scale(1.06) rotate(-1deg);
    z-index: 10;
}

/* ── DNA Specifications ── */
.gp-spec-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 48px;
    margin-bottom: 24px;
}

.gp-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-family: 'Fira Sans', sans-serif;
    color: #000000;
    table-layout: fixed;
}

/* Column widths */
.gp-spec-col-tier { width: 105px; }
.gp-spec-col-price { width: 152px; }
.gp-spec-col-flex { /* auto-fill remaining space */ }

/* Header cells */
.gp-spec-table thead th {
    text-align: left;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.64;
    padding: 10px 16px;
    height: 46px;
    box-sizing: border-box;
    background: rgba(132, 214, 105, 0.13), #FFFFFF;
    border: 1px solid #84d669;
    margin-right: -1px;
}

/* Body cells */
.gp-spec-table tbody td {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.44;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #84d669;
    vertical-align: middle;
    color: #000000;
}

/* Tier column */
.gp-spec-tier {
    font-weight: 400;
    line-height: 1.64;
}

/* Bullet list in Intelligence column */
.gp-spec-list {
    list-style: disc;
    margin: 0;
    padding-left: 21px;
}

.gp-spec-list li {
    line-height: 1.44;
    font-size: 14px;
}

.gp-spec-list li::marker {
    color: #84d669;
}

.gp-spec-footnote {
    font-family: 'Fira Sans', sans-serif;
    font-size: 12px;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 32px;
}

/* ── Mantis Illustration ── */
.gp-mantis-illustration {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.gp-mantis-illustration img {
    max-width: 413px;
    width: 100%;
    height: auto;
}

/* ── Visual Planning ── */
.gp-feature-title--code {
    font-family: 'Fira Code', monospace;
}

.gp-tldr--code p {
    font-family: 'Fira Code', monospace;
}

.gp-canvas-preview {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gp-canvas-preview:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.gp-canvas-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* Zoom hint overlay */
.gp-canvas-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.gp-canvas-preview:hover .gp-canvas-zoom-hint {
    opacity: 1;
}

/* ── Lightbox ── */
.gp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
}

.gp-lightbox.is-active {
    visibility: visible;
    pointer-events: auto;
}

.gp-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    animation: none;
}

.gp-lightbox.is-active .gp-lightbox-backdrop {
    animation: lightbox-fade-in 0.35s ease forwards;
}

@keyframes lightbox-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gp-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.gp-lightbox-img {
    display: block;
    max-width: 85vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gp-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s, background 0.2s ease, border-color 0.2s ease;
}

.gp-lightbox.is-active .gp-lightbox-close {
    opacity: 1;
}

.gp-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.gp-sub-title {
    font-family: 'Fira Code', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 24px;
}

/* Stages table */
.gp-stages {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.gp-stage {
    display: flex;
    align-items: stretch;
    margin-top: -1px;
}

.gp-stage:first-child {
    margin-top: 0;
}

.gp-stage-label {
    width: 105px;
    flex-shrink: 0;
    padding: 10px 16px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.64;
    color: var(--text-dark);
    background: #f8f8f8;
    border: 1px solid #f0f1f2;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gp-stage-slash {
    color: #84d669;
    font-weight: 500;
}

.gp-stage-label strong {
    font-weight: 500;
    color: var(--text-dark);
}

.gp-stage-desc {
    flex: 1;
    padding: 10px 16px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    line-height: 1.44;
    color: var(--text-dark);
    background: #ffffff;
    border: 1px solid #f0f1f2;
    border-left: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* ── Global Trust Architecture ── */
.gp-arch-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 48px;
    margin-bottom: 24px;
}

.gp-arch {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

/* Architecture rows */
.gp-arch-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

/* Architecture card */
.gp-arch-card {
    flex: 1;
    border: 1px solid #84d669;
    background: #ffffff;
    min-height: 171px;
    box-sizing: border-box;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.85);
}

.gp-arch-card-inner {
    padding: 28px 16px 16px;
}

.gp-arch-layer {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 400;
    color: #84d669;
    display: block;
    margin-bottom: 4px;
}

.gp-arch-layer--white {
    color: #ffffff;
}

.gp-arch-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 8px;
}

.gp-arch-name--code {
    font-family: 'Fira Code', monospace;
}

.gp-arch-desc {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
}

.gp-arch-highlight {
    color: #84d669;
}

/* Tags (Seed Draft fields) */
.gp-arch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

.gp-arch-tag {
    font-family: 'Fira Code', monospace;
    font-size: 9px;
    line-height: 1;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    padding: 4px 6px;
    white-space: nowrap;
}

/* Horizontal connector (dots + line) */
.gp-arch-connector-h {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    width: 27px;
    margin: 0 -1px;
    z-index: 1;
}

.gp-arch-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #84d669;
    flex-shrink: 0;
}

.gp-arch-line-h {
    flex: 1;
    height: 2px;
    background: #84d669;
}

/* Vertical connectors */
.gp-arch-connector-v {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: 27px;
    z-index: 1;
    margin: -1px 0;
}

.gp-arch-connector-v--left {
    align-self: flex-start;
    margin-left: calc(50% / 2);
}

.gp-arch-connector-v--right {
    align-self: flex-end;
    margin-right: calc(50% / 2);
}

.gp-arch-line-v {
    flex: 1;
    width: 2px;
    background: #84d669;
}

/* Sandbox row (single card) */
.gp-arch-sandbox {
    width: 100%;
    border: 1px solid #84d669;
    background: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.85);
}

.gp-arch-sandbox-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 12px;
    justify-content: flex-start;
}

.gp-arch-sandbox-text {
    flex: 1 1 220px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Trust Algorithms vertical divider */
.gp-arch-trust-divider {
    width: 27px;
    height: 157px;
    flex-shrink: 0;
    border: 1px solid #f0f1f2;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.gp-arch-trust-label {
    font-family: 'Fira Code', monospace;
    font-size: 12.66px;
    font-weight: 500;
    color: #000000;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
}

/* Stats boxes */
.gp-arch-stats {
    display: flex;
    gap: 12px;
    flex: 1 1 480px;
    min-width: 320px;
    flex-wrap: wrap;
}

.gp-arch-stat {
    width: 163px;
    height: 91px;
    background: #f8f8f8;
    border: 1px solid #54d6b1;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    justify-content: center;
}

.gp-arch-stat-label {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 500;
    color: #54d6b1;
}

.gp-arch-stat-value {
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

.gp-arch-stat-sub {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    color: #000000;
    text-align: center;
}

/* Public Seed Pool */
.gp-arch-pool {
    width: 100%;
    background: #84d669;
    padding: 28px 16px 32px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
}

.gp-arch-pool > * {
    position: relative;
    z-index: 2;
}

.gp-seedpool-physics {
    position: absolute;
    inset: 104px 10px 10px 10px;
    z-index: 1;
    pointer-events: none;
}

.gp-seedpool-pill {
    position: absolute;
    left: 0;
    top: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Fira Code', monospace;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transform: translate3d(0, 0, 0);
    will-change: transform, opacity;
    user-select: none;
    opacity: 0;
}

.gp-arch-pool-name {
    font-family: 'Fira Code', monospace;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 8px;
}

.gp-arch-pool-desc {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* ── Intelligence Layers ── */
.gp-intel {
    display: flex;
    flex-direction: column;
    gap: 27px;
    margin-bottom: 48px;
}

.gp-intel-layer {
    border: 1px solid var(--border-light);
    background: #ffffff;
    padding: 0;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.85);
}

.gp-intel-layer--top {
    background: linear-gradient(180deg, rgba(132, 214, 105, 0.06) 0%, #ffffff 100%), #ffffff;
}

.gp-intel-header {
    text-align: center;
    padding: 13px 25px 0;
}

.gp-intel-name {
    font-family: 'Fira Code', monospace;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 4px;
}

.gp-intel-desc {
    font-family: 'Fira Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dark);
}

.gp-intel-tabs {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.gp-intel-tab {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-dark);
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    margin: -0.5px;
    white-space: nowrap;
    line-height: 1;
}

.gp-intel-tab--green {
    color: #84d669;
}

.gp-intel-arrow {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: var(--text-dark);
    padding: 0 4px;
}

/* ── General Bots Signature ── */
.gp-signature {
    margin-top: 56px;
    padding-bottom: 24px;
}

.gp-signature-logo {
    display: block;
    width: 147px;
    height: auto;
    margin-bottom: 16px;
}

.gp-signature-text {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}

.gp-signature-text p {
    margin: 0;
}

/* ── Mobile 404 ── */
.mobile-404 {
    display: none;
}

@media (max-width: 768px) {
    .mobile-404 {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: #FFFFFF;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .mobile-404-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .gp-page {
        display: none !important;
    }
}
