/* Cesky Layer - Green & Black Theme */
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-darker: #047857;
    --primary-light: #34d399;
    --primary-lighter: #6ee7b7;
    --bg: #0a0f0a;
    --bg-light: #111811;
    --bg-lighter: #1a221a;
    --bg-card: #142014;
    --text: #e8f5e8;
    --text-muted: #86a886;
    --text-dim: #5a7a5a;
    --border: #1f3a1f;
    --border-light: #2a4a2a;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --gradient-start: #10b981;
    --gradient-end: #059669;
}

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

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

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: white;
}

.logo span {
    font-size: 20px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
    background: rgba(16, 185, 129, 0.1);
}

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

.btn-connect {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    z-index: 999;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.mobile-menu a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-light);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-dark);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
}

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

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-text:hover {
    color: var(--primary);
}

/* Sections */
section {
    padding: 80px 0;
}

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

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-header .section-title,
.section-header .section-subtitle {
    text-align: left;
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 48px rgba(16, 185, 129, 0.1);
}

.category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-light);
}

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

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

.category-apr {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
}

/* Asset Cards */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.asset-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.asset-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 48px rgba(16, 185, 129, 0.1);
}

.asset-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px;
}

.asset-image-2 { background: linear-gradient(135deg, #065f46, #047857); }
.asset-image-3 { background: linear-gradient(135deg, #047857, #059669); }
.asset-image-4 { background: linear-gradient(135deg, #059669, #10b981); }
.asset-image-5 { background: linear-gradient(135deg, #10b981, #34d399); }
.asset-image-6 { background: linear-gradient(135deg, #34d399, #6ee7b7); }
.asset-image-7 { background: linear-gradient(135deg, #064e3b, #065f46); }
.asset-image-8 { background: linear-gradient(135deg, #065f46, #047857); }
.asset-image-9 { background: linear-gradient(135deg, #047857, #059669); }

.asset-tag {
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

.asset-favorite {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.asset-favorite:hover {
    background: rgba(239, 68, 68, 0.4);
}

.asset-favorite.active {
    background: rgba(239, 68, 68, 0.6);
}

.asset-favorite.active i {
    color: #ef4444;
}

.asset-content {
    padding: 24px;
}

.asset-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.asset-location {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.asset-location i {
    margin-right: 6px;
}

.asset-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.asset-stats div {
    display: flex;
    flex-direction: column;
}

.asset-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.asset-value {
    font-size: 18px;
    font-weight: 700;
}

.green { color: var(--primary-light); }
.red { color: var(--danger); }

.asset-progress {
    margin-bottom: 20px;
}

.progress-bar {
    height: 6px;
    background: var(--bg-lighter);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 100px;
    transition: width 0.5s;
}

.asset-progress span {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-invest {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-invest:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* How It Works */
.how-it-works {
    background: var(--bg-light);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--primary-light);
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.step-arrow {
    color: var(--primary);
    font-size: 20px;
}

/* Yield Preview */
.yield-preview {
    background: var(--bg-light);
}

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

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

.pool-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 48px rgba(16, 185, 129, 0.1);
}

.pool-card.featured-pool {
    border-color: var(--primary);
    position: relative;
}

.pool-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.pool-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-light);
}

.pool-badge {
    position: absolute;
    top: -8px;
    right: calc(50% - 50px);
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--warning), #d97706);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

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

.pool-apr {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pool-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

.pool-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pool-stats div {
    display: flex;
    flex-direction: column;
}

.pool-stat-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

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

.btn-stake {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-stake:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.newsletter h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form input::placeholder {
    color: var(--text-dim);
}

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

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

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-lighter);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

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

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-legal a:hover {
    color: var(--primary-light);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 9999;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification i {
    color: var(--primary-light);
}

/* Page Content */
.page-content {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.page-header {
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Market Page */
.market-filters {
    margin-bottom: 32px;
}

.search-box {
    position: relative;
    margin-bottom: 16px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.market-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.mstat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.mstat-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.mstat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

/* Portfolio Page */
.portfolio-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.portfolio-label {
    font-size: 12px;
    color: var(--text-dim);
}

.portfolio-change {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 100px;
}

.portfolio-change.positive {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.portfolio-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.portfolio-sub {
    font-size: 12px;
    color: var(--text-dim);
}

.portfolio-section {
    margin-bottom: 48px;
}

.allocation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.donut-chart {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: conic-gradient(
        var(--color-1) calc(var(--percentage-1) * 1%),
        var(--color-2) calc(var(--percentage-1) * 1%) calc((var(--percentage-1) + var(--percentage-2)) * 1%),
        var(--color-3) calc((var(--percentage-1) + var(--percentage-2)) * 1%) calc((var(--percentage-1) + var(--percentage-2) + var(--percentage-3)) * 1%),
        var(--color-4) calc((var(--percentage-1) + var(--percentage-2) + var(--percentage-3)) * 1%) calc((var(--percentage-1) + var(--percentage-2) + var(--percentage-3) + var(--percentage-4)) * 1%),
        var(--color-5) calc((var(--percentage-1) + var(--percentage-2) + var(--percentage-3) + var(--percentage-4)) * 1%)
    );
    position: relative;
    margin: 0 auto;
}

.donut-chart::before {
    content: '';
    position: absolute;
    inset: 40px;
    background: var(--bg-card);
    border-radius: 50%;
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-label {
    display: block;
    font-size: 36px;
    font-weight: 700;
}

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

.allocation-legend {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-info {
    display: flex;
    flex-direction: column;
}

.legend-name {
    font-size: 14px;
    font-weight: 500;
}

.legend-value {
    font-size: 12px;
    color: var(--text-muted);
}

/* Tables */
.holdings-table,
.stakes-table,
.transactions-list {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 100px;
    padding: 16px 24px;
    background: var(--bg-lighter);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 100px;
    padding: 16px 24px;
    align-items: center;
    border-top: 1px solid var(--border);
}

.asset-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.category-tag {
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 100px;
    font-size: 12px;
    color: var(--primary-light);
}

.btn-small {
    padding: 6px 12px;
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Transactions */
.transaction-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.transaction-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.transaction-icon.buy { background: rgba(34, 197, 94, 0.1); color: var(--success); }
.transaction-icon.sell { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.transaction-icon.yield { background: rgba(245, 158, 11, 0.1); color: var(--warning); }

.transaction-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.transaction-title {
    font-weight: 500;
}

.transaction-date {
    font-size: 12px;
    color: var(--text-dim);
}

.transaction-amount {
    font-weight: 600;
}

/* Tokenize Page */
.tokenize-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.tokenize-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.file-upload {
    padding: 32px;
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    border-color: var(--primary);
}

.file-upload i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.file-upload span {
    font-size: 14px;
    color: var(--text-muted);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
}

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

.tokenize-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--primary-light);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-step {
    display: flex;
    gap: 16px;
}

.step-num {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.requirements-list li i {
    color: var(--success);
}

.fee-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.fee-row:last-child {
    border-bottom: none;
}

.fee-value {
    font-weight: 600;
    color: var(--primary-light);
}

/* Yield Page */
.yield-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.yield-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.yield-stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.yield-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.pool-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pool-detail {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
}

.my-stakes-section {
    margin-top: 48px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
}

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

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

.modal-body {
    padding: 24px;
}

.modal-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg);
    border-radius: 12px;
}

.modal-info-item {
    display: flex;
    flex-direction: column;
}

.modal-info-item span:first-child {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.quick-amounts {
    display: flex;
    gap: 8px;
    margin: 12px 0 24px;
}

.quick-amounts button {
    flex: 1;
    padding: 8px;
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-amounts button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.estimated-earnings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    margin-bottom: 24px;
}

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

/* Governance */
.gov-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.gov-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.gov-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

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

.gov-voting-power {
    margin-bottom: 48px;
}

.voting-power-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

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

.voting-power-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

.voting-power-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

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

/* Proposals */
.proposals-section {
    margin-bottom: 48px;
}

.proposal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.proposal-card.past {
    opacity: 0.7;
}

.proposal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.proposal-id {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 600;
}

.proposal-status {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.proposal-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-light);
}

.proposal-status.passed {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.proposal-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

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

.proposal-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.proposal-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-dim);
}

.proposal-meta i {
    margin-right: 6px;
}

.proposal-votes {
    margin-bottom: 20px;
}

.vote-bar {
    height: 8px;
    background: var(--bg-lighter);
    border-radius: 100px;
    overflow: hidden;
    display: flex;
    margin-bottom: 8px;
}

.vote-for {
    background: linear-gradient(90deg, var(--success), #4ade80);
    height: 100%;
}

.vote-against {
    background: linear-gradient(90deg, var(--danger), #f87171);
    height: 100%;
}

.vote-stats {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.vote-stats .for {
    color: var(--success);
}

.vote-stats .against {
    color: var(--danger);
}

.proposal-actions {
    display: flex;
    gap: 12px;
}

.btn-vote-for,
.btn-vote-against {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-vote-for {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-vote-for:hover {
    background: var(--success);
    color: white;
}

.btn-vote-against {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-vote-against:hover {
    background: var(--danger);
    color: white;
}

/* Analytics */
.analytics-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.analytics-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.analytics-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-light);
}

.analytics-info {
    display: flex;
    flex-direction: column;
}

.analytics-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.analytics-value {
    font-size: 24px;
    font-weight: 700;
}

.analytics-change {
    font-size: 12px;
    font-weight: 600;
}

.analytics-change.positive {
    color: var(--success);
}

.category-volume {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.volume-item {
    margin-bottom: 20px;
}

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

.volume-bar-container {
    height: 8px;
    background: var(--bg-lighter);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 8px;
}

.volume-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 100px;
}

.volume-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.volume-name {
    font-weight: 500;
}

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

.top-assets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-asset-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 24px;
}

.top-asset-rank {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.top-asset-info {
    flex: 1;
}

.top-asset-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.top-asset-category {
    font-size: 12px;
    color: var(--text-dim);
}

.top-asset-yield {
    text-align: right;
}

.yield-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
}

.yield-label {
    font-size: 12px;
    color: var(--text-dim);
}

.activity-list {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

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

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

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 14px;
}

.activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-title {
    font-weight: 500;
    font-size: 14px;
}

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

.activity-time {
    font-size: 12px;
    color: var(--text-dim);
}

/* Learn Page */
.learn-hero {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: center;
}

.learn-hero-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.learn-hero-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 16px;
}

.learn-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lstat {
    text-align: center;
}

.lstat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.learn-section {
    margin-bottom: 48px;
}

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

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

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

.guide-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

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

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

.guide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--text-dim);
}

.guide-level {
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 100px;
    color: var(--primary-light);
    font-weight: 500;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--bg-lighter);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--text-dim);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Glossary */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.glossary-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
}

.glossary-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-light);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .category-grid,
    .asset-grid,
    .pool-grid,
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tokenize-grid {
        grid-template-columns: 1fr;
    }
    
    .allocation-grid {
        grid-template-columns: 1fr;
    }
    
    .learn-hero {
        grid-template-columns: 1fr;
    }
    
    .glossary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .category-grid,
    .asset-grid,
    .pool-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .market-stats-bar,
    .portfolio-overview,
    .yield-stats,
    .gov-stats,
    .analytics-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .voting-power-card {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .market-stats-bar,
    .portfolio-overview,
    .yield-stats,
    .gov-stats,
    .analytics-overview {
        grid-template-columns: 1fr;
    }
}
