/* ==========================================================================
   CSS Variables & Reset (Futuristic Dark Neon Theme)
   ========================================================================== */
:root {
    --primary: #00f3ff;
    --primary-hover: #00c3cc;
    --secondary: #b026ff;
    --bg-dark: #07080d;
    --bg-card: #12141d;
    --bg-light: #1a1c29;
    --text-main: #f8f9fa;
    --text-muted: #a0aab2;
    --border: #2a2d3e;
    --danger: #ff2a5f;
    --success: #00ff88;
    
    --font-sys: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    --radius: 16px;
    --shadow-neon: 0 0 10px rgba(0, 243, 255, 0.2), 0 0 20px rgba(0, 243, 255, 0.1);
    --shadow-neon-hover: 0 0 15px rgba(0, 243, 255, 0.4), 0 0 30px rgba(0, 243, 255, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: var(--spacing-md); color: var(--text-muted); }

.container {
    width: 100%;
    padding: 0 var(--spacing-lg);
    margin: 0 auto;
}

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

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: var(--shadow-neon-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(0, 243, 255, 0.1);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: var(--shadow-neon);
}

.card:hover::before {
    opacity: 1;
}

/* Layout Grids */
.grid-2, .grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

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

/* ==========================================================================
   Preview Banner
   ========================================================================== */
.preview-banner {
    background-color: #000;
    color: var(--primary);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    background-color: rgba(7, 8, 13, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 32px;
    z-index: 999;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    letter-spacing: 1px;
}

.logo svg {
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

.nav-links, .nav-cta {
    display: none;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 0 5px var(--primary);
}

/* Mobile Menu Active */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    gap: 1.5rem;
}

.nav-links.active a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-links.active a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Sections
   ========================================================================== */
section {
    padding: var(--spacing-xl) 0;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(0, 243, 255, 0.1) 0%, transparent 50%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: var(--spacing-lg);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.2);
}

/* About */
.about-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.about-image img {
    border-radius: var(--radius);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-main);
}

.feature-list svg {
    color: var(--success);
    filter: drop-shadow(0 0 2px var(--success));
}

/* Services */
.service-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(18, 20, 29, 0.5) 100%);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-neon);
}

/* Tokenomics */
.tokenomics {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.token-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-box {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
}

.stat-box h4 {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
}

.highlight-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.chart-list {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.chart-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 1rem;
}

.c1 { background: var(--primary); box-shadow: 0 0 5px var(--primary); }
.c2 { background: var(--secondary); box-shadow: 0 0 5px var(--secondary); }
.c3 { background: #ffaa00; box-shadow: 0 0 5px #ffaa00; }
.c4 { background: #00ff88; box-shadow: 0 0 5px #00ff88; }
.c5 { background: #ff2a5f; box-shadow: 0 0 5px #ff2a5f; }

/* Roadmap */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Pricing / Staking */
.pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    border: 1px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-neon);
    background: linear-gradient(180deg, rgba(0,243,255,0.05) 0%, var(--bg-card) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-dark);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin: var(--spacing-md) 0;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.price span {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-left: 5px;
}

.pricing-card ul {
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.pricing-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
}

.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.slide {
    display: none;
    animation: fadeEffect 0.5s;
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.slide.active {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    color: #fff;
    margin: 0 0 var(--spacing-md) 0;
}

.slide h4 {
    color: var(--primary);
    margin: 0;
    font-size: 1rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.slider-controls button {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

/* Contact */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.info-item svg {
    color: var(--primary);
}

.contact-form {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-sys);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 243, 255, 0.2);
}

.error-msg {
    color: var(--danger);
    font-size: 0.875rem;
    display: none;
    margin-top: 0.4rem;
}

.form-group.error input {
    border-color: var(--danger);
}

.form-group.error .error-msg {
    display: block;
}

/* Footer */
footer {
    background-color: #030407;
    border-top: 1px solid var(--border);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-brand p {
    margin-top: 1rem;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 5px rgba(0,243,255,0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Toast */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.toast.show {
    bottom: 20px;
}

/* Scroll to Top */
#scrollTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 0 10px rgba(0,243,255,0.2);
}

#scrollTop.visible {
    opacity: 1;
    visibility: visible;
}

#scrollTop:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Media Queries (Mobile First approach)
   ========================================================================== */

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.highlighted {
        transform: scale(1.05) translateY(-10px);
    }
    
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .hero h1 { font-size: 3.2rem; }
    
    .token-stats {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stat-box {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .hamburger {
        display: none;
    }

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

    .nav-links a {
        color: var(--text-main);
        font-weight: 500;
        font-size: 0.95rem;
    }

    .nav-links a:hover {
        color: var(--primary);
        text-shadow: 0 0 8px rgba(0,243,255,0.4);
    }

    .nav-cta {
        display: inline-flex;
    }

    .hero-container, .about-container, .contact-container {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-content, .hero-image, .about-image, .about-content, .contact-info, .contact-form {
        flex: 1;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        width: 50%;
        margin-bottom: 2rem;
    }
    
    .timeline-item:nth-child(odd) {
        padding-right: 3rem;
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 3rem;
        left: 50%;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot {
        right: -8px;
        left: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: -8px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
    
    .hero h1 { font-size: 4rem; }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}
