﻿/* ============================================================
   Gibi Swap — style.css
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary:       #050b18;
    --bg-secondary:     #0a1628; /* 091830 */
    --bg-card:          #0e1c33;
    --bg-card-hover:    #122040; /* 1E345A */
    --accent: #FFD602;
    --accent-rgb:       255, 214, 2;
    --accent2:          #FF8C00;
    --accent2-rgb:      255, 140, 0;
    --text-primary:     #f0f6ff;
    --text-secondary:   #8899b8;
    --text-muted:       #4a5a7a;
    --border:           rgba(255, 214, 2, 0.14);
    --border-hover:     rgba(255, 214, 2, 0.40);
    --gradient:         linear-gradient(135deg, #FFD602 0%, #FF8C00 100%);
    --gradient-soft:    linear-gradient(135deg, rgba(255,214,2,0.15), rgba(255,140,0,0.15));
    --shadow:           0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-accent:    0 0 48px rgba(255, 214, 2, 0.14);
    --radius:           16px;
    --radius-sm:        10px;
    --radius-xs:        6px;
    --transition:       0.3s ease;
    --font:             'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --navbar-height:    72px;
    --container-max:    1180px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    cursor: pointer;
    font-family: var(--font);
    border: none;
    background: none;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image placeholder — shows a styled box until real images are placed */
.img-placeholder {
    position: relative;
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    /* border: 1px dashed rgba(255, 214, 2, 0.2); */
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder::after {
    content: attr(data-label);
    position: absolute;
    color: var(--text-muted);
    font-size: 2rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.img-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    border: none;
}

/* Hide label when image loads */
.img-placeholder img[src]:not([src=""]) + .img-placeholder::after,
.img-placeholder:has(img[src]:not([src=""]))::after {
    display: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: #091830;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 214, 2, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 214, 2, 0.40);
    color: #091830;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 11, 24, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.navbar-logo {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: transparent;
}

.navbar-name {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.35s ease;
    transform-origin: center;
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(5, 11, 24, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 28px;
    z-index: 999;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.3s ease;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu .nav-link {
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: 10px;
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: ;
    border: 1px solid ;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient( 1px, transparent 1px),
        linear-gradient(90deg,  1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
}

.hero-glow-1 {
    width: 700px;
    height: 700px;
    top: -200px;
    left: -150px;
    background: var(--accent);
}

.hero-glow-2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -100px;
    background: var(--accent2);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - var(--navbar-height));
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: ;
    border: 1px solid ;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: pulse-dot 2.2s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 ; }
    50%       { opacity: 0.7; box-shadow: 0 0 0 6px ; }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.stat-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 4px;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-visual {
        justify-content: flex-end;
    }
}

@media (max-width: 991.98px) {
    .hero .container {
        text-align: center;
    }
    .hero-badge,
    .hero-cta {
        justify-content: center;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-stats {
        justify-content: center;
    }
}

.hero-visual .img-placeholder {
    width: 100%;
    max-width: 540px;
    box-shadow: var(--shadow-accent);
}

/* ============================================================
   FEATURE CARDS (what-is section)
   ============================================================ */
.cards-grid {
    margin-bottom: 52px;
}

.card {
    height: 100%;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: all var(--transition);
}

.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: ;
    border: 1px solid ;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    transition: all var(--transition);
}

.card:hover .card-icon {
    background: ;
    box-shadow: 0 0 20px ;
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.68;
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps-wrap {
    align-items: center;
}

.steps {
    display: flex;
    flex-direction: column;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 25%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
    color: #091830;
    box-shadow: 0 0 24px rgba(255, 214, 2, 0.3);
}

.step-content {
    padding-bottom: 4px;
}

.step-content h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 8px;
}

.step-content p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.step-connector {
    margin-left: 20px;
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, , );
    flex-shrink: 0;
}

.steps-visual .img-placeholder {
    width: 100%;
}

/* ============================================================
   TRUST GRID (why)
   ============================================================ */
.trust-grid {
    align-items: center;
}

.trust-visual .img-placeholder {
    width: 100%;
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: ;
    border: 1px solid ;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all var(--transition);
}

.trust-item:hover .trust-icon {
    background: ;
    box-shadow: 0 0 16px ;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
}

.trust-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.trust-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.68;
}

/* ============================================================
   ARCHITECTURE
   ============================================================ */
