/* ================================
   QUANTA PAYMENT - BLACK & GRAY THEME
   ================================ */

:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #404040;
    --text-gray: #a0a0a0;
    --white: #ffffff;
    --cyan: #00f0ff;
    --blue: #0080ff;
    --gradient: linear-gradient(135deg, #00f0ff 0%, #0080ff 100%);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-blue: 0 0 20px rgba(0, 128, 255, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   BLOCKCHAIN BACKGROUND
   ================================ */

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

#blockchainCanvas {
    width: 100%;
    height: 100%;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--cyan);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
    box-shadow: 0 0 10px var(--cyan);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    perspective: 1000px;
}

.cube-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 10s linear infinite;
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border: 1px solid var(--cyan);
    opacity: 0.6;
}

.face.front  { transform: rotateY(0deg) translateZ(20px); }
.face.back   { transform: rotateY(180deg) translateZ(20px); }
.face.right  { transform: rotateY(90deg) translateZ(20px); }
.face.left   { transform: rotateY(-90deg) translateZ(20px); }
.face.top    { transform: rotateX(90deg) translateZ(20px); }
.face.bottom { transform: rotateX(-90deg) translateZ(20px); }

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quantum {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.payment {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cyan);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-launch {
    background: var(--gradient) !important;
    color: var(--black) !important;
    padding: 10px 24px !important;
    border-radius: 8px;
    font-weight: 600 !important;
    box-shadow: var(--glow-cyan);
}

.btn-launch::after {
    display: none !important;
}

.btn-launch:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    color: var(--cyan);
    margin-bottom: 24px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

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

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-text {
    background: none;
    color: var(--cyan);
    padding: 0;
}

.btn-text:hover {
    opacity: 0.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 32px;
    align-items: center;
    justify-content: start;
}

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

.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Mono', monospace;
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual - Blockchain Animation */

.hero-visual {
    position: relative;
    height: 600px;
}

.blockchain-viz {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.block-chain {
    display: flex;
    align-items: center;
    gap: 40px;
    perspective: 1000px;
}

.block {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: blockFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes blockFloat {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(180deg); }
}

.block-face {
    width: 100%;
    height: 100%;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--cyan);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3),
                inset 0 0 30px rgba(0, 240, 255, 0.1);
}

.block-face::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.5), transparent);
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.block-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--cyan);
}

.connection {
    width: 40px;
    height: 2px;
    background: var(--gradient);
    position: relative;
}

.connection::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--cyan);
    border-bottom: 2px solid var(--cyan);
    transform: rotate(-45deg);
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

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

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

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

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

/* Features Section */

