/* ==========================================================================
   ZIP.CO — Financial Services Platform
   Clean modern design. Purple accent. Professional typography.
   ========================================================================== */

:root {
    --zp-bg: #0f0f14;
    --zp-bg-2: #16161e;
    --zp-surface: #1c1c26;
    --zp-surface-2: #242432;
    --zp-line: #2a2a3a;
    --zp-line-2: #3a3a4e;
    --zp-text: #f0f0f5;
    --zp-text-dim: #8e8ea0;
    --zp-text-faint: #5e5e72;
    --zp-primary: #7c3aed;
    --zp-primary-soft: rgba(124, 58, 237, 0.12);
    --zp-accent: #a78bfa;
    --zp-gold: #eab308;
    --zp-green: #22c55e;
    --zp-red: #f43f5e;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { background: var(--zp-bg); }

body {
    font-family: var(--font-sans);
    color: var(--zp-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--zp-bg);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(50% 40% at 30% 0%, rgba(124, 58, 237, 0.05), transparent 60%),
        radial-gradient(40% 50% at 70% 100%, rgba(167, 139, 250, 0.03), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a { color: inherit; text-decoration: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.zp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--zp-line);
}

.zp-topbar {
    background: var(--zp-bg);
    border-bottom: 1px solid var(--zp-line);
    padding: 0 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--zp-text-dim);
    letter-spacing: 0.3px;
    overflow: hidden;
}

.zp-topbar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.zp-topbar strong {
    color: var(--zp-text);
    font-weight: 600;
    margin-right: 3px;
}

.zp-topbar .up { color: var(--zp-green); }
.zp-topbar .down { color: var(--zp-red); }

.zp-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.zp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zp-logo-mark {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zp-logo-mark svg {
    width: 32px;
    height: 32px;
}

.zp-logo-text {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--zp-text);
}

.zp-logo-text em {
    font-style: normal;
    color: var(--zp-primary);
}

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

.zp-nav-links a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--zp-text-dim);
    border-radius: var(--r-sm);
    transition: color .15s, background .15s;
}

.zp-nav-links a:hover {
    color: var(--zp-primary);
    background: var(--zp-primary-soft);
}

.zp-nav-links a.active {
    color: var(--zp-text);
    background: var(--zp-surface-2);
}

.zp-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zp-btn {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--r-sm);
    cursor: pointer;
    border: none;
    transition: transform .15s, box-shadow .15s, background .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zp-btn-primary {
    background: var(--zp-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.zp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.5);
    background: #8b5cf6;
}

.zp-btn-ghost {
    background: transparent;
    color: var(--zp-text);
    border: 1px solid var(--zp-line-2);
}

.zp-btn-ghost:hover {
    border-color: var(--zp-primary);
    color: var(--zp-primary);
}

/* ==========================================================================
   HERO — left-aligned with split layout
   ========================================================================== */

.zp-hero {
    position: relative;
    padding: 100px 32px 80px;
    overflow: hidden;
    border-bottom: 1px solid var(--zp-line);
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.zp-hero-left {
    position: relative;
    z-index: 1;
}

.zp-hero-right {
    position: relative;
    z-index: 1;
}

.zp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--zp-primary-soft);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--zp-accent);
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.zp-hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--zp-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--zp-green);
    animation: zp-pulse 2s infinite;
}

@keyframes zp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.zp-hero-title {
    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.08;
    margin-bottom: 20px;
}

.zp-hero-title .accent {
    color: var(--zp-primary);
}

.zp-hero-desc {
    font-size: 16px;
    color: var(--zp-text-dim);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.zp-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.zp-hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.zp-metric-card {
    background: var(--zp-surface);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-lg);
    padding: 24px 20px;
    text-align: center;
    transition: border-color .2s;
}

.zp-metric-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
}

.zp-metric-card .value {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
    color: var(--zp-text);
    letter-spacing: -1px;
}

