:root {
    --bg-body: #0B0E14;
    --bg-card: #151921;
    --bg-glass: rgba(21, 25, 33, 0.7);
    
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-accent: #818CF8;
    
    --primary-grad-start: #6366F1;
    --primary-grad-end: #8B5CF6;
    
    --border-color: #2D3748;
    --border-hover: #4B5563;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #818CF8 0%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

/* Header / Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-grad-start) 0%, var(--primary-grad-end) 100%);
    color: white;
    box-shadow: var(--shadow-glow);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-accent);
    background: rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--text-main);
}
.stat-item span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(139, 92, 246, 0.1);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.step-card:hover .step-number {
    border-color: var(--text-accent);
    color: var(--text-accent);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.connector-line {
    position: absolute;
    top: 30px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

/* Supported Exchanges */
.exchange-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.6;
    margin-top: 2rem;
}

.exchange-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    background: #080a0f;
}

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

.footer-col h5 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .connector-line {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none; /* Simple mobile hide for wireframe */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2.5rem; }
}

/* Visual Placeholders */
.placeholder-graph {
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, rgba(21, 25, 33, 0) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.graph-line {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 15 Q 10 5, 20 12 T 40 10 T 60 14 T 80 5 T 100 12 L 100 20 L 0 20 Z" fill="rgba(129, 140, 248, 0.2)" stroke="%23818CF8" stroke-width="0.5"/></svg>');
    background-size: cover;
}

.floating-card {
    position: absolute;
    background: rgba(21, 25, 33, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.fc-1 { top: 20%; right: 10%; }
.fc-2 { bottom: 20%; left: 10%; }

.badge-success {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Utility / Helper Classes */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trusted-label {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section-desc-sm {
    max-width: 600px;
    margin: 0 auto;
}

.section-alt {
    background-color: rgba(255,255,255,0.02);
}

.cta-card {
    text-align: center;
    padding: 4rem 2rem;
    border-color: var(--text-accent);
}

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.text-sm { font-size: 0.75rem; }
.text-muted { color: var(--text-muted); }
.text-bold { font-weight: 700; }
.text-success { color: #34D399; }
