/* ==========================================================
   GLOBAL
========================================================== */

:root {

    --radius: 28px;
    --radius-sm: 18px;

    --shadow:
        0 20px 60px rgba(15, 23, 42, .06);

    --shadow-hover:
        0 35px 90px rgba(15, 23, 42, .12);

    --glass:
        rgba(255, 255, 255, .72);

    --border:
        rgba(255, 255, 255, .65);

}

* {
    box-sizing: border-box;
}

html {

    scroll-behavior: smooth;

}

body {

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    background: #fafafa;

    overflow-x: hidden;

    padding: 0;

    color: #1f2937;

    position: relative;

}

/* ==========================================================
   BACKGROUND
========================================================== */

body::before {

    content: "";

    position: fixed;

    inset: -15%;

    z-index: -2;

    background:

        radial-gradient(circle at 8% 10%,
            rgba(79, 140, 255, .35),
            transparent 32%),

        radial-gradient(circle at 92% 10%,
            rgba(255, 210, 90, .34),
            transparent 30%),

        radial-gradient(circle at 48% 55%,
            rgba(175, 145, 255, .18),
            transparent 38%),

        radial-gradient(circle at 88% 72%,
            rgba(255, 186, 222, .18),
            transparent 30%),

        radial-gradient(circle at 18% 82%,
            rgba(115, 211, 255, .16),
            transparent 28%);

    filter: blur(90px);

    animation: gradientMove 24s ease-in-out infinite;

}

body::after {

    content: "";

    position: fixed;

    inset: 0;

    z-index: -3;

    background: rgba(255, 255, 255, .94);

}

@keyframes gradientMove {

    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-2%, 1%) scale(1.04);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }

}

/* ==========================================================
   LAYOUT
========================================================== */

.content-wrapper {

    padding-top: 120px;

}

.container {

    position: relative;

    z-index: 2;

}

/* ==========================================================
   NAVBAR
========================================================== */

.glass-nav {

    background: rgba(255, 255, 255, .70) !important;

    backdrop-filter: blur(24px);

    -webkit-backdrop-filter: blur(24px);

    border-bottom: 1px solid rgba(255, 255, 255, .55);

    box-shadow:

        0 10px 35px rgba(0, 0, 0, .05);

}

.navbar-brand {

    font-weight: 700;

    letter-spacing: -.02em;

}

/* ==========================================================
   HERO
========================================================== */

.ios-card {

    background: var(--glass);

    backdrop-filter: blur(28px);

    -webkit-backdrop-filter: blur(28px);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: .35s;

    padding: 4rem !important;

    margin-bottom: 5rem;

}

.ios-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);

}

.ios-card h1 {

    font-weight: 800;

    letter-spacing: -.04em;

    line-height: 1.1;

}

.ios-card p {

    line-height: 1.9;

    color: #6b7280;

}

/* ==========================================================
   CAROUSEL
========================================================== */

#heroCarousel {

    overflow: hidden;

    border-radius: var(--radius);

    box-shadow:

        0 30px 80px rgba(15, 23, 42, .10);

    margin-bottom: 4rem;

}

.carousel-img-custom {

    height: 430px;

    object-fit: cover;

}

/* ==========================================================
   STATS
========================================================== */

.stats-card {

    background: rgba(255, 255, 255, .76);

    backdrop-filter: blur(24px);

    border: 1px solid rgba(255, 255, 255, .65);

    border-radius: 26px;

    padding: 36px;

    text-align: center;

    transition: .35s;

    box-shadow: var(--shadow);

    height: 100%;

}

.stats-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}

.stats-icon {

    font-size: 42px;

    color: #2563eb;

    margin-bottom: 18px;

}

.stats-number {

    font-size: 2.5rem;

    font-weight: 800;

    letter-spacing: -.04em;

}

.stats-title {

    margin-top: 12px;

    color: #6b7280;

}

/* ==========================================================
   SECTION
========================================================== */

.section-title-modern {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-top: 110px;

    margin-bottom: 45px;

}

.section-title-modern h2 {

    font-weight: 800;

    font-size: 2rem;

    margin-bottom: 10px;

    letter-spacing: -.03em;

}

.section-title-modern p {

    color: #6b7280;

    margin: 0;

}

.section-count {

    background: rgba(255, 255, 255, .75);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .6);

    border-radius: 999px;

    padding: 10px 18px;

    font-weight: 600;

}

/* ==========================================================
   COLLECTION
========================================================== */

.collection-card {

    background: rgba(255, 255, 255, .82);

    backdrop-filter: blur(22px);

    border: 1px solid rgba(255, 255, 255, .65);

    border-radius: 26px;

    overflow: hidden;

    transition: .35s;

    box-shadow: var(--shadow);

    height: 100%;

}

.collection-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-hover);

}

.thumb-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 4px;

    height: 240px;

    background: #f5f5f5;

}

.thumb-item {

    overflow: hidden;

}

.thumb-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .45s;

}

.collection-card:hover img {

    transform: scale(1.08);

}

.thumb-placeholder {

    height: 240px;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #f3f4f6;

    font-size: 60px;

    color: #c5c5c5;

}

.collection-body {

    padding: 30px;

}

.collection-title {

    font-size: 1.25rem;

    font-weight: 700;

    line-height: 1.45;

    margin-bottom: 16px;

}

.collection-description {

    color: #6b7280;

    line-height: 1.9;

    min-height: 92px;

}

.collection-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 28px;

}

.collection-badge {

    background: #eef4ff;

    color: #2563eb;

    border-radius: 999px;

    padding: 8px 16px;

    font-weight: 600;

    font-size: .82rem;

}

.collection-button {

    border-radius: 999px;

    padding: 12px 24px;

    transition: .3s;

}

.collection-button:hover {

    transform: translateY(-2px);

}

/* ==========================================================
   BUTTON
========================================================== */

.btn-dark {

    background: #111827;

    border: none;

    box-shadow:

        0 12px 30px rgba(17, 24, 39, .18);

    transition: .3s;

}

.btn-dark:hover {

    transform: translateY(-2px);

}

/* ==========================================================
   FOOTER
========================================================== */

footer {

    margin-top: 120px !important;

    background: rgba(255, 255, 255, .72) !important;

    backdrop-filter: blur(20px);

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:991px) {

    .section-title-modern {

        display: block;

        margin-top: 80px;

    }

    .section-count {

        display: inline-block;

        margin-top: 18px;

    }

}

@media(max-width:768px) {

    .content-wrapper {

        padding-top: 100px;

    }

    .ios-card {

        padding: 2.5rem !important;

    }

    .carousel-img-custom {

        height: 260px;

    }

    .thumb-grid {

        height: 180px;

    }

    .thumb-placeholder {

        height: 180px;

        font-size: 48px;

    }

    .collection-body {

        padding: 22px;

    }

    .section-title-modern {

        margin-top: 65px;

    }

}