
/* ==========================================================
   MP-MAHeS — DISCOVER MARKETPLACE
   Premium Digital Experiences
   File: assets/css/discover.css
========================================================== */


/* ==========================================================
   01. ROOT VARIABLES
========================================================== */

:root {
    --discover-black: #080b12;
    --discover-black-soft: #101521;
    --discover-dark-blue: #101b35;
    --discover-blue: #2457ff;
    --discover-blue-light: #4e7cff;
    --discover-yellow: #ffd447;
    --discover-white: #ffffff;

    --discover-background: #f6f8fc;
    --discover-surface: #ffffff;
    --discover-text: #101828;
    --discover-muted: #697386;
    --discover-border: #e7ebf2;

    --discover-font: 'DM Sans', sans-serif;
    --discover-heading: 'Space Grotesk', sans-serif;

    --discover-container: 1240px;

    --discover-radius: 22px;
    --discover-radius-small: 12px;

    --discover-transition: 0.35s ease;
}


/* ==========================================================
   02. GLOBAL RESET
========================================================== */

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

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

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;

    background: var(--discover-background);
    color: var(--discover-text);

    font-family: var(--discover-font);
    font-size: 15px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--discover-blue-light);
    outline-offset: 4px;
}

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

ul {
    list-style: none;
}

::selection {
    background: var(--discover-blue);
    color: #ffffff;
}


/* ==========================================================
   03. SHARED CONTAINERS
========================================================== */

.header-container,
.hero-container,
.section-container,
.custom-container,
.footer-container {
    width: min(
        var(--discover-container),
        calc(100% - 80px)
    );

    margin-inline: auto;
}


/* ==========================================================
   04. HEADER
========================================================== */

.discover-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    height: 86px;

    background: rgba(8, 11, 18, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        height var(--discover-transition),
        background var(--discover-transition);
}

.discover-header.scrolled {
    height: 74px;
    background: rgba(8, 11, 18, 0.97);
}

.header-container {
    height: 100%;

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


/* BRAND */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}

.brand-symbol {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    background: var(--discover-yellow);
    color: var(--discover-black);

    border-radius: 11px;

    font-family: var(--discover-heading);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-name {
    color: var(--discover-white);

    font-family: var(--discover-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.brand-name > span {
    color: var(--discover-yellow);
}


/* NAVIGATION */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-navigation > a {
    position: relative;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
    font-weight: 600;

    transition: color var(--discover-transition);
}

.main-navigation > a:not(.nav-contact)::after {
    content: '';

    position: absolute;
    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    background: var(--discover-yellow);

    transition: width var(--discover-transition);
}

.main-navigation > a:hover,
.main-navigation > a.active {
    color: var(--discover-white);
}

.main-navigation > a:hover::after,
.main-navigation > a.active::after {
    width: 100%;
}

.main-navigation .nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 12px 19px;

    background: var(--discover-yellow);
    color: var(--discover-black);

    border-radius: 7px;

    font-weight: 800;

    transition:
        transform var(--discover-transition),
        background var(--discover-transition);
}

.main-navigation .nav-contact:hover {
    background: #ffe37d;
    transform: translateY(-2px);
}

.nav-contact span {
    font-size: 17px;
}


/* MOBILE MENU */

.mobile-menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;

    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;

    width: 19px;
    height: 2px;

    background: #ffffff;

    border-radius: 5px;

    transition: all var(--discover-transition);
}

.mobile-menu-toggle.active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================
   05. HERO SECTION
========================================================== */

.discover-hero {
    position: relative;
    isolation: isolate;

    min-height: 760px;

    padding: 170px 0 120px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(36, 87, 255, 0.16),
            transparent 36%
        ),
        linear-gradient(
            120deg,
            #080b12 0%,
            #0b1020 58%,
            #101b35 100%
        );

    color: #ffffff;
}


/* GRID PATTERN */

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    opacity: 0.17;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}