.zp-metric-card .value .unit {
    color: var(--zp-primary);
    font-size: 14px;
    margin-left: 2px;
}

.zp-metric-card .label {
    font-size: 11px;
    color: var(--zp-text-faint);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 6px;
}

/* ==========================================================================
   SECTION CHROME
   ========================================================================== */

.zp-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
}

.zp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--zp-line);
    gap: 20px;
    flex-wrap: wrap;
}

.zp-section-head h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1;
}

.zp-section-head h2::before {
    content: attr(data-num);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--zp-primary);
    font-weight: 500;
    letter-spacing: 1px;
    margin-right: 10px;
    vertical-align: middle;
}

.zp-section-sub {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--zp-text-dim);
    letter-spacing: 0.5px;
}

/* Tabs */
.zp-tabs {
    display: flex;
    gap: 0;
    border: 1px solid var(--zp-line-2);
    border-radius: var(--r-sm);
    overflow: hidden;
}

.zp-tab {
    padding: 7px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: var(--zp-text-dim);
    border: none;
    cursor: pointer;
    transition: background .15s, color .15s;
    border-right: 1px solid var(--zp-line-2);
}

.zp-tab:last-child { border-right: none; }
.zp-tab:hover { color: var(--zp-text); }

.zp-tab.active {
    background: var(--zp-primary);
    color: #fff;
}

/* ==========================================================================
   TABLE
   ========================================================================== */

.zp-table-wrap {
    background: var(--zp-surface);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-md);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--zp-text-faint);
    background: rgba(15, 15, 20, 0.7);
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--zp-line);
}

td {
    padding: 20px 18px;
    border-bottom: 1px solid var(--zp-line);
    font-size: 14px;
    color: var(--zp-text);
}

tr:last-child td { border-bottom: none; }
tr:hover { background: rgba(124, 58, 237, 0.03); }

.rank {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--zp-primary);
    font-size: 15px;
}

.rank::before { content: '#'; color: var(--zp-text-faint); }

.exchange-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.exchange-logo {
    width: 36px;
    height: 36px;
    background: var(--zp-bg-2);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-sm);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exchange-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 2px;
}

.exchange-name {
    font-weight: 600;
    color: var(--zp-text);
    font-size: 14px;
}

.trading-volume,
.liquidity-score {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--zp-accent);
    font-size: 13px;
}

.weekly-visits,
.markets-count,
.coins-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--zp-text-dim);
}

.fiat-supported {
    color: var(--zp-text-dim);
    font-size: 12px;
    line-height: 1.5;
}

.volume-chart {
    width: 90px;
    height: 32px;
    position: relative;
    background: var(--zp-bg-2);
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 1px solid var(--zp-line);
}

.chart-line {
    position: absolute;
    inset: 2px;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.5) 0%, rgba(34, 197, 94, 0.05) 100%);
    clip-path: polygon(0% 85%, 10% 70%, 20% 60%, 30% 45%, 40% 35%, 50% 25%, 60% 30%, 70% 40%, 80% 50%, 90% 45%, 100% 30%, 100% 100%, 0% 100%);
}

.chart-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--zp-green);
    clip-path: polygon(0% 85%, 10% 70%, 20% 60%, 30% 45%, 40% 35%, 50% 25%, 60% 30%, 70% 40%, 80% 50%, 90% 45%, 100% 30%, 100% 27%, 0% 82%);
}

.chart-red .chart-line {
    background: linear-gradient(180deg, rgba(244, 63, 94, 0.5) 0%, rgba(244, 63, 94, 0.05) 100%);
    clip-path: polygon(0% 30%, 10% 45%, 20% 55%, 30% 70%, 40% 80%, 50% 75%, 60% 85%, 70% 90%, 80% 85%, 90% 80%, 100% 75%, 100% 100%, 0% 100%);
}

