:root {
    --bg: #090b12;
    --bg-soft: #0f1422;
    --panel: #111827;
    --panel-2: #0d1320;
    --line: rgba(255,255,255,0.08);
    --text-main: #edf2f7;
    --text-muted: #9aa6b2;
    --verivis-navy: #003B73;
    --verivis-blue: #0078B3;
    --verivis-cyan: #00A8E8;
    --accent-cyan: #00F5FF;
    --verivis-purple: #9945FF;
    --success: #2fe6a6;
    --warning: #ffc857;
    --danger: #ff7c7c;
    --font-stack: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow: 0 18px 60px rgba(0,0,0,0.35);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.72;
    background:
        radial-gradient(circle at 15% 0%, rgba(153,69,255,0.14), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(0,168,232,0.14), transparent 28%),
        linear-gradient(180deg, #090b12 0%, #0a0d15 100%);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8,10,17,0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(153,69,255,0.85);
    box-shadow: 0 0 28px rgba(153,69,255,0.35);
}

.brand-title {
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    color: #dbe7f4;
    font-size: 0.95rem;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 46px;
    align-items: center;
    padding: 64px 0 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,168,232,0.35);
    background: rgba(0,168,232,0.08);
    color: #b8f3ff;
    font-size: 0.88rem;
    font-weight: 650;
    margin-bottom: 18px;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(2.5rem, 5.1vw, 4.4rem);
}

h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
}

h3 {
    font-size: 1.16rem;
}

.lead {
    font-size: 1.08rem;
    color: #dce5ef;
}

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

.hero-card,
.panel,
.card,
.notice,
.timeline-item,
.metric,
.contact-box,
.result-panel {
    background: linear-gradient(180deg, rgba(18,24,39,0.94), rgba(13,18,31,0.94));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 18px;
}

.hero-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 14px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.96rem;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--verivis-purple), var(--verivis-cyan));
    color: #041019;
}

.btn-secondary {
    color: #dbe7f4;
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.14);
}

.section {
    padding: 28px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin: 18px 0 22px;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #b78cff;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.notice {
    padding: 18px 20px;
    margin: 24px 0;
    border-left: 4px solid var(--warning);
    background: linear-gradient(180deg, rgba(255,200,87,0.08), rgba(17,24,39,0.95));
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.card {
    padding: 24px;
}

.whitepaper {
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.whitepaper img {
    border-radius: 14px;
    border: 1px solid var(--line);
}

.callout {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0,168,232,0.25);
    background: rgba(0,168,232,0.08);
    color: #dce5ef;
    margin-top: 14px;
}

details {
    margin-top: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 14px 16px;
}

summary {
    cursor: pointer;
    font-weight: 700;
    color: #dffaff;
}

.details-content {
    margin-top: 12px;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 14px;
    border: 1px solid transparent;
}

.status-review {
    background: rgba(0,168,232,0.12);
    color: #9beeff;
    border-color: rgba(0,168,232,0.35);
}

.status-submitted {
    background: rgba(153,69,255,0.12);
    color: #d8b8ff;
    border-color: rgba(153,69,255,0.35);
}

/* Updates */
.updates-wrap {
    display: grid;
    gap: 18px;
}

.update-item {
    position: relative;
    padding: 28px;
    background: linear-gradient(180deg, rgba(11,18,30,0.98), rgba(14,20,34,0.98));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.update-featured {
    border-color: rgba(0,245,255,0.18);
}

.update-archive {
    opacity: 0.96;
}

.update-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.update-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.update-badge-new {
    background: rgba(47,230,166,0.12);
    color: #aaffde;
    border: 1px solid rgba(47,230,166,0.35);
}

.update-badge-archive {
    background: rgba(255,255,255,0.06);
    color: #d6dbe3;
    border: 1px solid rgba(255,255,255,0.12);
}

.update-meta {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.update-title {
    margin-bottom: 14px;
}

.update-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.update-card {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.update-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #b78cff;
    margin-bottom: 10px;
}

.update-value {
    color: #dce5ef;
    word-break: break-word;
}

.code-wrap {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
    color: #9df8d8;
}

.update-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0,168,232,0.22);
    background: rgba(0,168,232,0.08);
    color: #dce5ef;
}

/* Premium Demo */
.demo-shell {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    background:
        linear-gradient(180deg, rgba(9,12,20,0.98), rgba(10,14,24,0.98));
    box-shadow:
        0 24px 80px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.demo-shell-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(0,245,255,0.12), transparent 26%),
        radial-gradient(circle at 88% 12%, rgba(153,69,255,0.16), transparent 28%);
    pointer-events: none;
}

.demo-header-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
}

.demo-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.demo-header-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(47,230,166,0.12);
    color: #aaffde;
    border: 1px solid rgba(47,230,166,0.35);
}

.demo-header-network {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #dbe7f4;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.demo-header-right {
    color: #dce5ef;
    font-size: 0.92rem;
    font-weight: 700;
}

.demo-wrap {
    position: relative;
    z-index: 2;
    padding: 28px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.demo-top-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 18px;
    margin-bottom: 18px;
}

.demo-hero-copy,
.demo-chain-card,
.demo-stage-card,
.demo-left-panel,
.demo-right-panel,
.console-stat-card,
.contract-info-box,
.result-meta-box,
.trust-note-box {
    background: linear-gradient(180deg, rgba(18,24,39,0.78), rgba(12,17,29,0.9));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.demo-hero-copy,
.demo-chain-card {
    border-radius: 20px;
    padding: 20px;
}

.demo-intro {
    margin: 0;
}

.demo-chain-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-chain-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #b78cff;
    margin-bottom: 10px;
}

