* {
        box-sizing: border-box;
}

html,
body {
        height: 100%;
        overflow-x: hidden;
}

body {
        margin: 0;
        font-family: 'Nunito', sans-serif !important;
        background: radial-gradient(
                circle at 25% 20%,
                #16161f 0%,
                #0a0a0e 45%,
                #06060b 100%
        );
        color: #eef3ff;
        -webkit-font-smoothing: antialiased;
        line-height: 1.6;
        display: flex;
        justify-content: center;
        background: #0f0f13;
}

.site {
        width: 100%;
        max-width: var(1100px);
        display: flex;
        flex-direction: column;
        gap: 36px;
        padding: 28px;
        height: fit-content;
}

/* HERO */
.hero {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 36px;
        align-items: center;
        padding: 40px;
        border-radius: 20px;
        background: linear-gradient(
                135deg,
                rgba(123, 54, 235, 0.28),
                rgba(184, 20, 72, 0.15)
        );
        border: 1px solid rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(16px);
        box-shadow: 0 10px 48px rgba(0, 0, 0, 0.65);
        overflow: visible;
}

.hero-left {
        padding: 20px;
}

.hero-right {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-right: 18px;
}

/* BRAND */
.brand {
        display: flex;
        align-items: center;
        gap: 18px;
}

.brand img {
        width: 98px;
        height: 98px;
        object-fit: cover;
        border-radius: 18px;
        background: linear-gradient(45deg, #7b36eb, #b81448);
        padding: 10px;
        box-shadow:
                0 10px 24px rgba(0, 0, 0, 0.6),
                inset 0 -4px 12px rgba(0, 0, 0, 0.22);
        transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1.1);
}

.brand img:hover {
        transform: scale(1.07) rotate(1.5deg);
}

.brand-nobg img {
        width: 98px;
        height: 98px;
        object-fit: cover;
        border-radius: 18px;
        padding: 10px;
        transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1.1);
}

.brand-nobg img:hover {
        transform: scale(1.07) rotate(1.5deg);
}

.brand h1 {
        margin: 0;
        font-size: 32px;
        letter-spacing: 0.4px;
        font-weight: 800;
}

.brand .tag {
        color: var(--muted);
        font-size: 14px;
        opacity: 0.85;
        margin-top: 6px;
}

/* HERO COPY */
.hero-copy {
        margin-top: 18px;
        padding: 20px;
        border-radius: 16px;
        font-size: 15.6px;
        line-height: 1.6;
        color: #f3f6ff;
        background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.04),
                rgba(255, 255, 255, 0.02)
        );
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.04);
}

/* CTA CARD */
.cta-card {
        width: 100%;
        max-width: 400px;
        padding: 24px;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.04),
                rgba(255, 255, 255, 0.02)
        );
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.version {
        padding: 6px 12px;
        background: linear-gradient(
                90deg,
                rgba(123, 54, 235, 0.28),
                rgba(184, 20, 72, 0.15)
        );
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        color: #7b36eb;
        font-size: 14px;
        font-weight: 700;
        width: max-content;
}

.cta-meta {
        color: var(--muted);
        font-size: 14px;
}

.cta-actions {
        display: flex;
        gap: 16px;
        margin-top: 10px;
}

/* BUTTONS */
.btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 18px;
        font-weight: 700;
        border-radius: 14px;
        cursor: pointer;
        text-decoration: none;
        color: white;
        border: 0;
        transition:
                transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1.1),
                box-shadow 0.2s ease;
}

.btn-primary {
        background-image: linear-gradient(90deg, #7b36eb, #b81448);
        box-shadow: 0 12px 28px rgba(123, 54, 235, 0.28);
}

.btn-primary:hover {
        transform: scale(1.07);
        box-shadow: 0 16px 36px rgba(123, 54, 235, 0.36);
}

.btn-ghost {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--muted);
        font-weight: 600;
        backdrop-filter: blur(6px);
        transition:
                background 0.2s ease,
                color 0.2s ease;
}

.btn-ghost:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #f0f4ff;
}

/* CARDS */
.row {
        display: flex;
        flex-wrap: wrap;
        gap: 22px;
}

.card {
        position: relative;
        flex: 1 1 260px;
        padding: 22px;
        border-radius: 16px;
        background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.04),
                rgba(255, 255, 255, 0.02)
        );
        border: 1px solid rgba(255, 255, 255, 0.05);
        overflow: hidden;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
        transition: transform 100ms;
        text-decoration: none;
        color: var(--muted);
}

.card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.3),
                rgba(255, 255, 255, 0.05)
        );
        mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
        mask-composite: exclude;
        pointer-events: none;
}

