@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --bg-glass: rgba(30, 41, 59, 0.6);
    --bg-glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #14b8a6;
    --accent-hover: #0d9488;
    --accent-light: rgba(20, 184, 166, 0.15);
    --accent-glow: rgba(20, 184, 166, 0.3);
    --gradient-1: linear-gradient(135deg, #14b8a6, #0d9488, #0f766e);
    --gradient-2: linear-gradient(135deg, #14b8a6, #06b6d4, #3b82f6);
    --gradient-3: linear-gradient(135deg, #10b981, #14b8a6, #0ea5e9);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #0f172a 60%, #1e293b 100%);
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(20, 184, 166, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --cursor-color: #14b8a6;
    --particle-color: rgba(20, 184, 166, 0.4);
    --partner-color: var(--text-primary);
    --font-sans: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-display: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 30px rgba(20, 184, 166, 0.1);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 30%, #e2e8f0 60%, #f1f5f9 100%);
    --accent-light: rgba(20, 184, 166, 0.1);
    --partner-color: #10b981;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-card-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection { background: var(--accent); color: white; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

.section { padding: 100px 0; }
@media (max-width: 768px) { .section { padding: 60px 0; } }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--cursor-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: 0 0 10px var(--accent-glow);
}
.cursor-ring {
    width: 40px; height: 40px;
    border: 2px solid var(--cursor-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, all 0.15s ease;
    opacity: 0.6;
}
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--accent); background: var(--accent-light); opacity: 0.8; }
.cursor-hidden { opacity: 0; }

@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none !important; }
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.animated-bg .gradient-mesh {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
}
.animated-bg .grid-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFloat 30s linear infinite;
}
.animated-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}
.animated-bg .orb-1 { width: 400px; height: 400px; background: rgba(20, 184, 166, 0.15); top: -10%; left: -5%; animation-delay: 0s; }
.animated-bg .orb-2 { width: 500px; height: 500px; background: rgba(6, 182, 212, 0.1); bottom: -15%; right: -10%; animation-delay: -5s; }
.animated-bg .orb-3 { width: 300px; height: 300px; background: rgba(16, 185, 129, 0.12); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -10s; }
.animated-bg .scan-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.1), transparent);
    animation: scanLine 4s linear infinite;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}
.navbar.scrolled {
    background: var(--bg-secondary);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    padding: 10px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; color: var(--text-primary); font-family: var(--font-display); }
.navbar .logo img { height: 40px; width: auto; }
.navbar .logo span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.navbar .nav-links { display: flex; align-items: center; gap: 32px; }
.navbar .nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; position: relative; }
.navbar .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-1); transition: var(--transition); }
.navbar .nav-links a:hover::after { width: 100%; }
.navbar .nav-links a:hover { color: var(--text-primary); }
.navbar .nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
    font-size: 1.1rem;
}
.theme-toggle:hover { background: var(--bg-card-hover); color: var(--accent); }
.navbar .mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
    .navbar .nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg-primary); flex-direction: column; justify-content: center; align-items: center; gap: 24px; z-index: -1; }
    .navbar .nav-links.open { display: flex; }
    .navbar .mobile-toggle { display: block; z-index: 1001; }
    .navbar .nav-actions .btn-primary { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.9rem;
    transition: var(--transition); border: none; cursor: pointer; font-family: var(--font-sans);
    text-decoration: none; white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary { background: var(--gradient-1); color: white; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px var(--accent-glow); color: white; }
.btn-secondary { background: var(--bg-glass); border: 1px solid var(--bg-glass-border); color: var(--text-primary); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: var(--bg-card); border-color: var(--accent); color: var(--accent); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-ghost { background: transparent; border: none; color: var(--text-secondary); padding: 8px 16px; }
.btn-ghost:hover { color: var(--accent); background: var(--accent-light); border-radius: var(--radius-sm); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== CARDS ===== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: 0.5s;
}
.glass-card:hover::before { left: 100%; }
.glass-card:hover { border-color: var(--accent); background: var(--bg-glass); transform: translateY(-4px); box-shadow: var(--shadow-glow); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 14px 16px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); color: var(--text-primary);
    font-size: 0.95rem; font-family: var(--font-sans);
    transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.badge-warning { background: rgba(251, 191, 36, 0.15); color: #f59e0b; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.badge-info { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.badge-secondary { background: rgba(100, 116, 139, 0.15); color: #64748b; }
.badge-primary { background: var(--accent-light); color: var(--accent); }

/* ===== TABLES ===== */
.table-container { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-color); }
table { width: 100%; border-collapse: collapse; }
table thead { background: var(--bg-secondary); }
table th { padding: 14px 16px; text-align: left; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
table td { padding: 14px 16px; border-top: 1px solid var(--border-color); font-size: 0.9rem; color: var(--text-secondary); }
table tbody tr { transition: var(--transition); }
table tbody tr:hover { background: var(--accent-light); }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    z-index: 5000; display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); padding: 32px;
    max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto;
    animation: modalIn 0.3s ease;
}
.modal-lg { max-width: 700px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-header h3 { font-size: 1.3rem; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--text-primary); }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-color); }

