/* ============================================
   $DISS / DISSENSUS — Landing Page Styles
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0f;
    --bg-card: #111118;
    --bg-card-hover: #16161f;
    --red: #FF3B3B;
    --red-glow: rgba(255, 59, 59, 0.3);
    --green: #00FF88;
    --green-glow: rgba(0, 255, 136, 0.3);
    --cyan: #00D4FF;
    --cyan-glow: rgba(0, 212, 255, 0.3);
    --purple: #8B5CF6;
    --purple-glow: rgba(139, 92, 246, 0.3);
    --white: #FFFFFF;
    --gray-100: #F1F1F1;
    --gray-300: #A0A0B0;
    --gray-500: #6B6B80;
    --gray-700: #2A2A3A;
    --gray-900: #111118;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--green);
    text-shadow: 0 0 10px var(--green-glow);
}

/* === ANIMATED BACKGROUND === */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-logo .diss {
    color: var(--purple);
    text-shadow: 0 0 20px var(--purple-glow);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--white);
    text-shadow: none;
}

.btn-buy {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    text-shadow: none;
}

/* Launch App button — Nav */
.btn-launch {
    background: linear-gradient(135deg, #00FF88, #00D4FF);
    color: #0A0A0F !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-shadow: none !important;
    animation: launchPulse 2s ease-in-out infinite;
}

.btn-launch:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.4);
    color: #0A0A0F !important;
    text-shadow: none !important;
}

/* Launch App button — Hero & CTA (larger) */
.btn-launch-hero {
    background: linear-gradient(135deg, #00FF88, #00D4FF);
    color: #0A0A0F;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: none;
    animation: launchPulse 2s ease-in-out infinite;
    position: relative;
}

.btn-launch-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.5), 0 0 60px rgba(0, 212, 255, 0.2);
    color: #0A0A0F;
    text-shadow: none;
}

@keyframes launchPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.2); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 136, 0.4), 0 0 50px rgba(0, 212, 255, 0.15); }
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
}

.hero-glow.red { background: var(--red); top: 10%; left: 10%; }
.hero-glow.green { background: var(--green); top: 5%; right: 10%; }
.hero-glow.cyan { background: var(--cyan); bottom: 10%; left: 50%; transform: translateX(-50%); }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--purple);
    margin-bottom: 2rem;
    z-index: 1;
    animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: rgba(139, 92, 246, 0.3); }
    50% { border-color: rgba(139, 92, 246, 0.7); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    z-index: 1;
}

.hero-title .ticker {
    background: linear-gradient(135deg, var(--purple), var(--cyan), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gray-300);
    margin-bottom: 1rem;
    z-index: 1;
    font-weight: 400;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 3rem;
    z-index: 1;
    font-style: italic;
}

.hero-agents {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
}

.agent-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid;
}

.agent-chip.cipher {
    color: var(--red);
    border-color: rgba(255, 59, 59, 0.3);
    background: rgba(255, 59, 59, 0.05);
}

.agent-chip.nova {
    color: var(--green);
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
}

.agent-chip.prism {
    color: var(--cyan);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
    color: var(--white);
    text-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.1);
    color: var(--white);
    text-shadow: none;
}

/* === SECTIONS COMMON === */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--purple);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 700px;
    margin-bottom: 3rem;
}

/* === WHAT IS SECTION === */
.what-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.what-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.what-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
}

.what-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.what-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.what-card p {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === AGENTS SECTION === */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.agent-card {
    background: var(--bg-card);
    border: 1px solid;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.agent-card.cipher {
    border-color: rgba(255, 59, 59, 0.15);
}
.agent-card.cipher::before { background: var(--red); }
.agent-card.cipher:hover {
    border-color: rgba(255, 59, 59, 0.4);
    box-shadow: 0 0 40px rgba(255, 59, 59, 0.1);
}

.agent-card.nova {
    border-color: rgba(0, 255, 136, 0.15);
}
.agent-card.nova::before { background: var(--green); }
.agent-card.nova:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.1);
}

