/* Jumper Exchange - Professional SEO-Optimized Design */

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

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #ec4899;
    --bg-dark: #1a0a2e;
    --bg-purple: #2d1854;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    --card-bg: rgba(30, 20, 50, 0.6);
    --border: rgba(139, 92, 246, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #100029;
    background-image:
        /* top-center violet bloom */
        radial-gradient(900px 650px at 50% 22%,
            rgba(140, 80, 255, 0.22) 0%,
            rgba(140, 80, 255, 0.00) 65%
        ),
        /* main vertical depth */
        linear-gradient(180deg,
            #100029 0%,
            #140034 35%,
            #1A1033 100%
        );
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Buttons */
.btn-primary {
    background: #653ba3;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(101, 59, 163, 0.5);
    background: #7a4bc4;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid var(--border);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.btn-large {
    padding: 18px 48px;
    font-size: 17px;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 80px;
    text-align: center;
}

.hero-fullscreen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

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

.hero-section h1 {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg,
        #F5F0FF 0%,
        #D4C5F0 35%,
        #C49FED 65%,
        #D49BFF 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(196, 159, 237, 0.3);
    filter: drop-shadow(0 2px 8px rgba(196, 159, 237, 0.2));
}

.hero-subtitle {
    font-size: 20px;
    color: #E5E5E8;
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

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

.trust-indicators {
    display: flex;
    gap: 48px;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

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

.trust-item strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 4px;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-icon .icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How It Works Section */
.how-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Chains Section */
.chains-section {
    padding: 100px 0;
}

.chains-content {
    max-width: 900px;
    margin: 0 auto;
}

.chains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.chain-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.chain-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.chain-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.chains-note {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
}

.chains-note strong {
    color: var(--primary-light);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

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

.benefit-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.benefit-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-item summary {
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    transition: all 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    font-size: 24px;
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: var(--primary-light);
}

.faq-item p {
    padding: 0 24px 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: rgba(139, 92, 246, 0.05);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

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

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

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

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

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

/* Blog Styles */
.blog-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 80px;
}

.blog-header h1 {
    font-size: clamp(36px, 5vw, 48px);
    margin-bottom: 16px;
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

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

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

.blog-card-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.blog-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--primary-light);
}

.blog-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.read-more:hover {
    color: var(--primary-light);
}

/* Blog Article Styles */
.blog-article {
    padding: 120px 0 80px;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 48px;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

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

.article-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

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

.article-content section {
    margin-bottom: 48px;
}

.article-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 48px;
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--text-primary);
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-content li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--primary-light);
}

.table-of-contents {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 48px;
}

.table-of-contents h3 {
    font-size: 18px;
    margin-bottom: 16px;
    margin-top: 0;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
}

.table-of-contents a:hover {
    color: var(--primary);
}

.article-cta {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    margin-top: 64px;
}

.article-cta h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.article-cta p {
    margin-bottom: 32px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 24px;
    }
    
    .features-grid,
    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .chains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