/* HERO GLOWS */

.hero-glow {
    position: absolute;
    z-index: -1;

    border-radius: 50%;

    filter: blur(100px);
    pointer-events: none;
}

.hero-glow-one {
    top: 15%;
    right: 8%;

    width: 360px;
    height: 360px;

    background: rgba(36, 87, 255, 0.18);
}

.hero-glow-two {
    bottom: -100px;
    left: 35%;

    width: 300px;
    height: 300px;

    background: rgba(255, 212, 71, 0.07);
}


.hero-container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 0.95fr;

    align-items: center;
    gap: 70px;
}


/* EYEBROW */

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

    margin-bottom: 27px;

    color: var(--discover-yellow);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.eyebrow-line {
    width: 32px;
    height: 2px;

    background: var(--discover-yellow);
}


/* HERO HEADING */

.hero-content h1 {
    max-width: 650px;

    font-family: var(--discover-heading);
    font-size: clamp(54px, 6.2vw, 86px);

    font-weight: 700;
    line-height: 0.99;

    letter-spacing: -5px;
}

.hero-content h1 span {
    display: block;

    color: var(--discover-blue-light);

    text-shadow: 0 10px 45px rgba(36, 87, 255, 0.23);
}

.hero-description {
    max-width: 510px;

    margin-top: 27px;

    color: rgba(255, 255, 255, 0.67);

    font-size: 15px;
    line-height: 1.9;
}


/* HERO BUTTONS */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;

    margin-top: 36px;
}

.button {
    min-height: 52px;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 18px;

    padding: 0 23px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform var(--discover-transition),
        background var(--discover-transition),
        border-color var(--discover-transition);
}

.button:hover {
    transform: translateY(-4px);
}

.button span {
    font-size: 18px;
}

.button-primary {
    background: var(--discover-yellow);
    color: var(--discover-black);
}

.button-primary:hover {
    background: #ffe47b;
}

.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.28);

    color: #ffffff;
    background: rgba(255, 255, 255, 0.025);
}

.button-outline:hover {
    border-color: var(--discover-yellow);
    background: rgba(255, 212, 71, 0.08);
}


/* HERO STATISTICS */

.hero-statistics {
    display: flex;
    align-items: center;
    gap: 24px;

    margin-top: 61px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    color: #ffffff;

    font-family: var(--discover-heading);
    font-size: 27px;
    line-height: 1.2;
}

.hero-stat strong span {
    color: var(--discover-yellow);
}

.hero-stat small {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.47);

    font-size: 10px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;

    background: rgba(255, 255, 255, 0.18);
}


/* ==========================================================
   06. HERO VISUAL
========================================================== */

.hero-visual {
    position: relative;

    min-height: 480px;

    display: grid;
    place-items: center;
}

.hero-visual-glow {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: rgba(36, 87, 255, 0.12);

    filter: blur(75px);
}


/* FLOATING LABELS */

.floating-label {
    position: absolute;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 11px 15px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;

    background: rgba(17, 25, 44, 0.82);

    backdrop-filter: blur(15px);

    color: #ffffff;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
}

.floating-label-top {
    top: 35px;
    right: 5px;
}

.floating-label-bottom {
    bottom: 25px;
    left: -10px;

    font-size: 10px;
    letter-spacing: 0;
}

.status-dot {
    width: 7px;
    height: 7px;

    background: #55e6a5;
    border-radius: 50%;

    box-shadow: 0 0 12px rgba(85, 230, 165, 0.8);
}

.floating-icon {
    color: var(--discover-yellow);
    font-size: 16px;
}


/* HERO SHOWCASE */

.hero-showcase {
    position: relative;

    width: 100%;
    height: 400px;

    perspective: 1000px;
}

.showcase-card {
    position: absolute;

    overflow: hidden;

    border: 5px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    background: #18243d;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);

    transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}

