/* Selenoid Protocol - White & Black Theme */
:root {
    --primary: #111111;
    --primary-light: #333333;
    --primary-lighter: #555555;
    --bg: #ffffff;
    --bg-light: #f8f8f8;
    --bg-lighter: #f0f0f0;
    --bg-card: #ffffff;
    --text: #111111;
    --text-muted: #666666;
    --text-dim: #999999;
    --border: #e5e5e5;
    --border-light: #eeeeee;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --gradient-start: #111111;
    --gradient-end: #333333;
}

* {
    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(255, 255, 255, 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(--text);
    background: var(--bg-lighter);
}

.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(0, 0, 0, 0.2);
}

.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);
    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: var(--bg-lighter);
    color: var(--text);
}

.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;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: #000;
    top: -200px;
    right: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: #333;
    bottom: -100px;
    left: -100px;
}

.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: var(--bg-lighter);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-muted);
    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, #333, #111);
    -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(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--border);
    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: var(--bg-lighter);
    border-color: var(--text-muted);
}

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

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

/* 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;
}

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

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

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--text);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-lighter);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--text);
}

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

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

.feature-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-lighter);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

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

.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;
    color: white;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-lighter);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--text);
}

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

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

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

/* Shield Stats */
.shield-stats {
    background: var(--bg-light);
}

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

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

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

.stat-header i {
    font-size: 20px;
    color: var(--text-muted);
}

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

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

.stat-amount {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* Security */
.security {
    background: var(--bg);
}

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

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

.security-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.security-item {
    display: flex;
    gap: 16px;
}

.security-icon {
    width: 24px;
    height: 24px;
    color: var(--success);
    font-size: 20px;
    flex-shrink: 0;
}

.security-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.security-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.shield-ring {
    position: absolute;
    border: 2px solid var(--border);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.ring-2 {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    animation-delay: 1s;
}

.ring-3 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-delay: 2s;
}

.shield-core {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

/* Newsletter */
.newsletter {
    background: var(--bg-light);
    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(--text);
}

.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(--text);
    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(--text);
}

.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(--text);
}

/* 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;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

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

/* 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;
}

/* Shield Interface */
.shield-interface {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.shield-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.shield-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.shield-tab {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.shield-tab:hover {
    color: var(--text);
    background: var(--bg-light);
}

.shield-tab.active {
    color: var(--text);
    border-bottom: 2px solid var(--text);
}

.shield-panel {
    display: none;
    padding: 32px;
}

.shield-panel.active {
    display: block;
}

/* Form Elements */
.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-light);
    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(--text);
}

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

/* Token Selector */
.token-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.token-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.token-option:hover {
    border-color: var(--text-muted);
}

.token-option.active {
    border-color: var(--text);
    background: var(--bg-lighter);
}

.token-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* Amount Input */
.amount-input {
    position: relative;
}

.amount-input input {
    padding-right: 60px;
}

.token-label {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.balance-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-dim);
}

.max-btn {
    background: none;
    border: none;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
}

/* Privacy Options */
.privacy-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.privacy-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 10px;
}

.privacy-option input {
    margin-top: 2px;
}

.privacy-option label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
}

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

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

/* Transaction Summary */
.tx-summary,
.mixer-summary,
.bridge-summary,
.relay-summary,
.vault-summary {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row.total {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
    font-size: 16px;
}

/* Receive Panel */
.receive-info {
    text-align: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    gap: 12px;
}

.qr-placeholder i {
    font-size: 48px;
    color: var(--text-muted);
}

.qr-placeholder span {
    font-size: 12px;
    color: var(--text-dim);
}

.address-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.address-box code {
    flex: 1;
    font-size: 14px;
    color: var(--text);
}

.address-box button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

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

/* Deposit History */
.deposit-history {
    margin-top: 32px;
}

.deposit-history h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.deposit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

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

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

.deposit-status {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

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

/* Transaction Filters */
.tx-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tx-filter {
    padding: 6px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Transaction List */
.tx-list {
    display: flex;
    flex-direction: column;
}

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

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

.tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.tx-icon.sent {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.tx-icon.received {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.tx-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tx-type {
    font-weight: 500;
    font-size: 14px;
}

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

.tx-amount {
    text-align: right;
    display: flex;
    flex-direction: column;
}

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

.tx-amount .tx-id {
    font-size: 12px;
    color: var(--text-dim);
}

/* Info Cards */
.shield-info,
.mixer-info,
.bridge-info,
.relay-info,
.vault-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: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--text-muted);
}

.shield-steps,
.mixer-steps,
.bridge-steps,
.relay-steps,
.vault-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 20px;
}

.shield-steps li,
.mixer-steps li,
.bridge-steps li,
.relay-steps li,
.vault-steps li {
    font-size: 14px;
    color: var(--text-muted);
}

.privacy-meter {
    margin-bottom: 20px;
}

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

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), #4ade80);
    border-radius: 100px;
}

.meter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
}

.privacy-list,
.security-list,
.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-list li,
.security-list li,
.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.privacy-list li i,
.security-list li i,
.benefits-list li i {
    color: var(--success);
}

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

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

.fee-value {
    font-weight: 600;
}

/* Mixer Stats */
.mixer-stats,
.bridge-stats,
.relay-stats,
.vault-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

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

.mixer-stat-label,
.bridge-stat-label,
.relay-stat-label,
.vault-stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.mixer-stat-value,
.bridge-stat-value,
.relay-stat-value,
.vault-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

