/* =========================================================
   DESIGNVERSE — MAIN STYLES
   Brand: BestB Designs
   ========================================================= */

/* =========================================================
   1. ROOT / DESIGN TOKENS
   ========================================================= */

:root {
    --bg-primary: #050508;
    --bg-secondary: #08080d;
    --bg-tertiary: #0d0d14;

    --surface: rgba(255, 255, 255, 0.055);
    --surface-hover: rgba(255, 255, 255, 0.09);
    --surface-strong: rgba(255, 255, 255, 0.08);

    --border: rgba(255, 255, 255, 0.10);
    --border-light: rgba(255, 255, 255, 0.16);

    --text-primary: #ffffff;
    --text-secondary: #b7b7c7;
    --text-muted: #777787;

    --violet: #7c3aed;
    --violet-light: #a855f7;
    --blue: #2563eb;
    --blue-light: #38bdf8;
    --pink: #ec4899;

    --gradient-main:
        linear-gradient(
            135deg,
            #7c3aed 0%,
            #2563eb 55%,
            #ec4899 100%
        );

    --gradient-soft:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.25),
            rgba(37, 99, 235, 0.18),
            rgba(236, 72, 153, 0.12)
        );

    --shadow-soft:
        0 20px 60px rgba(0, 0, 0, 0.35);

    --shadow-glow:
        0 0 50px rgba(124, 58, 237, 0.18);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container-width: 1240px;

    --transition-fast: 180ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 600ms ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(124, 58, 237, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(37, 99, 235, 0.07),
            transparent 30%
        ),
        var(--bg-primary);

    color: var(--text-primary);

    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family:
        "Space Grotesk",
        "Inter",
        sans-serif;

    line-height: 1.1;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(3rem, 10vw, 8rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    color: var(--text-secondary);
}


/* =========================================================
   4. GLOBAL UTILITIES
   ========================================================= */

.container {
    width: min(
        calc(100% - 32px),
        var(--container-width)
    );

    margin-inline: auto;
}

.section {
    position: relative;
    padding: 100px 0;
}

.glass-card {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid var(--border);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        var(--shadow-soft);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}


/* =========================================================
   5. BACKGROUND EFFECTS
   ========================================================= */

.background-effects {
    position: fixed;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: -1;
}

.orb {
    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.18;
}

.orb-one {
    top: 5%;
    left: -120px;
    background: var(--violet);
}

.orb-two {
    top: 35%;
    right: -140px;
    background: var(--blue);
}

.orb-three {
    bottom: -120px;
    left: 40%;
    background: var(--pink);
}

.grid-overlay {
    position: absolute;
    inset: 0;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );
}


/* =========================================================
   6. HEADER / NAVBAR
   ========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    transition:
        background var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(5, 5, 8, 0.78);

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.navbar {
    min-height: 82px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


/* Brand */

.brand {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.brand-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.95),
            rgba(37, 99, 235, 0.9)
        );

    box-shadow:
        0 0 25px rgba(124, 58, 237, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.brand-icon span {
    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: -0.05em;
}

.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.brand-name {
    font-family: "Space Grotesk", sans-serif;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: 0.04em;
}

.brand-subtitle {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 0.18em;
}


/* Desktop nav */

.desktop-nav {
    display: flex;

    align-items: center;

    gap: 30px;

    margin-left: auto;
}

.desktop-nav a {
    position: relative;

    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 500;

    transition:
        color var(--transition-fast);
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 99px;

    background: var(--gradient-main);

    transform: translateX(-50%);

    transition: width var(--transition-fast);
}

.desktop-nav a:hover {
    color: var(--text-primary);
}

.desktop-nav a:hover::after {
    width: 18px;
}


/* Navigation actions */

.nav-actions {
    display: flex;

    align-items: center;

    gap: 14px;
}

.nav-login {
    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 600;

    transition: color var(--transition-fast);
}

.nav-login:hover {
    color: white;
}


/* =========================================================
   7. BUTTONS
   ========================================================= */

.btn {
    min-height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 20px;

    border-radius: 13px;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-main);

    box-shadow:
        0 12px 30px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
    box-shadow:
        0 16px 40px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    border: 1px solid var(--border-light);

    background: rgba(255, 255, 255, 0.045);

    color: var(--text-primary);

    backdrop-filter: blur(16px);
}

