/* =========================================================
   LANDING PAGE
========================================================= */

.landing-layout {
    min-height: 100vh;
    background: #0a0a0f;
    overflow-x: hidden;
}


.landing-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient( ellipse at 72% 45%, rgba(168, 85, 247, 0.18) 0%, transparent 42% ), radial-gradient( ellipse at 95% 90%, rgba(236, 72, 153, 0.18) 0%, transparent 35% ), radial-gradient( ellipse at 5% 90%, rgba(99, 102, 241, 0.13) 0%, transparent 35% ), #0a0a0f;
}


/* =========================================================
   NAVBAR
========================================================= */

.landing-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem clamp(1rem, 4vw, 3.5rem);
    position: relative;
    z-index: 20;
    min-height: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
    max-width: 1280px;
    margin: 0 auto;
}

.landing-nav .nav-brand {
    justify-self: start;
}

.landing-nav .nav-links {
    justify-self: center;
}

.landing-nav .nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


/* =========================================================
   BRAND
========================================================= */

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
}

.brand-logo {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-logo svg {
        width: 100%;
        height: 100%;
        filter: drop-shadow( 0 0 10px rgba(236, 72, 153, 0.55) );
    }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand-tagline {
    font-size: 0.7rem;
    color: #a78bfa;
    font-weight: 500;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    margin: 0;
    padding: 0;
}

    .nav-links a {
        position: relative;
        color: #c4b5fd;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: color 0.25s ease;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: #fff;
        }

        .nav-links a.active {
            color: #f0abfc;
        }

            .nav-links a.active::after {
                content: '';
                position: absolute;
                left: 0;
                right: 0;
                bottom: -8px;
                height: 2px;
                border-radius: 10px;
                background: linear-gradient( 90deg, #ec4899, #a855f7 );
                box-shadow: 0 0 10px rgba(236, 72, 153, 0.7);
            }


/* =========================================================
   NAV BUTTONS
========================================================= */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-login,
.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 44px;
    padding: 0 1.4rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-login {
    border: 1.5px solid #a78bfa;
    color: #e9d5ff;
    background: rgba(255, 255, 255, 0.015);
}

    .btn-login:hover {
        transform: translateY(-2px);
        border-color: #d8b4fe;
        background: rgba(168, 85, 247, 0.12);
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.2);
    }

.btn-signup {
    color: white;
    background: linear-gradient( 135deg, #ec4899, #a855f7 );
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.35);
}

    .btn-signup:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(236, 72, 153, 0.55);
    }


/* =========================================================
   HERO
========================================================= */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    padding: 0.75rem clamp(1rem, 4vw, 3.5rem) 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 520px;
    padding-right: 0;
    margin-inline-start: auto;
}

.hero-eyebrow {
    margin: 0 0 1.25rem;
    color: #e879f9;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    font-weight: 600;
}

