/* ======================= RESET & GLOBAL ======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
html, body {
    height: 100%;
    scroll-behavior: smooth
}
body {
    background: #000;
    color: #fff;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow-x: hidden
}
section {
    position: relative;
    z-index: 1
}
img {
    max-width: 100%;
    height: auto
}
.logo img {
  height: 42px;           /* Adjust to fit your navbar height */
  width: auto;            /* Maintain proportions */
  display: block;
  object-fit: contain;
  vertical-align: middle;
  margin-top: 2px;        /* Tweak alignment if needed */
}

@media (max-width: 768px) {
  .logo img {
    height: 34px;         /* Slightly smaller on mobile */
  }
}


/* ======================= SITE-WIDE BACKGROUND ======================= */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden
}
.site-bg__base {
    position: absolute;
    inset: -15vh -15vw;
    background:
        radial-gradient(1200px 800px at 20% 15%, #120019 0%, rgba(18, 0, 25, 0) 60%),
        radial-gradient(1200px 900px at 85% 25%, #0b0016 0%, rgba(11, 0, 22, 0) 65%),
        linear-gradient(180deg, #000 0%, #050008 40%, #07000b 100%);
    filter: saturate(110%) contrast(105%);
    transform: translateZ(0)
}
.site-bg__blob {
    position: absolute;
    width: 52vw;
    height: 52vw;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .55;
    mix-blend-mode: screen;
    transform: translateZ(0);
    animation: blobFloat 22s ease-in-out infinite
}
.site-bg__blob.b1 {
    left: -10vw;
    top: -8vh;
    background: radial-gradient(circle at 50% 50%, rgba(82, 77, 254, .35), rgba(82, 77, 254, 0) 60%);
    animation-delay: 0s
}
.site-bg__blob.b2 {
    right: -12vw;
    top: 20vh;
    background: radial-gradient(circle at 50% 50%, rgba(124, 29, 123, .28), rgba(124, 29, 123, 0) 60%);
    animation-delay: 6s
}
.site-bg__blob.b3 {
    left: 15vw;
    bottom: -18vh;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle at 50% 45%, rgba(249, 242, 243, .18), rgba(249, 242, 243, 0) 65%);
    animation-delay: 12s
}
@keyframes blobFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1)
    }
    50% {
        transform: translate3d(2vw, -1.5vh, 0) scale(1.07)
    }
}
.site-bg__vignette {
    position: absolute;
    inset: -10vh -10vw;
    background:
        radial-gradient(1200px 600px at 50% 0%, rgba(0, 0, 0, .35), transparent 60%),
        radial-gradient(1600px 800px at 50% 100%, rgba(0, 0, 0, .45), transparent 65%),
        radial-gradient(2000px 2000px at 50% 50%, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55) 75%);
    pointer-events: none
}

/* ======================= APPLE-LIKE NAVBAR ======================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 0, 14, .32);
    backdrop-filter: saturate(125%) blur(12px);
    -webkit-backdrop-filter: saturate(125%) blur(12px);
    transition: height .22s ease, background .22s ease, box-shadow .22s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}
.navbar.scrolled {
    height: 64px;
    background: rgba(8, 0, 14, .5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35)
}
.nav-inner {
    width: min(1200px, 94vw);
    display: flex;
    align-items: center;
    gap: 16px
}

/* left */
.logo {
    font-weight: 800;
    letter-spacing: .3px;
    text-decoration: none;
    color: #fff
}

/* center inline links (desktop) */
.nav-links-inline {
    margin-left: auto;
    margin-right: auto;
    display: none;
    gap: 8px
}
.nav-links-inline a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #e8e8f0;
    font-weight: 700;
    opacity: .9;
    transition: opacity .2s ease
}
.nav-links-inline a:hover {
    opacity: 1
}
.nav-links-inline a.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7C1D7B, #524DFE)
}

/* right */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    padding: 10px 14px;
    background: linear-gradient(90deg, #7C1D7B, #524DFE);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(93, 70, 255, .25);
    transition: transform .15s ease
}
.nav-cta:hover {
    transform: translateY(-1px)
}

/* mobile menu button */
.menu-btn {
    margin-left: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    padding: .5rem .7rem;
    border-radius: 11px;
    display: inline-flex
}