/* ===== TOAST ===== */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 10000; display: flex; flex-direction: column; gap: 12px; }
.toast {
    padding: 16px 20px; border-radius: var(--radius-md); min-width: 300px;
    display: flex; align-items: center; gap: 12px;
    animation: slideInRight 0.3s ease; position: relative;
    background: var(--bg-card); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}
.toast-success { border-left: 4px solid #10b981; }
.toast-error { border-left: 4px solid #ef4444; }
.toast-warning { border-left: 4px solid #f59e0b; }
.toast-info { border-left: 4px solid #3b82f6; }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: #ef4444; }
.toast-content { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.9rem; }
.toast-message { font-size: 0.8rem; color: var(--text-muted); }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; }

/* ===== STATS CARD ===== */
.stat-card { text-align: center; padding: 28px; }
.stat-card .stat-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; font-family: var(--font-display); margin-bottom: 4px; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* ===== FEATURE CARD ===== */
.feature-card { padding: 32px; text-align: center; }
.feature-card .feature-icon { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; background: var(--accent-light); color: var(--accent); position: relative; overflow: hidden; }
.feature-card .feature-icon::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(transparent, var(--accent-glow), transparent 30%); animation: spin 4s linear infinite; opacity: 0.5; }
.feature-card .feature-icon span { position: relative; z-index: 1; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== LANDING SPECIFIC SECTIONS ===== */
.landing-wrapper { position: relative; z-index: 1; padding-top: 72px; }

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section .hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-section .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 100px;
    background: var(--accent-light); border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--accent); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 24px; animation: fadeInUp 0.6s ease;
}
.hero-section .hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900; line-height: 1.1;
    margin-bottom: 20px; font-family: var(--font-display);
    animation: fadeInUp 0.8s ease;
}
.hero-section h1 .gradient-text { background: var(--gradient-2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-section p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px; margin: 0 auto 36px;
    line-height: 1.7; animation: fadeInUp 1s ease;
}
.hero-section .hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; animation: fadeInUp 1.2s ease; }
.hero-section .hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 48px;
    margin-top: 60px; flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}
.hero-section .hero-stat { text-align: center; }
.hero-section .hero-stat .value { font-size: 1.8rem; font-weight: 800; font-family: var(--font-display); }
.hero-section .hero-stat .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* Partners */
.partners-section { padding: 60px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); overflow: hidden; }
.partners-track { display: flex; gap: 60px; animation: scrollLeft 30s linear infinite; align-items: center; }
.partners-track img, .partners-track .partner-item { height: 32px; opacity: 0.8; filter: grayscale(1); transition: var(--transition); white-space: nowrap; font-size: 1.2rem; font-weight: 700; color: var(--partner-color); letter-spacing: 0.1em; }
.partners-track img:hover, .partners-track .partner-item:hover { opacity: 1; filter: grayscale(0); }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