.chart-red .chart-line::before {
    background: var(--zp-red);
    clip-path: polygon(0% 30%, 10% 45%, 20% 55%, 30% 70%, 40% 80%, 50% 75%, 60% 85%, 70% 90%, 80% 85%, 90% 80%, 100% 75%, 100% 72%, 0% 27%);
}

/* ==========================================================================
   FEATURES — horizontal cards
   ========================================================================== */

.zp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.zp-feat {
    background: var(--zp-surface);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-lg);
    padding: 30px 22px;
    transition: border-color .2s, transform .2s;
    position: relative;
}

.zp-feat:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-3px);
}

.zp-feat-icon {
    width: 44px;
    height: 44px;
    background: var(--zp-primary-soft);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--zp-primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
}

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

.zp-feat h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.zp-feat p {
    font-size: 13px;
    color: var(--zp-text-dim);
    line-height: 1.65;
}

/* ==========================================================================
   CHART SECTION
   ========================================================================== */

.zp-chart-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

.zp-chart-frame {
    background: var(--zp-surface);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-lg);
    padding: 6px;
    overflow: hidden;
}

.zp-chart-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--zp-line);
    margin-bottom: 6px;
}

.zp-chart-pair {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--zp-text);
    font-weight: 600;
    letter-spacing: 1px;
}

.zp-chart-pair span {
    color: var(--zp-text-faint);
    margin: 0 4px;
}

.zp-chart-price {
    display: flex;
    gap: 12px;
    align-items: baseline;
    font-family: var(--font-mono);
}

.zp-chart-price .v {
    font-size: 18px;
    color: var(--zp-text);
    font-weight: 700;
}

.zp-chart-price .c {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: var(--r-sm);
    background: rgba(34, 197, 94, 0.1);
    color: var(--zp-green);
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s;
}

.zp-chart-price .c.down {
    background: rgba(244, 63, 94, 0.1);
    color: var(--zp-red);
    border-color: rgba(244, 63, 94, 0.3);
}

.zp-chart-price .c.up {
    background: rgba(34, 197, 94, 0.1);
    color: var(--zp-green);
    border-color: rgba(34, 197, 94, 0.3);
}

.zp-chart-host {
    height: 440px;
    overflow: hidden;
    border-radius: var(--r-sm);
    position: relative;
}

.zp-chart-host .tradingview-widget-container,
.zp-chart-host .tradingview-widget-container__widget,
.zp-chart-host .tradingview-widget-container iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.zp-footer {
    border-top: 1px solid var(--zp-line);
    background: #0a0a0f;
    margin-top: 60px;
}

.zp-footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px 40px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
}

.zp-foot-brand {
    max-width: 300px;
}

.zp-foot-brand .zp-logo {
    margin-bottom: 14px;
}

.zp-foot-brand p {
    font-size: 13px;
    color: var(--zp-text-dim);
    line-height: 1.7;
}

.zp-foot-col h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--zp-text);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.zp-foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zp-foot-col a {
    font-size: 13px;
    color: var(--zp-text-dim);
    transition: color .15s;
}

.zp-foot-col a:hover {
    color: var(--zp-primary);
}

.zp-footer-bottom {
    border-top: 1px solid var(--zp-line);
    padding: 22px 32px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--zp-text-faint);
    letter-spacing: 0.4px;
}

.zp-footer-bottom .zp-company {
    flex: 1;
    min-width: 280px;
}

.zp-company p {
    margin-bottom: 3px;
}

.zp-copyright {
    text-align: right;
}

.zp-foot-seal {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: var(--r-lg);
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid var(--zp-line);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zp-foot-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.zp-about-hero {
    padding: 80px 32px 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.zp-about-hero .tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--zp-accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: inline-block;
}

.zp-about-hero h1 {
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.zp-about-hero h1 .hl { color: var(--zp-primary); }

.zp-about-hero .lead {
    font-size: 16px;
    color: var(--zp-text-dim);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 48px;
}

.zp-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.zp-about-stat {
    background: var(--zp-surface);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-lg);
    padding: 24px 16px;
    text-align: center;
}

.zp-about-stat .val {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--zp-text);
    letter-spacing: -1px;
}