/* show/hide inline links by width */
@media (min-width:980px) {
    .nav-links-inline {
        display: flex
    }
    .menu-btn {
        display: none
    }
}

/* ======================= MOBILE OVERLAY SHEET ======================= */
.nav-panel[hidden] {
    display: none
}
.nav-panel {
    position: fixed;
    inset: 0;
    z-index: 15
}
.nav-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 0, 12, .55);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .25s
}
.nav-panel.open .nav-panel__backdrop {
    opacity: 1
}
.nav-panel__sheet {
    position: absolute;
    right: 14px;
    top: 14px;
    width: min(420px, 92vw);
    border-radius: 18px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    background: linear-gradient(180deg, rgba(16, 0, 25, .88), rgba(8, 0, 14, .92));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
    transition: opacity .25s, transform .25s
}
.nav-panel.open .nav-panel__sheet {
    opacity: 1;
    transform: translateY(0)
}
.sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}
.sheet-title {
    font-size: .85rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #cbd1ff
}
.nav-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer
}
.sheet-links {
    display: flex;
    flex-direction: column;
    padding: 10px
}
.sheet-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .03);
    margin: 6px 0
}
.sheet-links a.primary {
    background: linear-gradient(90deg, #7C1D7B, #524DFE);
    border: none
}

/* ======================= HERO ======================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/hero.jpg') center/cover no-repeat;
    opacity: .28;
    transform: translateY(var(--bgTranslate, 0)) scale(var(--bgScale, 1));
    transition: transform .15s
}
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .48));
    z-index: 1
}
.hero-content {
    position: relative;
    z-index: 3
}
.hero h1 {
    font-size: clamp(3.6rem, 10vw, 9rem);
    line-height: .9;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 900;
    background: linear-gradient(-45deg, #46166F, #524DFE, #7C1D7B, #F9F2F3, #46166F);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 10s ease infinite;
    will-change: transform, opacity;
    transition: transform .2s, opacity .2s
}
@keyframes gradientMove {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}
.bottom-text {
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
    /* take full width */
    z-index: 3;
    opacity: .95;
    text-align: center;
    /* center the text */
    padding: 0 16px;
    /* tiny breathing room on mobile */
}
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    animation: bounce 2s infinite ease-in-out
}
.scroll-arrow svg {
    width: 22px;
    height: 22px;
    stroke: #000;
    fill: none;
    stroke-width: 2
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0)
    }
    40% {
        transform: translateX(-50%) translateY(-10px)
    }
    60% {
        transform: translateX(-50%) translateY(-5px)
    }
}

/* ======================= VISION / STEPS / FEATURES / CARDS / CTA / PRICING / FOOTER  */
/* (same as previous message – unchanged styles) */

.corefit-vision {
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}
.vision-content {
    max-width: 850px;
    padding: 0 2rem
}
.vision-content .tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 2px;
    font-size: .9rem;
    background: rgba(255, 255, 255, .08);
    color: #bfbfbf
}
.vision-content h2 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin: .8rem 0 1rem
}
.vision-content h2 span {
    background: linear-gradient(90deg, #7C1D7B, #524DFE, #F9F2F3);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite
}
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}
.vision-content .description {
    color: rgba(255, 255, 255, .86);
    line-height: 1.85;
    font-size: 1.08rem;
    max-width: 700px;
    margin: 0 auto
}

.corefit-steps {
    padding: 5rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center
}
.steps-container {
    display: flex;
    gap: 5rem;
    max-width: 1200px;
    width: 100%;
    align-items: center
}
.steps-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem
}
.step-item {
    opacity: .45;
    transition: .5s ease;
    border-left: 3px solid rgba(255, 255, 255, .12);
    padding-left: 1.5rem
}
.step-item.active {
    opacity: 1;
    border-left-color: #7C1D7B;
    transform: translateX(4px)
}
.step-item h3 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #46166F, #524DFE, #7C1D7B, #F9F2F3);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 8s ease infinite;
    margin-bottom: .4rem
}
.step-item p {
    color: rgba(255, 255, 255, .88);
    line-height: 1.65
}
.steps-images {
    flex: 1;
    position: relative;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 50px
}
.glow-wrap {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 0
}
.glow-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 60px;
    box-shadow: 0 0 80px rgba(82, 77, 254, .35), 0 0 160px rgba(124, 29, 123, .25), 0 0 250px rgba(249, 242, 243, .15), 0 30px 90px rgba(0, 0, 0, .55)
}
.step-image {
    position: absolute;
    inset: 0;
    width: 100%;
    border-radius: 24px;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.02) translateZ(0);
    backface-visibility: hidden;
    transition: opacity 1s ease, transform 1s ease
}
.step-image.active {
    opacity: 1;
    transform: scale(1) translateZ(0)
}