.agent-card.prism {
    border-color: rgba(0, 212, 255, 0.15);
}
.agent-card.prism::before { background: var(--cyan); }
.agent-card.prism:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

/* Agent Portrait Styling */
.agent-portrait-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.agent-portrait {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.agent-card.cipher .agent-portrait {
    border-color: var(--red);
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.25), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.agent-card.cipher:hover .agent-portrait {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 0 35px rgba(255, 59, 59, 0.45), 0 12px 32px rgba(0, 0, 0, 0.5);
    border-color: #ff5555;
}

.agent-card.nova .agent-portrait {
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.25), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.agent-card.nova:hover .agent-portrait {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 0 35px rgba(0, 255, 136, 0.45), 0 12px 32px rgba(0, 0, 0, 0.5);
    border-color: #33ff99;
}

.agent-card.prism .agent-portrait {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.agent-card.prism:hover .agent-portrait {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.45), 0 12px 32px rgba(0, 0, 0, 0.5);
    border-color: #33ddff;
}

/* Legacy fallback */
.agent-card .agent-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.agent-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.agent-card .agent-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.agent-card.cipher .agent-role { color: var(--red); }
.agent-card.nova .agent-role { color: var(--green); }
.agent-card.prism .agent-role { color: var(--cyan); }

.agent-card .agent-desc {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.7;
}

.agent-card .agent-quote {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* === HOW IT WORKS === */
.phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.phase-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
}

.phase-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.phase-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.phase-card p {
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* === TOKENOMICS === */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.token-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.token-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.token-card .token-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.token-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.token-card p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* === UTILITY EVOLUTION === */
.evolution {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.evo-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.evo-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.evo-card .evo-phase {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

.evo-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.evo-card ul {
    list-style: none;
    padding: 0;
}

.evo-card ul li {
    color: var(--gray-300);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.evo-card ul li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    font-size: 0.7rem;
}

/* === ROADMAP === */
.roadmap {
    position: relative;
}

.roadmap-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--purple), var(--cyan), var(--green));
    opacity: 0.3;
}

.roadmap-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-dot {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1;
}

.roadmap-dot.active {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    border-color: transparent;
}

.roadmap-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.roadmap-content .quarter {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.roadmap-content p {
    color: var(--gray-300);
    font-size: 0.95rem;
}

/* === CTA SECTION === */
.cta-section {
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
}

.cta-section .cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--purple);
    filter: blur(200px);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    z-index: 1;
    position: relative;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    z-index: 1;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 1;
    position: relative;
}

/* === FOOTER === */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    color: var(--gray-700);
    font-size: 0.8rem;
}

/* === CONTRACT ADDRESS BAR === */
.contract-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    margin-top: 2rem;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contract-bar:hover {
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.05);
}

.contract-bar .label {
    color: var(--gray-500);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contract-bar .copy-icon {
    color: var(--purple);
    cursor: pointer;
}

/* === ANIMATIONS === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fade-in-up 0.8s ease forwards;
}

.fade-in.d1 { animation-delay: 0.1s; }
.fade-in.d2 { animation-delay: 0.2s; }
.fade-in.d3 { animation-delay: 0.3s; }
.fade-in.d4 { animation-delay: 0.4s; }
.fade-in.d5 { animation-delay: 0.5s; }
.fade-in.d6 { animation-delay: 0.6s; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .hero { padding: 6rem 1.5rem 3rem; }
    
    section { padding: 4rem 1.5rem; }
    
    .hero-agents { flex-direction: column; align-items: center; }
    
    .agents-grid { grid-template-columns: 1fr; }
    
    .phases { grid-template-columns: 1fr 1fr; }
    
    .roadmap-line { left: 24px; }
}

@media (max-width: 480px) {
    .phases { grid-template-columns: 1fr; }
    
    .hero-cta { flex-direction: column; width: 100%; }
    
    .btn-primary, .btn-secondary, .btn-launch-hero { width: 100%; justify-content: center; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}