/* ==================================================================
   DELTA-NEXUS · WEB-C10-D1
   YOUNGER / BOLDER / BRIGHTER VISUAL LAYER
   PREVIEW ONLY
   ================================================================== */

:root {
    --c10-bg: #fffaf0;
    --c10-paper: rgba(255,255,255,.82);
    --c10-ink: #17131f;
    --c10-muted: #6d6678;

    --c10-purple: #7657ff;
    --c10-purple-dark: #4d31d8;
    --c10-coral: #ff5c7c;
    --c10-cyan: #31cddd;
    --c10-lime: #b9f52f;
    --c10-yellow: #ffd94d;
    --c10-orange: #ff9838;

    --c10-border: rgba(23,19,31,.10);
    --c10-shadow:
        0 24px 70px rgba(68,47,112,.12),
        0 5px 18px rgba(23,19,31,.06);

    --c10-shadow-hover:
        0 32px 90px rgba(68,47,112,.20),
        0 10px 28px rgba(23,19,31,.10);

    --c10-radius-xl: 32px;
    --c10-radius-lg: 24px;
    --c10-radius-md: 18px;
}

html {
    scroll-behavior: smooth;
    background: var(--c10-bg);
}

body {
    position: relative;
    overflow-x: hidden;
    color: var(--c10-ink);
    background:
        radial-gradient(
            circle at 8% 7%,
            rgba(118,87,255,.16),
            transparent 27rem
        ),
        radial-gradient(
            circle at 94% 13%,
            rgba(49,205,221,.15),
            transparent 25rem
        ),
        radial-gradient(
            circle at 82% 64%,
            rgba(255,92,124,.10),
            transparent 30rem
        ),
        linear-gradient(
            180deg,
            #fffaf0 0%,
            #fffdf8 42%,
            #f8f4ff 100%
        );
}

body::before {
    content: "";
    position: fixed;
    width: 380px;
    height: 380px;
    left: -180px;
    bottom: 8vh;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            rgba(185,245,47,.24),
            rgba(255,217,77,.09)
        );
    filter: blur(1px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    width: 280px;
    height: 280px;
    right: -110px;
    top: 38vh;
    border-radius: 42% 58% 63% 37%;
    background:
        linear-gradient(
            135deg,
            rgba(255,92,124,.14),
            rgba(118,87,255,.12)
        );
    transform: rotate(18deg);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

header,
.site-header,
.topbar {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

nav a,
.site-nav a,
header a {
    transition:
        transform .18s ease,
        background-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

nav a:hover,
.site-nav a:hover {
    transform: translateY(-2px);
}

main {
    position: relative;
}

.hero,
.hero-section,
.hero-wrap,
main > section:first-of-type {
    position: relative;
    isolation: isolate;
}

.hero::before,
.hero-section::before {
    content: "";
    position: absolute;
    width: clamp(90px, 10vw, 160px);
    aspect-ratio: 1;
    right: 3%;
    top: 6%;
    border-radius: 32% 68% 61% 39%;
    background:
        linear-gradient(
            145deg,
            var(--c10-yellow),
            var(--c10-coral)
        );
    opacity: .88;
    transform: rotate(13deg);
    z-index: -1;
    box-shadow:
        18px 22px 0 rgba(118,87,255,.10);
}

.hero::after,
.hero-section::after {
    content: "";
    position: absolute;
    width: clamp(55px, 6vw, 95px);
    aspect-ratio: 1;
    left: 2%;
    bottom: 3%;
    border-radius: 50%;
    background:
        var(--c10-cyan);
    opacity: .20;
    z-index: -1;
}

h1,
.hero h1,
.page-hero h1 {
    letter-spacing: -.055em;
    line-height: .94;
    text-wrap: balance;
}

h2 {
    letter-spacing: -.035em;
    line-height: 1.02;
    text-wrap: balance;
}

h3 {
    letter-spacing: -.02em;
}

.hero h1,
.page-hero h1 {
    font-size:
        clamp(3.2rem, 8vw, 7.4rem);
    max-width: 12ch;
}

.hero p,
.hero-copy p,
.page-hero p {
    font-size:
        clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.55;
    max-width: 58ch;
    color: var(--c10-muted);
}

.eyebrow,
.kicker,
.badge,
.tag,
.pill {
    letter-spacing: .08em;
    font-weight: 800;
}

.card,
.tile,
.panel,
.product-card,
.deal-card,
.travel-card,
.category-card,
.content-card,
.guide-card,
.article-card,
.feature-card {
    position: relative;
    border:
        1px solid var(--c10-border);
    border-radius:
        var(--c10-radius-lg);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.92),
            rgba(255,255,255,.69)
        );
    box-shadow:
        var(--c10-shadow);
    overflow: hidden;
    transition:
        transform .22s cubic-bezier(.2,.7,.2,1),
        box-shadow .22s ease,
        border-color .22s ease;
}

.card::before,
.tile::before,
.product-card::before,
.deal-card::before,
.travel-card::before,
.category-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -52px;
    top: -48px;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            rgba(118,87,255,.18),
            rgba(49,205,221,.08)
        );
    pointer-events: none;
}

