:root {
    --primary: #0a1320;
    --secondary: #1a2a4a;
    --accent: #4e54c8;
    --accent-light: #8f94fb;
    --highlight: #00d1ff;
    --highlight-alt: #6a11cb;
    --text: #f5f7fa;
    --text-light: rgba(245, 247, 250, 0.85);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease;
    --header-height: 78px;
    --section-spacing: 100px;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* Header */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 18, 36, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header .inner-header {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    color: var(--highlight);
    font-size: 1.8rem;
}

.logo-text {
    display: inline-block;
}

/* Nav */
nav {
    flex: 1;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    justify-content: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    font-size: 1.05rem;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--highlight);
    background: rgba(0, 209, 255, 0.08);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transform: translateX(-50%);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 60%;
}

/* menu toggle for small screens */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 1001;
}

/* Connect button */
.connect-btn {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(78, 84, 200, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

.connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(78, 84, 200, 0.35);
}

.connect-btn::before {
    content: "🔗";
    font-size: 1.1rem;
}

/* Hero */
.hero {
    padding: 0;
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(78, 84, 200, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 209, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 20%, rgba(143, 148, 251, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.hero-inner {
    text-align: center;
    padding: 0 5%;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 10;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--highlight));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 780px;
    margin: 0.6rem auto 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    color: var(--text-light);
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

.primary-btn {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 8px 20px rgba(78, 84, 200, 0.3);
    border: none;
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(78, 84, 200, 0.4);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--highlight);
    color: var(--highlight);
    padding: 11px 28px;
    margin-left: 15px;
}

.secondary-btn:hover {
    background: rgba(0, 209, 255, 0.1);
    transform: translateY(-4px);
}

.hero-btns {
    margin-top: 2rem;
}

/* Ecosystem Banner */
.ecosystem-banner {
    padding: 100px 5% 120px;
    position: relative;
    background: linear-gradient(145deg, rgba(15, 25, 50, 0.9), rgba(8, 15, 30, 0.95));
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ecosystem-pillar {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.ecosystem-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.ecosystem-pillar:hover::before {
    transform: scaleX(1);
}

.ecosystem-pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pillar-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 2rem;
    transition: var(--transition);
}

.ecosystem-pillar:hover .pillar-icon {
    transform: scale(1.1);
}

.dao-icon { 
    background: linear-gradient(135deg, var(--accent), var(--accent-light)); 
    color: white;
}

.ai-icon { 
    background: linear-gradient(135deg, var(--highlight), #00a8cc); 
    color: white;
}

.dex-icon { 
    background: linear-gradient(135deg, var(--accent-light), var(--highlight-alt)); 
    color: white;
}

.pillar-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.dao-title { color: var(--accent-light); }
.ai-title { color: var(--highlight); }
.dex-title { color: var(--highlight-alt); }

.pillar-features {
    list-style: none;
}

.pillar-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-light);
    transition: var(--transition);
}

.ecosystem-pillar:hover .pillar-features li {
    color: var(--text);
}

.pillar-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--highlight);
    font-size: 1.8rem;
    top: -5px;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78,84,200,0.15) 0%, transparent 70%);
    z-index: 1;
    animation: float 15s infinite ease-in-out;
}

.floating-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.floating-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
    background: radial-gradient(circle, rgba(0,209,255,0.1) 0%, transparent 70%);
    animation-delay: 3s;
}

.floating-3 {
    width: 250px;
    height: 250px;
    top: 150px;
    left: 200px;
    background: radial-gradient(circle, rgba(106,17,203,0.1) 0%, transparent 70%);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, 15px); }
    50% { transform: translate(-15px, 10px); }
    75% { transform: translate(5px, -10px); }
}

/* Features section */
.features {
    padding: 120px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
    position: relative;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(78, 84, 200, 0.3);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--highlight);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 209, 255, 0.1);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 209, 255, 0.2);
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Roadmap */
.roadmap {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.timeline {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.phase {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.phase:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.phase.active {
    border: 1px solid rgba(0, 209, 255, 0.3);
}

.phase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phase-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.status-badge {
    background: rgba(0, 209, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--highlight);
}

.phase h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-light);
    font-weight: 600;
}

.phase ul {
    list-style: none;
    padding-left: 20px;
}

.phase li {
    margin-bottom: 12px;
    position: relative;
    color: var(--text-light);
    padding-left: 25px;
    font-size: 1.05rem;
}

.phase li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--highlight);
}

/* Stats */
.stats {
    background: linear-gradient(to right, rgba(15, 25, 50, 0.7), rgba(8, 15, 30, 0.8));
    padding: 80px 5%;
    margin: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--highlight));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Token integration */
.token-integration {
    padding: 120px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.token-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.token-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #fff, var(--highlight));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.token-info p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.7;
}

.token-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.token-info li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-light);
}

.token-info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--highlight);
    font-size: 1.8rem;
    top: -8px;
}

.token-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.token-graphic {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-symbol {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
}

.token-radial {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation: pulse 6s infinite ease-in-out;
    opacity: 0.3;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.4; }
}

.chains {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.chains span {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.chains span:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: rgba(5, 8, 16, 0.98);
    padding: 80px 5% 40px;
    border-top: 1px solid var(--card-border);
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--highlight);
}

.footer-column p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: var(--highlight);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--highlight);
    color: var(--primary);
    transform: translateY(-5px);
}

/* Newsletter input */
.newsletter-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    margin-bottom: 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px var(--highlight);
}

.newsletter-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    border: none;
}

.copyright {
    text-align: center;
    padding-top: 50px;
    color: var(--text-light);
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    .ecosystem-grid {
        gap: 20px;
    }
}

@media (max-width: 980px) {
    .token-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .token-info ul {
        display: inline-block;
        text-align: left;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    nav ul {
        gap: 0.8rem;
    }
    .ecosystem-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-block;
    }
    nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(10, 18, 36, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px 5%;
        overflow-y: auto;
        z-index: 999;
    }
    nav.open {
        display: block;
    }
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    .secondary-btn {
        margin-left: 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .stat-value {
        font-size: 2.8rem;
    }
    .connect-btn {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .stat-value {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .token-content {
        padding: 30px;
    }
}