/* Positronic Main Stylesheet — non-critical CSS loaded externally for LCP optimization */

/* ===== Features Section ===== */
.features { background: var(--bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px 28px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--positronic-blue), var(--positronic-cyan)); opacity: 0; transition: opacity 0.3s; }
.feature-card:hover { border-color: rgba(0, 229, 255, 0.3); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.feature-icon-red { background: rgba(0, 128, 255, 0.15); }
.feature-icon-gold { background: rgba(0, 229, 255, 0.15); }
.feature-icon-blue { background: rgba(4, 156, 216, 0.15); }
.feature-icon-green { background: rgba(0, 200, 100, 0.15); }
.feature-icon-purple { background: rgba(150, 100, 255, 0.15); }
.feature-card h3 { font-family: var(--font-heading); font-size: 11px; margin-bottom: 12px; color: var(--text-primary); line-height: 1.6; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 10px; background: rgba(0, 229, 255, 0.08); border: 1px solid rgba(0, 229, 255, 0.15); border-radius: 6px; font-size: 11px; color: var(--positronic-cyan); font-weight: 500; }
.tag-red { background: rgba(0, 128, 255, 0.08); border-color: rgba(0, 128, 255, 0.15); color: #ff6b6b; }
.tag-blue { background: rgba(4, 156, 216, 0.08); border-color: rgba(4, 156, 216, 0.15); color: #4dc9f6; }
.tag-green { background: rgba(0, 200, 100, 0.08); border-color: rgba(0, 200, 100, 0.15); color: #4ddb8a; }
.tag-purple { background: rgba(150, 100, 255, 0.08); border-color: rgba(150, 100, 255, 0.15); color: #b088ff; }

/* ===== Comparison Section ===== */
.comparison { background: var(--bg-primary); }
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-color); }
.comparison-table thead th { font-family: var(--font-heading); font-size: 11px; padding: 20px 16px; text-align: center; border-bottom: 2px solid var(--border-color); background: rgba(255,255,255,0.02); }
.comparison-table thead th:first-child { text-align: left; padding-left: 24px; }
.comparison-table thead th.asf-col { background: linear-gradient(180deg, rgba(0,128,255,0.1), rgba(0,229,255,0.05)); color: var(--positronic-cyan); }
.comparison-table tbody td { padding: 16px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 14px; color: var(--text-secondary); }
.comparison-table tbody td:first-child { text-align: left; padding-left: 24px; font-weight: 600; color: var(--text-primary); }
.comparison-table tbody td.asf-col { color: var(--positronic-cyan); font-weight: 600; background: rgba(0, 229, 255, 0.03); }
.comparison-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.check-yes { color: #4ddb8a; font-weight: 700; }
.check-no { color: #ff6b6b; font-weight: 700; }

/* ===== How It Works Section ===== */
.how-it-works { background: var(--bg-secondary); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 50px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--positronic-blue), var(--positronic-cyan), var(--positronic-electric), #4ddb8a); z-index: 0; }
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--font-heading); font-size: 18px; font-weight: 700; position: relative; }
.step-num-1 { background: linear-gradient(135deg, var(--positronic-blue), #c91f1b); color: white; box-shadow: 0 0 30px var(--glow-blue); }
.step-num-2 { background: linear-gradient(135deg, var(--positronic-cyan), #e6c200); color: #000; box-shadow: 0 0 30px var(--glow-cyan); }
.step-num-3 { background: linear-gradient(135deg, var(--positronic-electric), #037aaa); color: white; box-shadow: 0 0 30px var(--glow-blue); }
.step-num-4 { background: linear-gradient(135deg, #4ddb8a, #2eaa5f); color: white; box-shadow: 0 0 30px rgba(0,200,100,0.3); }
.step-card h3 { font-family: var(--font-heading); font-size: 12px; margin-bottom: 10px; color: var(--text-primary); }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== Tokenomics Section ===== */
.tokenomics { background: var(--bg-primary); }
.tokenomics-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.pie-chart-container { display: flex; justify-content: center; align-items: center; }
.pie-chart { width: 300px; height: 300px; border-radius: 50%; position: relative; background: conic-gradient(var(--positronic-blue) 0deg 180deg, var(--positronic-cyan) 180deg 252deg, var(--positronic-electric) 252deg 306deg, #4ddb8a 306deg 324deg, #b088ff 324deg 342deg, #ff6b6b 342deg 360deg); box-shadow: 0 0 60px rgba(0, 128, 255, 0.2), 0 0 120px rgba(0, 229, 255, 0.1); }
.pie-chart::after { content: '1B ASF'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 140px; height: 140px; background: var(--bg-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 14px; color: var(--positronic-cyan); border: 2px solid var(--border-color); }
.token-legend { display: flex; flex-direction: column; gap: 16px; }
.legend-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); transition: all 0.2s; }
.legend-item:hover { border-color: rgba(0,229,255,0.3); transform: translateX(4px); }
.legend-color { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.legend-info { flex: 1; display: flex; justify-content: space-between; align-items: center; }
.legend-label { font-weight: 600; font-size: 14px; }
.legend-detail { font-size: 12px; color: var(--text-muted); }
.legend-pct { font-family: var(--font-heading); font-size: 12px; color: var(--positronic-cyan); }
.burn-card { background: linear-gradient(135deg, rgba(0,128,255,0.1), rgba(0,229,255,0.05)); border: 1px solid rgba(0, 128, 255, 0.2); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.burn-card h3 { font-family: var(--font-heading); font-size: 14px; margin-bottom: 8px; color: var(--positronic-blue); }
.burn-pct { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 48px); color: var(--positronic-cyan); margin-bottom: 8px; }
.burn-card p { color: var(--text-secondary); font-size: 14px; }
.token-info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-top: 40px; }
.info-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 20px; text-align: center; transition: all 0.3s; }
.info-box:hover { border-color: var(--positronic-cyan); transform: translateY(-2px); }
.info-value { display: block; font-family: var(--font-heading); font-size: 14px; color: var(--positronic-cyan); margin-bottom: 6px; }
.info-label { display: block; font-size: 12px; color: var(--text-muted); }

/* ===== Roadmap Section ===== */
.roadmap { background: var(--bg-secondary); }
.timeline { position: relative; padding-left: 40px; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--positronic-blue), var(--positronic-cyan), var(--positronic-electric)); }
.timeline-item { position: relative; margin-bottom: 40px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); transition: all 0.3s; }
.timeline-item:hover { border-color: rgba(0,229,255,0.3); transform: translateX(4px); }
.timeline-dot { position: absolute; left: -33px; top: 28px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--positronic-cyan); background: var(--bg-primary); }
.timeline-item.completed .timeline-dot { background: var(--positronic-cyan); box-shadow: 0 0 12px var(--glow-cyan); }
.timeline-item.active .timeline-dot { background: var(--positronic-blue); border-color: var(--positronic-blue); box-shadow: 0 0 12px var(--glow-blue); animation: activePulse 2s infinite; }
@keyframes activePulse { 0%, 100% { box-shadow: 0 0 8px var(--glow-blue); } 50% { box-shadow: 0 0 20px var(--glow-blue); } }
.timeline-item h3 { font-family: var(--font-heading); font-size: 11px; margin-bottom: 8px; color: var(--text-primary); line-height: 1.5; }
.timeline-item p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.timeline-status { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.timeline-item.completed .timeline-status { background: rgba(0, 200, 100, 0.1); color: #4ddb8a; border: 1px solid rgba(0, 200, 100, 0.2); }
.timeline-item.active .timeline-status { background: rgba(0, 128, 255, 0.1); color: var(--positronic-blue); border: 1px solid rgba(0, 128, 255, 0.2); animation: activePulse 2s infinite; }

/* ===== Whitepaper Section ===== */
.whitepaper-section { background: var(--bg-primary); }
.wp-card { max-width: 700px; margin: 0 auto; text-align: center; padding: 60px 40px; background: linear-gradient(135deg, var(--bg-card), rgba(0,128,255,0.05)); border: 1px solid var(--border-color); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.wp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--positronic-blue), var(--positronic-cyan), var(--positronic-electric)); }
.wp-icon { font-size: 48px; margin-bottom: 20px; }
.wp-card h2 { font-family: var(--font-heading); font-size: 18px; margin-bottom: 12px; }
.wp-card > p { color: var(--text-secondary); margin-bottom: 24px; font-size: 15px; }
.wp-stats { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.wp-stats span { font-size: 13px; color: var(--text-muted); padding: 6px 14px; background: rgba(255,255,255,0.03); border-radius: 100px; border: 1px solid var(--border-color); }

/* ===== Footer ===== */
.footer { background: var(--bg-card); border-top: 1px solid var(--border-color); padding: 60px 0 30px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-brand { max-width: 300px; }
.footer-logo { font-family: var(--font-heading); font-size: 14px; color: var(--positronic-cyan); display: block; margin-bottom: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--positronic-cyan); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ===== Scroll Reveal ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Card Hover ===== */
.feature-card, .phase-card { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease; }
.feature-card:hover, .phase-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 128, 255, 0.15); }

/* ===== Stat Counter Pulse ===== */
@keyframes statPulse { 0%, 100% { text-shadow: 0 0 10px rgba(0, 229, 255, 0.3); } 50% { text-shadow: 0 0 20px rgba(0, 229, 255, 0.6), 0 0 40px rgba(0, 229, 255, 0.2); } }
.stat-value, .stat-number { animation: statPulse 3s ease-in-out infinite; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .tokenomics-layout { grid-template-columns: 1fr; gap: 40px; }
    .comparison-table { font-size: 13px; }
}

@media (max-width: 768px) {
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg-card); flex-direction: column; align-items: flex-start; padding: 80px 24px 24px; gap: 16px; transition: right 0.3s; border-left: 1px solid var(--border-color); overflow-y: auto; z-index: 999; }
    .nav-links.active { right: 0; }
    .nav-toggle { display: flex; z-index: 1001; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid::before { display: none; }
    .hero-stats { gap: 12px; }
    .stat { min-width: 100px; padding: 12px 16px; }
    .section { padding: 60px 0; }
    .pie-chart { width: 240px; height: 240px; }
    .pie-chart::after { width: 110px; height: 110px; font-size: 12px; }
    .comparison-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .comparison-table { min-width: 500px; }
}

@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 24px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; max-width: 300px; }
    .footer-content { flex-direction: column; }
    .token-info-row { grid-template-columns: 1fr 1fr; }
}