.features {
    padding: 120px 0;
    position: relative;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-link a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-link a:hover {
    opacity: 0.7;
}

/* Technology Section */

.technology {
    padding: 120px 0;
    background: var(--dark-gray);
    position: relative;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.tech-features {
    margin-bottom: 40px;
}

.tech-feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    flex-shrink: 0;
}

.tech-feature-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.tech-feature-item p {
    font-size: 14px;
    color: var(--text-gray);
}

.tech-actions {
    display: flex;
    gap: 24px;
}

/* Code Window */

.code-window {
    background: var(--medium-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.window-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27c93f; }

.window-title {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--text-gray);
}

.code-content {
    padding: 24px;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 4px;
}

.keyword { color: #ff79c6; }
.module { color: #8be9fd; }
.class { color: #50fa7b; }
.function { color: #f1fa8c; }
.comment { color: #6272a4; }

.typing-animation {
    animation: typeCode 2s steps(40) infinite;
}

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

.cursor {
    color: var(--cyan);
    animation: blink 1s step-end infinite;
}

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

/* Security Section */

.security {
    padding: 120px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.security-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.security-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.security-number {
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Space Mono', monospace;
}

.security-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.security-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

/* CTA Section */

.cta {
    padding: 120px 0;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */

.footer {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-icon-footer {
    width: 40px;
    height: 40px;
    perspective: 1000px;
}

.footer-desc {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-email {
    color: var(--text-gray);
    margin-bottom: 24px;
    font-size: 14px;
}

.footer-email a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-email svg {
    stroke: var(--cyan);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    color: var(--black);
    border-color: var(--cyan);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-badges {
    display: flex;
    gap: 16px;
}

.footer-badge {
    font-size: 12px;
    color: var(--text-gray);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

/* Scroll to Top */

.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
}

.scroll-to-top svg {
    stroke: var(--black);
}

/* ================================
   CONTENT PAGES
   ================================ */

.page-header {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

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

.page-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    margin-bottom: 16px;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

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

.content-section {
    padding: 60px 0 120px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

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

.content-block {
    margin-bottom: 60px;
}

.content-block h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.content-block h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 24px;
    color: var(--white);
}

.content-block h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--cyan);
}

.content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
}

.feature-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.info-box h4 {
    color: var(--cyan);
    margin-bottom: 16px;
    font-size: 16px;
}

.info-box p {
    margin-bottom: 8px;
    font-size: 15px;
}

.info-box a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.value-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--cyan);
}

.value-item p {
    font-size: 14px;
    margin: 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.right-item {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.cta-inline {
    margin-top: 32px;
}

.last-updated {
    color: var(--text-gray);
    font-size: 14px;
    text-align: center;
    margin-top: 40px;
}

/* ================================
   BLOG SECTION
   ================================ */

.blog-section {
    padding: 60px 0 120px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
}

.blog-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.blog-date {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.blog-link {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-link:hover {
    opacity: 0.7;
}

.newsletter-section {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
}

.newsletter-form input::placeholder {
    color: var(--text-gray);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--cyan);
}

/* ================================
   DOCUMENTATION SECTION
   ================================ */

.doc-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.doc-sidebar {
    position: sticky;
    top: 100px;
}

.doc-nav h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    margin-top: 32px;
}

.doc-nav h4:first-child {
    margin-top: 0;
}

.doc-nav ul {
    list-style: none;
    margin-bottom: 16px;
}

.doc-nav ul li {
    margin-bottom: 8px;
}

.doc-nav ul li a {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.doc-nav ul li a:hover,
.doc-nav ul li a.active {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
}

.doc-content {
    max-width: 900px;
}

.doc-section {
    margin-bottom: 60px;
}

.code-block {
    background: var(--medium-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0;
}

.code-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-header span {
    font-size: 13px;
    color: var(--cyan);
    font-family: 'Space Mono', monospace;
}

.copy-btn {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--cyan);
    color: var(--black);
}

.code-block pre {
    padding: 20px;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: var(--white);
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.arch-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.arch-item h4 {
    color: var(--cyan);
    margin-bottom: 8px;
    font-size: 16px;
}

.arch-item p {
    font-size: 14px;
    margin: 0;
}

.state-table {
    margin-top: 24px;
}

.state-row {
    display: flex;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 12px;
}

.state-name {
    font-weight: 600;
    color: var(--cyan);
    min-width: 120px;
}

.state-desc {
    color: var(--text-gray);
    font-size: 14px;
}

.warning-box {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.warning-box h4 {
    color: #ffaa00;
    margin-bottom: 16px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.support-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.support-item h4 {
    color: var(--cyan);
    margin-bottom: 12px;
}

.support-item p {
    font-size: 14px;
    margin: 0;
}

/* ================================
   WHITEPAPER SECTION
   ================================ */

.download-btn-container {
    margin-top: 32px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.metric-item {
    text-align: center;
    padding: 24px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
}

.metric-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Mono', monospace;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.token-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.token-item:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.token-percent {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.token-label {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
}

.roadmap-timeline {
    margin-top: 32px;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--gradient);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(to bottom, var(--cyan), transparent);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-item h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.references-list {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.references-list p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.references-list p:last-child {
    margin-bottom: 0;
}

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

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doc-layout {
        grid-template-columns: 1fr;
    }
    
    .doc-sidebar {
        position: relative;
        top: 0;
    }
    
    .tokenomics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-header {
        padding: 140px 0 60px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-section {
        padding: 40px 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-grid {
        grid-template-columns: 1fr;
    }
    
    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .cta h2 {
        font-size: 32px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-value {
        font-size: 28px;
    }
}

