:root {
    --bg-dark: #030305;
    --text-main: #f5f5f7;
    --text-muted: #8b8b99;
    --neon-green: #00ff88;
    --neon-purple: #9d00ff;
    --electric-blue: #00d4ff;

    --glass-bg: rgba(15, 15, 20, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(25, 25, 35, 0.6);

    font-family: 'Outfit', sans-serif;
    color-scheme: dark;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Backgrounds & Spotlights */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 30%, rgba(0, 255, 136, 0.03), transparent 50%),
        radial-gradient(circle at 85% 60%, rgba(157, 0, 255, 0.04), transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(0, 212, 255, 0.03), transparent 50%);
    z-index: -3;
    animation: drift 20s infinite alternate linear;
}

@keyframes drift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-20px, 20px);
    }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.02;
    z-index: -2;
    pointer-events: none;
}

.spotlight {
    position: fixed;
    width: 50vw;
    height: 50vh;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.spotlight.right {
    top: 10%;
    right: -20%;
    background: rgba(157, 0, 255, 0.1);
}

.spotlight.left {
    bottom: 10%;
    left: -20%;
    background: rgba(0, 255, 136, 0.08);
}

/* Typography Gradients */
h1,
h2,
h3 {
    font-weight: 800;
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.purple-blue {
    background: linear-gradient(90deg, var(--neon-purple), var(--electric-blue));
}

.light-blue {
    background: linear-gradient(90deg, #fff, var(--electric-blue));
}

.neon-green {
    background: linear-gradient(90deg, var(--neon-green), #fff);
}

/* Shared Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(20px);
    padding: 15px 5%;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo .ticker {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo .powered-by {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--neon-purple);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--electric-blue);
}

.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary,
.btn-primary-small {
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 30px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-primary-small {
    padding: 10px 25px;
    font-size: 0.85rem;
}

.btn-primary:hover,
.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.glow-btn {
    background: linear-gradient(45deg, var(--neon-green), var(--electric-blue));
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    border: none;
}

.glow-btn:hover {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    padding: 14px 38px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    gap: 50px;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 10;
}

.badge-container {
    margin-bottom: 30px;
}

.pulsing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neon-green);
    font-weight: 600;
}

.pulsing-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero .highlight {
    display: block;
}

.neon-glow {
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
    color: #fff;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    font-weight: 300;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Hero Stats Array */
.hero-stats {
    display: flex;
    gap: 30px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.border-left {
    padding-left: 30px;
    border-left: 1px solid var(--glass-border);
}

/* Floating UI Logs */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.mock-ui {
    position: absolute;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 20;
    animation: float 6s ease-in-out infinite;
}

.mock-ui ion-icon {
    font-size: 1.5rem;
}

.icon-green {
    color: var(--neon-green);
}

.icon-purple {
    color: var(--neon-purple);
}

.log-text {
    display: flex;
    flex-direction: column;
}

.log-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
}

.log-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.log-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-left: 10px;
}

.delay-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.delay-2 {
    bottom: 15%;
    left: 0;
    animation-delay: -3s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Orb */
.agent-orb {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-core {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 60px var(--electric-blue), inset 0 0 20px var(--neon-purple);
    animation: corePulse 2s infinite alternate;
}

@keyframes corePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 50px var(--electric-blue);
    }

    100% {
        transform: scale(1.05);
        box-shadow: 0 0 90px var(--neon-purple);
    }
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.ring-1 {
    width: 180px;
    height: 180px;
    border-top-color: var(--electric-blue);
    animation: spin1 6s linear infinite;
}

.ring-2 {
    width: 280px;
    height: 280px;
    border-left-color: var(--neon-purple);
    border-right-color: var(--neon-purple);
    animation: spin2 10s linear infinite reverse;
    opacity: 0.7;
}

.ring-3 {
    width: 380px;
    height: 380px;
    border-bottom-color: rgba(255, 255, 255, 0.3);
    animation: spin1 15s linear infinite;
}

@keyframes spin1 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin2 {
    100% {
        transform: rotate(-360deg);
    }
}


/* Partners Marquee */
.partners {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
}

.partners-title {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}

.partner-logo {
    margin: 0 40px;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.partner-logo:hover {
    color: #fff;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Bento Box Ecosystem */
.bento-section {
    padding: 120px 8%;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(300px, auto);
}

.bento-card {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--glass-hover);
}

.span-2 {
    grid-column: span 2;
}

.card-content h3 {
    font-size: 1.8rem;
    margin: 15px 0;
    color: #fff;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--electric-blue);
    font-size: 1.8rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.icon-wrapper.purple {
    background: rgba(157, 0, 255, 0.1);
    color: var(--neon-purple);
    border-color: rgba(157, 0, 255, 0.2);
}

.icon-wrapper.green {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border-color: rgba(0, 255, 136, 0.2);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.feature-list ion-icon {
    color: var(--neon-green);
}

/* Steps / Timeline */
.steps-section {
    padding: 100px 8%;
    position: relative;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    width: 45%;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

.timeline-item.right-aligned {
    align-self: flex-end;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.right-aligned .step-number {
    right: auto;
    left: -15px;
}

.step-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Metrics / Tokenomics Grid */
.metrics-section {
    padding: 100px 8%;
}

.token-container {
    padding: 50px;
    text-align: center;
}

.border-glow {
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, transparent, rgba(157, 0, 255, 0.3), transparent);
    border-radius: 20px;
    z-index: -1;
}

.token-header {
    margin-bottom: 50px;
}

.token-header h2 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.contract-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-family: monospace;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
}

.copy-btn:hover {
    color: var(--electric-blue);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.metric-box {
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metric-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 600;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.metric-value.green {
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.metric-value.purple {
    color: var(--neon-purple);
    text-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 100px 8%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-color: rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--glass-hover);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #fff;
}

/* Ticker Footer Banner */
.ticker-banner {
    background: linear-gradient(90deg, #111, var(--neon-purple) 50%, #111);
    color: #fff;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 3px;
    transform: rotate(-1.5deg) scale(1.05);
    margin-top: 100px;
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.2);
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: slide 25s linear infinite;
    width: max-content;
}

.ticker-track span {
    padding-right: 50px;
}

/* Footer */
footer {
    padding: 80px 8% 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: left;
}

.footer-brand .ticker {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--neon-purple);
    color: #fff;
    padding: 15px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(157, 0, 255, 0.1);
    z-index: 1000;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification ion-icon {
    font-size: 2rem;
    color: var(--neon-green);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.toast-text {
    display: flex;
    flex-direction: column;
}

.toast-text strong {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.toast-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .span-2 {
        grid-column: span 1;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .border-left {
        padding-left: 0;
        border-left: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.right-aligned {
        width: calc(100% - 40px);
        margin-left: auto;
        align-self: flex-end;
    }

    .step-number,
    .right-aligned .step-number {
        left: -40px;
        right: auto;
        top: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }
}