/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #1e1b4b;
    --accent: #22d3ee;
    --background: #0f0d1a;
    --background-light: #1a1625;
    --surface: #252136;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--background-light);
    border-color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 8px;
    font-size: 18px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

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

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Network Animation */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-animation {
    position: relative;
    width: 400px;
    height: 400px;
}

.node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform-origin: left center;
}

.node-1 { top: 10%; left: 50%; animation-delay: 0s; }
.node-1::before { transform: rotate(140deg); }

.node-2 { top: 30%; left: 85%; animation-delay: 0.4s; }
.node-2::before { transform: rotate(200deg); }

.node-3 { top: 70%; left: 85%; animation-delay: 0.8s; }
.node-3::before { transform: rotate(250deg); }

.node-4 { top: 90%; left: 50%; animation-delay: 1.2s; }
.node-4::before { transform: rotate(320deg); }

.node-5 { top: 50%; left: 10%; animation-delay: 1.6s; }
.node-5::before { transform: rotate(20deg); }

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.5);
    animation: centerPulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes centerPulse {
    0%, 100% { box-shadow: 0 0 60px rgba(99, 102, 241, 0.5); }
    50% { box-shadow: 0 0 100px rgba(99, 102, 241, 0.8); }
}

/* Section Styles */
section {
    padding: 120px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 64px;
}