.showcase-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.showcase-card-back {
    top: 80px;
    left: 0;

    width: 220px;
    height: 265px;

    transform: rotate(-12deg);

    opacity: 0.75;
}

.showcase-card-middle {
    top: 45px;
    right: 5px;

    width: 215px;
    height: 275px;

    transform: rotate(11deg);

    opacity: 0.85;
}

.showcase-card-front {
    top: 85px;
    left: 50%;

    width: 285px;
    height: 310px;

    transform: translateX(-50%) rotate(-2deg);

    border-color: rgba(255, 212, 71, 0.55);
}

.showcase-overlay {
    position: absolute;
    inset: auto 0 0;

    display: flex;
    flex-direction: column;

    padding: 50px 20px 22px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.92)
    );

    color: #ffffff;
}

.showcase-overlay span {
    color: var(--discover-yellow);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.showcase-overlay strong {
    margin-top: 5px;

    font-family: var(--discover-heading);
    font-size: 24px;
}

.showcase-overlay small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
}

.hero-visual:hover .showcase-card-back {
    transform: translate(-10px, -8px) rotate(-15deg);
}

.hero-visual:hover .showcase-card-middle {
    transform: translate(12px, -8px) rotate(15deg);
}

.hero-visual:hover .showcase-card-front {
    transform: translateX(-50%) translateY(-8px) rotate(0deg);
}


/* HERO ORBITS */

.hero-orbit {
    position: absolute;
    z-index: -1;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    pointer-events: none;
}

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

.orbit-two {
    width: 540px;
    height: 540px;

    border-color: rgba(36, 87, 255, 0.15);
}


/* SCROLL INDICATOR */

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;

    display: flex;
    align-items: center;
    gap: 12px;

    transform: translateX(-50%);

    color: rgba(255, 255, 255, 0.47);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.scroll-indicator span {
    position: relative;

    width: 26px;
    height: 38px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
}

.scroll-indicator span::after {
    content: '';

    position: absolute;
    top: 7px;
    left: 50%;

    width: 3px;
    height: 7px;

    border-radius: 5px;
    background: var(--discover-yellow);

    transform: translateX(-50%);

    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 12px);
        opacity: 0;
    }
}


/* ==========================================================
   07. MARKETPLACE SECTION
========================================================== */

.marketplace-section {
    position: relative;

    padding: 115px 0 125px;

    background: var(--discover-background);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;

    margin-bottom: 54px;
}

.dark-eyebrow {
    color: var(--discover-blue);
}

.dark-eyebrow .eyebrow-line {
    background: var(--discover-blue);
}

.section-heading h2 {
    max-width: 700px;

    font-family: var(--discover-heading);
    font-size: clamp(35px, 4.2vw, 55px);
    font-weight: 700;

    line-height: 1.13;
    letter-spacing: -2.7px;
}

.section-heading h2 span {
    display: block;
    color: var(--discover-blue);
}

.section-heading > p {
    max-width: 355px;

    padding-bottom: 7px;

    color: var(--discover-muted);

    font-size: 13px;
    line-height: 1.9;
}


/* ==========================================================
   08. MARKETPLACE TOOLBAR
========================================================== */

.marketplace-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding-bottom: 22px;
    margin-bottom: 30px;

    border-bottom: 1px solid var(--discover-border);
}

.marketplace-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.category-filter {
    padding: 10px 16px;

    border: 1px solid transparent;
    border-radius: 6px;

    background: transparent;
    color: #697386;

    cursor: pointer;

    font-size: 11px;
    font-weight: 700;

    transition: all var(--discover-transition);
}

.category-filter:hover {
    border-color: #d8e0f2;
    color: var(--discover-blue);
}

.category-filter.active {
    border-color: var(--discover-black);
    background: var(--discover-black);
    color: #ffffff;
}

.results-count {
    flex-shrink: 0;

    color: #8992a3;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.results-count strong {
    color: var(--discover-blue);
}