/* How It Works */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { text-align: center; padding: 40px 24px; position: relative; }
.step-card .step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.3rem; font-weight: 800; color: white; }
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 300px; margin: 0 auto; }
.step-card .step-connector { position: absolute; top: 48px; right: -16px; width: 32px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
@media (max-width: 768px) { .step-card .step-connector { display: none; } }

/* Assets Grid */
.assets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .assets-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .assets-grid { grid-template-columns: repeat(2, 1fr); } }
.asset-card { display: flex; align-items: center; gap: 12px; padding: 16px; }
.asset-card .asset-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: white; flex-shrink: 0; }
.asset-card .asset-info { flex: 1; }
.asset-card .asset-info .name { font-weight: 600; font-size: 0.9rem; }
.asset-card .asset-info .symbol { font-size: 0.75rem; color: var(--text-muted); }
.asset-card .asset-price { text-align: right; }
.asset-card .asset-price .price { font-weight: 600; font-size: 0.9rem; font-family: var(--font-mono); }
.asset-card .asset-price .change { font-size: 0.75rem; }
.asset-card .asset-price .change.up { color: #10b981; }
.asset-card .asset-price .change.down { color: #ef4444; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { padding: 28px; }
.testimonial-card .stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 12px; }
.testimonial-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: white; }
.testimonial-card .author .info .name { font-weight: 600; font-size: 0.9rem; }
.testimonial-card .author .info .title { font-size: 0.8rem; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-item .faq-question { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; background: none; border: none; color: var(--text-primary); font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left; transition: var(--transition); }
.faq-item .faq-question:hover { background: var(--bg-glass); }
.faq-item .faq-question .arrow { transition: var(--transition); font-size: 1.2rem; color: var(--accent); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-item .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item .faq-answer-inner { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* CTA Banner */
.cta-section { padding: 100px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--gradient-1); opacity: 0.05; }
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(2rem, 3vw, 3rem); font-weight: 900; font-family: var(--font-display); margin-bottom: 16px; }
.cta-content p { color: var(--text-muted); max-width: 500px; margin: 0 auto 36px; font-size: 1.1rem; }

/* Footer */
.footer { position: relative; z-index: 2; background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col .footer-logo { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 800; font-family: var(--font-display); margin-bottom: 16px; }
.footer-col .footer-logo img { height: 32px; }
.footer-col .footer-logo span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-col p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-glass); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition); font-size: 1.1rem; }
.footer-social a:hover { background: var(--accent); color: white; border-color: var(--accent); padding-left: 0; }

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 20px 24px;
    max-width: 600px; width: calc(100% - 48px);
    display: none; align-items: center; gap: 20px;
    z-index: 5000; box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}
.cookie-consent.show { display: flex; }
@media (max-width: 640px) { .cookie-consent { flex-direction: column; text-align: center; } }
.cookie-consent p { font-size: 0.85rem; color: var(--text-secondary); flex: 1; }
.cookie-consent .actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ===== PAGE HEADER ===== */
.page-header { padding: 120px 0 60px; text-align: center; position: relative; }
.page-header h1 { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 900; font-family: var(--font-display); margin-bottom: 12px; }
.page-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== CONTENT PAGE (risk-disclosure style) ===== */
.content-page { max-width: 800px; margin: 0 auto; padding: 40px 0 100px; }
.content-page h2 { font-size: 1.5rem; font-weight: 700; margin-top: 40px; margin-bottom: 16px; font-family: var(--font-display); }
.content-page h3 { font-size: 1.2rem; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
.content-page p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.content-page ul, .content-page ol { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; padding-left: 24px; }
.content-page li { margin-bottom: 8px; }
.content-page .highlight-box { background: var(--accent-light); border: 1px solid rgba(20, 184, 166, 0.2); border-radius: var(--radius-md); padding: 24px; margin: 24px 0; }
.content-page .highlight-box p:last-child { margin-bottom: 0; }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; }
.auth-card { width: 100%; max-width: 440px; padding: 40px; }
.auth-card .auth-header { text-align: center; margin-bottom: 32px; }
.auth-card .auth-header .auth-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.auth-card .auth-header .auth-logo img { height: 40px; }
.auth-card .auth-header .auth-logo span { font-size: 1.5rem; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.auth-card .auth-header h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.auth-card .auth-header p { color: var(--text-muted); font-size: 0.9rem; }
.auth-card .auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.auth-card .auth-divider::before, .auth-card .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.auth-card .auth-divider span { color: var(--text-muted); font-size: 0.85rem; }
.auth-card .social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-card .social-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--radius-md); border: 1px solid var(--border-color); background: var(--bg-glass); color: var(--text-primary); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.auth-card .social-btn:hover { background: var(--bg-card-hover); border-color: var(--accent); }
.auth-card .auth-footer { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; }
.auth-card .auth-footer a { font-weight: 600; }

