
:root {
    --bg: #090811;
    --bg-soft: #0e0c19;
    --surface: #13111f;
    --surface-light: #191626;
    --purple: #9562ff;
    --purple-light: #b995ff;
    --text: #f6f3ff;
    --muted: #aaa4bd;
    --border: rgba(255, 255, 255, 0.08);
    --font: "DM Sans", sans-serif;
    --heading: "Space Grotesk", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.page-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    top: -350px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(126, 76, 255, 0.12);
    filter: blur(130px);
    pointer-events: none;
    z-index: -1;
}

.section-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(9, 8, 17, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    position: relative;
    width: min(1240px, calc(100% - 48px));
    height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--heading);
    font-size: 21px;
    font-weight: 700;
    flex-shrink: 0;
}

.brand img {
    width: 39px;
    height: 39px;
    object-fit: cover;
    border-radius: 12px;
}

.brand-dot {
    color: var(--purple-light);
}

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

.nav-links a {
    color: var(--muted);
    font-size: 13px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: white;
}

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

.btn {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s ease;
    cursor: pointer;
}

.btn img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, #9b6aff, #7142dc);
    box-shadow: 0 7px 25px rgba(137, 83, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(137, 83, 255, 0.35);
}

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

.btn-ghost:hover,
.btn-secondary:hover {
    border-color: rgba(185, 149, 255, 0.45);
    background: rgba(149, 98, 255, 0.08);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
    background: rgba(255, 255, 255, 0.025);
}

.btn-large {
    min-height: 51px;
    padding: 0 23px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: white;
    border-radius: 3px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-action {
    display: none;
}

/* HERO */

.hero {
    min-height: 660px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
    padding-top: 75px;
    padding-bottom: 90px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--purple-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.eyebrow img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.hero h1 {
    margin-top: 25px;
    font-family: var(--heading);
    font-size: clamp(45px, 5.6vw, 72px);
    line-height: 1.06;
    letter-spacing: -3px;
}

.hero h1 span,
.section-heading h2 span,
.about-content h2 span,
.cta-content h2 span {
    color: var(--purple-light);
}

.hero-description {
    max-width: 490px;
    margin-top: 23px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 27px;
    color: #8f89a3;
    font-size: 11px;
}

.hero-note img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.hero-visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(149, 98, 255, 0.13);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    width: 420px;
    height: 420px;
}

.orbit-two {
    width: 520px;
    height: 520px;
    border-color: rgba(149, 98, 255, 0.07);
}

.bot-window {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    background: #151321;
    border: 1px solid rgba(185, 149, 255, 0.18);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.45);
    transform: rotate(-2deg);
}

.window-header {
    height: 51px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    color: #9d96b2;
    font-size: 11px;
}

.window-header > img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #655b7c;
}

.discord-message {
    padding: 28px 20px;
    display: flex;
    gap: 13px;
}

.message-avatar img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-author {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
}

.bot-tag {
    padding: 2px 5px;
    background: #6950c9;
    border-radius: 4px;
    color: white;
    font-size: 8px;
}

.message-author small {
    color: #777186;
    font-size: 9px;
    font-weight: 400;
}

.welcome-embed {
    display: flex;
    margin-top: 14px;
    background: #1d1a2b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.embed-line {
    width: 4px;
    flex-shrink: 0;
    background: var(--purple);
}

.embed-body {
    padding: 17px;
}

.embed-title {
    font-size: 13px;
    font-weight: 700;
}

.embed-body p {
    margin-top: 10px;
    color: #b4adc4;
    font-size: 11px;
    line-height: 1.7;
}

.embed-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 19px;
    color: #8e879e;
    font-size: 9px;
}

.embed-footer img {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    object-fit: cover;
}

.window-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 19px;
    border-top: 1px solid var(--border);
    color: #8e879e;
    font-size: 10px;
}

.power-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.floating-tag {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    background: #1b1828;
    border: 1px solid rgba(185, 149, 255, 0.17);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    font-size: 11px;
    font-weight: 700;
}

.floating-tag img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.tag-top {
    top: 23px;
    right: -5px;
}

.tag-bottom {
    bottom: 23px;
    left: -15px;
}

/* FUNCIONES */