.card:hover,
.tile:hover,
.product-card:hover,
.deal-card:hover,
.travel-card:hover,
.category-card:hover,
.content-card:hover,
.guide-card:hover,
.article-card:hover,
.feature-card:hover {
    transform:
        translateY(-7px)
        rotate(-.25deg);
    box-shadow:
        var(--c10-shadow-hover);
    border-color:
        rgba(118,87,255,.23);
}

.card:nth-child(3n+1),
.tile:nth-child(3n+1),
.product-card:nth-child(3n+1) {
    --c10-local-accent:
        var(--c10-purple);
}

.card:nth-child(3n+2),
.tile:nth-child(3n+2),
.product-card:nth-child(3n+2) {
    --c10-local-accent:
        var(--c10-coral);
}

.card:nth-child(3n),
.tile:nth-child(3n),
.product-card:nth-child(3n) {
    --c10-local-accent:
        var(--c10-cyan);
}

button,
.button,
.btn,
a.button,
a.btn,
.cta,
[role="button"] {
    border-radius: 999px;
    font-weight: 800;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

button:hover,
.button:hover,
.btn:hover,
a.button:hover,
a.btn:hover,
.cta:hover,
[role="button"]:hover {
    transform:
        translateY(-3px)
        scale(1.015);
    filter: saturate(1.08);
    box-shadow:
        0 14px 30px rgba(76,49,216,.18);
}

img {
    transition:
        transform .35s cubic-bezier(.2,.7,.2,1),
        filter .35s ease;
}

.card:hover img,
.tile:hover img,
.product-card:hover img,
.deal-card:hover img,
.travel-card:hover img {
    transform: scale(1.035);
}

section {
    scroll-margin-top: 100px;
}

section:nth-of-type(even) {
    position: relative;
}

section:nth-of-type(even)::before {
    content: "";
    position: absolute;
    inset: 7% -4%;
    z-index: -1;
    border-radius:
        var(--c10-radius-xl);
    background:
        rgba(255,255,255,.34);
    border:
        1px solid rgba(255,255,255,.55);
}

blockquote,
.callout,
.notice,
.info-box {
    border-radius:
        var(--c10-radius-lg);
    border:
        1px solid rgba(118,87,255,.15);
    background:
        linear-gradient(
            135deg,
            rgba(118,87,255,.08),
            rgba(49,205,221,.07)
        );
}

table {
    border-radius:
        var(--c10-radius-md);
    overflow: hidden;
}

input,
select,
textarea {
    border-radius: 14px;
    border:
        1px solid rgba(23,19,31,.14);
    background:
        rgba(255,255,255,.82);
}

input:focus,
select:focus,
textarea:focus,
a:focus-visible,
button:focus-visible {
    outline:
        3px solid rgba(49,205,221,.45);
    outline-offset: 3px;
}

footer {
    position: relative;
    margin-top: 4rem;
}

footer::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 0;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(118,87,255,.30),
            rgba(255,92,124,.26),
            transparent
        );
}