/* ==========================================================
   09. WEBSITE GRID
========================================================== */

.website-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 35px;
}

.website-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid #e8ebf2;
    border-radius: var(--discover-radius);

    background: var(--discover-surface);

    transition:
        transform var(--discover-transition),
        border-color var(--discover-transition);

    animation: cardAppear 0.65s both;
}

.website-card:hover {
    transform: translateY(-8px);
    border-color: #d2dcf5;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.website-card[hidden] {
    display: none !important;
}


/* ==========================================================
   10. WEBSITE PREVIEW
========================================================== */

.website-preview {
    position: relative;
    isolation: isolate;

    height: 320px;

    overflow: hidden;

    background: #101a30;
}

.website-preview::before {
    content: '';

    position: absolute;
    inset: 0;
    z-index: -1;

    opacity: 0.4;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        );

    background-size: 35px 35px;
}

.automotive-preview {
    background:
        radial-gradient(
            circle at 50% 65%,
            rgba(255, 212, 71, 0.17),
            transparent 50%
        ),
        linear-gradient(135deg, #101521, #182746);
}

.healthcare-preview {
    background:
        radial-gradient(
            circle at 50% 65%,
            rgba(56, 189, 248, 0.24),
            transparent 50%
        ),
        linear-gradient(135deg, #0b2336, #153c5b);
}

.restaurant-preview {
    background:
        radial-gradient(
            circle at 50% 65%,
            rgba(235, 153, 75, 0.25),
            transparent 50%
        ),
        linear-gradient(135deg, #261a18, #4b2c21);
}

.finance-preview {
    background:
        radial-gradient(
            circle at 50% 65%,
            rgba(55, 214, 155, 0.18),
            transparent 50%
        ),
        linear-gradient(135deg, #0b2422, #143c39);
}


/* PREVIEW TOPLINE */

.preview-topline,
.preview-bottomline {
    position: absolute;
    z-index: 8;

    left: 25px;
    right: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: rgba(255, 255, 255, 0.7);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.preview-topline {
    top: 23px;
}

.preview-bottomline {
    bottom: 20px;
}

.preview-live {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 7px;
}

.preview-live i {
    width: 6px;
    height: 6px;

    display: block;

    background: #58e5a1;
    border-radius: 50%;

    box-shadow: 0 0 10px rgba(88, 229, 161, 0.8);
}


/* ==========================================================
   11. OVERLAPPING CUTOUT IMAGES
========================================================== */

.preview-cutouts {
    position: absolute;
    inset: 55px 0 38px;

    display: flex;
    justify-content: center;
    align-items: center;

    perspective: 900px;
}

.cutout {
    position: absolute;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.1);

    border: 4px solid rgba(255, 255, 255, 0.78);
    border-radius: 14px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.65s cubic-bezier(.2,.8,.2,1),
        filter 0.5s ease;
}

.cutout img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.cutout-back {
    left: 18%;

    width: 155px;
    height: 185px;

    transform: rotate(-12deg) translateY(10px);

    filter: brightness(0.78);
}

.cutout-front {
    z-index: 3;

    width: 190px;
    height: 215px;

    transform: rotate(3deg);

    border-color: rgba(255, 255, 255, 0.95);
}

.cutout-detail {
    right: 16%;

    width: 130px;
    height: 155px;

    transform: rotate(12deg) translateY(15px);

    filter: brightness(0.84);
}

.website-card:hover .cutout-back {
    transform: translate(-10px, -7px) rotate(-16deg);
}

.website-card:hover .cutout-front {
    transform: translateY(-9px) rotate(0deg);
}

.website-card:hover .cutout-detail {
    transform: translate(10px, -5px) rotate(16deg);
}

.website-card:hover .cutout img {
    transform: scale(1.08);
}


/* PREVIEW NUMBER */

.preview-number {
    position: absolute;
    right: 22px;
    bottom: 48px;
    z-index: 1;

    color: rgba(255, 255, 255, 0.09);

    font-family: var(--discover-heading);
    font-size: 78px;
    font-weight: 700;

    line-height: 1;
}


/* ==========================================================
   12. WEBSITE CARD CONTENT
========================================================== */

.website-card-content {
    padding: 28px 29px 30px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;
}

.category-label {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    border-radius: 4px;

    background: #edf2ff;
    color: var(--discover-blue);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.card-index {
    color: #a0a8b6;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.website-card-content h3 {
    margin-bottom: 10px;

    color: #111827;

    font-family: var(--discover-heading);
    font-size: 25px;
    font-weight: 700;

    letter-spacing: -0.8px;
}

.website-card-content > p {
    max-width: 470px;

    color: var(--discover-muted);

    font-size: 12px;
    line-height: 1.85;
}


/* FEATURES */

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 20px;
    margin-bottom: 25px;
}

.card-features span {
    padding: 6px 9px;

    border: 1px solid #edf0f5;
    border-radius: 5px;

    color: #707b8e;

    font-size: 9px;
    font-weight: 600;
}


/* WEBSITE LINK */

.website-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 17px;

    border-top: 1px solid var(--discover-border);

    color: var(--discover-black);

    font-size: 11px;
    font-weight: 800;

    transition: color var(--discover-transition);
}

.website-link span {
    width: 33px;
    height: 33px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #edf2ff;
    color: var(--discover-blue);

    font-size: 16px;

    transition:
        background var(--discover-transition),
        color var(--discover-transition),
        transform var(--discover-transition);
}

.website-link:hover {
    color: var(--discover-blue);
}

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

    background: var(--discover-blue);
    color: #ffffff;
}


/* EMPTY STATE */

.empty-state {
    padding: 75px 20px;

    text-align: center;

    border: 1px dashed #d6dce8;
    border-radius: var(--discover-radius);

    background: #ffffff;
}

.empty-state > span {
    color: var(--discover-blue);
    font-size: 32px;
}

.empty-state h3 {
    margin-top: 12px;

    font-family: var(--discover-heading);
    font-size: 23px;
}

.empty-state p {
    margin-top: 5px;

    color: var(--discover-muted);
    font-size: 13px;
}

.empty-state[hidden] {
    display: none !important;
}


/* ==========================================================
   13. CUSTOM EXPERIENCE CTA
========================================================== */

.custom-experience {
    position: relative;
    isolation: isolate;

    padding: 100px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(36, 87, 255, 0.2),
            transparent 38%
        ),
        linear-gradient(
            115deg,
            #080b12,
            #101b35
        );

    color: #ffffff;
}

.custom-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        );

    background-size: 50px 50px;
}