.features-section {
    padding-top: 80px;
    padding-bottom: 110px;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2 {
    margin-top: 17px;
    font-family: var(--heading);
    font-size: clamp(30px, 4vw, 43px);
    letter-spacing: -1.5px;
}

.section-heading p {
    max-width: 540px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-card {
    min-height: 220px;
    padding: 25px;
    background: linear-gradient(145deg, #151321, #100e19);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(149, 98, 255, 0.4);
    background: #191527;
}

.feature-icon,
.legal-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(149, 98, 255, 0.12);
    border: 1px solid rgba(149, 98, 255, 0.13);
    border-radius: 12px;
}

.feature-icon img,
.legal-icon img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.feature-card h3 {
    margin-top: 20px;
    font-family: var(--heading);
    font-size: 17px;
}

.feature-card p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.feature-status {
    display: inline-block;
    margin-top: 17px;
    color: var(--purple-light);
    font-size: 10px;
    font-weight: 700;
}

/* SOBRE DOPY */

.about-section {
    min-height: 480px;
    padding-top: 65px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.about-visual {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(135, 84, 255, 0.28);
    filter: blur(75px);
}

.about-logo {
    position: relative;
    z-index: 2;
    width: 185px;
    height: 185px;
    padding: 12px;
    background: #171323;
    border: 1px solid rgba(185, 149, 255, 0.3);
    border-radius: 38px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
    transform: rotate(-7deg);
}

.about-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.about-orbit {
    position: absolute;
    border: 1px solid rgba(149, 98, 255, 0.17);
    border-radius: 50%;
}

.orbit-a {
    width: 300px;
    height: 300px;
}

.orbit-b {
    width: 370px;
    height: 370px;
}

.about-content h2 {
    margin-top: 18px;
    font-family: var(--heading);
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.about-content p {
    margin-top: 17px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 23px;
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 700;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

/* CTA */

.cta-section {
    padding-top: 35px;
    padding-bottom: 100px;
}

.cta-box {
    position: relative;
    padding: 65px 35px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(149, 98, 255, 0.2), transparent 65%),
        #151220;
    border: 1px solid rgba(149, 98, 255, 0.22);
    border-radius: 22px;
}

.cta-decoration {
    position: absolute;
    top: 25px;
    right: 35px;
    opacity: 0.16;
    transform: rotate(15deg);
}

.cta-decoration img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    margin-top: 17px;
    font-family: var(--heading);
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -1.4px;
}

.cta-content p {
    max-width: 540px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

/* LEGAL */

.legal-section {
    padding-top: 30px;
    padding-bottom: 100px;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.legal-card {
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.legal-card h3 {
    margin-top: 18px;
    font-family: var(--heading);
    font-size: 17px;
}

.legal-card p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.legal-label {
    display: inline-block;
    margin-top: 17px;
    padding: 6px 9px;
    color: #d5bfff;
    background: rgba(149, 98, 255, 0.1);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.legal-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    background: rgba(149, 98, 255, 0.06);
    border: 1px solid rgba(149, 98, 255, 0.14);
    border-radius: 10px;
}

.legal-notice img {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    object-fit: contain;
}

.legal-notice p {
    color: #b6aec9;
    font-size: 11px;
    line-height: 1.7;
}

/* FOOTER */

.footer {
    border-top: 1px solid var(--border);
    background: #08070e;
}

.footer-container {
    width: min(1160px, calc(100% - 48px));
    margin: auto;
    padding-top: 40px;
}

.footer-brand p {
    margin-top: 12px;
    color: #898397;
    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
}

.footer-links a {
    color: #aaa4bd;
    font-size: 11px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    color: #746e83;
    font-size: 10px;
}

/* TOAST */

.toast {
    position: fixed;
    z-index: 200;
    left: 50%;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    background: #211b31;
    border: 1px solid rgba(185, 149, 255, 0.25);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 15px);
    transition: 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.toast img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* TABLET */

@media (max-width: 950px) {
    .nav-links {
        gap: 17px;
    }

    .hero {
        gap: 25px;
    }

    .hero h1 {
        font-size: 57px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        gap: 40px;
    }
}

/* MÓVIL */

@media (max-width: 720px) {

    .section-container,
    .nav-container,
    .footer-container {
        width: min(100% - 36px, 560px);
    }

    .nav-container {
        height: 70px;
    }

    .menu-toggle {
        display: block;
        order: 3;
        position: relative;
        z-index: 110;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 105;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 12px 22px 20px;
        background: #100e19;
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    .mobile-nav-action {
        display: block;
        color: var(--purple-light) !important;
        font-weight: 700;
    }

    .mobile-invite {
        margin-top: 8px;
        padding: 12px 15px !important;
        background: rgba(149, 98, 255, 0.13);
        border: 1px solid rgba(149, 98, 255, 0.2) !important;
        border-radius: 9px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 75px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(47px, 12vw, 65px);
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-visual {
        min-height: 350px;
    }

    .bot-window {
        transform: none;
    }

    .orbit-one {
        width: 320px;
        height: 320px;
    }

    .orbit-two {
        width: 390px;
        height: 390px;
    }

    .tag-top {
        right: -3px;
    }

    .tag-bottom {
        left: -3px;
    }

    .features-section {
        padding-top: 50px;
        padding-bottom: 75px;
    }

    .features-grid {
        gap: 11px;
    }

    .feature-card {
        min-height: 220px;
        padding: 18px;
    }

    .feature-card h3 {
        font-size: 15px;
    }

    .feature-card p {
        font-size: 11px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 30px;
        padding-bottom: 75px;
    }

    .about-visual {
        min-height: 290px;
    }

    .about-logo {
        width: 150px;
        height: 150px;
        border-radius: 30px;
    }

    .about-logo img {
        border-radius: 21px;
    }

    .orbit-a {
        width: 250px;
        height: 250px;
    }

    .orbit-b {
        width: 310px;
        height: 310px;
    }

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

    .cta-section {
        padding-bottom: 75px;
    }

    .cta-box {
        padding: 48px 20px;
    }

    .legal-section {
        padding-bottom: 75px;
    }

    .footer-bottom {
        flex-direction: column;
        line-height: 1.6;
    }
}

/* MÓVILES PEQUEÑOS */

@media (max-width: 430px) {

    .section-container,
    .nav-container,
    .footer-container {
        width: calc(100% - 30px);
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 315px;
    }

    .discord-message {
        padding: 20px 12px;
        gap: 9px;
    }

    .message-avatar img {
        width: 33px;
        height: 33px;
    }

    .embed-body {
        padding: 12px;
    }

    .floating-tag {
        padding: 9px 11px;
        font-size: 9px;
    }

    .floating-tag img {
        width: 16px;
        height: 16px;
    }

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

    .feature-card {
        min-height: auto;
    }

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

    .section-heading h2 {
        font-size: 30px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .footer-links {
        gap: 15px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