.zp-about-stat .val .unit {
    color: var(--zp-primary);
    font-size: 14px;
}

.zp-about-stat .lbl {
    font-size: 10px;
    color: var(--zp-text-faint);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 6px;
}

/* About timeline */
.zp-about-timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px;
    border-top: 1px solid var(--zp-line);
}

.zp-about-timeline h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 40px;
    text-align: center;
}

.zp-about-timeline h2 .hl { color: var(--zp-primary); }

.zp-timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.zp-timeline-item {
    background: var(--zp-surface);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    position: relative;
    border-left: 3px solid var(--zp-primary);
}

.zp-timeline-item .year {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--zp-primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.zp-timeline-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.zp-timeline-item p {
    font-size: 13px;
    color: var(--zp-text-dim);
    line-height: 1.7;
}

/* About services */
.zp-about-services {
    background: var(--zp-bg-2);
    border-top: 1px solid var(--zp-line);
    border-bottom: 1px solid var(--zp-line);
    padding: 64px 32px;
}

.zp-about-services-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.zp-about-services-inner h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 36px;
    text-align: center;
}

.zp-about-services-inner h2 .hl { color: var(--zp-primary); }

.zp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.zp-service-card {
    background: var(--zp-surface);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-lg);
    padding: 28px 22px;
    text-align: center;
    transition: border-color .2s;
}

.zp-service-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
}

.zp-service-card .icon {
    width: 48px;
    height: 48px;
    background: var(--zp-primary-soft);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--zp-primary);
}

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

.zp-service-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.zp-service-card p {
    font-size: 13px;
    color: var(--zp-text-dim);
    line-height: 1.6;
}

/* About CTA */
.zp-about-cta {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 64px 32px 0;
}

.zp-about-cta-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), transparent 60%), var(--zp-surface);
    border: 1px solid var(--zp-line);
    border-radius: var(--r-xl);
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.zp-about-cta-box h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.zp-about-cta-box p {
    font-size: 14px;
    color: var(--zp-text-dim);
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.zp-legal {
    max-width: 860px;
    margin: 0 auto;
    padding: 72px 32px 100px;
}

.zp-legal-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--zp-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.zp-legal h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 14px;
}

.zp-legal-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--zp-text-dim);
    padding-bottom: 24px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--zp-line);
}

.zp-legal h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--zp-text);
    margin: 36px 0 12px;
    letter-spacing: -0.4px;
}

.zp-legal h2::before {
    content: attr(data-n);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--zp-primary);
    margin-right: 10px;
    letter-spacing: 1px;
}

.zp-legal h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--zp-text);
    margin: 22px 0 8px;
}

.zp-legal p {
    font-size: 14px;
    color: var(--zp-text-dim);
    line-height: 1.75;
    margin-bottom: 12px;
}

.zp-legal ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.zp-legal li {
    font-size: 14px;
    color: var(--zp-text-dim);
    line-height: 1.7;
    padding: 3px 0 3px 18px;
    position: relative;
}

.zp-legal li::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 12px;
    width: 5px;
    height: 5px;
    background: var(--zp-primary);
    border-radius: 50%;
}

.zp-legal a {
    color: var(--zp-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.zp-legal strong {
    color: var(--zp-text);
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal, .contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(8px);
}

.modal.show, .contact-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content, .contact-modal-content {
    background: var(--zp-surface);
    border: 1px solid var(--zp-line-2);
    border-radius: var(--r-lg);
    width: 440px;
    max-width: 92vw;
    padding: 32px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 30px rgba(124, 58, 237, 0.08);
}

.modal-header, .contact-modal-header {
    margin-bottom: 22px;
}

.modal-header h2, .contact-modal-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.modal-header h2::before, .contact-modal-header h2::before {
    content: '';
}

.modal-header p {
    margin-top: 5px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--zp-text-dim);
}

.form-group, .contact-form-group {
    margin-bottom: 16px;
}

.form-group label, .contact-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--zp-text-dim);
    margin-bottom: 7px;
}