.custom-container {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;
    gap: 80px;
}

.custom-content h2 {
    max-width: 650px;

    font-family: var(--discover-heading);
    font-size: clamp(38px, 4.5vw, 58px);

    line-height: 1.1;
    letter-spacing: -2.8px;
}

.custom-content h2 span {
    color: var(--discover-yellow);
}

.custom-content > p {
    max-width: 490px;

    margin-top: 23px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.9;
}

.custom-content .button {
    margin-top: 32px;
}


/* CTA VISUAL */

.custom-visual {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 360px;

    perspective: 900px;
}

.custom-visual-card {
    position: relative;

    width: 290px;
    height: 335px;

    padding: 28px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0.025)
        );

    backdrop-filter: blur(12px);

    transform: rotate(5deg);

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);

    transition: transform 0.6s ease;
}

.custom-visual-card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.custom-card-symbol {
    display: block;

    color: var(--discover-yellow);

    font-family: var(--discover-heading);
    font-size: 22px;
    font-weight: 800;
}

.custom-card-label {
    display: block;

    margin-top: 48px;

    color: rgba(255, 255, 255, 0.53);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
}

.custom-visual-card strong {
    display: block;

    margin-top: 17px;

    font-family: var(--discover-heading);
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: -2px;
}

.custom-card-circle {
    position: absolute;
    right: -35px;
    bottom: -55px;

    width: 180px;
    height: 180px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 212, 71, 0.4);
    border-radius: 50%;

    color: var(--discover-yellow);

    font-size: 55px;
}


