:root {
    --deep-indigo: #1A237E;
    --prosperity-green: #2E7D32;
    --sunset-orange: #FF6D00;
    --clean-canvas: #F4F6F8;
    --text-dark: #121212;
    --text-light: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--clean-canvas);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Navigation --- */
nav {
    background: var(--deep-indigo);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -1px;
}

/* Desktop links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--sunset-orange); }

.nav-links .btn-primary {
    padding: 10px 20px;
    border-radius: 8px;
    background-color: var(--sunset-orange);
    color: white;
}

.nav-links .btn-primary:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.4);
}

/* --- Hamburger Button --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: white;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animated X state */
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- Mobile Drawer --- */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #111c6e;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 5%;
}

.mobile-menu.open {
    max-height: 400px;
    padding: 16px 5% 24px;
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--sunset-orange); }

.mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 12px;
    background: var(--sunset-orange);
    text-align: center;
    border-radius: 8px;
    padding: 14px;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--deep-indigo) 0%, #0D1240 100%);
    color: var(--text-light);
    padding: 120px 5%;
    text-align: center;
}

.badge {
    border: 1px solid var(--sunset-orange);
    color: var(--sunset-orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #C5CAE9;
}

.btn {
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary { background-color: var(--sunset-orange); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 109, 0, 0.4); }

/* --- Legacy Section --- */
.legacy-section {
    padding: 80px 5%;
    background: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.legacy-text h2 {
    font-size: 2.5rem;
    color: var(--deep-indigo);
    margin-bottom: 20px;
}

.milestone-card {
    background: var(--clean-canvas);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--prosperity-green);
    margin-bottom: 15px;
}

/* --- DAO Launch Section --- */
.dao-launch {
    background: #f0f2f5;
    padding: 100px 5%;
    text-align: center;
}

.launch-card {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--prosperity-green);
}

.launch-step {
    text-align: left;
    margin: 20px 0;
    padding-left: 40px;
    position: relative;
}

.launch-step::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--prosperity-green);
    font-weight: 900;
    font-size: 1.2rem;
}

/* --- Development Section --- */
.development-section {
    padding: 80px 5%;
    background: var(--deep-indigo);
    color: white;
    text-align: center;
}

.development-section p {
    max-width: 600px;
    margin: 20px auto;
}

/* --- Footer --- */
footer {
    background: var(--deep-indigo);
    color: white;
    padding: 60px 5% 20px 5%;
    text-align: center;
}

footer h2 { margin-bottom: 10px; }

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 40px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .legacy-section { grid-template-columns: 1fr; }

    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    .hero { padding: 80px 5%; }
    .launch-card { padding: 30px 20px; }
}