.form-group input, .contact-form-group input,
.contact-form-group select, .contact-form-group textarea {
    width: 100%;
    padding: 11px 13px;
    background: var(--zp-bg);
    border: 1px solid var(--zp-line-2);
    border-radius: var(--r-sm);
    color: var(--zp-text);
    font-size: 14px;
    font-family: var(--font-sans);
    transition: border-color .15s;
}

.contact-form-group textarea {
    min-height: 110px;
    resize: vertical;
    font-family: var(--font-sans);
}

.form-group input:focus, .contact-form-group input:focus,
.contact-form-group select:focus, .contact-form-group textarea:focus {
    outline: none;
    border-color: var(--zp-primary);
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.modal-btn {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid var(--zp-line-2);
    background: transparent;
    color: var(--zp-text);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--r-sm);
    transition: background .15s, color .15s, border-color .15s;
}

.btn-cancel:hover { border-color: var(--zp-text-dim); color: var(--zp-text); }

.btn-login, .contact-submit-btn {
    background: var(--zp-primary);
    color: #fff;
    border-color: var(--zp-primary);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-login:hover, .contact-submit-btn:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.contact-submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 13px 18px;
}

.close-modal, .contact-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: var(--zp-text-dim);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover, .contact-close:hover {
    color: var(--zp-primary);
}

.contact-form-row {
    display: flex;
    gap: 12px;
}

.contact-form-row > * { flex: 1; }

.success-message, .contact-success-message {
    text-align: center;
    padding: 22px 10px;
}

.success-message .icon, .contact-success-icon {
    font-size: 38px;
    margin-bottom: 12px;
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    background: var(--zp-primary);
    color: #fff;
    border-radius: var(--r-md);
}

.success-message h3, .contact-success-message h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.success-message p, .contact-success-message p {
    font-size: 13px;
    color: var(--zp-text-dim);
    line-height: 1.6;
}

/* disclaimer */

.disclaimer {
    background: rgba(124, 58, 237, 0.02);
    border-top: 1px solid var(--zp-line);
    padding: 18px 32px;
}

.disclaimer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.disclaimer h4 {
    color: var(--zp-primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
}

.disclaimer p {
    font-size: 12px;
    color: var(--zp-text-dim);
    line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .zp-hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 32px 60px; }
    .zp-hero-metrics { grid-template-columns: repeat(2, 1fr); }
    .zp-features { grid-template-columns: repeat(2, 1fr); }
    .zp-footer-top { grid-template-columns: 1fr 1fr; }
    .zp-about-stats { grid-template-columns: repeat(2, 1fr); }
    .zp-timeline-grid { grid-template-columns: 1fr; }
    .zp-services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .zp-nav { padding: 0 18px; gap: 10px; }
    .zp-nav-links { display: none; }
    .zp-nav-actions .zp-btn-ghost { display: none; }
    .zp-section { padding: 48px 18px; }
    .zp-hero { padding: 40px 18px 48px; }
    .zp-hero-metrics { grid-template-columns: 1fr 1fr; }
    .zp-features { grid-template-columns: 1fr; }
    .zp-footer-top { grid-template-columns: 1fr; gap: 28px; }
    .zp-section-head h2 { font-size: 22px; }
    .zp-legal h1 { font-size: 32px; }
    .zp-about-stats { grid-template-columns: 1fr 1fr; }
    .zp-about-cta-box { flex-direction: column; align-items: flex-start; padding: 32px 22px; }
    .zp-topbar { display: none; }
    th, td { padding: 12px 10px; font-size: 12px; }
}