.demo-chain-value {
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.demo-chain-sub {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.demo-stage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.demo-stage-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
}

.demo-stage-no {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #081018;
    background: linear-gradient(135deg, var(--verivis-purple), var(--accent-cyan));
    flex-shrink: 0;
}

.demo-stage-title {
    font-weight: 700;
    color: #edf2f7;
    margin-bottom: 4px;
}

.demo-stage-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.premium-demo-layout {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.demo-left-panel,
.demo-right-panel {
    border-radius: 22px;
    padding: 22px;
}

.demo-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.demo-panel-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #b78cff;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.demo-panel-title {
    margin: 0;
    font-size: 1.08rem;
}

.upload-area {
    border: 2px dashed rgba(153,69,255,0.85);
    border-radius: 20px;
    padding: 34px 24px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    transition: 0.2s ease;
}

.upload-area.dragover {
    border-color: var(--accent-cyan);
    background: rgba(0,245,255,0.05);
    transform: translateY(-1px);
}

.upload-label {
    display: block;
    cursor: pointer;
}

.upload-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #eaf8ff;
    background: linear-gradient(135deg, rgba(153,69,255,0.45), rgba(0,168,232,0.28));
    border: 1px solid rgba(255,255,255,0.08);
}

.upload-main {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    color: #e9f3ff;
    margin-bottom: 6px;
}

.preview-panel {
    display: none;
    margin-top: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(0,168,232,0.14);
    color: #b9f2ff;
    border: 1px solid rgba(0,168,232,0.3);
    font-size: 0.76rem;
    font-weight: 800;
}

.preview-meta {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.preview-panel img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    background: #090b12;
}

.verify-btn {
    display: none;
    width: 100%;
    margin-top: 18px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.96rem;
    cursor: pointer;
    background: linear-gradient(90deg, var(--verivis-purple), var(--verivis-cyan));
    color: #041019;
    box-shadow: 0 12px 30px rgba(0,168,232,0.12);
}

.verify-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.loading {
    display: none;
    text-align: center;
    padding: 34px 18px;
}

.loading-title {
    margin: 0;
    color: #dffaff;
}

.spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border: 5px solid rgba(255,255,255,0.12);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.result-panel {
    display: none;
    padding: 22px;
    border: 1px solid rgba(0,245,255,0.2);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
    border-radius: 20px;
    box-shadow: none;
}

.demo-console-placeholder {
    border-radius: 20px;
    border: 1px dashed rgba(255,255,255,0.12);
    padding: 32px 20px;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.console-placeholder-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #b8f3ff;
    background: rgba(0,168,232,0.08);
    border: 1px solid rgba(0,168,232,0.22);
}

.console-placeholder-title {
    font-weight: 700;
    color: #edf2f7;
    margin-bottom: 6px;
}

.console-placeholder-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 380px;
    margin: 0 auto;
}

.premium-success-header {
    margin-bottom: 14px;
}

.success-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e9f7ff;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 12px rgba(47,230,166,0.6);
}

.result-summary {
    margin-top: 0;
}

.console-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0;
}

.console-stat-card {
    padding: 16px;
    border-radius: 16px;
}

.console-stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.console-stat-value {
    color: #edf2f7;
    font-weight: 800;
    font-size: 1.02rem;
}

.success-text {
    color: #9df8d8;
}

.contract-info-box {
    margin: 0 0 16px;
    padding: 16px 18px;
    border-radius: 16px;
}

.contract-info-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contract-info-value {
    word-break: break-word;
}

.result-meta-box {
    margin: 0 0 16px;
    padding: 16px 18px;
    border-radius: 16px;
}

.hash-label {
    margin-bottom: 8px;
}

.tx-hash {
    margin: 0 0 16px;
    color: #dce5ef;
    word-break: break-word;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(0,168,232,0.14);
    background: rgba(0,168,232,0.05);
}

.trust-note-box {
    padding: 16px 18px;
    border-radius: 16px;
}

.trust-note-title {
    font-size: 0.82rem;
    color: #b78cff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.trust-note {
    margin: 0;
    color: #dce5ef;
}

.demo-reset-btn {
    width: 100%;
    margin-top: 18px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.timeline-item {
    padding: 22px;
}

.roadmap-quarter {
    color: #bb93ff;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact {
    margin: 56px 0 36px;
}

.contact-box {
    padding: 30px;
    background: linear-gradient(135deg, rgba(153,69,255,0.16), rgba(0,168,232,0.14));
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-heading {
    margin-bottom: 10px;
}

.contact-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.contact-links a {
    color: #dce5ef;
    font-weight: 700;
}

.recruit-box {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}

.recruit-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #dce5ef;
}

.contact-actions {
    margin-top: 18px;
}

footer {
    margin-top: 30px;
    padding: 28px 0 46px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 24px;
}

.list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-clean li {
    margin: 8px 0;
}

.small {
    font-size: 0.92rem;
}

.footer-brand {
    margin-bottom: 8px;
}

.footer-description {
    max-width: 520px;
}

@media (max-width: 980px) {
    .hero,
    .whitepaper,
    .grid-3,
    .grid-2,
    .update-grid,
    .demo-top-grid,
    .demo-stage-grid,
    .premium-demo-layout,
    .console-grid,
    .timeline,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }

    .nav {
        min-height: auto;
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        align-items: flex-start;
    }

    .demo-header-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(94%, 1120px);
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.78rem;
    }

    .actions {
        flex-direction: column;
    }

    .btn,
    .verify-btn {
        width: 100%;
    }
}