:root {
    --bg-dark: #0B0E11;
    --bg-card: #1E2329;
    --gold: #F0B90B;
    --gold-hover: #D0A00A;
    --text-main: #EAECEF;
    --text-muted: #848E9C;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAVBAR */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 14, 17, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 24px;
    color: var(--gold);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}


.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.lang-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}


/* BUTTONS */
.btn {
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    display: inline-block;
}

.btn-outline {
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-gold {
    background-color: var(--gold);
    color: #000;
    border: none;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
}

.btn-text {
    color: var(--text-muted);
}

.btn-text:hover {
    color: var(--text-main);
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at center, #1b2026 0%, #0B0E11 70%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 100;
    max-width: 800px;
}

.cta-group {
    display: flex;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 101;
}

/* HEXAGON VISUAL */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
    opacity: 0.6;
}

.hexagon-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    animation: pulse 4s infinite ease-in-out;
}

.hexagon {
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 5 L90 25 V75 L50 95 L10 75 V25 Z' stroke='%23F0B90B' stroke-width='1'/%3E%3Cpath d='M50 15 L80 30 V70 L50 85 L20 70 V30 Z' stroke='%23F0B90B' stroke-width='0.5' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* SECTIONS */
.section-dark {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(30, 35, 41, 0.3) 100%);
}

.section-grid {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-family: var(--font-head);
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 64px;
}

.text-center {
    text-align: center;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--gold);
    font-family: var(--font-head);
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* PERSONAS */
.persona-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 24px;
    justify-content: center;
}

.persona-card {
    background: var(--bg-card);
    min-width: 280px;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.p-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.p-tag.maxi {
    background: #F7931A;
    color: white;
}

.p-tag.vc {
    background: #6C5DD3;
    color: white;
}

.p-tag.degen {
    background: #FF007A;
    color: white;
}

.p-tag.analyst {
    background: #00C853;
    color: white;
}

.persona-card h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-family: var(--font-head);
}

.persona-card p {
    font-style: italic;
    color: var(--text-muted);
    font-size: 14px;
}

/* BIG NUMBER */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.big-number {
    font-size: 300px;
    font-weight: 700;
    font-family: var(--font-head);
    color: rgba(255, 255, 255, 0.02);
    -webkit-text-stroke: 2px var(--gold);
}

.quote-box {
    border-left: 4px solid var(--gold);
    padding-left: 24px;
    margin-top: 32px;
    font-size: 18px;
    color: var(--text-main);
}