.section-2 {
    position: relative;
    padding: 8rem 3rem 10rem;
    display: flex;
    flex-direction: column;
    align-items: center
}
.section-2>h2 {
    width: 100%;
    text-align: center;
    margin: 0 auto 1rem;
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -.02em;
    text-shadow: 0 10px 40px rgba(0, 0, 0, .55), 0 0 60px rgba(82, 77, 254, .35), 0 0 80px rgba(124, 29, 123, .22)
}
.section-2>h2 span {
    display: inline-block;
    background: linear-gradient(90deg, #7C1D7B, #524DFE, #F9F2F3);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent !important;
    animation: gradientFlow 8s ease infinite
}
.section-2>.subtitle {
    width: 100%;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 5rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.9
}
.screens {
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2.8rem;
    margin: 0 auto 6rem
}
.screen {
    width: 270px;
    height: 585px;
    border-radius: 40px;
    background: #000 center/cover no-repeat;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .8), 0 0 50px rgba(82, 77, 254, .25);
    transition: transform .35s ease, box-shadow .35s ease
}
.screen:hover {
    transform: translateY(-18px) scale(1.02);
    box-shadow: 0 50px 120px rgba(0, 0, 0, .9), 0 0 80px rgba(124, 29, 123, .4), 0 0 40px rgba(249, 242, 243, .15)
}
.features {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 2rem;
    margin: 0 auto
}
.feature {
    flex: 1;
    text-align: left;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, .1)
}
.feature:last-child {
    border-right: none
}
.feature h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .4rem
}
.feature h3 span {
    font-size: .8rem;
    background: #fff;
    color: #000;
    border-radius: 5px;
    padding: 2px 6px;
    font-weight: 700;
    letter-spacing: .3px
}
.feature p {
    color: rgba(255, 255, 255, .8);
    line-height: 1.6
}