.arch-card {
    height: 100%;
}

.arch-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.arch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.arch-card:hover::before {
    opacity: 1;
}

.arch-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.arch-num {
    font-size: 2.4rem;
    font-weight: 900;
    color: ;
    letter-spacing: -2px;
    margin-bottom: 10px;
    line-height: 1;
}

.arch-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.arch-card p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.arch-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    background: ;
    border: 1px solid;
    color: var(--accent);
    font-size: 0.73rem;
    font-weight: 600;
    /* font-family: 'Courier New', monospace; */
    letter-spacing: 0.3px;
}

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.eco-grid {
    margin-bottom: 18px;
}

.eco-card {
    height: 100%;
}

.eco-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eco-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
}

.eco-card-featured {
    border-color: ;
    background: linear-gradient(160deg, var(--bg-card), );
}

.eco-logo {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.eco-logo-ph {
    width: 140px;
    height: 72px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
}

.eco-partner-logo {
    max-height: 72px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    filter: brightness(1.05);
}

.eco-logo-main-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-main-logo {
    height: 68px;
    width: auto;
    background: transparent;
    border-radius: 0;
    filter: drop-shadow(0 0 20px rgba(255, 214, 2, 0.4));
}

.eco-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.eco-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.eco-role {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.eco-role-main {
    background: ;
    border-color: ;
    color: var(--accent);
}

.eco-extra-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition: all var(--transition);
}

.eco-extra-card:hover {
    border-color: var(--border-hover);
}

.eco-extra-icon {
    flex-shrink: 0;
    height: 44px;
    display: flex;
    align-items: center;
}

.eco-extra-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
}

.eco-extra-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.eco-extra-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.68;
}

/* ============================================================
   TOKENOMICS
   ============================================================ */
.token-meta {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto 60px;
    background: var(--bg-card);
}

.token-meta-item {
    flex: 1;
    padding: 22px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.token-meta-item:last-child {
    border-right: none;
}

.token-meta-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 8px;
    font-weight: 600;
}

.token-meta-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
}

.token-meta-value.accent {
    color: var(--accent);
    font-size: 1.2rem;
}

.tokenomics-content {
    align-items: start;
    margin-bottom: 48px;
}

.tokenomics-chart-wrap {
    position: relative;       /* reference point for the info card */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 216px;    /* reserved space for the info card */
}

.tokenomics-chart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.donut-chart {
    width: 280px;
    height: 280px;
    transform: rotate(-90deg);
    overflow: visible;
}

.donut-center {
    position: absolute;
    text-align: center;
    pointer-events: none;
}

.donut-center-pct {
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    transition: color 0.3s ease;
}

.donut-center-name {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    max-width: 90px;
    text-align: center;
    line-height: 1.3;
}

