/* ========================================
   HYBRIDHIVE - MAIN STYLESHEET
   Cyberpunk Hive Theme
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #FFB800;
    --color-secondary: #00D9FF;
    --color-accent: #FF006E;
    --color-success: #00FF94;
    --color-purple: #8B5CF6;
    
    --color-dark: #0A0E27;
    --color-dark-light: #1A1F3A;
    --color-dark-lighter: #2A2F4A;
    
    --color-text: #FFFFFF;
    --color-text-muted: #A0A0B0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
    --gradient-secondary: linear-gradient(135deg, #00D9FF 0%, #8B5CF6 100%);
    --gradient-accent: linear-gradient(135deg, #FF006E 0%, #FFB800 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Buttons */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-dark);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 184, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: rgba(255, 184, 0, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 184, 0, 0.1);
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--color-text);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 184, 0, 0.5));
}

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

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 50%;
    color: var(--color-primary);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 184, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 184, 0, 0.3);
}

/* Section Styles */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Problem Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
}

.comparison-card.fail {
    border-color: var(--color-accent);
}

.comparison-card.success {
    border-color: var(--color-success);
    box-shadow: 0 0 30px rgba(0, 255, 148, 0.2);
}

.comparison-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comparison-list {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.comparison-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

.comparison-result {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-result.fail {
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.comparison-result.success {
    background: rgba(0, 255, 148, 0.2);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}

.comparison-vs {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Solution Section */
.loop-diagram {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    padding: 1rem 0;
}

.loop-step {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 184, 0, 0.3);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    min-width: 180px;
    flex: 0 0 auto;
}

.loop-step:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

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

.loop-step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.loop-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
}

.loop-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
    flex: 0 0 auto;
    padding: 0 0.5rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-text-muted);
}

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tokenomics-chart {
    max-width: 400px;
    margin: 0 auto;
}

.tokenomics-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.token-item {
    position: relative;
}

.token-bar {
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.token-item[data-color="#FFB800"] .token-bar {
    background: var(--gradient-primary);
}

.token-item[data-color="#00D9FF"] .token-bar {
    background: var(--gradient-secondary);
}

.token-item[data-color="#8B5CF6"] .token-bar {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
}

.token-item[data-color="#00FF94"] .token-bar {
    background: linear-gradient(135deg, #00FF94 0%, #10B981 100%);
}

.token-item[data-color="#FF006E"] .token-bar {
    background: var(--gradient-accent);
}

.token-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.token-percent {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.token-label {
    flex: 1;
    font-weight: 600;
}

.token-amount {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.token-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.token-feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.token-feature h4 {
    margin-bottom: 0.5rem;
}

.token-feature p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 184, 0, 0.3);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-dark);
}

.step-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
}

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

.utility-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 0, 0.2);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.utility-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.utility-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.utility-card p {
    position: relative;
    z-index: 1;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.utility-tag {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: rgba(255, 184, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Roadmap Section */
.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.roadmap-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.roadmap-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-dark);
    border: 3px solid var(--color-text-muted);
    border-radius: 50%;
    z-index: 1;
}

.roadmap-item.completed .roadmap-marker {
    border-color: var(--color-success);
    background: var(--color-success);
    box-shadow: 0 0 20px rgba(0, 255, 148, 0.5);
}

.roadmap-item.active .roadmap-marker {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.5);
    animation: pulse 2s infinite;
}

.roadmap-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
}

.roadmap-item.active .roadmap-content {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(255, 184, 0, 0.2);
}

.roadmap-content h3 {
    margin-bottom: 1rem;
}

.roadmap-content ul {
    list-style: none;
    margin-bottom: 1rem;
}

.roadmap-content li {
    padding: 0.5rem 0;
    color: var(--color-text-muted);
}

.roadmap-date {
    display: inline-block;
    background: rgba(255, 184, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--color-dark-light);
    border-top: 1px solid rgba(255, 184, 0, 0.1);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(255, 184, 0, 0.2);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-vs {
        transform: rotate(90deg);
    }
    
    .loop-arrow,
    .step-arrow {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-brand {
        margin: 0 auto;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utilities */
.text-center {
    text-align: center;
}

.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); }

.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); }