.btn-secondary:hover {
    background: var(--surface-hover);

    border-color: rgba(255, 255, 255, 0.25);
}

.btn-small {
    min-height: 42px;

    padding-inline: 16px;

    font-size: 13px;
}

.btn-large {
    min-height: 56px;

    padding-inline: 28px;

    font-size: 15px;
}


/* =========================================================
   8. MOBILE NAVIGATION
   ========================================================= */

.mobile-menu-button {
    width: 44px;
    height: 44px;

    display: none;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--surface);

    color: white;

    font-size: 18px;
}

.mobile-nav {
    display: none;
}


/* =========================================================
   9. HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    display: flex;

    align-items: center;

    padding-top: 150px;
    padding-bottom: 80px;
}

.hero-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    align-items: center;

    gap: 60px;
}

.hero-content {
    position: relative;

    z-index: 2;
}

.eyebrow {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 12px;

    margin-bottom: 25px;

    border: 1px solid rgba(168, 85, 247, 0.25);

    border-radius: 999px;

    background:
        rgba(124, 58, 237, 0.08);

    color: #d8c4ff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #a855f7;

    box-shadow:
        0 0 14px #a855f7;
}

.hero-title {
    max-width: 800px;

    margin-bottom: 28px;

    font-size: clamp(
        4rem,
        8.5vw,
        8.3rem
    );

    font-weight: 700;

    letter-spacing: -0.075em;

    line-height: 0.88;
}

.hero-title span {
    display: block;

    background:
        linear-gradient(
            100deg,
            #ffffff 5%,
            #a855f7 40%,
            #38bdf8 75%,
            #ec4899
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;
}

.hero-description {
    max-width: 620px;

    margin-bottom: 34px;

    font-size: 17px;

    line-height: 1.8;
}

.hero-description strong {
    color: white;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.hero-trust {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 34px;
}

.avatar-stack {
    display: flex;

    padding-left: 8px;
}

.avatar {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    margin-left: -8px;

    border: 2px solid var(--bg-primary);

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    color: white;

    font-size: 10px;
    font-weight: 800;
}

.avatar-two {
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #38bdf8
        );
}

.avatar-three {
    background:
        linear-gradient(
            135deg,
            #ec4899,
            #7c3aed
        );
}

.avatar-four {
    background:
        linear-gradient(
            135deg,
            #38bdf8,
            #7c3aed
        );
}

.trust-text {
    display: flex;

    flex-direction: column;

    font-size: 11px;
}

.trust-text strong {
    color: white;

    font-size: 12px;
}

.trust-text span {
    color: var(--text-muted);
}


/* =========================================================
   10. HERO VISUAL
   ========================================================= */

.hero-visual {
    position: relative;

    min-height: 580px;

    display: grid;

    place-items: center;
}

.hero-planet {
    position: relative;

    width: 300px;
    height: 300px;

    display: grid;
    place-items: center;

    border-radius: 50%;
}

.planet-glow {
    position: absolute;
    inset: -30px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(124, 58, 237, 0.35),
            rgba(37, 99, 235, 0.08) 45%,
            transparent 70%
        );

    filter: blur(10px);
}

.planet-core {
    position: relative;

    width: 210px;
    height: 210px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255, 255, 255, 0.22),
            transparent 20%
        ),
        radial-gradient(
            circle at 60% 60%,
            #7c3aed,
            #16112d 65%,
            #050508 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
        inset -30px -20px 70px rgba(0, 0, 0, 0.7),
        inset 15px 10px 35px rgba(255, 255, 255, 0.08),
        0 0 70px rgba(124, 58, 237, 0.45);
}