.hero-title {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 3.8vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient( 90deg, #f472b6, #e879f9, #a855f7 );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 480px;
    margin: 0 0 1.5rem;
    color: #a1a1aa;
    font-size: 0.98rem;
    line-height: 1.7;
}

.btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.7rem;
    border-radius: 9999px;
    background: linear-gradient( 135deg, #ec4899, #a855f7 );
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .btn-get-started:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(236, 72, 153, 0.55);
    }

    .btn-get-started .arrow {
        font-size: 1.3rem;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .btn-get-started:hover .arrow {
        transform: translateX(5px);
    }


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.hearts-container {
    position: relative;
    width: min(700px, 100%);
    height: 560px;
}


/* =========================================================
   HEART
========================================================= */

.heart {
    position: absolute;
    width: 370px;
    aspect-ratio: 1 / 1;
    overflow: visible;
}


/* LEFT HEART */

.heart-left {
    left: 2%;
    top: 105px;
    z-index: 3;
    transform: rotate(-2deg);
}


/* RIGHT HEART */

.heart-right {
    right: 2%;
    top: 50px;
    z-index: 2;
    transform: rotate(2deg);
}


/* =========================================================
   HEART IMAGE
========================================================= */

.heart-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: url("#keshtHeartClip");
    background: linear-gradient( 135deg, #ec4899, #a855f7 );
}


    /* =========================================================
   IMAGE FIT
========================================================= */

    .heart-inner img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transform: scale(1.01);
        transition: transform 0.7s ease;
    }


/* Slight zoom when hovering */

.heart:hover .heart-inner img {
    transform: scale(1.07);
}


/* =========================================================
   HEART GLOW
========================================================= */

.heart-glow {
    position: absolute;
    inset: -20px;
    z-index: -2;
    background: linear-gradient( 135deg, #f472b6, #ec4899, #c026d3, #8b5cf6 );
    clip-path: url("#keshtHeartClip");
    filter: blur(18px);
    opacity: 0.8;
}


/* =========================================================
   NEON BORDER
========================================================= */

.heart::before {
    content: "";
    position: absolute;
    inset: -9px;
    z-index: -1;
    background: linear-gradient( 135deg, #f9a8d4 0%, #ec4899 30%, #c026d3 60%, #8b5cf6 100% );
    clip-path: url("#keshtHeartClip");
    filter: drop-shadow( 0 0 8px rgba(236, 72, 153, 0.9) ) drop-shadow( 0 0 22px rgba(168, 85, 247, 0.7) ) drop-shadow( 0 0 45px rgba(236, 72, 153, 0.4) );
}


/* =========================================================
   INNER HIGHLIGHT
========================================================= */

.heart::after {
    content: "";
    position: absolute;
    inset: 5px;
    z-index: 5;
    pointer-events: none;
    clip-path: url("#keshtHeartClip");
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}


/* =========================================================
   ORBITAL LIGHT RINGS
========================================================= */

.heart-orbit {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    border: 1px solid rgba(217, 70, 239, 0.65);
    opacity: 0.75;
    transform: rotate(-16deg);
}

.orbit-one {
    width: 650px;
    height: 250px;
    left: 20px;
    top: 155px;
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.18);
}

.orbit-two {
    width: 590px;
    height: 210px;
    left: 45px;
    top: 175px;
    transform: rotate(17deg);
    border-color: rgba(168, 85, 247, 0.35);
}


/* =========================================================
   DECORATIVE HEARTS
========================================================= */

.deco-heart {
    position: absolute;
    color: #f472b6;
    opacity: 0.8;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(244, 114, 182, 0.8), 0 0 25px rgba(168, 85, 247, 0.6);
    animation: floatHeart 4s ease-in-out infinite;
}

.deco-1 {
    top: 55px;
    left: 43%;
    font-size: 2rem;
    animation-delay: 0s;
}

.deco-2 {
    right: 5%;
    bottom: 90px;
    font-size: 1.5rem;
    animation-delay: 1.2s;
}

.deco-3 {
    left: 3%;
    bottom: 70px;
    font-size: 1.1rem;
    animation-delay: 2.2s;
}

@keyframes floatHeart {

    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-14px) rotate(5deg);
    }
}


/* =========================================================
   PARTICLES
========================================================= */

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .particles span {
        position: absolute;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #f472b6;
        opacity: 0.45;
        box-shadow: 0 0 8px rgba(244, 114, 182, 0.9);
        animation: particle 8s linear infinite;
    }

        .particles span:nth-child(1) {
            left: 10%;
            top: 20%;
        }

        .particles span:nth-child(2) {
            left: 25%;
            top: 60%;
            width: 3px;
            height: 3px;
            animation-delay: 1s;
        }

        .particles span:nth-child(3) {
            left: 40%;
            top: 30%;
            animation-delay: 2s;
        }

        .particles span:nth-child(4) {
            left: 55%;
            top: 70%;
            width: 5px;
            height: 5px;
            animation-delay: 0.5s;
        }

        .particles span:nth-child(5) {
            left: 70%;
            top: 25%;
            animation-delay: 3s;
        }

        .particles span:nth-child(6) {
            left: 80%;
            top: 55%;
            width: 3px;
            height: 3px;
            animation-delay: 1.5s;
        }

        .particles span:nth-child(7) {
            left: 90%;
            top: 40%;
            animation-delay: 2.5s;
        }

        .particles span:nth-child(8) {
            left: 15%;
            top: 80%;
            animation-delay: 4s;
        }