.tokenomics-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.legend-item:hover,
.legend-item.is-active {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.legend-item.is-active {
    box-shadow: 0 0 0 1px var(--border-hover) inset;
}

.legend-item.is-dimmed {
    opacity: 0.35;
    transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-info {
    flex: 1;
}

.legend-name {
    font-weight: 600;
    font-size: 0.88rem;
    display: block;
}

.legend-detail {
    font-size: 0.76rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 2px;
}

.legend-pct {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* Chart info card — absolute positioning: no layout impact */
.chart-info-card {
    position: absolute;
    bottom: 8px;               /* anchored to the bottom of the wrap padding-bottom area */
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    z-index: 2;
}

.chart-info-card.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.chart-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.chart-info-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.chart-info-title {
    font-size: 0.9rem;
    font-weight: 700;
    flex: 1;
}

.chart-info-badge {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.chart-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    margin-bottom: 7px;
}

.chart-info-row:last-child {
    margin-bottom: 0;
}

.chart-info-key {
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.chart-info-val {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    line-height: 1.4;
}

/* Burn box */
.burn-box {
    background: linear-gradient(135deg,
        rgba(239, 68, 68, 0.06) 0%,
         100%);
    border: 1px solid rgb(254 215 65 / 40%);
    border-radius: var(--radius);
    padding: 30px 32px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 48px;
    transition: all var(--transition);
}

.burn-box:hover {
    border-color: #fdd75aab;
}

.burn-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgb(254 215 65 / 16%);
    border: 1px solid rgb(254 215 65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fed741;
}

.burn-icon svg {
    width: 24px;
    height: 24px;
}

.burn-text h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.burn-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Allocation table */
.table-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.table-scroll {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.allocation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
    min-width: 580px;
}

.allocation-table th {
    padding: 13px 16px;
    text-align: left;
    background: var(--bg-card);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

.allocation-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    vertical-align: middle;
    white-space: nowrap;
}

.allocation-table td:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

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

.allocation-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.open {
    border-color: ;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition);
    line-height: 1.4;
}

.faq-q:hover {
    color: var(--accent);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.35s ease, color var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-a p {
    padding: 0 22px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-inner {
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 0;
}

.footer-name {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
}

.footer-disclaimer-inline {
    display: inline-block;
    font-size: 0.76rem;
    color: var(--text-muted);
    padding: 5px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
}


.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 auto 0 auto;
}

.footer-disclaimer {
    padding: 4px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

/* Form layout */
.contact-form {
    max-width: 840px;
    margin: 0 auto;
}

.form-grid {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative;
}

.form-group-full {
    /* spans both columns when inside grid — handled outside grid */
}

/* Labels */
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.req-mark {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
}

.optional-mark {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 2px;
}

/* Inputs, Select & Textarea */
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.92rem;
    padding: 13px 16px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 214, 2, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 214, 2, 0.08);
    background: var(--bg-card-hover);
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.65;
}

/* Error state */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* Valid state */
.form-group.is-valid input,
.form-group.is-valid select,
.form-group.is-valid textarea {
    border-color: rgba(16, 185, 129, 0.5);
}

/* Error messages */
.field-error {
    display: none;
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 2px;
}

.form-group.has-error .field-error {
    display: block;
}

/* Character counter */
.char-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.char-bar-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    overflow: hidden;
}

.char-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 100px;
    background: #ef4444;
    transition: width 0.2s ease, background 0.4s ease;
}

/* Bar states — set by JS via data attribute */
.char-bar-track[data-state="under"]  .char-bar-fill { background: #ef4444; }
.char-bar-track[data-state="valid"]  .char-bar-fill { background: #FFD602; }
.char-bar-track[data-state="warn"]   .char-bar-fill { background: #FF8C00; }
.char-bar-track[data-state="full"]   .char-bar-fill { background: #ef4444; }

.char-count {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
    transition: color 0.3s ease;
}

.char-count.under { color: #ef4444; }
.char-count.valid { color: var(--accent); }
.char-count.warn  { color: var(--accent2); }

/* Form footer */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Success state */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 24px;
    max-width: 480px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease forwards;
}

.form-success[aria-hidden="false"] {
    display: flex;
}

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

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 214, 2, 0.1);
    border: 2px solid rgba(255, 214, 2, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.form-success-icon svg {
    width: 28px;
    height: 28px;
}

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================================
   OFFICIAL CHANNELS — CAROUSEL
   ============================================================ */
.channel-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.channel-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
    flex-shrink: 0;
}

.channel-arrow:hover:not(:disabled) {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--accent);
}

.channel-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.channel-viewport {
    flex: 1;
    overflow: hidden;
}

.channel-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-secondary);
    flex-shrink: 0;
    width: 108px;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.channel-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--accent);
    transform: translateY(-3px);
}

.channel-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    /*background: var(--bg-secondary);*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.channel-name {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .channel-arrow {
        display: none;
    }
    .channel-viewport {
        overflow: visible;
        flex: none;
        width: 100%;
    }
    .channel-track {
        flex-wrap: wrap;
        justify-content: center;
        transform: none !important;
    }
}

/* ============================================================
   SUBSCRIBE SECTION
   ============================================================ */
.subscribe-section {
    background: var(--bg-secondary);
    padding: 64px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.subscribe-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 52px;
    position: relative;
    overflow: hidden;
}

.subscribe-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255, 214, 2, 0.04) 0%,
        rgba(255, 140, 0, 0.04) 100%);
    pointer-events: none;
}

.subscribe-text {
    min-width: 0;
}

.subscribe-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.25;
}

.subscribe-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 440px;
}

