:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #f27d26; /* Orange from Recipe 2 */
    --secondary-color: #1a1a1a;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.2) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
}

header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-connect {
    background-color: #ffffff;
    border: none;
    color: #000000;
    padding: 0.5rem 1.5rem;
    margin-left: 2rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-connect:hover {
    background-color: #f0f0f0;
}

.btn-connect.connected {
    border-color: #00ff00;
    color: #00ff00;
}

.btn-connect.connected:hover {
    background-color: #00ff00;
    color: #000000;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 8rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glitch-wrapper {
    margin-bottom: 1rem;
}

.glitch {
    font-size: 12rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    color: var(--text-color);
    letter-spacing: -6px;
    text-transform: uppercase;
    line-height: 0.8;
}

/* Scanline effect on the logo text */
.glitch::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.3) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
}

.badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-mainnet {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.badge-usd1 {
    background-color: var(--accent-color);
    color: #000000;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

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

.btn {
    padding: 1.2rem 4rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
    font-weight: 700;
    border: none;
}

/* Scanline effect on the button - removed for clean white look */
.btn-primary::after {
    display: none;
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-primary.connected {
    background-color: #00ff00;
    color: #000000;
    border-color: #00ff00;
}

.btn-primary.connected:hover {
    background-color: #00cc00;
}

.arrow {
    margin-left: 0.5rem;
    font-weight: 400;
}

.content-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    letter-spacing: -2px;
    color: var(--text-color);
}

.manifesto-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
}

.stat-card .label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-mono);
}

.text-red {
    color: var(--accent-color);
}

footer {
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 0.7rem;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    border: 2px solid var(--accent-color);
    padding: 2.5rem 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: rgba(242, 125, 38, 0.05);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glitch {
        font-size: 4rem;
        letter-spacing: -2px;
    }
    
    .subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .manifesto-text p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    header {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }

    main {
        padding: 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .badges {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .badge {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