.planet-core::before {
    content: "";

    position: absolute;

    inset: 10px;

    border-radius: inherit;

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.planet-dv {
    position: relative;

    z-index: 2;

    font-family: "Space Grotesk", sans-serif;

    font-size: 58px;
    font-weight: 800;

    letter-spacing: -0.1em;

    background:
        linear-gradient(
            135deg,
            white,
            #c4b5fd 45%,
            #38bdf8
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero-orbit {
    position: absolute;

    width: 450px;
    height: 160px;

    border: 1px solid rgba(168, 85, 247, 0.3);

    border-radius: 50%;

    transform: rotate(-25deg);
}

.orbit-two {
    width: 520px;
    height: 210px;

    transform: rotate(25deg);

    border-color:
        rgba(56, 189, 248, 0.2);
}

.orbit-three {
    width: 370px;
    height: 130px;

    transform: rotate(75deg);

    border-color:
        rgba(236, 72, 153, 0.22);
}

.orbit-dot {
    position: absolute;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    box-shadow:
        0 0 20px currentColor;
}

.dot-one {
    top: 18%;

    right: 19%;

    color: #a855f7;

    background: currentColor;
}

.dot-two {
    bottom: 17%;

    left: 18%;

    color: #38bdf8;

    background: currentColor;
}

.dot-three {
    top: 35%;

    left: 5%;

    color: #ec4899;

    background: currentColor;
}


/* Floating cards */

.floating-card {
    position: absolute;

    min-width: 175px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background:
        rgba(10, 10, 16, 0.72);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.floating-card span {
    display: block;

    margin-bottom: 2px;

    color: var(--text-muted);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.floating-card strong {
    font-size: 13px;
}

.floating-card-top {
    top: 18%;

    right: 0;
}

.floating-card-bottom {
    bottom: 17%;

    left: 0;
}

.floating-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        rgba(124, 58, 237, 0.18);

    color: #c4b5fd;
}

.floating-icon.trophy {
    background:
        rgba(236, 72, 153, 0.14);

    color: #f9a8d4;
}


/* =========================================================
   11. STATS
   ========================================================= */

.stats-section {
    position: relative;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.018);
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    min-height: 130px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 3px;

    border-right: 1px solid var(--border);
}

.stat-item:first-child {
    border-left: 1px solid var(--border);
}

.stat-number {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(1.8rem, 4vw, 2.7rem);

    font-weight: 700;

    letter-spacing: -0.06em;
}

.stat-label {
    color: var(--text-muted);

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


/* =========================================================
   12. SECTION HEADINGS
   ========================================================= */

.section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 40px;
}

.section-label {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 10px;

    color: #c4b5fd;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.16em;
}

.section-label i {
    color: #a855f7;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 600;

    transition: color var(--transition-fast);
}

.text-link:hover {
    color: white;
}

.center-heading {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}

.center-heading h2 {
    margin-bottom: 15px;
}

.center-heading p {
    font-size: 15px;
}


/* =========================================================
   13. FEATURED CHALLENGE
   ========================================================= */

.featured-challenge {
    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    overflow: hidden;

    border-radius: var(--radius-xl);
}

.challenge-art {
    position: relative;

    min-height: 430px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 45px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(124, 58, 237, 0.45),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #0d0920,
            #101a3b
        );
}

.challenge-art-glow {
    position: absolute;

    width: 260px;
    height: 260px;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(168, 85, 247, 0.5),
            transparent 65%
        );

    transform: translate(-50%, -50%);

    filter: blur(8px);
}

.cyber-lines {
    position: absolute;
    inset: 0;

    opacity: 0.35;

    background-image:
        linear-gradient(
            90deg,
            transparent 48%,
            rgba(56, 189, 248, 0.25) 49%,
            transparent 50%
        ),
        linear-gradient(
            0deg,
            transparent 48%,
            rgba(168, 85, 247, 0.2) 49%,
            transparent 50%
        );

    background-size: 55px 55px;

    transform: perspective(500px) rotateX(60deg) scale(1.8);
}

.challenge-art-text {
    position: relative;

    z-index: 2;

    color: white;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(3rem, 7vw, 6rem);

    font-weight: 800;

    line-height: 0.82;

    letter-spacing: -0.08em;

    text-shadow:
        0 0 30px rgba(168, 85, 247, 0.6);
}

.challenge-art-text.second {
    color: #a855f7;
}

.challenge-art-circle {
    position: absolute;

    right: -70px;
    bottom: -70px;

    width: 260px;
    height: 260px;

    border: 1px solid rgba(56, 189, 248, 0.4);

    border-radius: 50%;

    box-shadow:
        0 0 80px rgba(56, 189, 248, 0.15);
}

.challenge-info {
    padding: 50px;
}

.challenge-meta {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;
}

.badge {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 9px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.badge-hot {
    background:
        rgba(236, 72, 153, 0.12);

    color: #f9a8d4;

    border: 1px solid rgba(236, 72, 153, 0.18);
}

.difficulty {
    color: var(--text-muted);

    font-size: 11px;
    font-weight: 600;
}

.challenge-info h3 {
    margin-bottom: 15px;

    font-size: clamp(2rem, 4vw, 3rem);
}

.challenge-info > p {
    max-width: 520px;

    margin-bottom: 30px;

    font-size: 14px;

    line-height: 1.8;
}

.challenge-details {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 32px;
}

.challenge-details div {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--text-muted);

    font-size: 11px;
}

.challenge-details i {
    color: #a855f7;
}


/* =========================================================
   14. DESIGN GRID
   ========================================================= */

.design-grid {
    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr
        0.75fr;

    grid-template-rows: repeat(2, 280px);

    gap: 14px;
}

.design-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.03);

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal);
}