/* OTP Input */
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 24px 0; }
.otp-inputs input { width: 48px; height: 56px; text-align: center; font-size: 1.3rem; font-weight: 700; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-primary); outline: none; transition: var(--transition); }
.otp-inputs input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout { display: flex; min-height: 100vh; }
.dashboard-sidebar {
    width: 260px; background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    position: fixed; top: 0; left: 0; height: 100vh;
    display: flex; flex-direction: column;
    z-index: 100; transition: var(--transition);
}
.dashboard-sidebar .sidebar-brand { padding: 24px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 12px; }
.dashboard-sidebar .sidebar-brand img { height: 32px; }
.dashboard-sidebar .sidebar-brand span { font-size: 1.2rem; font-weight: 800; font-family: var(--font-display); background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dashboard-sidebar .sidebar-user { padding: 20px 24px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 12px; }
.dashboard-sidebar .sidebar-user .avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-weight: 700; color: white; }
.dashboard-sidebar .sidebar-user .info { flex: 1; min-width: 0; }
.dashboard-sidebar .sidebar-user .info .name { font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-sidebar .sidebar-user .info .balance { font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.dashboard-sidebar .sidebar-nav { flex: 1; overflow-y: auto; padding: 16px 12px; }
.dashboard-sidebar .sidebar-nav .nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; transition: var(--transition); margin-bottom: 2px; cursor: pointer; }
.dashboard-sidebar .sidebar-nav .nav-item:hover { background: var(--accent-light); color: var(--accent); }
.dashboard-sidebar .sidebar-nav .nav-item.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.dashboard-sidebar .sidebar-nav .nav-item .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.dashboard-sidebar .sidebar-nav .nav-item .badge { margin-left: auto; }
.dashboard-sidebar .sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--border-color); }

.dashboard-main {
    flex: 1; margin-left: 260px;
    min-height: 100vh; position: relative;
    background: var(--bg-primary);
}
.dashboard-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 32px; background: var(--bg-glass);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 50;
}
.dashboard-topbar .page-title { font-size: 1.2rem; font-weight: 700; }
.dashboard-topbar .topbar-actions { display: flex; align-items: center; gap: 12px; }
.dashboard-topbar .sidebar-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.3rem; cursor: pointer; }

.dashboard-content { padding: 32px; }
@media (max-width: 1024px) {
    .dashboard-sidebar { transform: translateX(-100%); }
    .dashboard-sidebar.open { transform: translateX(0); }
    .dashboard-main { margin-left: 0; }
    .dashboard-topbar .sidebar-toggle { display: block; }
    .dashboard-topbar { padding: 12px 16px; }
    .dashboard-content { padding: 16px; }
}

/* ===== DASHBOARD STATS GRID ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes gradientShift { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.1); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes gridFloat { 0% { transform: translateY(0); } 100% { transform: translateY(60px); } }
@keyframes orbFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(0.9); } }
@keyframes scanLine { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes borderGlow { 0%, 100% { border-color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); } 50% { border-color: #06b6d4; box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); } }

/* ===== SPLIT SECTION ===== */
.section-alt { background: var(--bg-secondary); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 768px) { .split-section { grid-template-columns: 1fr; gap: 40px; } }
.split-content .section-title.left, .split-content .section-subtitle.left { text-align: left; margin-left: 0; }
.check-list { list-style: none; padding: 0; margin-top: 32px; }
.check-list li { display: flex; gap: 16px; margin-bottom: 28px; }
.check-list li .check-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.check-list li strong { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.check-list li p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.split-visual { display: flex; align-items: center; justify-content: center; }
.visual-card { background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--bg-glass-border); border-radius: var(--radius-xl); padding: 40px; text-align: center; max-width: 400px; width: 100%; }
.visual-card .visual-icon { font-size: 3rem; margin-bottom: 16px; }
.visual-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.visual-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; }
.security-meter { display: flex; align-items: center; gap: 12px; }
.security-meter .meter-bar { flex: 1; height: 8px; background: var(--bg-card-hover); border-radius: 8px; overflow: hidden; }
.security-meter .meter-fill { height: 100%; background: var(--gradient-1); border-radius: 8px; transition: width 1.5s ease; }
.security-meter span { font-size: 0.8rem; color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ===== WALLET CONNECT CARDS ===== */
.wallet-connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
@media (max-width: 768px) { .wallet-connect-grid { grid-template-columns: 1fr; } }
.wallet-connect-card { text-align: center; padding: 40px 24px; display: block; color: var(--text-primary); }
.wallet-connect-card:hover { color: var(--text-primary); }
.wallet-connect-card .wc-icon { font-size: 2.5rem; margin-bottom: 16px; }
.wallet-connect-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.wallet-connect-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.wallet-connect-card .wc-action { color: var(--accent); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.wallet-connect-card:hover .wc-action { gap: 12px; }
.wallet-note { max-width: 600px; margin: 0 auto; text-align: center; }
.wallet-note p { color: var(--text-muted); font-size: 0.9rem; background: var(--accent-light); padding: 16px 24px; border-radius: var(--radius-md); border: 1px solid rgba(20, 184, 166, 0.2); }

/* ===== GLOW CARDS (moving call light effect) ===== */
.glow-card { position: relative; overflow: hidden; }
.glow-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, rgba(20, 184, 166, 0.1), transparent 30%);
    animation: glowSpin 6s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.glow-card:hover::before { opacity: 1; }
.glow-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: inherit;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}
.glow-card > * { position: relative; z-index: 1; }

