:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-tertiary: #707080;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

pre, code {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    max-width: 100vw;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-icon:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.nav-icon:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

#canvas-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    text-align: center;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-demo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

.btn-demo:active {
    transform: translateY(-1px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--accent-gradient);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-number {
    font-size: 6rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    font-family: 'JetBrains Mono', monospace;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.content-grid::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    border-radius: 40px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.content-grid:hover::before {
    opacity: 1;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content-text .lead {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.content-text h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-text p {
    margin-bottom: 1rem;
}

.content-visual {
    max-width: 100%;
    overflow: hidden;
}

.feature-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

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

/* Code Preview */
.code-preview, .code-snippet {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27c93f; }

.code-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.code-content, .code-block {
    padding: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.code-content pre, .code-block pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.code-content code, .code-block code {
    color: #e0e0e0;
    white-space: pre;
    display: inline;
}

.code-inline {
    margin-top: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.code-inline pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: pre;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    line-height: 1.5;
}

.code-inline code {
    display: inline-block;
    min-width: 100%;
    font-size: 0.8125rem;
}

/* Token Section */
.token-section {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
}

.token-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
}

.token-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    max-width: 100%;
    overflow: hidden;
}

.token-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.token-symbol {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-all;
}

.token-badge {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.token-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.token-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.discount-tiers {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.discount-tiers h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tier-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tier-item:hover {
    transform: translateX(5px);
    border-color: var(--accent-primary);
}

.tier-name {
    font-weight: 600;
    font-size: 1.125rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.tier-amount {
    color: var(--text-secondary);
    font-size: 0.875rem;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tier-discount {
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.125rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Invest Section */
.invest-section {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
}

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

.invest-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    word-wrap: break-word;
}

.invest-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.invest-card:hover::after {
    opacity: 1;
}

.invest-card:hover {
    transform: translateY(-8px) rotate(1deg);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

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

.invest-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.invest-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Workflow */
.workflow {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding-left: 3rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.workflow::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gradient);
    opacity: 0.3;
    border-radius: 2px;
    animation: flowLine 3s ease-in-out infinite;
}

@keyframes flowLine {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.6;
        transform: scaleY(1.05);
    }
}

.workflow-step {
    display: flex;
    gap: 2rem;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
    }
}

.step-content {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    word-wrap: break-word;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
    word-wrap: break-word;
}

/* Features Grid */
.features-section {
    background: linear-gradient(180deg, transparent 0%, rgba(236, 72, 153, 0.05) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    word-wrap: break-word;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Code Tabs */
.code-tabs-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.code-tabs-nav {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    scrollbar-width: none;
}

.code-tabs-nav::-webkit-scrollbar {
    display: none;
}

.code-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.code-tab:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.code-tab.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.tab-icon {
    font-size: 1.125rem;
}

.code-tabs-content {
    position: relative;
    min-height: 400px;
}

.code-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.code-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.code-copy {
    margin-left: auto;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.code-copy:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

.code-copy.copied {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.code-block {
    padding: 0;
}

.code-block .code-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Tech Section */
.tech-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.tech-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tech-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
/* Demo Banner Section */
.demo-banner-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.demo-banner-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.demo-banner {
    background: var(--bg-secondary);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
}

.demo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.demo-banner-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.demo-banner-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-banner-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.demo-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.demo-features span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-banner-action {
    flex-shrink: 0;
}

.btn-demo-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.btn-demo-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

.btn-demo-large:active {
    transform: translateY(-1px);
}

.btn-demo-large svg {
    transition: transform 0.3s ease;
}

.btn-demo-large:hover svg {
    transform: translateX(5px);
}

.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    min-height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.footer-legal {
    text-align: right;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-legal p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-legal {
        text-align: center;
    }
    
    .invest-grid, .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .code-tabs-nav {
        gap: 0.25rem;
    }
    
    .code-tab {
        padding: 0.65rem 1rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 1024px) {
    .demo-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
        text-align: center;
    }
    
    .demo-banner-icon {
        margin: 0 auto;
    }
    
    .demo-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: row;
        justify-content: center;
        padding: 1rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .section {
        padding: 3rem 0.875rem;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 0.875rem;
        overflow-x: hidden;
    }
    
    .section-header {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .section-number {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero {
        min-height: 100svh;
        padding-top: 70px;
    }
    
    .hero-content {
        padding: 1.25rem;
        max-width: 100%;
    }
    
    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 0.875rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        margin-bottom: 2rem;
    }
    
    .btn-demo {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .demo-banner {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .demo-banner-icon {
        width: 64px;
        height: 64px;
    }
    
    .demo-banner-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .demo-banner-content h2 {
        font-size: 1.5rem;
    }
    
    .demo-banner-content p {
        font-size: 1rem;
    }
    
    .demo-features {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .btn-demo-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2.5rem;
    }
    
    .stat {
        padding: 1.25rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .content-text {
        font-size: 1rem;
        overflow-x: hidden;
    }
    
    .content-visual {
        overflow-x: hidden;
    }
    
    .content-text .lead {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    
    .content-text p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .content-text h3 {
        font-size: 1.125rem;
        margin-top: 1.25rem;
        margin-bottom: 0.625rem;
    }
    
    .content-text p {
        margin-bottom: 1rem;
    }
    
    .feature-list {
        margin-top: 1.5rem;
        gap: 1rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-item strong {
        font-size: 0.9375rem;
    }
    
    .feature-item p {
        font-size: 0.875rem;
    }
    
    .code-preview, .code-snippet, .code-block {
        border-radius: 0;
    }
    
    .code-preview, .code-snippet {
        margin-left: calc(-0.875rem - 1px);
        margin-right: calc(-0.875rem - 1px);
        border-radius: 0;
        border-left: none;
        border-right: none;
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }
    
    .code-content, .code-block > div:not(.code-header) {
        padding: 0.75rem 0.75rem 0.75rem 1rem;
        font-size: 0.625rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        width: 100%;
    }
    
    .code-preview .code-content,
    .code-snippet .code-content {
        padding-left: 1rem;
    }
    
    .code-content pre, .code-block pre {
        font-size: 0.625rem;
        line-height: 1.4;
        min-width: 0;
        max-width: 100%;
        white-space: pre;
        word-break: normal;
        overflow-wrap: normal;
    }
    
    .code-inline {
        font-size: 0.625rem;
        padding: 0.625rem 0.75rem 0.625rem 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: calc(-0.875rem - 1px);
        margin-right: calc(-0.875rem - 1px);
        border-radius: 0;
        border-left: none;
        border-right: none;
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }
    
    .code-inline pre {
        font-size: 0.625rem;
        line-height: 1.4;
        min-width: 0;
        max-width: 100%;
        white-space: pre;
        word-break: normal;
        overflow-wrap: normal;
    }
    
    .code-inline code {
        font-size: 0.625rem;
    }
    
    .token-visual {
        gap: 1.5rem;
    }
    
    .token-card, .discount-tiers {
        padding: 1.25rem;
    }
    
    .token-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }
    
    .token-symbol {
        font-size: 1.5rem;
    }
    
    .token-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .token-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .discount-tiers h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .invest-grid, .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .invest-card, .feature-card {
        padding: 1.5rem;
    }
    
    .invest-card:hover, .feature-card:hover {
        transform: translateY(-4px);
    }
    
    .workflow {
        padding-left: 1.5rem;
        gap: 2rem;
    }
    
    .workflow::before {
        left: 0.75rem;
    }
    
    .workflow-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .step-content h3 {
        font-size: 1.0625rem;
    }
    
    .step-content p {
        font-size: 0.9375rem;
    }
    
    .step-content .code-inline {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .code-tabs-container {
        margin-left: calc(-0.875rem - 1px);
        margin-right: calc(-0.875rem - 1px);
        border-radius: 0;
        border-left: none;
        border-right: none;
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }
    
    .code-tabs-nav {
        padding-left: 1rem;
    }
    
    .code-tab-panel .code-content,
    .code-tab-panel .code-block > div:not(.code-header) {
        box-sizing: border-box;
        width: 100%;
        padding-left: 1rem;
    }
    
    .code-tab-panel .code-header {
        padding-left: 1rem;
    }
    
    .code-tabs-nav {
        padding: 0.625rem;
        gap: 0.25rem;
    }
    
    .code-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .tab-icon {
        font-size: 0.875rem;
    }
    
    .code-tab span:last-child {
        display: none;
    }
    
    .code-tab.active span:last-child {
        display: inline;
    }
    
    .code-tabs-content {
        min-height: 300px;
    }
    
    .cta-content h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .cta-content p {
        font-size: 1.0625rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.875rem;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        justify-content: center;
    }
    
    .footer {
        padding: 3rem 1.25rem 1.5rem;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .demo-banner {
        padding: 1.5rem 1rem;
    }
    
    .demo-banner-icon {
        width: 56px;
        height: 56px;
    }
    
    .demo-banner-content h2 {
        font-size: 1.25rem;
    }
    
    .demo-banner-content p {
        font-size: 0.9375rem;
    }
    
    .demo-features span {
        font-size: 0.875rem;
    }
    
    .btn-demo-large {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
    }

@media (max-width: 480px) {
    .section {
        padding: 2.5rem 0.625rem;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 0.625rem;
        overflow-x: hidden;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .hero-stats {
        margin-top: 1.75rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.125rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .tier-item {
        padding: 0.75rem 0.875rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .tier-name {
        font-size: 0.875rem;
        flex: 0 0 auto;
        min-width: 70px;
    }
    
    .tier-amount {
        font-size: 0.6875rem;
        flex: 1 1 auto;
        text-align: left;
        overflow: visible;
        white-space: nowrap;
    }
    
    .tier-discount {
        font-size: 0.875rem;
        flex: 0 0 auto;
        text-align: right;
        min-width: 60px;
    }
    
    .code-header {
        padding: 0.625rem 0.75rem;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .code-title {
        font-size: 0.625rem;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .code-dots {
        order: -1;
        flex-shrink: 0;
    }
    
    .code-dots span {
        width: 10px;
        height: 10px;
    }
    
    .code-copy {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
        flex-shrink: 0;
    }
    
    .code-content pre, .code-block pre {
        font-size: 0.625rem;
        line-height: 1.4;
    }
    
    .content-grid {
        gap: 2rem;
    }
    
    .code-snippet {
        margin-top: 1rem;
        margin-left: calc(-0.875rem - 1px);
        margin-right: calc(-0.875rem - 1px);
        border-radius: 0;
        border-left: none;
        border-right: none;
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }
    
    .code-snippet .code-header {
        padding: 0.625rem 0.75rem 0.625rem 1rem;
    }
    
    .code-snippet .code-title {
        font-size: 0.625rem;
    }
    
    .code-snippet .code-content {
        padding: 0.75rem 0.75rem 0.75rem 1rem;
        box-sizing: border-box;
        width: 100%;
        overflow-x: auto;
    }
    
    .code-snippet pre {
        font-size: 0.625rem !important;
        line-height: 1.4;
        min-width: 0;
        max-width: 100%;
        white-space: pre;
    }
    
    .code-snippet code {
        font-size: 0.625rem !important;
    }
    
    .workflow {
        padding-left: 1rem;
    }
    
    .workflow::before {
        left: 0.4rem;
    }
    
    .code-header {
        padding: 0.5rem 0.625rem;
    }
    
    .code-title {
        font-size: 0.5625rem;
    }
    
    .code-copy {
        font-size: 0.5625rem;
        padding: 0.1875rem 0.375rem;
    }
    
    .code-content, .code-block > div:not(.code-header) {
        padding: 0.625rem 0.625rem 0.625rem 0.875rem;
        box-sizing: border-box;
        width: 100%;
    }
    
    .code-tabs-nav {
        padding-left: 0.875rem;
    }
    
    .code-tab-panel .code-header {
        padding-left: 0.875rem;
    }
    
    .code-content pre, .code-block pre {
        font-size: 0.5625rem;
        line-height: 1.35;
        min-width: 0;
        max-width: 100%;
        white-space: pre;
    }
    
    .code-inline {
        padding: 0.5rem 0.625rem 0.5rem 0.875rem;
        margin-left: calc(-0.625rem - 1px);
        margin-right: calc(-0.625rem - 1px);
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }
    
    .code-inline pre {
        font-size: 0.5625rem;
        min-width: 0;
        max-width: 100%;
    }
    
    .code-inline code {
        font-size: 0.5625rem;
    }
    
    .code-preview, .code-snippet {
        margin-left: calc(-0.625rem - 1px);
        margin-right: calc(-0.625rem - 1px);
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }
    
    .code-snippet .code-header {
        padding: 0.5rem 0.625rem 0.5rem 0.875rem;
    }
    
    .code-snippet .code-title {
        font-size: 0.5625rem;
    }
    
    .code-snippet .code-content {
        padding: 0.625rem 0.625rem 0.625rem 0.875rem;
        box-sizing: border-box;
        width: 100%;
    }
    
    .code-preview .code-content {
        padding-left: 0.875rem;
    }
    
    .code-snippet pre {
        font-size: 0.5625rem !important;
        line-height: 1.35;
        min-width: 0;
        max-width: 100%;
    }
    
    .code-snippet code {
        font-size: 0.5625rem !important;
    }
    
    .token-card, .discount-tiers {
        padding: 1rem;
    }
    
    .invest-card, .feature-card {
        padding: 1.25rem;
    }
    
    .invest-card h3, .feature-card h3 {
        font-size: 1.125rem;
    }
    
    .invest-card p, .feature-card p {
        font-size: 0.875rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