.card img {
        width: 100%;
        aspect-ratio: 16 / 9; /* forces YouTube-style widescreen */
        object-fit: cover; /* crops neatly if needed */
        border-radius: 12px;
        margin-bottom: 14px;
        display: block;
}

.card:hover {
        transform: scale(103%);
}

/* FEATURE LIST */
.features-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 12px;
}

.features-list li {
        display: flex;
        gap: 12px;
        align-items: center;
        color: #e6edff;
}

/* PILL */
.pill {
        background: rgba(255, 255, 255, 0.05);
        padding: 6px 12px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 13px;
        color: #e7defb;
        border: 1px solid rgba(255, 255, 255, 0.06);
        min-width: 56px;
        text-align: center;
}

/* SOCIALS */
.socials {
        display: flex;
        gap: 16px;
        align-items: center;
        justify-content: center;
        margin-top: 12px;
}

.social-btn {
        display: inline-flex;
        gap: 10px;
        align-items: center;
        padding: 10px 16px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        color: var(--muted);
        font-weight: 700;
        text-decoration: none;
        transition:
                background 0.2s ease,
                color 0.2s ease,
                transform 0.2s ease;
}

.social-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #eef3ff;
        transform: scale(105%);
}
.social-btn {
        position: relative;
        z-index: 9999;
        pointer-events: auto;
}
.social-btn * {
        pointer-events: none;
}
/* FOOTER */
footer {
        padding: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: space-between;
        color: var(--muted);
}

.credits {
        max-width: 640px;
        font-size: 14px;
        color: #dce7ff;
}

.stats {
        min-width: 220px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        color: var(--muted);
}

.stats p {
        margin: 0;
        font-weight: 600;
        color: #d0e2ff;
}

/* GLOW */
.glow {
        position: absolute;
        right: -60px;
        top: -50px;
        width: 260px;
        height: 260px;
        background: radial-gradient(
                circle at 30% 30%,
                rgba(123, 54, 235, 0.32),
                rgba(184, 20, 72, 0.12) 45%,
                transparent 70%
        );
        filter: blur(36px);
        pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 880px) {
        .hero {
                grid-template-columns: 1fr;
                padding: 26px;
        }
        .glow {
                display: none;
        }
        .brand img {
                width: 72px;
                height: 72px;
        }
}

@media (max-width: 600px) {
        .site {
                gap: 22px;
        }
        .brand h1 {
                font-size: 22px;
        }
        .cta-card {
                padding: 18px;
        }
        .btn {
                padding: 10px 12px;
        }
        .navbar-hide-on-small {
                display: none;
        }
}

.bg-grid {
        position: absolute;
        inset: 0;
        background:
                repeating-linear-gradient(
                        0deg,
                        transparent 0 46px,
                        rgba(150, 90, 255, 0.18) 46px 48px
                ),
                repeating-linear-gradient(
                        90deg,
                        transparent 0 46px,
                        rgba(150, 90, 255, 0.18) 46px 48px
                );
}

.bg-glow-mask {
        position: absolute;
        inset: 0;
        mask:
                repeating-linear-gradient(
                        0deg,
                        transparent 0 46px,
                        black 46px 48px
                ),
                repeating-linear-gradient(
                        90deg,
                        transparent 0 46px,
                        black 46px 48px
                );
        -webkit-mask:
                repeating-linear-gradient(
                        0deg,
                        transparent 0 46px,
                        black 46px 48px
                ),
                repeating-linear-gradient(
                        90deg,
                        transparent 0 46px,
                        black 46px 48px
                );
        pointer-events: none;
}

.bg-glow {
        position: absolute;
        inset: -40%;
        background: linear-gradient(
                90deg,
                transparent 0%,
                rgba(190, 120, 255, 1) 50%,
                transparent 100%
        );
        filter: blur(12px);
        animation: bg-wave 12s linear infinite;
}

@keyframes bg-wave {
        0% {
                transform: translateX(-60%);
                opacity: 1;
        }
        20% {
                transform: translateX(60%);
                opacity: 1;
        }

        21% {
                opacity: 0;
        }
        100% {
                opacity: 0;
        }
}

.bg-container {
        min-width: 100%;
        min-height: 100vh;
        position: fixed;
        opacity: 0.1;
}

@media (max-width: 887px) {
        .hide-if-vertical {
                display: none;
        }
}

nav {
        position: fixed;
        width: 100vw;
        padding-top: 0 !important;
}

.navbar {
        border-top-right-radius: 0 !important;
        border-top-left-radius: 0 !important;
}

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

.full-wrapper {
        display: flex;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
}

.big-wrapper,
.partitioned-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
}

.partitioned-wrapper .dashed-box {
        flex: 1;
}

.big-wrapper .dashed-box {
        flex: 1;
}

.dashed-box {
        border: 2px dashed #555;
        border-radius: 1em;
        padding: 1rem;
}