::selection {
    background:
        var(--c10-purple);
    color: white;
}

@media (max-width: 820px) {
    .hero h1,
    .page-hero h1 {
        font-size:
            clamp(2.8rem, 14vw, 5rem);
    }

    .hero::before,
    .hero-section::before {
        opacity: .55;
        right: -5%;
    }

    .card:hover,
    .tile:hover,
    .product-card:hover,
    .deal-card:hover,
    .travel-card:hover,
    .category-card:hover {
        transform:
            translateY(-3px);
    }

    body::before,
    body::after {
        opacity: .65;
    }
}

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

/* WEB-C10-D1-END */

/* WEB-C10-D2-B START */

/* ================================================================
   1. GLOBAL RHYTHM
   ================================================================ */

:root {
    --c10-content-max: 1240px;
    --c10-section-gap: clamp(72px, 8vw, 118px);
    --c10-copy-max: 68ch;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main {
    width: min(
        var(--c10-content-max),
        calc(100% - 40px)
    );
    margin-inline: auto;
}

main > section {
    margin-block: var(--c10-section-gap);
}

main > section:first-child,
main > section:first-of-type {
    margin-top: clamp(32px, 5vw, 72px);
}

main > section:last-child {
    margin-bottom: clamp(72px, 8vw, 120px);
}

section > h2,
section > header h2 {
    max-width: 17ch;
}

section > p,
section > header p {
    max-width: var(--c10-copy-max);
}


/* ================================================================
   2. HEADER / NAVIGATION
   ================================================================ */

header,
.site-header,
.topbar {
    position: relative;
    z-index: 50;
}

.site-header,
header > nav,
header nav,
.site-nav {
    border-radius: 999px;
}

header nav,
.site-nav {
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(23,19,31,.08);
    box-shadow:
        0 10px 32px rgba(48,32,90,.07);
}

nav a,
.site-nav a,
header nav a {
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
}

nav a:hover,
.site-nav a:hover,
header nav a:hover {
    background: rgba(118,87,255,.09);
    color: var(--c10-purple-dark);
}

nav a[aria-current="page"],
.site-nav a[aria-current="page"],
nav .active,
.site-nav .active {
    background: var(--c10-ink);
    color: white;
    box-shadow:
        0 8px 20px rgba(23,19,31,.15);
}


/* ================================================================
   3. HERO
   ================================================================ */

.hero,
.hero-section,
.page-hero,
.hero-wrap,
main > section:first-of-type {
    min-height: min(690px, 78vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: clamp(26px, 4vw, 44px);
}

.hero,
.hero-section,
.page-hero {
    padding:
        clamp(38px, 6vw, 84px)
        clamp(24px, 6vw, 76px);
}

.hero h1,
.hero-section h1,
.page-hero h1,
main > section:first-of-type h1 {
    max-width: 10.5ch;
    margin-bottom: clamp(18px, 2vw, 28px);
}

.hero p,
.hero-section p,
.page-hero p,
main > section:first-of-type > p {
    max-width: 54ch;
}

.hero .eyebrow,
.hero .kicker,
.page-hero .eyebrow,
.page-hero .kicker {
    display: inline-flex;
    width: fit-content;
    padding: 8px 13px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(118,87,255,.10);
    border: 1px solid rgba(118,87,255,.14);
    color: var(--c10-purple-dark);
}

.hero::before,
.hero-section::before {
    width: clamp(110px, 13vw, 190px);
    right: 4%;
    top: 9%;
    filter: saturate(1.06);
}

.hero::after,
.hero-section::after {
    width: clamp(70px, 8vw, 125px);
    left: 4%;
    bottom: 6%;
}


/* ================================================================
   4. HEADINGS
   ================================================================ */

h1 {
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4.3vw, 4rem);
    font-weight: 880;
}

h3 {
    font-weight: 820;
}

h1 strong,
h2 strong,
h3 strong {
    color: var(--c10-purple-dark);
}


/* ================================================================
   5. CARD SYSTEM
   ================================================================ */

.card,
.tile,
.panel,
.product-card,
.deal-card,
.travel-card,
.category-card,
.content-card,
.guide-card,
.article-card,
.feature-card {
    border-radius: 26px;
}

.card,
.tile,
.product-card,
.deal-card,
.travel-card,
.category-card,
.content-card,
.guide-card,
.article-card,
.feature-card {
    padding: clamp(18px, 2.4vw, 30px);
}

.card:nth-child(4n+1),
.tile:nth-child(4n+1),
.product-card:nth-child(4n+1),
.deal-card:nth-child(4n+1) {
    border-top: 4px solid var(--c10-purple);
}

.card:nth-child(4n+2),
.tile:nth-child(4n+2),
.product-card:nth-child(4n+2),
.deal-card:nth-child(4n+2) {
    border-top: 4px solid var(--c10-coral);
}

.card:nth-child(4n+3),
.tile:nth-child(4n+3),
.product-card:nth-child(4n+3),
.deal-card:nth-child(4n+3) {
    border-top: 4px solid var(--c10-cyan);
}

.card:nth-child(4n),
.tile:nth-child(4n),
.product-card:nth-child(4n),
.deal-card:nth-child(4n) {
    border-top: 4px solid var(--c10-lime);
}

.card h3,
.tile h3,
.product-card h3,
.deal-card h3,
.travel-card h3 {
    margin-top: 0;
    line-height: 1.08;
}

.card p,
.tile p,
.product-card p,
.deal-card p,
.travel-card p {
    color: var(--c10-muted);
    line-height: 1.58;
}


/* ================================================================
   6. GRIDS
   ================================================================ */

.grid,
.cards,
.card-grid,
.product-grid,
.deal-grid,
.category-grid,
.content-grid,
.travel-grid {
    gap: clamp(18px, 2.4vw, 30px);
}

@media (min-width: 1000px) {
    .grid,
    .cards,
    .card-grid,
    .product-grid,
    .deal-grid,
    .category-grid,
    .content-grid {
        align-items: stretch;
    }
}


/* ================================================================
   7. IMAGES
   ================================================================ */

.card img,
.tile img,
.product-card img,
.deal-card img,
.travel-card img,
.category-card img,
.content-card img,
.article-card img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.product-card img,
.deal-card img,
.travel-card img {
    aspect-ratio: 16 / 10;
}


/* ================================================================
   8. CTA SYSTEM
   ================================================================ */

.button,
.btn,
.cta,
a.button,
a.btn,
[role="button"] {
    min-height: 46px;
    padding-inline: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button.primary,
.btn.primary,
.cta.primary,
a.button.primary,
a.btn.primary,
.primary-cta {
    color: white;
    background:
        linear-gradient(
            135deg,
            var(--c10-purple),
            var(--c10-purple-dark)
        );
    box-shadow:
        0 13px 30px rgba(118,87,255,.24);
}

.button.secondary,
.btn.secondary,
.secondary-cta {
    color: var(--c10-ink);
    background: white;
    border: 1px solid rgba(23,19,31,.11);
}


/* ================================================================
   9. LABELS / BADGES
   ================================================================ */

.badge,
.tag,
.pill,
.eyebrow,
.kicker {
    font-size: .76rem;
    line-height: 1;
    text-transform: uppercase;
}

.badge,
.tag,
.pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,217,77,.24);
    border: 1px solid rgba(255,152,56,.15);
}