@keyframes particle {

    0% {
        transform: translateY(0) scale(1);
        opacity: 0.35;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-45px) scale(0.5);
        opacity: 0;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .hero {
        grid-template-columns: minmax(450px, 1fr) minmax(480px, 1fr);
        gap: 0;
    }

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

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

    .heart {
        width: 320px;
    }

    .hearts-container {
        height: 510px;
    }

    .heart-left {
        top: 105px;
    }

    .heart-right {
        top: 50px;
    }

    .orbit-one {
        width: 570px;
    }

    .orbit-two {
        width: 520px;
    }
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 1024px) {

    .landing-nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 3rem 1.5rem 4rem;
    }

    .hero-content {
        max-width: 650px;
        margin: 0 auto;
        padding-right: 0;
    }

    .hero-description {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        min-height: 540px;
        margin-top: -20px;
    }

    .hearts-container {
        width: 650px;
        height: 520px;
        margin: 0 auto;
    }

    .heart {
        width: 320px;
    }

    .heart-left {
        left: 3%;
        top: 100px;
    }

    .heart-right {
        right: 3%;
        top: 50px;
    }
}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 700px) {

    .landing-nav {
        min-height: 70px;
        padding: 0.8rem 1.2rem;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-tagline {
        font-size: 0.62rem;
    }

    .btn-login {
        display: none;
    }

    .btn-signup {
        min-width: auto;
        height: 40px;
        padding: 0 1.1rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2.5rem 1rem 2rem;
    }

    .hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }

    .hero-title {
        font-size: 2.6rem;
        letter-spacing: -0.04em;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

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

    .hearts-container {
        width: 500px;
        height: 400px;
    }

    .heart {
        width: 250px;
    }

    .heart-left {
        left: 0;
        top: 90px;
    }

    .heart-right {
        right: 0;
        top: 45px;
    }

    .orbit-one {
        width: 470px;
        height: 180px;
        left: 15px;
        top: 110px;
    }

    .orbit-two {
        width: 430px;
        height: 160px;
        left: 30px;
        top: 125px;
    }

    .deco-1 {
        top: 35px;
    }
}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 480px) {

    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .btn-get-started {
        padding: 0.8rem 1.4rem;
    }

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

    .hearts-container {
        width: 380px;
        height: 320px;
    }

    .heart {
        width: 190px;
    }

    .heart-left {
        left: 0;
        top: 75px;
    }

    .heart-right {
        right: 0;
        top: 40px;
    }

    .orbit-one {
        width: 360px;
        height: 140px;
        left: 10px;
        top: 90px;
    }

    .orbit-two {
        width: 330px;
        height: 120px;
        left: 20px;
        top: 105px;
    }

    .deco-1 {
        font-size: 1.3rem;
    }

    .deco-2 {
        font-size: 1.1rem;
    }

    .deco-3 {
        font-size: 0.9rem;
    }

    .hearts-container {
        width: 95%;
    }
}
/* =========================================================
   HERO SPACING TIGHTEN + FEATURE CARDS
========================================================= */

.hero {
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    gap: clamp(0.5rem, 2vw, 1.5rem);
    padding: 1.5rem clamp(1rem, 4vw, 3rem) 2.5rem;
    align-items: center;
}

.hero-content {
    max-width: 560px;
    padding-inline-end: 0.5rem;
}

.hero-description {
    margin: 0 0 1.5rem;
}

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

.hearts-container {
    width: min(620px, 100%);
    height: 500px;
}

