/* ================================
   RESET & BASE STYLES
   ================================ */

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

:root {
    /* Colors */
    --purple-primary: #8B5CF6;
    --purple-secondary: #A78BFA;
    --purple-dark: #6D28D9;
    --blue-purple: #7C3AED;
    --black: #0A0A0A;
    --black-light: #1A1A1A;
    --black-lighter: #2A2A2A;
    --white: #FFFFFF;
    --white-dimmed: #F5F5F5;
    --gray-light: #9CA3AF;
    --gray-dark: #4B5563;
    
    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(124, 58, 237, 0.3) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-code: 'JetBrains Mono', 'Courier New', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Sidebar */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 70px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    
}

body {
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ================================
   LITHCOIN BACK BANNER
   ================================ */

.lithcoin-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    z-index: 2000;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(255, 122, 0, 0.3);
    animation: slideDown 0.4s ease;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.banner-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.banner-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.banner-link:hover {
    opacity: 0.9;
    text-decoration: underline;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Code Font Elements */
code, pre, .code-font {
    font-family: var(--font-code);
}

/* ================================
   BACKGROUND ANIMATION
   ================================ */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--purple-primary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--blue-purple);
    bottom: -10%;
    right: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--purple-secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ================================
   SIDEBAR NAVIGATION
   ================================ */

.sidebar {
    position: fixed;
    top: 44px;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 1000;
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-code);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-bracket {
    color: var(--purple-primary);
    font-size: 1.8rem;
}

.logo-text {
    color: var(--white);
}

.sidebar-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 13px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 900px) {
    .sidebar.open .sidebar-toggle {
        display: flex;
    }
}

.sidebar-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--purple-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Button (Fixed, always visible on mobile) */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 72px;
    left: 20px;
    z-index: 1001;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
    transition: all 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active {
    /* Keep it hidden when sidebar is open */
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple-primary);
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--purple-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-btn.hidden {
    transform: translateY(-80px);
    opacity: 0;
    pointer-events: none;
}


.sidebar-content {
    flex: 1;
    padding: var(--spacing-lg) 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.nav-menu {
    list-style: none;
    padding: 0 var(--spacing-md);
}

.nav-menu li {
    margin-bottom: var(--spacing-xs);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--gray-light);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-purple);
    transition: width var(--transition-fast);
    z-index: -1;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(139, 92, 246, 0.1);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: var(--white);
    background: rgba(139, 92, 246, 0.2);
}

.nav-icon {
    font-family: var(--font-code);
    color: var(--purple-primary);
    transition: transform var(--transition-fast);
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    transform: translateX(4px);
}

.sidebar-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    color: var(--purple-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-purple);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3);
}

/* ================================
   MAIN CONTENT
   ================================ */

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    padding-top: 44px;
    transition: margin-left var(--transition-normal);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ================================
   SECTIONS
   ================================ */

.section {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: var(--spacing-2xl);
    display: none;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.section.active {
    display: block;
    animation: fadeIn var(--transition-slow) forwards;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-code);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.code-comment {
    color: var(--gray-dark);
    font-family: var(--font-code);
}

/* ================================
   HERO SECTION
   ================================ */

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-family: var(--font-code);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
}

.code-bracket {
    color: var(--purple-primary);
    font-weight: 700;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--purple-secondary);
    border: 2px solid rgba(139, 92, 246, 0.5);
}

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

.btn-outline {
    background: transparent;
    color: var(--purple-secondary);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
}

.btn-arrow {
    font-family: var(--font-code);
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.code-symbol {
    font-family: var(--font-code);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-code);
    color: var(--purple-secondary);
    margin-bottom: 8px;
}

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

/* Interactive Token Display */
.token-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.token-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-logo {
    position: relative;
    width: 200px;
    height: 200px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    transition: all var(--transition-fast);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
    animation: pulse 3s ease-in-out infinite;
}

.token-logo:active {
    cursor: grabbing;
    transform: scale(0.95);
}

.token-symbol {
    font-size: 5rem;
    color: var(--white);
    font-weight: 700;
}

.token-symbol-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
}

.token-glow {
    position: absolute;
    inset: -10px;
    background: var(--gradient-purple);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.5;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 70px rgba(139, 92, 246, 0.6);
    }
}

.token-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.token-hint {
    margin-top: var(--spacing-lg);
    font-family: var(--font-code);
    font-size: 0.875rem;
    color: var(--gray-dark);
}