/* ================================================================
   10. SECTION PERSONALITY
   ================================================================ */

section:nth-of-type(3n+1) {
    --c10-section-accent: var(--c10-purple);
}

section:nth-of-type(3n+2) {
    --c10-section-accent: var(--c10-coral);
}

section:nth-of-type(3n) {
    --c10-section-accent: var(--c10-cyan);
}

section:not(:first-of-type) > h2::after,
section:not(:first-of-type) > header h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 7px;
    margin-top: 16px;
    border-radius: 999px;
    background: var(
        --c10-section-accent,
        var(--c10-purple)
    );
}


/* ================================================================
   11. FOOTER
   ================================================================ */

footer {
    padding-top: clamp(50px, 7vw, 90px);
    padding-bottom: clamp(32px, 5vw, 60px);
}

footer a {
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}


/* ================================================================
   12. TABLET
   ================================================================ */

@media (max-width: 980px) {

    main {
        width: min(
            100% - 28px,
            var(--c10-content-max)
        );
    }

    .hero,
    .hero-section,
    .page-hero,
    main > section:first-of-type {
        min-height: auto;
    }

    .hero,
    .hero-section,
    .page-hero {
        padding:
            clamp(30px, 7vw, 60px)
            clamp(20px, 5vw, 44px);
    }

    main > section {
        margin-block:
            clamp(58px, 9vw, 86px);
    }
}