.quote-author {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

/* LIVE DEMO */
.section-demo {
    padding: 60px 0;
    background: #0B0E11;
}

.browser-mockup {
    max-width: 600px;
    margin: 40px auto 0;
    background: #000;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(240, 185, 11, 0.1);
}

.mockup-header {
    background: #15181C;
    padding: 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.red {
    background: #FF5F56;
}

.yellow {
    background: #FFBD2E;
}

.green {
    background: #27C93F;
}

.url-bar {
    background: #000;
    color: #444;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    flex-grow: 1;
    text-align: center;
    margin-left: 12px;
    font-family: monospace;
}

.mockup-body {
    padding: 24px;
    text-align: left;
    font-family: var(--font-body);
}

.tweet {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.avatar,
.avatar-me {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.avatar-me {
    background: #1D9BF0;
}

.name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.text {
    font-size: 14px;
    line-height: 1.4;
    color: #EAECEF;
}

.reply-area {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.reply-input-wrapper {
    flex-grow: 1;
}

.reply-text {
    font-size: 14px;
    color: var(--gold);
    min-height: 40px;
}

.toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.icon {
    font-size: 14px;
    color: var(--gold);
    opacity: 0.5;
}

.ai-btn-wrapper {
    position: relative;
    display: inline-block;
}

.ai-btn-demo {
    width: 32px;
    height: 32px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--gold);
    animation: goldPulse 2s infinite;
}

/* ANIMATIONS FOR CZ & YI */
.cz-animation {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 32px 0;
    height: 60px;
}

.cz-hand {
    font-size: 40px;
    animation: handRaise 2s infinite alternate;
}

.fud-particles span {
    font-size: 10px;
    color: #FF5F56;
    margin-right: 8px;
    opacity: 0;
    display: inline-block;
}

.fud-particles span:nth-child(1) {
    animation: fadeOut 2s infinite;
}

.fud-particles span:nth-child(2) {
    animation: fadeOut 2s infinite 0.5s;
}

.fud-particles span:nth-child(3) {
    animation: fadeOut 2s infinite 1s;
}

.shield-container {
    position: relative;
    display: inline-block;
}

.shield-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px dashed var(--gold);
    border-radius: 50%;
    animation: spinSlow 10s linear infinite;
    opacity: 0.3;
}

/* HE YI WAVES */
.yi-wave-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 30px;
    gap: 4px;
    margin: 20px 0;
}

.wave-bar {
    width: 4px;
    background: var(--gold);
    animation: wave 1s infinite ease-in-out;
}

.wave-bar:nth-child(1) {
    height: 10px;
    animation-delay: 0s;
}

.wave-bar:nth-child(2) {
    height: 20px;
    animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
    height: 30px;
    animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
    height: 20px;
    animation-delay: 0.3s;
}

.wave-bar:nth-child(5) {
    height: 10px;
    animation-delay: 0.4s;
}

@keyframes goldPulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes handRaise {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes wave {

    0%,
    100% {
        height: 10px;
    }

    50% {
        height: 30px;
    }
}

/* FOOTER */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.safu-badge {
    font-size: 12px;
    color: #00C853;
    background: rgba(0, 200, 83, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 12px;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .mascot-cz,
    .mascot-yi {
        display: none;
        /* Hide on mobile to save space */
    }

    .persona-scroll {
        justify-content: flex-start;
    }
}

/* HERO MASCOTS */
.mascot-hero-left {
    position: absolute;
    top: 20vh;
    left: 2%;
    width: 250px;
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
    transform: rotate(-10deg);
    z-index: 5;
    opacity: 0.9;
}

.mascot-hero-right {
    position: absolute;
    top: 20vh;
    right: 2%;
    width: 220px;
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
    transform: rotate(10deg);
    z-index: 5;
    opacity: 0.9;
}

.floating {
    animation: float 4s ease-in-out infinite;
}

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

@keyframes float {
    0% {
        transform: translateY(0px) rotate(var(--r, 0deg));
    }

    50% {
        transform: translateY(-15px) rotate(var(--r, 0deg));
    }

    100% {
        transform: translateY(0px) rotate(var(--r, 0deg));
    }
}

/* Adjust rotation for animation */
.mascot-hero-left {
    --r: -10deg;
}

.mascot-hero-right {
    --r: 10deg;
}

/* HERO ASSETS */
.asset-rocket {
    position: absolute;
    bottom: 10%;
    left: 15%;
    width: 120px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(240, 185, 11, 0.4));
    opacity: 0.8;
}

.asset-btc {
    position: absolute;
    top: 15%;
    left: 25%;
    width: 80px;
    height: auto;
    z-index: 1;
    opacity: 0.6;
}

.asset-bnb {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 90px;
    height: auto;
    z-index: 1;
    opacity: 0.6;
}

/* ANIMATION VARIANTS */
.floating-fast {
    animation: float 3s ease-in-out infinite;
}

.floating-reverse {
    animation: floatReverse 5s ease-in-out infinite;
}

.floating-delayed {
    animation: float 5s ease-in-out 1s infinite;
}

@keyframes floatReverse {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(15px) rotate(-5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .mascot-hero-left,
    .mascot-hero-right {
        display: none;
    }

    .asset-rocket,
    .asset-btc,
    .asset-bnb {
        opacity: 0.3;
        /* Dig deeper into background on mobile */
        width: 60px;
    }

    .asset-rocket {
        left: 5%;
        bottom: 5%;
    }
}