.nav-user {
    color: #e9d5ff;
    font-size: 0.9rem;
    margin-inline-end: 0.5rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions .btn-login {
    border: none;
    cursor: pointer;
    font: inherit;
}

/* Feature cards under hero */
.feature-cards-section {
    position: relative;
    z-index: 5;
    padding: 2rem clamp(1rem, 4vw, 3rem) 4rem;
}

.feature-cards-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-eyebrow {
    color: #e879f9;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.section-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 1.35rem;
    border-radius: 1.25rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(236, 72, 153, 0.22);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 22px 50px rgba(236, 72, 153, 0.2);
}

.feature-card-locked {
    opacity: 0.85;
}

.feature-card-icon {
    font-size: 1.75rem;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 0.9rem;
    background: rgba(236, 72, 153, 0.15);
}

.feature-card h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: #a1a1aa;
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
}

.feature-card-cta {
    color: #f9a8d4;
    font-size: 0.88rem;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 2rem 1.25rem 1.5rem;
    }

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

    .feature-cards-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 700px) {
    .hero {
        padding: 1.5rem 1rem 1rem;
    }

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

    .hearts-container {
        height: 320px;
    }

    .feature-cards-section {
        padding: 1.5rem 1rem 3rem;
    }
}


/* Auth button on landing */
.btn-signup,
.btn-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
}
.btn-signup:hover,
.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.45);
    filter: brightness(1.05);
}
.btn-auth-ghost,
.btn-login {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: transparent;
    border: 1px solid rgba(196, 181, 253, 0.35);
    color: #e9d5ff;
    cursor: pointer;
    font-size: 0.85rem;
}
.btn-auth-ghost:hover,
.btn-login:hover {
    background: rgba(168, 85, 247, 0.15);
}

/* Circular feature cards */
.circle-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}
.circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease;
}
.circle-card:hover {
    transform: translateY(-6px);
}
.circle-card-media {
    width: clamp(140px, 18vw, 180px);
    height: clamp(140px, 18vw, 180px);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background:
      linear-gradient(#0a0a0f, #0a0a0f) padding-box,
      linear-gradient(135deg, #ec4899, #a855f7, #6366f1) border-box;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.06),
      0 16px 40px rgba(168, 85, 247, 0.25);
}
.circle-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.circle-card:hover .circle-card-media img {
    transform: scale(1.06);
}
.circle-card-title {
    margin: 1rem 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
}
.circle-card-sub {
    margin: 0;
    color: #a1a1aa;
    font-size: 0.85rem;
    max-width: 12rem;
}
.circle-card-locked .circle-card-media {
    filter: grayscale(0.25);
    opacity: 0.9;
}

@media (max-width: 900px) {
    .landing-nav {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions"
            "links links";
    }
    .landing-nav .nav-brand { grid-area: brand; }
    .landing-nav .nav-actions { grid-area: actions; }
    .landing-nav .nav-links {
        grid-area: links;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 0.5rem;
    }
    .circle-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-top: 1rem;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        order: 2;
    }
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-visual {
        min-height: 360px;
        order: 1;
    }
}

/* Main layout header (inner pages) */
.main-layout {
    min-height: 100vh;
    background: #0a0a0f;
    color: #fff;
}
.main-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem clamp(1rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    max-width: 1280px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
}
.main-header .logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    text-decoration: none;
    justify-self: start;
}
.logo-mark {
    color: #ec4899;
    font-size: 1.2rem;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-text strong { font-size: 1.1rem; }
.logo-text small { font-size: 0.68rem; color: #a78bfa; }
.main-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    flex-wrap: wrap;
}
.main-nav-center a {
    color: #c4b5fd;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}
.main-nav-center a:hover { color: #fff; }
.main-nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.main-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem clamp(1rem, 4vw, 2rem) 3rem;
}
@media (max-width: 768px) {
    .main-header {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo actions"
            "nav nav";
    }
    .main-header .logo { grid-area: logo; }
    .main-nav-actions { grid-area: actions; }
    .main-nav-center {
        grid-area: nav;
        justify-content: center;
        padding-top: 0.35rem;
    }
}