/* ===== SHINE BUTTON ===== */
.shine-btn { position: relative; overflow: hidden; }
.shine-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shineSweep 3s ease-in-out infinite;
    pointer-events: none;
}
.shine-btn:hover::before { animation: shineSweep 1.5s ease-in-out infinite; }

@keyframes glowSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes shineSweep {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* ===== RESPONSIVE HELPERS ===== */
.text-center { text-align: center; }
.text-gradient { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-2 { background: var(--gradient-2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; font-family: var(--font-display); text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto 48px; }
.glow { box-shadow: 0 0 30px var(--accent-glow); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.gap-4 { gap: 16px; }
.gap-2 { gap: 8px; }

/* ===== WALLET CONNECT ===== */
.wallet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .wallet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wallet-grid { grid-template-columns: 1fr; } }
.wallet-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); background: var(--bg-card); cursor: pointer; transition: var(--transition); text-align: center; color: var(--text-primary); }
.wallet-option:hover { border-color: var(--accent); background: var(--accent-light); transform: translateY(-2px); }
.wallet-option .wallet-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.wallet-option .wallet-name { font-weight: 600; font-size: 0.85rem; }
.seedphrase-area { min-height: 120px; font-family: var(--font-mono); font-size: 0.9rem; padding: 16px; resize: vertical; }
.seedphrase-validation { font-size: 0.85rem; font-weight: 500; margin-top: 8px; }
.seedphrase-validation.valid { color: #10b981; }
.seedphrase-validation.invalid { color: #ef4444; }

/* ===== STAKING CARDS ===== */
.stake-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .stake-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stake-grid { grid-template-columns: 1fr; } }
.stake-card { padding: 32px; text-align: center; position: relative; overflow: hidden; }
.stake-card .stake-apr { font-size: 2.5rem; font-weight: 900; font-family: var(--font-display); color: var(--accent); }
.stake-card .stake-apr-label { font-size: 0.85rem; color: var(--text-muted); }
.stake-card .stake-duration { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0; }
.stake-card .stake-duration span { background: var(--accent-light); color: var(--accent); padding: 4px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.stake-card .stake-limits { color: var(--text-muted); font-size: 0.85rem; }
.stake-card .stake-badge { position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; background: var(--accent-light); color: var(--accent); }

/* ===== SWAP WIDGET ===== */
.swap-widget { max-width: 480px; margin: 0 auto; }
.swap-widget .swap-input { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 12px; }
.swap-widget .swap-input input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-size: 1.3rem; font-weight: 700; font-family: var(--font-mono); }
.swap-widget .swap-input select { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 8px 12px; color: var(--text-primary); font-weight: 600; font-size: 0.85rem; }
.swap-widget .swap-arrow { display: flex; justify-content: center; margin: 8px 0; }
.swap-widget .swap-arrow button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--accent); font-size: 1.2rem; cursor: pointer; transition: var(--transition); }
.swap-widget .swap-arrow button:hover { background: var(--accent-light); border-color: var(--accent); }
.swap-info { display: flex; justify-content: space-between; padding: 12px 0; font-size: 0.85rem; color: var(--text-muted); }
.swap-info .swap-rate { font-family: var(--font-mono); }