/* ================================================================
   13. MOBILE
   ================================================================ */

@media (max-width: 680px) {

    :root {
        --c10-section-gap: 56px;
    }

    main {
        width: calc(100% - 24px);
    }

    body::before,
    body::after {
        display: none;
    }

    .hero,
    .hero-section,
    .page-hero,
    main > section:first-of-type {
        border-radius: 24px;
    }

    .hero,
    .hero-section,
    .page-hero {
        padding: 32px 20px;
    }

    .hero h1,
    .hero-section h1,
    .page-hero h1,
    main > section:first-of-type h1 {
        max-width: 11ch;
        font-size:
            clamp(2.75rem, 14vw, 4.5rem);
        line-height: .96;
    }

    h2 {
        font-size:
            clamp(1.9rem, 9vw, 2.8rem);
    }

    .hero::before,
    .hero-section::before {
        width: 88px;
        top: 18px;
        right: -24px;
        opacity: .35;
    }

    .hero::after,
    .hero-section::after {
        display: none;
    }

    .card,
    .tile,
    .panel,
    .product-card,
    .deal-card,
    .travel-card,
    .category-card,
    .content-card,
    .guide-card,
    .article-card,
    .feature-card {
        padding: 19px;
        border-radius: 21px;
    }

    .card:hover,
    .tile:hover,
    .product-card:hover,
    .deal-card:hover,
    .travel-card:hover,
    .category-card:hover,
    .content-card:hover,
    .guide-card:hover,
    .article-card:hover,
    .feature-card:hover {
        transform: none;
    }

    .button,
    .btn,
    .cta,
    a.button,
    a.btn {
        min-height: 48px;
    }

    nav,
    .site-nav {
        scrollbar-width: none;
    }

    nav::-webkit-scrollbar,
    .site-nav::-webkit-scrollbar {
        display: none;
    }

    section:not(:first-of-type) > h2::after,
    section:not(:first-of-type) > header h2::after {
        height: 6px;
        width: 44px;
        margin-top: 13px;
    }
}


/* ================================================================
   14. VERY SMALL DEVICES
   ================================================================ */

@media (max-width: 390px) {

    main {
        width: calc(100% - 18px);
    }

    .hero,
    .hero-section,
    .page-hero {
        padding: 27px 17px;
    }

    .card,
    .tile,
    .panel,
    .product-card,
    .deal-card,
    .travel-card,
    .category-card,
    .content-card,
    .guide-card,
    .article-card,
    .feature-card {
        padding: 17px;
    }
}


/* ================================================================
   15. REDUCED MOTION
   ================================================================ */

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

    .card:hover,
    .tile:hover,
    .product-card:hover,
    .deal-card:hover,
    .travel-card:hover,
    .category-card:hover,
    .content-card:hover,
    .guide-card:hover,
    .article-card:hover,
    .feature-card:hover {
        transform: none;
    }
}

/* WEB-C10-D2-B END */