/* Features */
.features {
    background: var(--background-light);
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* How It Works */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step {
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
}

.step-arrow {
    color: var(--primary);
}

.step-arrow svg {
    width: 32px;
    height: 32px;
}

/* Tokenomics */
.tokenomics {
    background: var(--background-light);
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.token-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.token-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.token-symbol {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light);
}

.token-name {
    font-size: 16px;
    color: var(--text-muted);
}

.token-details {
    font-size: 14px;
}

.token-details li {
    margin-bottom: 12px;
}

.token-details ul {
    margin-top: 8px;
    margin-left: 20px;
}

.token-details ul li {
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Earn GOV Section */
.earn-gov {
    background: var(--background);
    padding: 80px 0;
}

.earn-gov-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 48px 0 40px;
}

/* 3+2 centered: row 1 = cols 1-2, 3-4, 5-6 | row 2 = cols 2-3, 4-5 */
.earn-gov-grid .earn-tier-card:nth-child(1) { grid-column: 1 / 3; }
.earn-gov-grid .earn-tier-card:nth-child(2) { grid-column: 3 / 5; }
.earn-gov-grid .earn-tier-card:nth-child(3) { grid-column: 5 / 7; }
.earn-gov-grid .earn-tier-card:nth-child(4) { grid-column: 2 / 4; }
.earn-gov-grid .earn-tier-card:nth-child(5) { grid-column: 4 / 6; }

.earn-tier-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.earn-tier-card:hover {
    transform: translateY(-4px);
}

.earn-tier-card.bronze { border-top: 3px solid #cd7f32; }
.earn-tier-card.silver { border-top: 3px solid #c0c0c0; }
.earn-tier-card.gold { border-top: 3px solid #ffd700; }
.earn-tier-card.platinum { border-top: 3px solid var(--primary-light); }
.earn-tier-card.genesis { border-top: 3px solid var(--accent); background: linear-gradient(135deg, var(--surface), rgba(34,211,238,0.05)); }

.tier-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.earn-tier-card.genesis .tier-badge { color: var(--accent); }

.tier-points {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.tier-reward {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.earn-tier-card.genesis .tier-reward { color: var(--accent); }

.earn-tier-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.earn-activities {
    margin: 0 auto 48px;
    max-width: 800px;
}

.earn-activities h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text);
}

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

.activity-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-pts {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    min-width: 40px;
}

.activity-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.earn-gov-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.earn-gov-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.earn-gov-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .earn-gov-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .earn-gov-grid .earn-tier-card:nth-child(n) {
        grid-column: auto;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .earn-gov-grid {
        grid-template-columns: 1fr;
    }
}

/* Contracts Section */
.contracts {
    background: var(--background);
}

.contracts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contract-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contract-name {
    font-weight: 600;
    color: var(--primary-light);
}

.contract-address {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--background);
    padding: 8px 12px;
    border-radius: 6px;
    overflow-x: auto;
}

.contract-link {
    font-size: 13px;
    color: var(--accent);
}

.contract-link:hover {
    text-decoration: underline;
}

/* Get Started */
.get-started {
    background: var(--background-light);
}

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

.path-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.path-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.path-card > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.path-card pre {
    background: var(--background);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.path-card code {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: var(--text-muted);
}

.path-card ul {
    margin-bottom: 24px;
}

.path-card ul li {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.path-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.path-buttons {
    display: flex;
    gap: 12px;
}

.path-buttons .btn {
    flex: 1;
    text-align: center;
}

/* Community */
.community {
    background: var(--background);
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.community-link:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.community-link svg {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
}

.community-link span {
    font-weight: 500;
}

/* Support / Donate */
.support {
    background: var(--background-light);
}

.donate-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.donate-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.donate-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.donate-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.chain-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    color: white;
}

.chain-icon.eth {
    background: linear-gradient(135deg, #627eea, #3c3c3d);
}

.chain-icon.btc {
    background: linear-gradient(135deg, #f7931a, #e2820c);
}

.chain-icon.sol {
    background: linear-gradient(135deg, #9945ff, #14f195);
}

.chain-icon.xmr {
    background: linear-gradient(135deg, #ff6600, #4c4c4c);
}

.donate-card h3 {
    font-size: 18px;
    margin: 0;
}

.donate-card > p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 8px 0 16px;
}

.wallet-address {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallet-address .address {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--accent);
    word-break: break-all;
    padding: 8px;
    background: var(--surface);
    border-radius: 6px;
    line-height: 1.4;
}

.wallet-address .address.monero-addr {
    font-size: 9px;
}

.copy-btn {
    padding: 8px 16px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.copy-btn.copied {
    background: var(--success);
}

.network-note {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
}

.donate-note {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* Manual Page */
.manual-header {
    padding: 120px 0 60px;
    background: var(--background);
    text-align: center;
}

.manual-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.manual-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.manual-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.manual-nav-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 24px;
}

.manual-section {
    padding: 80px 0;
}

.manual-section.alt-bg {
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 24px;
}

.step-card:hover {
    border-color: var(--primary);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.step-content > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.step-details {
    background: var(--background);
    border-radius: 12px;
    padding: 24px;
}

.step-details h4 {
    font-size: 14px;
    color: var(--accent);
    margin: 20px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-details h4:first-child {
    margin-top: 0;
}

.step-details ol,
.step-details ul {
    margin-left: 20px;
    color: var(--text-muted);
}

.step-details li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.step-details ul ul {
    margin-top: 8px;
}

.step-details pre {
    background: var(--secondary);
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    margin: 12px 0;
}

.step-details code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 13px;
    color: var(--accent);
}

.step-details pre code {
    color: var(--text);
}

.step-details p {
    color: var(--text-muted);
    line-height: 1.6;
}

.step-details a {
    color: var(--primary-light);
}

.step-details a:hover {
    text-decoration: underline;
}

.requirements-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}

.requirements-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.requirements-table td:first-child {
    color: var(--text);
    font-weight: 500;
    width: 140px;
}

.requirements-table td:last-child {
    color: var(--text-muted);
}

.requirements-table code {
    font-size: 12px;
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 4px;
}

.token-info {
    padding: 20px;
    background: var(--surface);
    border-radius: 12px;
    margin: 16px 0;
}

.token-info h4 {
    color: var(--text) !important;
    margin-bottom: 16px !important;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.faq-item {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.faq-item h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item a {
    color: var(--primary-light);
}

.nav-links a.active {
    color: var(--primary-light);
}

/* Task Explorer Page */
.tasks-header {
    padding: 120px 0 40px;
    background: var(--background);
    text-align: center;
}

.tasks-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.task-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-box {
    padding: 24px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.tasks-filters {
    padding: 24px 0;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 90;
}

.filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    min-width: 160px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-bar .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.tasks-list {
    padding: 48px 0;
    background: var(--background);
    min-height: 400px;
}

.task-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.task-card:hover {
    border-color: var(--primary);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}

.task-id {
    display: flex;
    align-items: center;
    gap: 8px;
}

.task-id .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.task-id .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
}

.task-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.task-status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.task-status.active {
    background: rgba(34, 211, 238, 0.2);
    color: var(--accent);
}

.task-status.completed {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.task-status.expired {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.task-body {
    padding: 24px;
}

.task-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.task-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.task-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.meta-item {
    padding: 16px;
    background: var(--background);
    border-radius: 10px;
}

.meta-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
}

.meta-value.reward {
    color: var(--success);
}

.framework-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.framework-badge.onnx {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.framework-badge.pytorch {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.framework-badge.tensorflow {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.task-hashes {
    background: var(--background);
    border-radius: 10px;
    padding: 16px;
}

.hash-item {
    margin-bottom: 12px;
}

.hash-item:last-child {
    margin-bottom: 0;
}

.hash-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hash-value {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: var(--accent);
    word-break: break-all;
}

.task-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
    background: var(--background-light);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.task-submitter,
.task-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-footer .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.task-submitter .address {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: var(--primary-light);
}

.task-submitter .address:hover {
    text-decoration: underline;
}

.task-time time {
    font-size: 14px;
}

.task-footer .btn {
    margin-left: auto;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.empty-state {
    text-align: center;
    padding: 80px 24px;
}

.empty-icon {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

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

.coming-soon-card {
    text-align: center;
    padding: 48px;
    background: var(--surface);
    border: 2px dashed var(--border);
    border-radius: 16px;
}

.coming-soon-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.coming-soon-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.submit-cta {
    padding: 80px 0;
    background: var(--background-light);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.network-info {
    padding: 48px 0;
    background: var(--background);
    text-align: center;
}

.network-info h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.contracts-mini {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.contract-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.contract-mini-item .contract-name {
    font-weight: 600;
    font-size: 14px;
}

.contract-mini-item code {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--accent);
}

.contract-mini-item a {
    color: var(--primary-light);
    font-size: 13px;
}

.contract-mini-item a:hover {
    text-decoration: underline;
}

.network-info .network-note {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .tasks-header h1 {
        font-size: 32px;
    }

    .task-stats {
        gap: 16px;
    }

    .stat-box {
        padding: 16px 24px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar .btn {
        margin-left: 0;
        margin-top: 16px;
    }

    .task-meta {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .task-footer .btn {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .manual-header h1 {
        font-size: 32px;
    }

    .manual-nav {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        flex-direction: column;
    }

    .step-number {
        align-self: flex-start;
    }
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-tagline {
    margin-top: 8px;
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .paths-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tokens-grid,
    .contracts-grid {
        grid-template-columns: 1fr;
    }

    .community-links {
        flex-wrap: wrap;
    }

    .community-link {
        padding: 24px 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Section */
.dashboard-section {
    padding: 120px 0;
    background: var(--background-light);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.dashboard-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.dashboard-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.dashboard-icon svg {
    width: 32px;
    height: 32px;
}

.dashboard-icon.node-op {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.dashboard-icon.researcher {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.dashboard-icon.crowdfunder {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.dashboard-icon.investor {
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
}

.dashboard-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text);
}

.dashboard-card ul {
    text-align: left;
    color: var(--text-muted);
    font-size: 14px;
}

.dashboard-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.dashboard-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.dashboard-card li strong {
    color: var(--accent);
}

.dashboard-cta {
    text-align: center;
    margin-top: 48px;
}

.dashboard-note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