.subscribe-form-wrap {
    width: 100%;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subscribe-input-wrap {
    display: flex;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    min-width: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 13px 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.subscribe-input::placeholder {
    color: var(--text-muted);
}

.subscribe-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.subscribe-input.has-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.subscribe-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 13px 24px;
}

.subscribe-error {
    font-size: 0.8rem;
    color: #ef4444;
    min-height: 1.2em;
    display: block;
}

.subscribe-success {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(255, 214, 2, 0.08);
    border: 1px solid rgba(255, 214, 2, 0.25);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
}

.subscribe-success[aria-hidden="false"] {
    display: flex;
}

.subscribe-success svg {
    flex-shrink: 0;
}

/* ============================================================
   FOOTER SOCIAL ROW
   ============================================================ */
.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--accent);
    transform: translateY(-2px);
}

.social-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #091830;
    box-shadow: 0 4px 20px rgba(255, 214, 2, 0.35);
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.scroll-top-btn:hover {
    box-shadow: 0 6px 28px rgba(255, 214, 2, 0.55);
    transform: translateY(-2px) scale(1.05);
}

.scroll-top-btn:active {
    transform: translateY(0) scale(0.97);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
    /* Single-column view: chart-wrap stacks, info card stays absolute */
    .tokenomics-chart-wrap {
        padding-bottom: 224px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .chart-info-card {
        width: 100%;
        max-width: 340px;
    }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
    }

    .navbar-nav {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .channel-carousel-wrap {
        gap: 10px;
    }

    .subscribe-card {
        padding: 36px 32px;
    }

    .footer-social-row {
        gap: 8px;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .form-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .eco-extra-card {
        flex-direction: column;
    }

    .token-meta {
        flex-direction: column;
    }

    .token-meta-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .token-meta-item:last-child {
        border-bottom: none;
    }

    .burn-box {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .donut-chart {
        width: 240px;
        height: 240px;
    }

    .channel-arrow {
        width: 32px;
        height: 32px;
    }
    .channel-item {
        /* (100vw - 32px container padding - 80px arrows - 20px carousel gaps - 24px item gaps) / 3 */
        width: calc((100vw - 156px) / 3);
        min-width: 56px;
        max-width: 90px;
        padding: 12px 8px;
    }
    .channel-name {
        white-space: normal;
        font-size: 0.65rem;
    }

    .subscribe-card {
        padding: 28px 20px;
    }

    .subscribe-input-wrap {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
        justify-content: center;
    }

    .social-link span {
        display: none;
    }

    .social-link {
        padding: 10px;
        border-radius: 50%;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }
}
.step.reveal.visible:hover .step-content h3 {
    color: var(--accent);
    transition: all var(--transition);
}
/* ============================================================
   SECTION BACKGROUNDS — HERO STYLE ATMOSPHERIC
   ============================================================ */

/* WHAT IS  */
#what-is {
    background-image: repeating-linear-gradient(45deg, rgb(17 28 53 / 65%) 0px, rgba(10, 24, 54, 0.65) 1px, transparent 1px, transparent 24px), radial-gradient(ellipse 70% 65% at 5% 20%, rgba(16, 48, 110, 0.32) 0%, transparent 70%), radial-gradient(ellipse 60% 55% at 95% 85%, rgba(12, 36, 88, 0.26) 0%, transparent 65%), linear-gradient(155deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-card) 100%);
}

/* WHY GIBISWAP */
#why-gibiswap {
    background-image: radial-gradient(circle, rgb(28 39 63 / 65%) 1.5px, transparent 1.5px), radial-gradient(ellipse 75% 60% at 50% 45%, rgba(18, 52, 118, 0.28) 0%, transparent 70%), radial-gradient(ellipse 50% 55% at 92% 10%, rgba(14, 40, 96, 0.22) 0%, transparent 60%), linear-gradient(145deg, var(--bg-card) 0%, var(--bg-primary) 55%, var(--bg-secondary) 100%);
    background-size: 30px 30px, 100% 100%, 100% 100%, 100% 100%;
}

/* HOW IT WORKS */
#how-it-works {
    background-image: repeating-linear-gradient(
49deg, rgb(17 24 38 / 15%) 0px, rgba(10, 24, 54, 0.55) 1px, transparent 1px, transparent 30px), radial-gradient(ellipse 55% 80% at 0% 50%, rgb(61 78 112 / 30%) 0%, transparent 65%), radial-gradient(ellipse 55% 80% at 100% 50%, rgb(254 201 61 / 16%) 0%, transparent 65%), linear-gradient(180deg, var(--bg-secondary) 0%, #141f39 50%, var(--bg-primary) 100%);
}