.how-it-works {
    padding: 8rem 2rem
}
.how-it-works .container {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center
}
.how-it-works h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem
}
.how-it-works h2 span {
    background: linear-gradient(90deg, #7C1D7B, #524DFE, #F9F2F3);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite
}
.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .78);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.8
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.75rem
}
.step-card {
    position: relative;
    background: rgba(255, 255, 255, .03);
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: left;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
    transition: .5s ease;
    overflow: hidden
}
.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(249, 242, 243, .3);
    box-shadow: 0 20px 60px rgba(124, 29, 123, .25)
}
.step-card .icon {
    font-size: 2.4rem;
    margin-bottom: 1.45rem
}
.step-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: .8rem
}
.step-card p {
    font-size: 1.06rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .85)
}
.card-bg {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    filter: blur(100px);
    opacity: .3;
    z-index: -1
}
.card-bg.purple {
    background: radial-gradient(circle, #7C1D7B 0%, transparent 70%)
}
.card-bg.blue {
    background: radial-gradient(circle, #524DFE 0%, transparent 70%)
}
.card-bg.pink {
    background: radial-gradient(circle, #F9F2F3 0%, transparent 70%)
}

:root {
    --lime: #B7FF6A
}
.testimonials {
    padding: 8rem 2rem
}
.testimonials .t-header {
    text-align: center;
    margin-bottom: 2.5rem
}
.testimonials .kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 2px;
    font-size: .8rem;
    color: #a8b3c7;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09)
}
.testimonials h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: .8rem 0 0
}
.testimonials h2 span {
    background: linear-gradient(90deg, #7C1D7B, #524DFE, #F9F2F3);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite
}
.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
    align-items: stretch
}
.video-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    min-height: 520px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55)
}
.video-card .video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}
.video-card .vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%);
    pointer-events: none
}
.play-btn {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #7C1D7B, #524DFE);
    box-shadow: 0 12px 30px rgba(124, 29, 123, .35), inset 0 0 12px rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s
}
.play-btn:hover {
    transform: scale(1.05)
}
.v-caption {
    position: absolute;
    left: 22px;
    bottom: 22px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7)
}
.v-caption .name {
    font-weight: 800;
    letter-spacing: .2px
}
.v-caption .role {
    opacity: .8;
    font-size: .95rem
}
.quotes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}
.quote-card {
    position: relative;
    border-radius: 22px;
    padding: 2rem;
    background: rgba(9, 13, 22, .6);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
    overflow: hidden
}
.quote-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 500px at 0% 0%, rgba(255, 255, 255, .04), transparent 45%), radial-gradient(700px 900px at 100% 100%, rgba(124, 29, 123, .06), transparent 55%);
    pointer-events: none
}
.quote-mark {
    color: #524DFE;
    font-size: 28px;
    line-height: 1;
    margin-bottom: .75rem;
    filter: drop-shadow(0 6px 14px rgba(183, 255, 106, .27))
}
.quote-text {
    color: rgba(255, 255, 255, .9);
    line-height: 1.85
}
.quote-author {
    margin-top: 1rem;
    color: #9fb2c6;
    font-size: .95rem
}
.video-modal {
    border: none;
    padding: 0;
    background: transparent;
    width: min(92vw, 980px)
}
.video-modal::backdrop {
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(2px)
}
.video-modal .frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    background: #000
}
.video-modal video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cta-mesh {
    padding: 7rem 2rem 8rem
}
.cta-mesh__card {
    position: relative;
    isolation: isolate;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    padding: clamp(2.75rem, 5vw, 4.75rem);
    background: rgba(10, 0, 18, .6);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 50px 120px rgba(0, 0, 0, .6), 0 0 90px rgba(124, 29, 123, .22), 0 0 60px rgba(82, 77, 254, .18)
}
.cta-mesh__glow {
    position: absolute;
    width: 60%;
    height: 140%;
    filter: blur(90px);
    opacity: .8;
    pointer-events: none;
    border-radius: 50%
}
.cta-mesh__glow--l {
    left: -18%;
    top: -10%;
    background: radial-gradient(55% 65% at 25% 70%, rgba(124, 29, 123, .35), transparent 65%), radial-gradient(55% 65% at 65% 30%, rgba(249, 242, 243, .15), transparent 70%)
}
.cta-mesh__glow--r {
    right: -18%;
    top: -18%;
    background: radial-gradient(55% 65% at 60% 45%, rgba(82, 77, 254, .35), transparent 60%), radial-gradient(55% 65% at 80% 25%, rgba(249, 242, 243, .12), transparent 70%)
}
.cta-mesh__grain {
    position: absolute;
    inset: 0;
    opacity: .13;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 4px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 4px);
    mix-blend-mode: screen
}
.cta-mesh__icon {
    color: #fff;
    filter: drop-shadow(0 8px 22px rgba(255, 255, 255, .38));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem
}
.cta-mesh h2 {
    text-align: center;
    font-weight: 900;
    font-size: clamp(1.9rem, 5vw, 3.4rem);
    line-height: 1.15;
    color: #EAEAF2;
    text-wrap: balance;
    margin-bottom: 1.75rem;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .6)
}
.cta-mesh__btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem 1.45rem;
    border-radius: 999px;
    background: #fff;
    color: #061b0a;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(255, 255, 255, .33), inset 0 0 12px rgba(255, 255, 255, .24);
    transition: transform .15s, box-shadow .2s, filter .2s
}
.cta-mesh__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 50px rgba(255, 255, 255, .4), inset 0 0 16px rgba(255, 255, 255, .3);
    filter: saturate(112%)
}
.cta-mesh__card .cta-mesh__btn {
    display: block;
    width: max-content;
    margin: 0 auto
}

/* ======================= PRICING CARDS ======================= */
/* ——— PRICING (grid, equal heights, on-brand) ——— */
.pricing{ padding:8rem 2rem; text-align:center; }
.pricing .container{ max-width:1200px; margin:0 auto; }

.pricing h2{
  font-size:2.5rem; font-weight:800; margin-bottom:3rem;
  text-shadow:0 0 15px rgba(82,77,254,.3);
}

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(240px, 1fr));
  gap:1.75rem;
  align-items:stretch;
}