.design-card:hover {
    transform: translateY(-5px);

    border-color: var(--border-light);
}

.design-large {
    grid-row: span 2;
}

.design-placeholder {
    position: relative;

    height: calc(100% - 67px);

    min-height: 200px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 30px;

    overflow: hidden;
}

.design-placeholder::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    top: -60px;
    right: -50px;

    border: 1px solid rgba(255, 255, 255, 0.25);
}

.design-placeholder span {
    position: relative;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.2em;

    opacity: 0.8;
}

.design-placeholder strong {
    position: relative;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2rem, 4vw, 4rem);

    font-weight: 800;

    letter-spacing: -0.07em;
}

.design-purple {
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(236, 72, 153, 0.7),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #150a2b,
            #48218a
        );
}

.design-blue {
    background:
        radial-gradient(
            circle at 70% 35%,
            rgba(56, 189, 248, 0.6),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #071429,
            #1455a6
        );
}

.design-pink {
    background:
        radial-gradient(
            circle at 65% 35%,
            rgba(236, 72, 153, 0.65),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #210a19,
            #8c174f
        );
}

.design-orange {
    background:
        radial-gradient(
            circle at 70% 35%,
            rgba(251, 146, 60, 0.6),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #241006,
            #a43c13
        );
}

.design-card-info {
    height: 67px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 12px 16px;

    border-top: 1px solid var(--border);

    background:
        rgba(5, 5, 8, 0.45);
}

.design-card-info h3 {
    font-size: 13px;

    letter-spacing: -0.02em;
}

.design-card-info span {
    color: var(--text-muted);

    font-size: 9px;
}

.design-score {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: #f9a8d4 !important;

    font-weight: 700;
}


/* =========================================================
   15. HOW IT WORKS
   ========================================================= */