/* ECOSYSTEM */
#ecosystem {
    background-image:
        radial-gradient(circle at 8% 15%,
            transparent 72px,
            rgba(14, 36, 82, 0.50) 73px, rgba(14, 36, 82, 0.50) 74px,
            transparent 75px),
        radial-gradient(circle at 8% 15%,
            transparent 135px,
            rgba(14, 36, 82, 0.38) 136px, rgba(14, 36, 82, 0.38) 137px,
            transparent 138px),
        radial-gradient(circle at 8% 15%,
            transparent 208px,
            rgba(14, 36, 82, 0.26) 209px, rgba(14, 36, 82, 0.26) 210px,
            transparent 211px),
        radial-gradient(circle at 8% 15%,
            transparent 292px,
            rgba(14, 36, 82, 0.16) 293px, rgba(14, 36, 82, 0.16) 294px,
            transparent 295px),
        radial-gradient(circle at 8% 15%,
            transparent 388px,
            rgba(14, 36, 82, 0.09) 389px, rgba(14, 36, 82, 0.09) 390px,
            transparent 391px),
        radial-gradient(ellipse 80% 70% at 15% 15%,
            rgba(16, 48, 110, 0.28) 0%,
            transparent 60%
        ),
        radial-gradient(ellipse 50% 50% at 85% 80%,
            rgba(12, 34, 80, 0.20) 0%,
            transparent 60%
        ),
        linear-gradient(225deg,
            var(--bg-card-hover) 0%,
            var(--bg-primary) 55%,
            var(--bg-secondary) 100%
        );
}

/* ARCHITECTURE */
#architecture {
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(10, 24, 54, 0.55) 0px,
            rgba(10, 24, 54, 0.55) 1px,
            transparent 1px,
            transparent 36px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(10, 24, 54, 0.55) 0px,
            rgba(10, 24, 54, 0.55) 1px,
            transparent 1px,
            transparent 36px
        ),
        radial-gradient(ellipse 65% 60% at 90% 90%,
            rgba(18, 52, 118, 0.30) 0%,
            transparent 65%
        ),
        radial-gradient(ellipse 55% 50% at 8% 10%,
            rgba(14, 40, 96, 0.22) 0%,
            transparent 60%
        ),
        linear-gradient(170deg,
            var(--bg-primary) 0%,
            var(--bg-card) 50%,
            var(--bg-card-hover) 100%
        );
}

/* TOKENOMICS */
#tokenomics {
    background-image:
        radial-gradient(circle, rgba(10, 24, 54, 0.65) 2px, transparent 2px),
        radial-gradient(ellipse 60% 70% at 95% 50%,
            rgba(16, 46, 106, 0.30) 0%,
            transparent 65%
        ),
        radial-gradient(ellipse 55% 55% at 5% 90%,
            rgba(12, 36, 88, 0.22) 0%,
            transparent 60%
        ),
        linear-gradient(130deg,
            var(--bg-card-hover) 0%,
            var(--bg-secondary) 45%,
            var(--bg-primary) 100%
        );
    background-size: 34px 34px, 100% 100%, 100% 100%, 100% 100%;
}

/* GIBIHUB */
#gibihub {
    background-image:
        repeating-linear-gradient(
            -45deg,
            rgba(10, 24, 54, 0.55) 0px,
            rgba(10, 24, 54, 0.55) 1px,
            transparent 1px,
            transparent 24px
        ),
        radial-gradient(ellipse 70% 55% at 50% 0%,
            rgba(16, 48, 112, 0.28) 0%,
            transparent 65%
        ),
        radial-gradient(ellipse 55% 60% at 5% 95%,
            rgba(12, 36, 88, 0.22) 0%,
            transparent 60%
        ),
        linear-gradient(140deg,
            var(--bg-secondary) 0%,
            var(--bg-card-hover) 50%,
            var(--bg-primary) 100%
        );
}