/* ==========================================================
   14. FOOTER
========================================================== */

.discover-footer {
    padding: 75px 0 0;

    background: #06080d;
    color: #ffffff;
}

.footer-main {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 55px;

    padding-bottom: 65px;
}

.footer-brand > p {
    max-width: 260px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.47);

    font-size: 12px;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 8px;

    color: #ffffff;

    font-family: var(--discover-heading);
    font-size: 13px;
    font-weight: 700;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;

    transition: color var(--discover-transition);
}

.footer-column a:hover {
    color: var(--discover-yellow);
}


/* FOOTER BOTTOM */

.footer-bottom {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom > span,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);

    font-size: 10px;
}

.footer-bottom a {
    color: var(--discover-yellow);
    font-weight: 700;

    transition: opacity var(--discover-transition);
}

.footer-bottom a:hover {
    opacity: 0.7;
}


/* ==========================================================
   15. SCROLLBAR
========================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f2f6;
}

::-webkit-scrollbar-thumb {
    background: #9aa6ba;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--discover-blue);
}


/* ==========================================================
   16. RESPONSIVE — TABLET
========================================================== */

@media (max-width: 1100px) {

    .header-container,
    .hero-container,
    .section-container,
    .custom-container,
    .footer-container {
        width: min(
            100% - 55px,
            var(--discover-container)
        );
    }

    .main-navigation {
        gap: 22px;
    }

    .hero-container {
        gap: 35px;
    }

    .hero-content h1 {
        font-size: 68px;
    }

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

    .hero-showcase {
        transform: scale(0.88);
    }

    .cutout-back {
        left: 14%;
    }

    .cutout-detail {
        right: 12%;
    }

    .footer-main {
        gap: 30px;
    }

}