/* ================================
   FEATURES GRID
   ================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.feature-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-purple);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple-primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--purple-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.feature-description {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.feature-code {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    font-family: var(--font-code);
    font-size: 0.875rem;
}

.code-keyword {
    color: #C678DD;
}

.code-string {
    color: #98C379;
}

.code-number {
    color: #D19A66;
}

.code-property {
    color: #E06C75;
}

.code-method {
    color: #61AFEF;
}

.code-class {
    color: #E5C07B;
}

.code-parameter {
    color: #ABB2BF;
}

/* ================================
   WALLET SHOWCASE
   ================================ */

.wallet-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-top: var(--spacing-2xl);
}

.showcase-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-code);
}

.showcase-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.showcase-list li {
    padding: var(--spacing-sm) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-light);
}

.list-icon {
    color: var(--purple-primary);
    font-weight: 700;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: var(--black-light);
    border: 8px solid var(--black-lighter);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(139, 92, 246, 0.3);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
    border-radius: 32px;
    overflow: hidden;
    padding: var(--spacing-lg);
}

.wallet-ui {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.wallet-balance {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
}

.balance-label {
    font-size: 0.875rem;
    color: var(--gray-light);
    margin-bottom: 8px;
}

.balance-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.balance-value {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-code);
    color: var(--white);
}

.balance-currency {
    font-size: 1rem;
    color: var(--purple-secondary);
    font-weight: 600;
}

.wallet-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.wallet-action {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 8px;
    color: var(--purple-secondary);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    white-space: nowrap;
}

.wallet-action:hover {
    background: var(--gradient-purple);
    color: var(--white);
}

/* ================================
   MINI APPS SECTION
   ================================ */

.miniapps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.miniapp-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.miniapp-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple-primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.miniapp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-placeholder {
    font-size: 2.5rem;
}

.miniapp-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.miniapp-description {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
}

.stat-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple-secondary);
}

.miniapps-possibilities {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
}

.possibilities-text {
    font-size: 1.125rem;
    color: var(--gray-light);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.possibilities-text strong {
    color: var(--purple-secondary);
    font-weight: 700;
}

.miniapps-features {
    margin-top: var(--spacing-2xl);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-2xl);
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-code);
}

.feature-text {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.feature-points {
    list-style: none;
    padding-left: 0;
}

.feature-points li {
    padding: 8px 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 24px;
}

.feature-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--purple-primary);
    font-family: var(--font-code);
}

.code-block {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.code-block pre {
    margin: 0;
    font-family: var(--font-code);
    font-size: 0.875rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ================================
   DEVELOPERS SECTION
   ================================ */

.developer-hero {
    margin-bottom: var(--spacing-2xl);
}

.terminal-window {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

.terminal-header {
    background: rgba(26, 26, 26, 0.8);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red {
    background: #FF5F56;
}

.terminal-btn.yellow {
    background: #FFBD2E;
}

.terminal-btn.green {
    background: #27C93F;
}

.terminal-title {
    font-family: var(--font-code);
    font-size: 0.875rem;
    color: var(--gray-light);
}

.terminal-body {
    padding: var(--spacing-lg);
    font-family: var(--font-code);
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.terminal-prompt {
    color: var(--purple-primary);
    user-select: none;
}

.terminal-command {
    color: var(--white);
}

.terminal-output {
    margin-left: 24px;
    margin-bottom: 16px;
    color: var(--gray-light);
}

.text-success {
    color: #27C93F;
}

.text-info {
    color: #61AFEF;
}

.terminal-cursor {
    color: var(--purple-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.sdk-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-2xl) 0;
}

.sdk-feature {
    text-align: center;
    padding: var(--spacing-lg);
}

.sdk-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdk-icon svg {
    width: 32px;
    height: 32px;
    color: var(--purple-primary);
}

.sdk-feature h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

.code-example-section {
    margin-top: var(--spacing-2xl);
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.example-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-code);
}

.code-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.code-tab {
    background: none;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--gray-light);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
    font-family: var(--font-code);
    font-size: 0.875rem;
}

.code-tab:hover {
    color: var(--white);
}

.code-tab.active {
    color: var(--purple-secondary);
    border-bottom-color: var(--purple-primary);
}

.code-panels {
    position: relative;
}

.code-panel {
    display: none;
}
.code-panel pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.code-panel code {
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.code-panel.active {
    display: block;
    animation: slideIn 0.3s ease;
}

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

.developer-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-2xl);
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
}

.developer-cta h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.developer-cta p {
    color: var(--gray-light);
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* ================================
   LTCO TOKEN SECTION
   ================================ */

.ltco-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.ltco-info .info-card:first-child {
    margin-bottom: var(--spacing-lg);
}

.ltco-visual .token-stats-card {
    margin-bottom: var(--spacing-lg);
}

.info-card ,
.token-stats-card,
.allocation-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.info-header,
.stats-header,
.allocation-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-header h3,
.stats-header h3,
.allocation-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.stats-badge {
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple-secondary);
}

.info-body,
.stats-body,
.allocation-body {
    padding: var(--spacing-lg);
}

.info-body p {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.info-list {
    list-style: none;
    padding-left: 0;
}

.info-list li {
    padding: 8px 0;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.spec-item {
    padding: var(--spacing-sm);
}

.spec-label {
    font-size: 0.875rem;
    color: var(--gray-dark);
    margin-bottom: 4px;
}

.spec-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-code);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--gray-light);
}

.stat-value {
    font-family: var(--font-code);
    font-weight: 700;
    color: var(--white);
}

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

.stats-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.allocation-item {
    margin-bottom: var(--spacing-md);
}

.allocation-bar {
    height: 8px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 8px;
}

.bar-fill {
    height: 100%;
    width: var(--percentage);
    background: var(--gradient-purple);
    border-radius: 50px;
    animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: var(--percentage);
    }
}

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