.price-card{
  position:relative;
  display:flex; flex-direction:column;
  border-radius:22px;
  padding:2rem;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.price-card.featured{
  background:linear-gradient(135deg, rgba(82,77,254,.18), rgba(124,29,123,.18));
  border-color:rgba(249,242,243,.18);
}

.price-card .plan-head{
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  margin-bottom:.75rem;
}
.price-card h3{ font-weight:800; font-size:1.1rem; }

.price-card .badge{
  font-size:.7rem; font-weight:800; letter-spacing:.3px;
  padding:4px 10px; border-radius:999px;
  background:linear-gradient(90deg,#7C1D7B,#524DFE); color:#fff;
}

.price-line{
  display:flex; align-items:baseline; justify-content:center; gap:.4rem;
  margin:.25rem 0 1.5rem;
}
.price-line .amount{ font-weight:900; font-size:clamp(2.1rem, 4vw, 3rem); line-height:1; }
.price-line .currency{ font-weight:900; font-size:1.25rem; opacity:.95; }
.price-line .per{ font-size:.95rem; color:rgba(255,255,255,.72); }

.features-list{
  list-style:none; text-align:left; margin:0 0 1.5rem; line-height:1.7;
  color:rgba(255,255,255,.9);
}
.features-list li{ position:relative; padding-left:1.4rem; }
.features-list li::before{
  content:"✔"; position:absolute; left:0; top:0; line-height:1.1;
  color:#b84cf3; font-weight:900;
}
.features-list li.disabled{
  opacity:.5; text-decoration:none;
}
.features-list li.disabled::before{ content:"✖"; color:rgba(255,255,255,.45); }

.price-card .btn{
  align-self:center; margin-top:auto;
  background:#fff; color:#000;
  border:none; border-radius:999px;
  padding:.9rem 1.4rem; font-weight:800;
  letter-spacing:.2px; cursor:pointer;
  transition:transform .2s ease, box-shadow .25s ease;
  box-shadow:0 16px 34px rgba(0,0,0,.35);
}
.price-card .btn:hover{
  transform:translateY(-2px);
  box-shadow:0 26px 54px rgba(0,0,0,.45), 0 0 20px rgba(124,29,123,.35);
}

/* Notes line under grid */
.pricing .notes{
  margin-top:1.2rem; color:rgba(255,255,255,.7); font-size:.95rem;
}

/* Responsive */
@media (max-width:1100px){
  .pricing-grid{ grid-template-columns:repeat(2, minmax(240px,1fr)); }
}
@media (max-width:640px){
  .pricing-grid{ grid-template-columns:1fr; }
}



/* ======================= REVEALS (Apple-like) ======================= */
.reveal, .reveal-x-left, .reveal-x-right, .step-card, .video-card, .quote-card, .price-card {
    opacity: 1;
    transform: none
}
.js .reveal {
    opacity: 0;
    transform: translateY(24px) scale(.98)
}
.js .reveal-x-left {
    opacity: 0;
    transform: translateX(-24px)
}
.js .reveal-x-right {
    opacity: 0;
    transform: translateX(24px)
}
.js .step-card, .js .video-card, .js .quote-card, .js .price-card {
    opacity: 0;
    transform: translateY(16px)
}
.in {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity .7s cubic-bezier(.2, .65, .2, 1), transform .7s cubic-bezier(.2, .65, .2, 1)
}

/* ===== Smart Footer (glass + mesh) ===== */
.smart-footer{
  position: relative;
  padding: 7rem 2rem 2.5rem;
}
.smart-footer__card{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 26px;
  padding: clamp(2rem, 3.5vw, 3rem);
  background: rgba(10,0,18,.58);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 40px 120px rgba(0,0,0,.55),
    0 0 90px rgba(124,29,123,.20),
    0 0 70px rgba(82,77,254,.16);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

/* mesh glows */
.smart-footer__card::before,
.smart-footer__card::after{
  content:"";
  position:absolute; inset:auto;
  width:58%; height:140%;
  filter: blur(90px);
  opacity:.8; pointer-events:none;
  border-radius:50%;
}
.smart-footer__card::before{
  left:-22%; top:-18%;
  background:
    radial-gradient(55% 65% at 22% 70%, rgba(124,29,123,.35), transparent 65%),
    radial-gradient(55% 65% at 65% 30%, rgba(249,242,243,.12), transparent 70%);
}
.smart-footer__card::after{
  right:-20%; bottom:-15%;
  background:
    radial-gradient(55% 65% at 60% 45%, rgba(82,77,254,.32), transparent 60%),
    radial-gradient(55% 65% at 80% 25%, rgba(249,242,243,.10), transparent 70%);
}

/* top divider */
.smart-footer__halo{
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(124,29,123,.65), rgba(82,77,254,.65));
  opacity:.85;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(124,29,123,.35), 0 0 16px rgba(82,77,254,.35);
  margin-bottom: 2rem;
}

/* grid */
.smart-footer__grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr) 1.2fr;
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

/* brand */
.sf-brand h3{
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .2px;
  margin-bottom: .5rem;
}
.sf-brand p{
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

/* lists */
.sf-group h4{
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: .85rem;
}
.sf-list { list-style:none; display:grid; gap:.55rem; }
.sf-list a{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  display:inline-block;
  transition: .2s ease;
}
.sf-list a:hover{
  color: #fff;
  text-shadow: 0 0 18px rgba(124,29,123,.45), 0 0 18px rgba(82,77,254,.45);
  transform: translateX(2px);
}

/* social */
.sf-socials{ display:flex; gap:.6rem; margin-top:1rem; }
.sf-socials a{
  width:40px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:12px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  transition: .2s ease;
  backdrop-filter: blur(4px);
}
.sf-socials a:hover{
  transform: translateY(-2px);
  background: linear-gradient(135deg,#7C1D7B,#524DFE);
  box-shadow: 0 10px 24px rgba(124,29,123,.35);
}

/* newsletter */
.sf-news{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1rem;
}
.sf-news p{ color: rgba(255,255,255,.8); margin-bottom:.8rem; }
.sf-news form{ display:flex; gap:.6rem; }
.sf-input{
  flex:1;
  height:44px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#fff; padding:0 14px; outline:none;
}
.sf-input::placeholder{ color: rgba(255,255,255,.6); }
.sf-btn{
  height:44px; padding:0 16px; border-radius:999px; border:none; cursor:pointer;
  font-weight:800;
  background: linear-gradient(90deg,#7C1D7B,#524DFE);
  color:#fff;
  box-shadow: 0 10px 24px rgba(82,77,254,.35), inset 0 0 10px rgba(255,255,255,.16);
  transition:.18s ease;
}
.sf-btn:hover{ transform: translateY(-1px); }

/* bottom row */
.smart-footer__bottom{
  display:flex; gap:1rem; justify-content:space-between; align-items:center;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 2rem; padding-top: 1.25rem;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
}
.sf-legal{ display:flex; gap:1rem; flex-wrap:wrap; }
.sf-legal a{ color: rgba(255,255,255,.75); text-decoration:none; }
.sf-legal a:hover{ color:#fff; }

/* back to top */
#toTop{
  position:absolute; right: 18px; bottom: 18px;
  width:44px; height:44px; border-radius:999px; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  transition:.2s ease; color:#fff;
}
#toTop:hover{
  background: linear-gradient(135deg,#7C1D7B,#524DFE);
  transform: translateY(-2px);
}

/* responsive */
@media (max-width: 1000px){
  .smart-footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .smart-footer__grid{ grid-template-columns: 1fr; }
}

/* ======================= RESPONSIVE ======================= */
@media (max-width:1200px) {
    .screen {
        width: 230px;
        height: 500px
    }
}
@media (max-width:900px) {
    .corefit-vision {
        padding: 6.5rem 1.5rem
    }
    .steps-container {
        flex-direction: column;
        gap: 2.5rem
    }
    .steps-images {
        height: 320px;
        width: 100%
    }
    .section-2 {
        padding: 6.5rem 1.5rem 7.5rem
    }
    .screens {
        flex-wrap: wrap;
        gap: 1.5rem
    }
    .screen {
        width: 220px;
        height: 460px
    }
    .features {
        flex-direction: column;
        border: none
    }
    .feature {
        border: none;
        text-align: center;
        padding-right: 0
    }
    .how-it-works h2 {
        font-size: 2.25rem
    }
    .subtitle {
        font-size: 1rem
    }
    .pricing h2 {
        font-size: 2rem
    }
    .price-card {
        width: 260px
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center
    }
    .footer-brand p {
        max-width: none
    }
}