/* FAQ */
#faq {
    background-image:
        radial-gradient(circle at 94% 90%,
            transparent 68px,
            rgba(14, 36, 82, 0.50) 69px, rgba(14, 36, 82, 0.50) 70px,
            transparent 71px),
        radial-gradient(circle at 94% 90%,
            transparent 130px,
            rgba(14, 36, 82, 0.38) 131px, rgba(14, 36, 82, 0.38) 132px,
            transparent 133px),
        radial-gradient(circle at 94% 90%,
            transparent 202px,
            rgba(14, 36, 82, 0.26) 203px, rgba(14, 36, 82, 0.26) 204px,
            transparent 205px),
        radial-gradient(circle at 94% 90%,
            transparent 285px,
            rgba(14, 36, 82, 0.16) 286px, rgba(14, 36, 82, 0.16) 287px,
            transparent 288px),
        radial-gradient(circle at 94% 90%,
            transparent 380px,
            rgba(14, 36, 82, 0.09) 381px, rgba(14, 36, 82, 0.09) 382px,
            transparent 383px),
        radial-gradient(ellipse 75% 65% at 90% 90%,
            rgba(16, 48, 110, 0.26) 0%,
            transparent 60%
        ),
        radial-gradient(ellipse 50% 50% at 15% 15%,
            rgba(12, 34, 80, 0.20) 0%,
            transparent 60%
        ),
        linear-gradient(190deg,
            var(--bg-card) 0%,
            var(--bg-secondary) 50%,
            var(--bg-primary) 100%
        );
}

/* CONTACT*/
#contact {
    background-image: radial-gradient(circle, rgba(10, 24, 54, 0.60) 2.5px, transparent 2.5px), radial-gradient(ellipse 70% 65% at 50% 50%, rgba(18, 52, 118, 0.26) 0%, transparent 68%), radial-gradient(ellipse 55% 60% at 5% 85%, rgba(14, 40, 96, 0.20) 0%, transparent 60%), linear-gradient(160deg, var(--bg-primary) 0%, #111d38 50%, var(--bg-secondary) 100%);
    background-size: 20px 20px, 100% 75%, 100% 100%, 100% 100%;
}

/* ============================================================
   ROADMAP OPTIONS (1–5) — pick one, delete the others
   ============================================================ */

/* — Shared badges — */
.rm-badge-done {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 100px;
    background: rgba(255,214,2,0.12); border: 1px solid rgba(255,214,2,0.28);
    color: var(--accent); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.rm-badge-upcoming {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 100px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.rm-badge-done svg, .rm-badge-upcoming svg { width: 10px; height: 10px; flex-shrink: 0; }

/* ——— ROADMAP: Split Left/Right Timeline ——— */
#roadmap {
    background-image:
        repeating-linear-gradient(90deg, rgba(10,24,54,.5) 0px, rgba(10,24,54,.5) 1px, transparent 1px, transparent 40px),
        radial-gradient(ellipse 80% 65% at 50% 10%, rgba(16,48,112,.24) 0%, transparent 65%),
        linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 60%, var(--bg-card) 100%);
}
.rm3-wrap { position: relative; max-width: 900px; margin: 0 auto; }
.rm3-wrap::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--accent), rgba(255,140,0,.4) 60%, transparent);
    transform: translateX(-50%);
}
.rm3-item { display: grid; grid-template-columns: 1fr 52px 1fr; align-items: center; gap: 0; margin-bottom: 14px; }
.rm3-item:last-child { margin-bottom: 0; }
.rm3-item > .rm3-dot  { grid-column: 2; grid-row: 1; justify-self: center; }
.rm3-item--left  > .rm3-content { grid-column: 1; grid-row: 1; padding-right: 22px; }
.rm3-item--right > .rm3-content { grid-column: 3; grid-row: 1; padding-left: 22px; }
.rm3-dot {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.8rem; z-index: 1; flex-shrink: 0;
}
.rm3-item--done .rm3-dot     { background: var(--gradient); color: #091830; box-shadow: 0 0 24px rgba(255,214,2,.4); }
.rm3-item--upcoming .rm3-dot { background: var(--bg-card); border: 2px solid var(--border); color: var(--text-muted); }
.rm3-dot svg { width: 20px; height: 20px; }
.rm3-content {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px 18px; transition: all var(--transition);
}
.rm3-item--done .rm3-content { border-color: rgba(255,214,2,.18); }
.rm3-content:hover { border-color: var(--border-hover); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.rm3-content h3 { font-size: 0.88rem; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.rm3-item--upcoming .rm3-content h3 { color: var(--text-secondary); }
@media (max-width: 768px) {
    .rm3-wrap::before { left: 22px; transform: none; }
    .rm3-item { grid-template-columns: 44px 1fr; }
    .rm3-item > .rm3-dot {
        grid-column: 1; grid-row: 1;
        justify-self: center;
        width: 44px; height: 44px; font-size: 0.72rem;
    }
    .rm3-item--left  > .rm3-content,
    .rm3-item--right > .rm3-content { grid-column: 2; grid-row: 1; padding: 0 0 0 14px; }
    .rm3-item { margin-bottom: 16px; }
}


.color-accent{
    color: var(--accent);
}
.channel-soon {
    position: absolute;
    bottom: 0;
    font-size: 12px;
    color: var(--accent);
}

/* ============================================================
   NEW FEATURE HIGHLIGHT — temporary, remove after review
   ============================================================ */

.new-feature {
    background-color: rgba(255, 200, 0, 0.07) !important;
    outline: 1.5px dashed rgba(255, 200, 0, 0.45);
    outline-offset: 3px;
    border: 2px dotted green !important;
}

/* nf-info-box — IVO details / liquidity commitment boxes */
.nf-info-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-top: 24px;
}

.nf-info-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.nf-info-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nf-info-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.nf-eligible {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.nf-eligible > span {
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
    color: var(--text-primary);
    padding-top: 3px;
}

.nf-eligible ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf-eligible ul li {
    background: rgba(255, 214, 2, 0.08);
    border: 1px solid rgba(255, 214, 2, 0.22);
    border-radius: 100px;
    padding: 3px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}

.nf-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nf-commit-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
}

.nf-commit-item h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.nf-commit-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* nf-invest-box — Orta Chain investment in ecosystem section */
.nf-invest-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 24px;
}

.nf-invest-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.nf-invest-icon svg {
    width: 22px;
    height: 22px;
}

.nf-invest-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.nf-invest-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

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

    .nf-info-box {
        padding: 20px;
    }

    .nf-invest-box {
        flex-direction: column;
        padding: 20px;
    }

    .nf-eligible {
        flex-direction: column;
        gap: 8px;
    }
}