/* Mixer Interface */
.mixer-interface,
.bridge-interface,
.relay-interface,
.vault-interface {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.mixer-card,
.bridge-card,
.relay-card,
.vault-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.mixer-tabs,
.relay-tabs,
.vault-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.mixer-tab,
.relay-tab,
.vault-tab {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mixer-tab:hover,
.relay-tab:hover,
.vault-tab:hover {
    color: var(--text);
    background: var(--bg-light);
}

.mixer-tab.active,
.relay-tab.active,
.vault-tab.active {
    color: var(--text);
    border-bottom: 2px solid var(--text);
}

.mixer-panel,
.relay-panel,
.vault-panel {
    display: none;
    padding: 32px;
}

.mixer-panel.active,
.relay-panel.active,
.vault-panel.active {
    display: block;
}

/* Delay Options */
.delay-options,
.duration-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.delay-option,
.duration-option {
    flex: 1;
    min-width: 100px;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.delay-option:hover,
.duration-option:hover {
    border-color: var(--text-muted);
}

.delay-option.active,
.duration-option.active {
    border-color: var(--text);
    background: var(--bg-lighter);
}

.delay-time,
.duration-time {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.delay-fee,
.duration-bonus {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* Secret Note */
.secret-note {
    margin-bottom: 20px;
}

.secret-note textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: monospace;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 12px;
}

/* Mixer Status */
.mixer-status {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.status-icon.processing {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

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

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

.status-title {
    font-weight: 600;
}

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

/* Anonymity Info */
.anonymity-info {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.anonymity-stat {
    text-align: center;
}

.anonymity-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

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

.anonymity-note {
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
}

/* Bridge Chains */
.bridge-chains {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}

.chain-selector {
    flex: 1;
}

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

.chain-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.chain-selected {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chain-selected img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.chain-options {
    display: none;
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-top: 4px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.chain-options.active {
    display: block;
}

.chain-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.chain-option:hover {
    background: var(--bg-light);
}

.chain-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.bridge-swap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swap-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.swap-btn:hover {
    background: var(--bg-lighter);
    transform: rotate(180deg);
}

/* Chain List */
.chain-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chain-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.chain-item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.chain-item span:nth-child(2) {
    flex: 1;
}

.chain-status {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

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

.chain-status:not(.active) {
    background: var(--bg-lighter);
    color: var(--text-dim);
}

/* Relay Options */
.relay-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.relay-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 10px;
}

.relay-option input {
    margin-top: 2px;
}

.relay-option label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
}

/* Stake Stats */
.stake-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

.stake-stat {
    text-align: center;
}

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

.stake-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

/* Relayers List */
.relayers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.relayer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

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

.relayer-rank {
    width: 32px;
    height: 32px;
    background: var(--bg-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.relayer-details {
    display: flex;
    flex-direction: column;
}

.relayer-name {
    font-weight: 600;
    font-size: 14px;
}

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

.relayer-stats {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.relayer-fee {
    font-weight: 600;
    font-size: 14px;
}

.relayer-uptime {
    font-size: 12px;
    color: var(--success);
}

/* Reward Info */
.reward-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-stat {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.reward-stat:last-child {
    border-bottom: none;
}

.reward-label {
    font-size: 14px;
}

.reward-value {
    font-weight: 600;
}

/* Vaults List */
.vaults-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vault-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
}

.vault-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.vault-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-lighter);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

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

.vault-title {
    font-weight: 600;
}

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

.vault-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.vault-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: 500;
}

.status-locked {
    color: var(--warning);
}

.status-ready {
    color: var(--success);
}

.vault-progress {
    margin-bottom: 16px;
}

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

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

.vault-progress .progress-fill.complete {
    background: var(--success);
}

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

/* Bonus List */
.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.bonus-duration {
    font-size: 14px;
}

.bonus-value {
    font-weight: 600;
    color: var(--success);
}

/* 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: var(--bg-lighter);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text);
}

.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);
}

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

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

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

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

.usage-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--text), var(--primary-light));
    border-radius: 100px;
}

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

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

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

.privacy-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

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

.metric-header i {
    font-size: 20px;
    color: var(--text-muted);
}

.metric-status {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

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

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

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

/* Activity List */
.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: var(--bg-lighter);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    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;
}

.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(--text);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.guide-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-lighter);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text);
    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: var(--bg-lighter);
    border-radius: 100px;
    color: var(--text-muted);
    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-light);
}

.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(--text);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid,
    .stats-grid,
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shield-interface,
    .mixer-interface,
    .bridge-interface,
    .relay-interface,
    .vault-interface {
        grid-template-columns: 1fr;
    }
    
    .security-content {
        grid-template-columns: 1fr;
    }
    
    .learn-hero {
        grid-template-columns: 1fr;
    }
    
    .glossary-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-metrics {
        grid-template-columns: repeat(2, 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;
    }
    
    .feature-grid,
    .stats-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .mixer-stats,
    .bridge-stats,
    .relay-stats,
    .vault-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;
    }
    
    .bridge-chains {
        flex-direction: column;
    }
    
    .bridge-swap {
        transform: rotate(90deg);
    }
    
    .vault-details {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .mixer-stats,
    .bridge-stats,
    .relay-stats,
    .vault-stats,
    .analytics-overview,
    .privacy-metrics {
        grid-template-columns: 1fr;
    }
}
