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

:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary: #1a1a2e;
    --accent: #ffd700;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --bg-alt: #f8f9fa;
    --border: #e5e7eb;
}

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

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

/* Header */
header {
    background: var(--secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    color: #fff;
    padding: 6rem 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.25rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* About */
.about {
    background: var(--bg-alt);
}

.about p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.contract-box {
    background: var(--secondary);
    color: #fff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
}

.contract-box h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.contract-address {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    cursor: pointer;
    word-break: break-all;
    transition: background 0.3s;
}

.contract-address:hover {
    background: rgba(255,255,255,0.2);
}

.contract-hint {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #888;
}

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

.feature {
    background: var(--bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Buy Section */
.buy-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.buy-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.buy-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}

.buy-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.buy-badge {
    background: var(--primary);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.buy-badge.secondary {
    background: var(--secondary);
}

.buy-header h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.buy-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-equals {
    color: var(--text-light);
    font-weight: 600;
}

.price-lyx {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.buy-steps {
    list-style: none;
    counter-reset: step;
}

.buy-steps li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.buy-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.address {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.3s;
}

.address:hover {
    background: var(--primary);
}

.buy-link {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: all 0.3s;
}

.buy-link:hover {
    background: var(--primary-dark);
}

.buy-link.secondary {
    background: var(--secondary);
}

.buy-link.secondary:hover {
    background: #0f0f1e;
}

.liquidity-info {
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.liquidity-info ul {
    list-style: none;
    margin-top: 0.5rem;
}

.liquidity-info li {
    padding: 0.25rem 0;
    color: var(--text-light);
}

/* Cross-chain section */
.cross-chain-info {
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.cross-chain-info p {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.cross-chain-info .address {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.cross-chain-info .hint {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.5rem;
}

.bridge-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.bridge-links p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.bridge-links .resource {
    display: inline-block;
    margin: 0.25rem 0.5rem 0.25rem 0;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Onboard */
.onboard {
    background: var(--bg-alt);
}

.onboard-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step {
    background: var(--bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.resources {
    text-align: center;
}

.resources h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.resource-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.resource {
    display: inline-block;
    background: var(--bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--border);
}

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

/* Footer */
footer {
    background: var(--secondary);
    color: #fff;
    padding: 3rem 0;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

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

.footer-copy {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .buy-options {
        grid-template-columns: 1fr;
    }
}