.allocation-label {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.allocation-value {
    font-family: var(--font-code);
    font-weight: 700;
    color: var(--purple-secondary);
}

.ltco-notice {
    background: rgba(255, 159, 64, 0.1);
    border: 1px solid rgba(255, 159, 64, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

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

.notice-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.notice-content p {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* ================================
   BUSINESS SECTION
   ================================ */

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.business-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
}

.business-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple-primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.business-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.business-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.business-card p {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.business-features {
    list-style: none;
    padding-left: 0;
}

.business-features li {
    padding: 8px 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 24px;
}

.business-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple-primary);
    font-weight: 700;
}

.business-cta-section {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
}

.business-cta-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.business-cta-content p {
    color: var(--gray-light);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.business-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

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

.business-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-code);
    color: var(--purple-secondary);
    margin-bottom: 8px;
}

.business-stat-label {
    font-size: 0.875rem;
    color: var(--gray-light);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: rgba(26, 26, 26, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section {
    /* Grid items */
}

.footer-logo {
    font-family: var(--font-code);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo {
    text-decoration: none;
    cursor: pointer;
}

.footer-tagline {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    color: var(--purple-secondary);
    transition: all var(--transition-fast);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--gradient-purple);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: 8px;
}

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

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

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal p {
    color: var(--gray-dark);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.footer-disclaimer {
    max-width: 600px;
}

.contract-address {
    font-family: var(--font-code);
    font-size: 0.875rem;
    color: var(--gray-light);
}

.contract-address a {
    color: var(--purple-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contract-address a:hover {
    color: var(--purple-primary);
}

/* ================================
   ANIMATIONS
   ================================ */

[data-animation="slide-up"] {
    animation: slideUp 0.6s ease-out;
}

[data-animation="fade-in"] {
    animation: fadeIn 0.6s ease-out;
}

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

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    :root {
        --sidebar-width: 260px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .wallet-showcase,
    .ltco-content {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        margin-top: var(--spacing-xl);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .sidebar-toggle {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open,
    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0; 
    }
}


@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .hero-section .container {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .token-container {
        width: 250px;
        height: 250px;
    }

    .token-logo {
        width: 150px;
        height: 150px;
    }

    .token-symbol {
        font-size: 4rem;
    }

    .features-grid,
    .miniapps-grid,
    .sdk-features {
        grid-template-columns: 1fr;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .feature-row.reverse {
        direction: ltr;
    }
   .feature-row {
        padding: var(--spacing-md);
    }
    
    .feature-visual {
        max-width: 100%;
        overflow: hidden;
    }
    
    .code-block {
        padding: var(--spacing-sm);
        font-size: 0.75rem;
    }
    
    .code-block pre {
        font-size: 0.75rem;
    }

    .code-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .business-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .showcase-title {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .terminal-body {
        font-size: 0.8rem;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* ================================
   SCROLLBAR STYLING
   ================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-light);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.5) var(--black-light);
}

/* ================================
   COOKIE BANNER
   ================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 20px;
    z-index: 10000;
    display: none;
    animation: slideInUp 0.4s ease;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    flex: 1;
    color: var(--gray-light);
    font-size: 0.95rem;
    margin: 0;
}

.cookie-text a {
    color: var(--purple-secondary);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--purple-primary);
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-accept {
    background: var(--gradient-purple);
    color: var(--white);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.cookie-close {
    background: transparent;
    color: var(--gray-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
    width: 40px;
    padding: 10px;
}

.cookie-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--white);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
    }
}

/* ================================
   NOTIFICATION ANIMATIONS
   ================================ */

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

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

.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    animation: slideInUp 0.3s ease, slideOutDown 0.3s ease 2.7s;
}