.apply-now-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.apply-now-wrap .btn {
    padding: 14px 40px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    font-weight: 700;
}

.btn-outline:hover {
    background: rgba(255, 214, 2, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 214, 2, 0.20);
    color: var(--accent);
}

.ivo-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* ============================================================
   GDPR CONSENT MODAL
   ============================================================ */

.gdpr-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 11, 24, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gdpr-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.gdpr-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow), 0 0 60px rgba(255, 214, 2, 0.06);
    max-height: 90vh;
    overflow-y: auto;
}

.gdpr-overlay.open .gdpr-modal {
    transform: translateY(0) scale(1);
}

.gdpr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
    flex-shrink: 0;
}

.gdpr-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.gdpr-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.gdpr-modal-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.gdpr-modal h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.875rem;
    padding-right: 2rem;
}

.gdpr-modal-body {
    font-size: 0.8375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.025);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 130px;
    overflow-y: auto;
}

.gdpr-consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
    user-select: none;
}

.gdpr-consent-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--text-muted);
    background: transparent;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    position: relative;
}

.gdpr-consent-wrap input[type="checkbox"]:checked {
    border-color: var(--accent);
    background: var(--accent);
}

.gdpr-consent-wrap input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: 2px solid #050b18;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.gdpr-consent-label {
    font-size: 0.8375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.gdpr-recaptcha-wrap {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.gdpr-modal-actions {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.gdpr-modal-actions .btn {
    flex: 1;
}

.gdpr-modal-actions .btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

.gdpr-cancel-btn {
    flex: 0 0 auto;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
    font-family: var(--font);
}

.gdpr-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .gdpr-modal {
        padding: 1.5rem 1.25rem;
    }

    .gdpr-modal-actions {
        flex-direction: column-reverse;
    }

    .gdpr-cancel-btn {
        width: 100%;
        text-align: center;
    }

    .gdpr-recaptcha-wrap {
        transform: scale(0.9);
        transform-origin: center left;
    }
}

.form-submit-error {
    display: none;
    padding: 12px 16px;
    margin-top: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-submit-error[aria-hidden="false"] {
    display: block;
}

/* Subject select */
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.contact-form select option[value=""] {
    color: var(--text-muted);
} 
.nf-info-body p a {
    color: var(--accent);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-tabs {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.about-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.about-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.about-tab-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

.about-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.about-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: rgba(255, 214, 2, 0.04);
}

.about-tab-content {
    padding: 2rem;
}

.about-tab-panel p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}