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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #05060d;
    color: #f4f7ff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.hero {
    min-height: 100vh;
    padding: 2rem 6vw 4rem;
    background: radial-gradient(circle at top right, rgba(134,76,255,0.25), transparent 45%), #05060d;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.logo img {
    width: 40px;
    height: 40px;
    display: block;
}

.logo span {
    color: #8d63ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li a {
    font-size: 0.95rem;
    opacity: 0.85;
}

.cta-group {
    display: flex;
    gap: 0.75rem;
}

.btn {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn.solid {
    background: linear-gradient(120deg, #8d63ff, #5ad1ff);
    border: none;
    color: #05060d;
}

.btn.phantom {
    background: rgba(124, 60, 237, 0.15);
    border-color: rgba(124, 60, 237, 0.6);
    color: #d6cbff;
}

.btn.small {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

.btn.ghost:hover,
.btn.solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(93, 200, 255, 0.2);
}

.btn.twitter {
    border-color: rgba(29, 155, 240, 0.6);
    color: #1d9bf0;
}


.hero-content {
    margin-top: 8vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.badge {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8d63ff;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    margin: 1rem 0;
}

.hero h1 span {
    color: #5ad1ff;
}

.subtitle {
    max-width: 540px;
    opacity: 0.85;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

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

.orb {
    width: 220px;
    height: 220px;
    background: linear-gradient(145deg, rgba(93, 200, 255, 0.4), rgba(141, 99, 255, 0.2));
    border-radius: 50%;
    filter: blur(2px);
    position: absolute;
    top: 0;
    right: 40px;
}

.stat-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    position: absolute;
    width: 240px;
}

.stat-card:nth-child(2) {
    top: 40px;
    left: 0;
}

.stat-card:nth-child(3) {
    bottom: 10px;
    right: 0;
}

.section {
    padding: 5rem 6vw;
}

.section.alt {
    background: rgba(255, 255, 255, 0.03);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.75rem 0;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid.two {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card, .chat-card {
    background: rgba(8, 10, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem;
    border-radius: 18px;
    min-height: 220px;
}

.card.clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, border 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card.clickable:hover {
    transform: translateY(-6px);
    border-color: rgba(90, 209, 255, 0.5);
}

.card-cta {
    margin-top: auto;
    font-size: 0.95rem;
    font-weight: 600;
    color: #5ad1ff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.card-cta::after {
    content: '\2197';
    font-size: 0.85rem;
}

.chatbot ul {
    list-style: none;
    margin-top: 1rem;
}

.chatbot li {
    margin-bottom: 0.8rem;
}

.chat-window {
    background: rgba(8, 10, 18, 0.85);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    padding: 1rem;
    border-radius: 16px;
    max-width: 90%;
}

.chat-bubble.user {
    align-self: flex-start;
    background: rgba(90, 209, 255, 0.1);
}

.chat-bubble.ai {
    align-self: flex-end;
    background: rgba(141, 99, 255, 0.15);
}

.tokenomics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.token-chart ul {
    list-style: none;
    border-left: 3px solid rgba(141,99,255,0.4);
    padding-left: 1.5rem;
}

.token-chart li {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.milestone {
    border-left: 4px solid #5ad1ff;
    padding-left: 1.2rem;
}

footer {
    padding: 3rem 6vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #04050a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 960px) {
    .navbar {
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* dApp styles */
body.dapp {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, rgba(90, 209, 255, 0.2), transparent 45%), #030510;
    color: #f4f7ff;
}

.dapp-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 6vw 4rem;
}

.wallet-status {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #9bd4ff;
}

.dapp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dapp-nav .logo span {
    font-size: 1.5rem;
}

.dapp-actions {
    display: flex;
    gap: 0.75rem;
}

.dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.stat {
    background: rgba(8, 10, 18, 0.9);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 1.25rem;
}

.stat h4 {
    font-size: 0.95rem;
    opacity: 0.75;
    margin-bottom: 0.4rem;
}

.stat .value {
    font-size: 1.6rem;
    font-weight: 600;
}

.stat .trend {
    font-size: 0.85rem;
    color: #5ad1ff;
}

.dapp-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dapp-card {
    background: rgba(6, 8, 16, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dapp-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dapp-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 0.5rem;
}

.chart-card {
    background: rgba(6, 8, 16, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 1.5rem;
}

.mock-chart {
    height: 180px;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.mock-chart span {
    flex: 1;
    background: linear-gradient(180deg, rgba(90, 209, 255, 0.8), rgba(90, 209, 255, 0.1));
    border-radius: 6px 6px 0 0;
}

.activity-log {
    background: rgba(6, 8, 16, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 1.5rem;
}

.activity-log ul {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-log li {
    font-size: 0.95rem;
}

.activity-log li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    opacity: 0.85;
    text-decoration: none;
}

.activity-log li a:hover {
    color: #5ad1ff;
}

@media (max-width: 768px) {
    .dapp-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .dapp-actions {
        flex-wrap: wrap;
    }
}