.steps-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.step-card {
    position: relative;

    min-height: 280px;

    padding: 35px;

    border-radius: var(--radius-lg);

    overflow: hidden;

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(168, 85, 247, 0.3);
}

.step-number {
    position: absolute;

    top: 22px;
    right: 25px;

    color: rgba(255, 255, 255, 0.08);

    font-family: "Space Grotesk", sans-serif;

    font-size: 4rem;
    font-weight: 800;

    line-height: 1;
}

.step-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 45px;

    border-radius: 15px;

    background:
        var(--gradient-soft);

    border: 1px solid rgba(168, 85, 247, 0.18);

    color: #c4b5fd;

    font-size: 20px;
}

.step-card h3 {
    margin-bottom: 10px;
}

.step-card p {
    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   16. LEADERBOARD
   ========================================================= */

.leaderboard {
    overflow: hidden;

    border-radius: var(--radius-xl);
}

.leader-row {
    min-height: 78px;

    display: grid;

    grid-template-columns:
        50px
        42px
        1fr
        auto;

    align-items: center;

    gap: 15px;

    padding: 12px 24px;

    border-bottom: 1px solid var(--border);

    transition:
        background var(--transition-fast);
}

.leader-row:last-child {
    border-bottom: 0;
}

.leader-row:hover {
    background:
        rgba(255, 255, 255, 0.035);
}

.rank {
    color: var(--text-muted);

    font-family: "Space Grotesk", sans-serif;

    font-size: 12px;
    font-weight: 700;
}

.first-place .rank {
    color: #fbbf24;
}

.leader-avatar {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--gradient-main);

    font-size: 11px;
    font-weight: 800;
}

.leader-user {
    display: flex;

    flex-direction: column;
}

.leader-user strong {
    font-size: 13px;
}

.leader-user span {
    color: var(--text-muted);

    font-size: 10px;
}

.leader-xp {
    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 700;
}

.leader-crown {
    color: #fbbf24;
}


/* =========================================================
   17. CTA
   ========================================================= */

.cta-card {
    position: relative;

    min-height: 430px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 60px 30px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-xl);

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(124, 58, 237, 0.25),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );
}

.cta-glow {
    position: absolute;

    width: 400px;
    height: 200px;

    left: 50%;
    bottom: -100px;

    border-radius: 50%;

    background:
        rgba(37, 99, 235, 0.25);

    filter: blur(80px);

    transform: translateX(-50%);
}

.cta-card .section-label,
.cta-card h2,
.cta-card p,
.cta-card .btn {
    position: relative;

    z-index: 2;
}

.cta-card h2 {
    max-width: 750px;

    margin-bottom: 18px;

    font-size: clamp(
        2.5rem,
        6vw,
        5rem
    );
}

.cta-card h2 span {
    background:
        var(--gradient-main);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;
}

.cta-card p {
    margin-bottom: 30px;

    font-size: 15px;
}


/* =========================================================
   18. FOOTER
   ========================================================= */

.site-footer {
    margin-top: 60px;

    border-top: 1px solid var(--border);

    background:
        rgba(0, 0, 0, 0.25);
}

.footer-container {
    display: grid;

    grid-template-columns:
        1fr
        1.5fr;

    gap: 70px;

    padding-top: 70px;
    padding-bottom: 70px;
}

.footer-brand > p {
    max-width: 280px;

    margin-top: 18px;

    font-size: 12px;

    line-height: 1.7;
}

.footer-links {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 8px;

    color: white;

    font-size: 12px;

    letter-spacing: 0.04em;
}

.footer-column a {
    width: fit-content;

    color: var(--text-muted);

    font-size: 11px;

    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    min-height: 65px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    color: var(--text-muted);

    font-size: 10px;
}


/* =========================================================
   19. ACCESSIBILITY / FOCUS
   ========================================================= */

:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 4px;
}

::selection {
    background: rgba(124, 58, 237, 0.45);
    color: white;
}


/* =========================================================
   20. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}