@media (max-width: 900px) {

    .discover-header {
        height: 76px;
    }

    .discover-header.scrolled {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 76px;
        right: -100%;

        width: min(370px, 88%);

        height: calc(100vh - 76px);

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 25px;

        background: #0a0e18;

        border-left: 1px solid rgba(255, 255, 255, 0.1);

        transition: right 0.4s ease;

        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation > a {
        padding: 16px 4px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);

        font-size: 14px;
    }

    .main-navigation > a:not(.nav-contact)::after {
        display: none;
    }

    .main-navigation .nav-contact {
        justify-content: center;

        margin-top: 25px;
        padding: 15px;
    }

    .discover-hero {
        padding-top: 140px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-content h1 {
        max-width: 700px;
        font-size: clamp(60px, 10vw, 85px);
    }

    .hero-description {
        max-width: 600px;
    }

    .hero-visual {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .hero-showcase {
        transform: scale(0.95);
    }

    .floating-label-top {
        right: 10%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .section-heading > p {
        max-width: 600px;
    }

    .custom-container {
        gap: 30px;
    }

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

}


/* ==========================================================
   17. RESPONSIVE — MOBILE
========================================================== */

@media (max-width: 650px) {

    .header-container,
    .hero-container,
    .section-container,
    .custom-container,
    .footer-container {
        width: calc(100% - 36px);
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-symbol {
        width: 35px;
        height: 35px;
    }

    .discover-hero {
        min-height: auto;

        padding: 135px 0 105px;
    }

    .hero-content h1 {
        font-size: clamp(49px, 12vw, 70px);
        letter-spacing: -3.5px;
    }

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

    .hero-actions {
        gap: 10px;
        margin-top: 27px;
    }

    .button {
        min-height: 48px;
        padding: 0 15px;
        gap: 10px;

        font-size: 10px;
    }

    .hero-statistics {
        gap: 13px;
        margin-top: 40px;
    }

    .hero-stat strong {
        font-size: 22px;
    }

    .hero-stat small {
        max-width: 80px;
        font-size: 8px;
    }

    .stat-divider {
        height: 32px;
    }

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

    .hero-showcase {
        width: 100%;
        height: 330px;

        transform: scale(0.84);
    }

    .showcase-card-back {
        left: -5px;
        width: 185px;
        height: 230px;
    }

    .showcase-card-middle {
        right: -5px;
        width: 180px;
        height: 235px;
    }

    .showcase-card-front {
        width: 245px;
        height: 265px;
    }

    .floating-label-top {
        top: 0;
        right: 0;
    }

    .floating-label-bottom {
        bottom: -5px;
        left: 0;
    }

    .hero-orbit {
        display: none;
    }

    .scroll-indicator {
        bottom: 25px;
        font-size: 8px;
    }


    /* MARKETPLACE */

    .marketplace-section {
        padding: 75px 0 80px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 38px;
        letter-spacing: -2px;
    }

    .section-heading > p {
        font-size: 12px;
    }

    .marketplace-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .marketplace-categories {
        width: 100%;
        gap: 7px;
    }

    .category-filter {
        padding: 8px 11px;
        font-size: 10px;
    }

    .results-count {
        align-self: flex-end;
    }

    .website-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .website-preview {
        height: 300px;
    }

    .cutout-back {
        left: 15%;
        width: 135px;
        height: 165px;
    }

    .cutout-front {
        width: 170px;
        height: 195px;
    }

    .cutout-detail {
        right: 13%;
        width: 115px;
        height: 140px;
    }

    .website-card-content {
        padding: 23px 20px 24px;
    }

    .website-card-content h3 {
        font-size: 23px;
    }

    .website-card-content > p {
        font-size: 11px;
    }


    /* CUSTOM CTA */

    .custom-experience {
        padding: 75px 0;
    }

    .custom-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .custom-content h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .custom-content > p {
        font-size: 12px;
    }

    .custom-visual {
        min-height: 310px;
    }

    .custom-visual-card {
        width: 260px;
        height: 300px;
    }

    .custom-visual-card strong {
        font-size: 37px;
    }


    /* FOOTER */

    .discover-footer {
        padding-top: 60px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 25px;

        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;

        padding: 22px 0;
    }

}


/* ==========================================================
   18. SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

    .header-container,
    .hero-container,
    .section-container,
    .custom-container,
    .footer-container {
        width: calc(100% - 28px);
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-statistics {
        gap: 9px;
    }

    .hero-stat strong {
        font-size: 19px;
    }

    .hero-showcase {
        transform: scale(0.72);
    }

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

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

    .website-preview {
        height: 270px;
    }

    .cutout-back {
        left: 10%;
    }

    .cutout-front {
        width: 155px;
        height: 180px;
    }

    .cutout-detail {
        right: 9%;
    }

    .custom-content h2 {
        font-size: 36px;
    }

    .footer-main {
        gap: 32px 16px;
    }

}


/* ==========================================================
   19. REDUCED MOTION ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}


/* ==========================================================
   DISCOVER JAVASCRIPT ENHANCEMENTS
========================================================== */

.discover-reveal {
    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.discover-reveal.discover-visible {
    opacity: 1;
    transform: translateY(0);
}

.website-card.filter-hidden {
    opacity: 0;
}

.website-card.filter-visible {
    opacity: 1;
}

.cutout img,
.showcase-card img {
    transition:
        transform 0.8s ease,
        opacity 0.4s ease;
}

img.image-error {
    opacity: 0.35;
    object-fit: contain;
}

img.image-loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .discover-reveal,
    .website-card,
    .cutout,
    .showcase-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