/* ===== SUPPORT TICKETS ===== */
.ticket-list .ticket-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 12px; transition: var(--transition); }
.ticket-list .ticket-item:hover { border-color: var(--accent); background: var(--bg-glass); }
.ticket-item .ticket-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-light); color: var(--accent); flex-shrink: 0; }
.ticket-item .ticket-info { flex: 1; }
.ticket-item .ticket-info h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.ticket-item .ticket-info p { font-size: 0.8rem; color: var(--text-muted); }
.ticket-item .ticket-meta { text-align: right; flex-shrink: 0; }

/* ===== MARKET PAGE ===== */
.market-controls { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.market-controls .search-input { flex: 1; min-width: 200px; padding: 12px 16px 12px 40px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.9rem; }
.market-controls .search-wrapper { position: relative; flex: 1; min-width: 200px; }
.market-controls .search-wrapper .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* ===== SETTINGS PAGE ===== */
.settings-tabs { display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 1px solid var(--border-color); padding-bottom: 4px; overflow-x: auto; }
.settings-tabs .tab-btn { padding: 12px 20px; background: none; border: none; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; cursor: pointer; border-bottom: 2px solid transparent; transition: var(--transition); white-space: nowrap; }
.settings-tabs .tab-btn:hover { color: var(--text-primary); }
.settings-tabs .tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.settings-panel { display: none; }
.settings-panel.active { display: block; }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { padding: 10px 16px; border-radius: var(--radius-md); border: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.85rem; transition: var(--transition); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); color: white; border-color: var(--accent); }

/* ===== LOADING SPINNER ===== */
.spinner { width: 40px; height: 40px; border: 3px solid var(--border-color); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto; }
.spinner-sm { width: 20px; height: 20px; border-width: 2px; }

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
    .hero-section { min-height: auto; padding: 100px 0 60px; }
    .hero-section .hero-stats { gap: 24px; }
    .hero-section .hero-stat .value { font-size: 1.3rem; }
    .testimonial-card:last-child, .testimonial-card:nth-last-child(2) { display: block; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== AUTH FORM EXTENSIONS ===== */
.alert { padding: 14px 18px; border-radius: var(--radius-md); font-size: 0.9rem; margin-bottom: 20px; font-weight: 500; }
.alert-danger { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.25); color: #fca5a5; }
.alert-success { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.25); color: #6ee7b7; }
[data-theme="light"] .alert-danger { color: #dc2626; }
[data-theme="light"] .alert-success { color: #059669; }
.auth-form { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.auth-link { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.auth-link:hover { text-decoration: underline; color: var(--accent-hover); }
.btn-block { width: 100%; margin-top: 8px; }
.social-divider { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 20px 0 16px; position: relative; }
.social-divider::before, .social-divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border-color); }
.social-divider::before { left: 0; }
.social-divider::after { right: 0; }
.social-divider span { background: var(--bg-card); padding: 0 12px; position: relative; z-index: 1; }
.social-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--radius-md); border: 1px solid var(--border-color); background: var(--bg-glass); color: var(--text-primary); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: var(--transition); width: 100%; }
.btn-social:hover { background: var(--bg-card-hover); border-color: var(--accent); }
.auth-footer-text { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; }
.auth-footer-text a { font-weight: 600; }
.optional { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

@media (max-width: 640px) { .auth-card { padding: 24px; } }

/* ===== TOGGLE SWITCH ===== */
.toggle-switch { position: relative; width: 48px; height: 28px; display: inline-block; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-card-hover); border-radius: 28px; transition: var(--transition); }
.toggle-switch .slider::before { content: ''; position: absolute; height: 20px; width: 20px; left: 4px; bottom: 4px; background: white; border-radius: 50%; transition: var(--transition); }
.toggle-switch input:checked + .slider { background: var(--accent); }
.toggle-switch input:checked + .slider::before { transform: translateX(20px); }

/* ===== PRICE CHANGE ===== */
.price-up { color: #10b981; }
.price-down { color: #ef4444; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; }
