@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --navy: #081c5b;
    --blue: #0b6bff;
    --sky: #2fa4ff;
    --lime: #c6f432;
    --bg: #eef6ff;
    --txt: #3b4a6b;
    --line: #dbe8fb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: #fff;
    color: var(--txt);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
.m {
    font-family: Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    color: var(--navy);
}

h1 {
    font-weight: 900;
    font-size: clamp(2.2rem, 5.8vw, 5.4rem);
    line-height: .98;
    letter-spacing: -1px;
}

h1 em,
h2 em {
    font-style: normal;
    color: var(--blue);
}

h2 {
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.05;
}

h3 {
    font-weight: 800;
    font-size: 1.05rem;
}

.wrap {
    max-width: 1280px;
    margin: auto;
    padding: 0 28px;
    position: relative;
    width: 100%;
}

.eyebrow {
    font-size: .78rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.eyebrow.l:after {
    content: "";
    width: 56px;
    height: 3px;
    background: var(--lime);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 13px 28px;
    border-radius: 12px;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .88rem;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: .25s;
    background: #fff;
    color: var(--blue);
    white-space: nowrap;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 107, 255, .3);
}

.btn.p {
    background: linear-gradient(90deg, #0a58e6, var(--sky));
    color: #fff;
    border-color: transparent;
}

.btn.lime {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--navy);
    border-radius: 50px;
}

.btn.full {
    width: 100%;
    justify-content: center;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
header {
    position: relative;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid rgba(219, 232, 251, 0.6);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
}

.nav-col {
    display: flex;
    align-items: center;
    min-width: 0;
}

.nav-left {
    flex: 1 1 0;
    justify-content: flex-start;
}

.nav-center {
    flex: 0 0 auto;
    justify-content: center;
}

.nav-right {
    flex: 1 1 0;
    justify-content: flex-end;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

/* Header Round Logo: Always a perfect circle across all viewports */
.brand img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    max-width: 70px;
    flex: 0 0 70px;
    border-radius: 50%;
    margin-top: 0;
    box-shadow: 0 6px 20px rgba(8, 28, 91, .2);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.word {
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 900;
    font-size: 2rem;
    line-height: .92;
    color: var(--navy);
    letter-spacing: 1px;
}

.word small {
    display: block;
    font-size: .85rem;
    color: var(--blue);
    letter-spacing: 2px;
    margin-top: 4px;
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a.l {
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 700;
    font-size: .88rem;
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
    display: inline-flex;
    align-items: center;
}

nav a.on,
nav a.l:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.burger {
    display: none;
    background: transparent;
    border: 0;
    font-size: 1.9rem;
    color: var(--navy);
    cursor: pointer;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    position: relative;
    background: var(--bg);
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero .bg {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: center/cover no-repeat;
}

.hero .bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(234, 243, 255, .92) 0%, rgba(234, 243, 255, .78) 22%, rgba(234, 243, 255, .38) 40%, rgba(234, 243, 255, 0) 62%);
}

.hero-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    width: 100%;
    padding-top: 34px;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 700px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-side {
    display: grid;
    gap: 34px;
    padding-bottom: 26px;
    justify-items: start;
    position: relative;
    z-index: 2;
    color: var(--navy);
}

.hero-side div {
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    color: rgba(8, 28, 91, .8);
}

.hero-side span {
    display: inline-block;
    border-left: 2px solid rgba(11, 107, 255, .5);
    padding-left: 10px;
}

.hero p.sub {
    font-size: 1.45rem;
    color: #56648a;
    margin: 14px 0 26px;
    line-height: 1.4;
}

.feat {
    display: flex;
    gap: 28px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.feat div {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    line-height: 1.3;
}

.feat i {
    font-style: normal;
    font-size: 1.7rem;
    flex-shrink: 0;
}

.slogan {
    margin-top: 30px;
    font-size: .78rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 700;
}

.dots {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.dots span {
    width: 44px;
    height: 6px;
    border-radius: 5px;
    background: #cfdcf0;
}

.dots span:first-child {
    background: var(--blue);
}

/* =========================================================
   SPORTS CARDS (.fcs)
   ========================================================= */
.fcs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 28px auto;
}

.fc {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(11, 107, 255, .12);
    min-height: 110px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    transition: .3s;
}

.fc:hover {
    transform: translateY(-5px);
}

.fc:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 52%;
    background: var(--i) center/cover;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
    mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.fc i {
    font-style: normal;
    font-size: 2.3rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.fc div {
    position: relative;
    z-index: 1;
}

.fc p {
    font-size: .85rem;
    color: #6b7a96;
}

/* =========================================================
   HOME PLANS SECTION (.plansec)
   ========================================================= */
.plansec {
    background: #dcecfc;
    padding: 56px 0;
}

.plansec .wrap {
    max-width: 1380px;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 46px;
    align-items: center;
}

.plansec .lead {
    margin: 16px 0 30px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.mini {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 600;
    font-size: .72rem;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1.3;
}

.mini div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mini i {
    font-style: normal;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pc {
    background: #fff;
    border-radius: 16px;
    padding: 26px 24px;
    position: relative;
    box-shadow: 0 10px 26px rgba(11, 107, 255, .12);
    transition: .3s;
    min-width: 0;
}

.pc:hover {
    transform: translateY(-6px);
}

.pc.hot {
    border-top: 30px solid var(--blue);
    padding-top: 20px;
}

.pc.hot:before {
    content: "MOST POPULAR";
    position: absolute;
    top: -26px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font: 800 .7rem Montserrat, Arial, sans-serif;
    letter-spacing: 1px;
}

.pc h3 {
    font-size: 1.15rem;
}

.pc .t {
    font-size: .9rem;
    margin-bottom: 12px;
}

.pc .pr {
    font: 800 1.9rem Montserrat, Arial, sans-serif;
    color: var(--navy);
    margin: 8px 0 14px;
}

.pc .pr small {
    font: 500 .9rem Inter, Arial, sans-serif;
}

.pc ul {
    list-style: none;
    margin-bottom: 20px;
}

.pc li {
    font-size: .9rem;
    padding: 5px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.pc li:before {
    content: "✔";
    color: var(--blue);
    font-weight: 800;
}

/* =========================================================
   PAGE HEROES (.ph)
   ========================================================= */
.ph {
    position: relative;
    background: linear-gradient(135deg, #e6f2ff, #fff 60%);
    overflow: hidden;
}

.ph .pic {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 62%;
    background: right center/cover no-repeat;
}

.ph .pic:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #eaf4ff, transparent 28%);
}

.ph .wrap {
    padding-top: 50px;
    padding-bottom: 60px;
}

.ph .txt {
    max-width: 560px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.ph p.sub {
    font-size: 1.15rem;
    margin-top: 16px;
    color: #2b3a5f;
    line-height: 1.5;
}

/* =========================================================
   ABOUT US PAGE SPECIFICS
   ========================================================= */
.vals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.vc {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 26px rgba(11, 107, 255, .14);
    display: flex;
    gap: 16px;
    align-items: center;
    transition: .3s;
}

.vc:hover {
    transform: translateY(-5px);
}

.ic {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a58e6, var(--sky));
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    aspect-ratio: 1 / 1;
}

.vc h3:after {
    content: "";
    display: block;
    width: 26px;
    height: 3px;
    background: var(--lime);
    margin: 6px 0;
}

.vc p {
    font-size: .85rem;
}

.band {
    background: linear-gradient(90deg, #071a52, #0b4bb5 55%, #071a52);
    margin-top: 20px;
    padding: 40px 0;
    color: #fff;
}

.band .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.band b {
    display: block;
    font: 900 4rem/1 Montserrat, Arial, sans-serif;
    background: linear-gradient(180deg, #5fd0ff, #1a7bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.band span {
    font: 700 1rem Montserrat, Arial, sans-serif;
    text-transform: uppercase;
}

.band .wrap > div + div {
    border-left: 2px solid var(--lime);
}

.more {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: center;
    padding: 36px 0 0;
}

.more .im {
    height: 340px;
    background: center/cover;
    border-radius: 6px;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.more p {
    margin: 22px 0 24px;
    line-height: 1.7;
}

/* =========================================================
   MEMBERSHIP PLANS PAGE SPECIFICS
   ========================================================= */
.plans-h {
    background: linear-gradient(135deg, #e6f2ff, #fff);
}

.plans-h .pic {
    width: 50%;
    left: auto;
    right: 12%;
    height: 360px;
    top: 140px;
    opacity: .95;
}

.pw {
    position: relative;
    margin-top: 20px;
    z-index: 3;
}

.pw .side {
    display: none;
}

.pw .pg {
    gap: 30px;
    align-items: stretch;
}

.pw .pc {
    padding: 28px;
}

.pc.pp {
    border-radius: 18px;
}

.pc .hd {
    display: flex;
    gap: 16px;
    align-items: center;
}

.pc .hd small {
    display: block;
    letter-spacing: 3px;
    color: #8aa0c8;
    font: 600 .7rem Montserrat, Arial, sans-serif;
    margin-top: 3px;
}

.pc .pr b {
    color: var(--blue);
}

.pc li.no {
    color: #aab4c8;
}

.pc li.no:before {
    content: "✔";
    color: #c7cdd8;
}

.pc.top {
    border: 3px solid #35b6ff;
}

.pc.top .bd {
    position: absolute;
    top: -16px;
    right: 20px;
    background: var(--lime);
    padding: 6px 24px;
    font: 800 .8rem Montserrat, Arial, sans-serif;
    color: var(--navy);
}

.side {
    position: absolute;
    bottom: 0;
    width: 230px;
    height: 420px;
    background: center/cover;
    z-index: 1;
}

.side.a {
    left: 0;
}

.side.b {
    right: 0;
}

.cb {
    background: linear-gradient(90deg, #fff, #eaf4ff 35%, #071a52 35%, #0a3fa8 70%, #fff 70%);
    margin-top: 20px;
    padding: 22px 0;
}

.cb .wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.cb .cta {
    color: #fff;
}

.cb .cta .m {
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
}

.cb .cta .m em {
    color: #37c6ff;
}

.cb .it {
    display: flex;
    gap: 26px;
    justify-content: center;
    font: 700 .75rem Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    color: var(--navy);
    text-align: left;
}

/* =========================================================
   CONTACT US PAGE SPECIFICS
   ========================================================= */
.ct .wrap {
    padding-top: 40px;
}

.ct .grid2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
    margin-top: 26px;
}

.form {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 14px 40px rgba(11, 107, 255, .15);
}

.form h3 {
    font-size: 1.4rem;
}

.form label {
    display: block;
    font: 800 .78rem Montserrat, Arial, sans-serif;
    color: var(--navy);
    margin: 16px 0 6px;
    text-transform: uppercase;
}

.fld {
    position: relative;
}

.fld i {
    position: absolute;
    left: 14px;
    top: 13px;
    font-style: normal;
    opacity: .55;
}

.fld input,
.fld textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px 13px 44px;
    font: inherit;
    background: #fbfdff;
    outline: 0;
    min-height: 44px;
    box-sizing: border-box;
}

.fld input:focus,
.fld textarea:focus {
    border-color: var(--blue);
}

.err {
    color: #d93025;
    font-size: .78rem;
    display: none;
}

.ok {
    display: none;
    margin-top: 14px;
    padding: 13px;
    border-radius: 10px;
    background: #e7f9ec;
    color: #146c2e;
    font-weight: 600;
}

.cpic {
    height: 300px;
    background: center/cover no-repeat;
    margin-bottom: 16px;
    border-radius: 12px;
}

.ig {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ic2 {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 6px 20px rgba(11, 107, 255, .1);
}

.ic2 .ic {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    background: var(--blue);
    aspect-ratio: 1 / 1;
}

.ic2 h3 {
    font-size: .85rem;
}

.ic2 p {
    font-size: .85rem;
}

.map {
    grid-column: span 2;
    background: linear-gradient(135deg, #dcecfc, #f3f9ff);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font: 700 .85rem Montserrat, Arial, sans-serif;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    min-height: 90px;
    text-align: center;
    padding: 12px;
}

.strip {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 34px 0 20px;
    font: 700 .8rem Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    color: var(--navy);
    flex-wrap: wrap;
}

/* =========================================================
   ANIMATIONS & REVEALS
   ========================================================= */
.rev {
    opacity: 0;
    transform: translateY(28px);
    transition: .7s;
}

.rev.show {
    opacity: 1;
    transform: none;
}

/* =========================================================
   FOOTER (.sf)
   ========================================================= */
.sf {
    background: linear-gradient(120deg, #071a52, #0a3fa8 60%, #0b6bff);
    color: #dbe8ff;
    margin-top: 50px;
    padding: 16px 0 0;
}

.sf .top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* Footer Round Logo: Always a perfect circle across all screen sizes */
.sf .brand img {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
    max-width: 68px;
    flex: 0 0 68px;
    margin: 0;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}

.sf .word {
    color: #fff;
    font-size: 1.7rem;
}

.sf .word small {
    color: #5fc4ff;
    font-size: .72rem;
    letter-spacing: 3px;
}

.sf .tag {
    margin: 0 0 8px;
    font-size: 1rem;
}

.sf ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 28px;
    margin: 0;
    padding: 0;
}

.sf li {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.sf .soc {
    display: flex;
    gap: 12px;
    align-self: center;
    margin-top: 0;
}

.sf .soc a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .1);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    transition: .25s;
    aspect-ratio: 1 / 1;
}

.sf .soc a:hover {
    background: var(--lime);
    color: var(--navy);
}

.sf .bot {
    border-top: 1px solid rgba(255, 255, 255, .2);
    margin-top: 14px;
    padding: 14px 0;
    text-align: center;
    font-size: .92rem;
}

.sf .bot a {
    color: #5fc4ff;
    font-weight: 600;
}

.sf .bot a:hover {
    color: var(--lime);
}

/* =========================================================
   APEX LIVE PLANS (Phase-1)
   ========================================================= */
#apex-plans-root {
    gap: 24px;
    align-items: stretch;
    margin-top: 0;
}

#apex-plans-root .pc {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 24px 26px;
    border-radius: 18px;
    border: 1px solid rgba(210, 225, 245, 0.7);
    box-shadow: 0 10px 30px -10px rgba(11, 107, 255, 0.08);
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
    background: #fff;
}

#apex-plans-root .pc:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(11, 107, 255, 0.16);
    border-color: #bcd7ff;
}

#apex-plans-root .pc.hot {
    position: relative;
    border: 2px solid var(--blue);
    box-shadow: 0 18px 42px -8px rgba(11, 107, 255, 0.22);
    overflow: hidden;
    padding-top: 52px;
}

#apex-plans-root .pc.hot:before {
    content: "MOST POPULAR";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 800 .72rem Montserrat, Arial, sans-serif;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

#apex-plans-root .pc h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .3px;
    color: var(--navy);
    margin-bottom: 6px;
}

#apex-plans-root .pc .t {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
    color: #64748b;
    font-size: .88rem;
    line-height: 1.45;
}

#apex-plans-root .pc .pr {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font: 800 1.85rem Montserrat, Arial, sans-serif;
    color: var(--navy);
    margin: 4px 0 18px;
    letter-spacing: -.5px;
    flex-wrap: wrap;
}

#apex-plans-root .pc .pr small {
    display: inline;
    font: 600 .85rem Inter, Arial, sans-serif;
    color: #7c8aa6;
    text-transform: capitalize;
}

#apex-plans-root .pc ul {
    flex: 1;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
}

#apex-plans-root .pc ul li {
    font-size: .88rem;
    color: #334155;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#apex-plans-root .pc ul li:before {
    content: "✓";
    color: var(--blue);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1.3;
}

#apex-plans-root .pc .btn {
    border-radius: 10px;
    padding: 13px 18px;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .8px;
    min-height: 44px;
}

.apex-plans-skel {
    height: 340px;
    border-radius: 16px;
    background: linear-gradient(100deg, #eef4fc 30%, #f7fbff 50%, #eef4fc 70%);
    background-size: 200% 100%;
    animation: apexShimmer 1.3s infinite;
    border: 1px solid var(--line);
}

@keyframes apexShimmer {
    to {
        background-position: -200% 0;
    }
}

.apex-plans-state {
    text-align: center;
    color: #7c8aa6;
    padding: 40px 10px;
    font-size: .95rem;
}

/* =========================================================
   APEX HEADER AUTH WIDGET
   ========================================================= */
.apex-auth-widget {
    position: relative;
    display: flex;
    align-items: center;
}

.apex-auth-loginbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: 800 .82rem Montserrat, Arial, sans-serif;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #0a58e6, var(--sky));
    padding: 11px 22px;
    min-height: 44px;
    border-radius: 50px;
    transition: .25s;
    box-shadow: 0 6px 16px rgba(11, 107, 255, .25);
    white-space: nowrap;
}

.apex-auth-loginbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(11, 107, 255, .35);
}

.apex-auth-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px;
    min-height: 44px;
    border-radius: 50px;
    transition: .2s;
    border: 1px solid transparent;
}

.apex-auth-profile:hover {
    background: #eaf4ff;
    border-color: var(--line);
}

.apex-auth-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a58e6, var(--sky));
    color: #fff;
    display: grid;
    place-items: center;
    font: 800 .9rem Montserrat, Arial, sans-serif;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
}

.apex-auth-avatar.lg {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    flex: 0 0 46px;
    font-size: 1.05rem;
}

.apex-auth-name {
    font: 700 .85rem Montserrat, Arial, sans-serif;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .4px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apex-auth-caret {
    font-size: .7rem;
    color: var(--blue);
}

.apex-auth-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(8, 28, 91, .18);
    padding: 16px;
    z-index: 60;
}

.apex-auth-dropdown[hidden] {
    display: none;
}

.apex-auth-dd-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.apex-auth-dd-head strong {
    display: block;
    font: 800 .95rem Montserrat, Arial, sans-serif;
    color: var(--navy);
    text-transform: uppercase;
}

.apex-auth-dd-head small {
    display: block;
    font-size: .78rem;
    color: #7c8aa6;
    margin-top: 2px;
}

.apex-auth-dd-status {
    font-size: .82rem;
    color: var(--txt);
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.apex-badge {
    font: 800 .72rem Montserrat, Arial, sans-serif;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    display: inline-block;
}

.apex-badge.active {
    background: #e6f4ea;
    color: #15803d;
}

.apex-badge.std {
    background: #eef2f8;
    color: #64748b;
}

.apex-auth-dd-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    font: 700 .82rem Montserrat, Arial, sans-serif;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.apex-auth-dd-link:hover {
    color: var(--navy);
}

.apex-auth-dd-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    margin-top: 12px;
    font: 800 .82rem Montserrat, Arial, sans-serif;
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: .2s;
}

.apex-auth-dd-logout:hover {
    background: #fecaca;
}

/* On desktop, hide mobile-only auth widget */
.apex-auth-mobile-widget {
    display: none !important;
}

/* =========================================================
   APEX PROFILE PAGE (Step-2b)
   ========================================================= */
.apex-prof-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 14px 40px rgba(11, 107, 255, .15);
    max-width: 560px;
    margin: 30px auto;
    width: 100%;
}

.apex-prof-head {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}

.apex-prof-head .apex-auth-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    flex: 0 0 64px;
    font-size: 1.4rem;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.apex-prof-head h2 {
    font-size: 1.4rem;
    margin: 0;
}

.apex-prof-head p {
    font-size: .85rem;
    color: #7c8aa6;
    margin: 4px 0 0;
}

.apex-prof-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
    font-size: .92rem;
}

.apex-prof-row:last-child {
    border-bottom: none;
}

.apex-prof-row .k {
    font: 800 .72rem Montserrat, Arial, sans-serif;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #8aa0c8;
}

.apex-prof-row .v {
    color: var(--navy);
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.apex-prof-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.apex-prof-actions .btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
}

/* =========================================================
   APEX APPLY FORM
   ========================================================= */
.apex-apply-summary {
    background: linear-gradient(160deg, #f3f9ff, #eaf4ff);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.apex-apply-plan {
    font: 900 1.2rem Montserrat, Arial, sans-serif;
    color: var(--navy);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.apex-apply-cat {
    font: 800 .68rem Montserrat, Arial, sans-serif;
    letter-spacing: 1px;
    color: #fff;
    background: var(--blue);
    padding: 3px 10px;
    border-radius: 20px;
}

.apex-apply-line {
    font-size: .92rem;
    color: var(--txt);
    margin-top: 8px;
}

.apex-apply-line b {
    color: var(--navy);
}

.apex-apply-line small {
    color: #7c8aa6;
}

.apex-apply-total {
    font: 800 1.15rem Montserrat, Arial, sans-serif;
    color: var(--blue);
    margin-top: 12px;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
}

.apex-apply-type {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.apex-apply-type label {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    font: 700 .9rem Montserrat, Arial, sans-serif;
    color: var(--navy);
    min-height: 44px;
}

.apex-apply-type label:has(input:checked) {
    border-color: var(--blue);
    background: #eaf4ff;
}

.apex-apply-fld {
    margin-bottom: 14px;
}

.apex-apply-fld label {
    display: block;
    font: 800 .72rem Montserrat, Arial, sans-serif;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.apex-apply-fld input,
.apex-apply-fld select,
.apex-apply-fld textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 11px 13px;
    font: inherit;
    background: #fbfdff;
    color: var(--navy);
    outline: 0;
    min-height: 44px;
    box-sizing: border-box;
}

.apex-apply-fld input:focus,
.apex-apply-fld select:focus,
.apex-apply-fld textarea:focus {
    border-color: var(--blue);
}

.apex-apply-fld input[type=file] {
    padding: 8px;
    background: #fff;
}

.apex-apply-sec {
    font: 800 .9rem Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--navy);
    margin: 18px 0 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
}

.apex-apply-member {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    background: #fafcff;
}

.apex-apply-mhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.apex-apply-mhead strong {
    color: var(--blue);
    font: 800 .9rem Montserrat, Arial, sans-serif;
}

.apex-apply-mdel {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
}

.apex-apply-u5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--txt);
    margin-top: 6px;
}

.apex-apply-terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .85rem;
    color: var(--txt);
    margin: 16px 0;
    line-height: 1.4;
}

.apex-apply-terms input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.apex-apply-err {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 12px 0;
    font-weight: 600;
}

.apex-apply-ok {
    background: #e6f4ea;
    border: 1px solid #86efac;
    color: #15803d;
    padding: 16px 18px;
    border-radius: 12px;
    margin: 12px 0;
    font-weight: 600;
    line-height: 1.6;
}

.apex-apply-ref {
    display: inline-block;
    margin-top: 8px;
    font: 800 .9rem Montserrat, Arial, sans-serif;
    color: var(--navy);
    background: #eef2f8;
    padding: 4px 10px;
    border-radius: 6px;
}

/* =========================================================
   APEX MEMBERSHIP CARD (profile)
   ========================================================= */
.apex-card {
    margin: 18px 0 6px;
    border-radius: 18px;
    padding: 20px 22px;
    color: #fff;
    background: linear-gradient(135deg, #071a52 0%, #0a3fa8 55%, #0b6bff 100%);
    box-shadow: 0 16px 40px rgba(8, 28, 91, .32);
    position: relative;
    overflow: hidden;
}

.apex-card:after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.apex-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.apex-card-logo {
    font: 900 1.1rem Montserrat, Arial, sans-serif;
    letter-spacing: 2px;
}

.apex-card-kind {
    font: 700 .62rem Montserrat, Arial, sans-serif;
    letter-spacing: 2px;
    color: #9fd0ff;
    text-transform: uppercase;
}

.apex-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.apex-card-info {
    min-width: 0;
    flex: 1;
}

.apex-card-label {
    font: 700 .6rem Montserrat, Arial, sans-serif;
    letter-spacing: 1.5px;
    color: #9fd0ff;
    text-transform: uppercase;
}

.apex-card-holder {
    font: 800 1.25rem Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 2px 0 4px;
    word-break: break-word;
}

.apex-card-plan {
    font: 600 .82rem Inter, Arial, sans-serif;
    color: #dbe8ff;
}

.apex-card-plan em {
    font-style: normal;
    background: rgba(255, 255, 255, .16);
    padding: 2px 8px;
    border-radius: 20px;
    font: 800 .6rem Montserrat, Arial, sans-serif;
    letter-spacing: 1px;
    margin-left: 6px;
}

.apex-card-num {
    font: 700 1rem "Courier New", monospace;
    letter-spacing: 2px;
    margin: 12px 0 6px;
    color: #eaf4ff;
    word-break: break-all;
}

.apex-card-exp b {
    font: 800 .9rem Montserrat, Arial, sans-serif;
    color: #fff;
}

.apex-card-qr {
    flex: none;
    width: 124px;
    height: 124px;
    background: #fff;
    border-radius: 12px;
    display: grid;
    place-items: center;
    padding: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.apex-card-qr img,
.apex-card-qr canvas {
    width: 112px !important;
    height: 112px !important;
    display: block;
}

.apex-card-qr-token {
    font: 600 .55rem "Courier New", monospace;
    color: #081c5b;
    word-break: break-all;
    text-align: center;
    line-height: 1.2;
}

.apex-card-qr-none {
    color: #94a3b8;
    font-size: 1.4rem;
}

.apex-card-pending {
    margin: 18px 0 6px;
    padding: 14px 16px;
    border: 1.5px dashed var(--blue);
    border-radius: 12px;
    background: #eaf4ff;
    color: var(--navy);
    font: 600 .85rem Inter, Arial, sans-serif;
    display: flex;
    gap: 10px;
    align-items: center;
}

.apex-card-pending span {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES (Mobile-First / Clear Hierarchy)
   ========================================================= */

/* --- 1000px and below (Tablets & Mobile) --- */
@media(max-width: 1000px) {
    .fcs,
    .vals {
        grid-template-columns: repeat(2, 1fr);
    }

    .vals {
        margin-top: 24px;
    }

    .plansec .wrap,
    .more,
    .ct .grid2 {
        grid-template-columns: 1fr;
    }

    .pg {
        grid-template-columns: 1fr;
    }

    .side {
        display: none;
    }

    .cb {
        background: #0a3fa8;
    }

    .cb .wrap {
        grid-template-columns: 1fr;
    }

    .cb .it {
        display: none;
    }

    .plans-h .pic {
        display: none;
    }

    .band .wrap {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .ig {
        grid-template-columns: repeat(2, 1fr);
    }

    .map {
        grid-column: span 2;
    }

    /* Header & Mobile Menu */
    .nav {
        height: 72px;
        justify-content: space-between;
    }

    .nav-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-center {
        display: none;
    }

    .nav-right {
        flex: 0 0 auto;
        margin-left: 0;
        gap: 0;
        justify-content: flex-end;
    }

    /* Move auth widget inside mobile drawer; keep top bar clean */
    .nav-right .apex-auth-widget {
        display: none !important;
    }

    .brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        max-width: calc(100% - 50px);
    }

    .brand img {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        max-width: 52px;
        flex: 0 0 52px;
        box-shadow: 0 4px 14px rgba(8, 28, 91, .2);
    }

    .sf .brand img {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        max-width: 56px;
        flex: 0 0 56px;
    }

    .word {
        font-size: clamp(1.25rem, 4.2vw, 1.65rem);
    }

    .word small {
        font-size: clamp(0.65rem, 2.2vw, 0.78rem);
        letter-spacing: 1.5px;
    }

    .burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.85rem;
    }

    /* Mobile Drawer */
    #menu,
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        display: none;
        padding: 16px 24px 24px;
        box-shadow: 0 16px 36px rgba(8, 28, 91, .16);
        border-top: 1px solid var(--line);
        z-index: 100;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    #menu.open,
    nav.open {
        display: block;
        animation: apexNavSlide .2s ease-out;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a.l {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 12px 6px;
        font-size: .95rem;
        font-weight: 700;
        border-bottom: 1px solid #edf2f9;
        color: var(--navy);
    }

    nav a.on,
    nav a.l:hover {
        color: var(--blue);
        border-color: var(--blue);
    }

    /* Mobile Auth Widget inside menu drawer */
    .apex-auth-mobile-widget {
        display: block !important;
        margin-top: 16px;
        padding-top: 14px;
        border-top: 2px solid var(--line);
    }

    .mobile-auth-btn {
        width: 100%;
        min-height: 44px;
        font-size: .88rem;
        font-weight: 800;
        letter-spacing: .8px;
        justify-content: center;
    }

    .apex-auth-mobile-card {
        background: #f7faff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 14px;
    }

    .apex-auth-mobile-user {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--line);
    }

    .apex-auth-mobile-user strong {
        display: block;
        font: 800 .92rem Montserrat, Arial, sans-serif;
        color: var(--navy);
        text-transform: uppercase;
    }

    .apex-auth-mobile-user small {
        display: block;
        font-size: .78rem;
        color: #7c8aa6;
        word-break: break-all;
    }

    .apex-auth-mobile-links {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .apex-auth-mobile-links .apex-auth-dd-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        font-size: .85rem;
    }

    .apex-auth-mobile-links .apex-auth-dd-logout {
        min-height: 44px;
        font-size: .85rem;
    }
}

@keyframes apexNavSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 768px and below (Mobile & Small Tablets - Hero Background & Overlay Fix) --- */
@media(max-width: 768px) {
    /* Hero background text clash fix */
    .hero {
        min-height: auto;
        padding: 10px 0 24px;
    }

    .hero .bg {
        width: 100%;
        opacity: 0.12 !important;
    }

    .hero .bg:after {
        background: rgba(238, 246, 255, 0.95) !important;
    }

    .ph .pic {
        width: 100%;
        opacity: 0.12 !important;
    }

    .ph .pic:after {
        background: rgba(230, 242, 255, 0.95) !important;
    }

    .hero-wrap {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-top: 36px;
        padding-bottom: 30px;
        gap: 20px;
    }

    .hero-side {
        display: none;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 7.5vw, 3.8rem);
        line-height: 1.04;
        letter-spacing: -0.5px;
    }

    .hero p.sub {
        font-size: clamp(1rem, 3.4vw, 1.25rem);
        color: #4b587a;
        margin: 12px 0 20px;
    }

    .feat {
        gap: 12px 18px;
        margin-bottom: 24px;
    }

    .feat div {
        font-size: clamp(0.72rem, 2.4vw, 0.78rem);
    }

    .slogan {
        margin-top: 22px;
        font-size: clamp(0.66rem, 2.2vw, 0.74rem);
        letter-spacing: clamp(1.5px, 1vw, 3px);
        word-break: break-word;
    }

    .band {
        padding: 30px 0;
    }

    .band .wrap > div + div {
        border-left: none;
    }

    .band b {
        font-size: clamp(2.4rem, 8vw, 3.2rem);
    }

    .band span {
        font-size: .85rem;
    }

    .sf .top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .sf .soc {
        align-self: flex-start;
    }

    .sf ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- 560px and below (Standard Mobile Screens) --- */
@media(max-width: 560px) {
    .fcs,
    .vals {
        grid-template-columns: 1fr;
    }

    .nav {
        height: 68px;
    }

    .brand img {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        max-width: 48px;
        flex: 0 0 48px;
    }

    .sf .brand img {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        max-width: 50px;
        flex: 0 0 50px;
    }

    .word {
        font-size: 1.35rem;
    }

    .word small {
        font-size: .65rem;
        letter-spacing: 1px;
    }

    .fc {
        min-height: 96px;
        padding: 14px 18px;
    }

    .fc i {
        font-size: 1.8rem;
    }

    .fc h3 {
        font-size: .96rem;
    }

    .fc p {
        font-size: .76rem;
    }

    .more .im {
        height: 220px;
        clip-path: none;
        border-radius: 12px;
    }

    .ig {
        grid-template-columns: 1fr;
    }

    .map {
        grid-column: auto;
        min-height: 70px;
    }

    .apex-card-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .apex-card-qr {
        align-self: center;
        margin-top: 10px;
    }

    .apex-prof-card {
        padding: 20px 16px;
        margin: 20px auto;
    }

    .apex-prof-head {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .apex-prof-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .apex-prof-row .v {
        text-align: left;
    }

    .apex-prof-actions {
        flex-direction: column;
    }

    .apex-prof-actions .btn {
        width: 100%;
    }
}

/* --- 480px and below (Compact Mobile) --- */
@media(max-width: 480px) {
    .wrap {
        padding: 0 16px;
    }

    .brand img {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        max-width: 44px;
        flex: 0 0 44px;
    }

    .sf .brand img {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        max-width: 44px;
        flex: 0 0 44px;
    }

    .word {
        font-size: 1.25rem;
    }

    .word small {
        font-size: .62rem;
        letter-spacing: 1px;
    }

    .form {
        padding: 20px 16px;
    }

    .strip {
        gap: 16px 20px;
        padding: 22px 0 14px;
        font-size: .75rem;
    }
}

/* --- 360px and below (Small Mobile e.g. iPhone SE 320px) --- */
@media(max-width: 360px) {
    .wrap {
        padding: 0 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        flex: 0 0 40px;
    }

    .sf .brand img {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        flex: 0 0 40px;
    }

    .word {
        font-size: 1.12rem;
    }

    .word small {
        font-size: .58rem;
        letter-spacing: .6px;
    }

    .band .wrap {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .btn {
        padding: 12px 18px;
        font-size: .82rem;
    }
}

/* ===== Membership + Login hero: left text, right FULL photo ===== */
.plans-h,
.auth-h {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 24px;
    padding-left: max(28px, calc((100vw - 1280px) / 2 + 28px));
    padding-right: 0;
}
.plans-h .wrap,
.auth-h .wrap {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    margin: 0;
    padding: 44px 0;
}
.plans-h .txt,
.auth-h .txt { max-width: none; }
.plans-h h1,
.auth-h h1 { font-size: clamp(2rem, 4.4vw, 4rem); }

.plans-h .pic,
.auth-h .pic {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    inset: auto;
    top: auto; right: auto; left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1150 / 370;      /* photo poori dikhegi, cut nahi hogi */
    background-size: cover;
    background-position: center;
    opacity: 1;
    display: block;
}
.plans-h .pic:after,
.auth-h .pic:after {
    background: linear-gradient(90deg, #eaf4ff, transparent 14%);
}

/* Mobile / tablet: text upar, photo neeche, poori aur saaf */
@media (max-width: 900px) {
    .plans-h,
    .auth-h {
        grid-template-columns: 1fr;
        padding: 0 20px 24px;
        gap: 0;
    }
    .plans-h .wrap,
    .auth-h .wrap { padding: 30px 0 20px; }
    .plans-h .pic,
    .auth-h .pic {
        grid-column: 1;
        grid-row: 2;
        display: block !important;
        opacity: 1 !important;
        border-radius: 14px;
        overflow: hidden;
    }
    .plans-h .pic:after,
    .auth-h .pic:after { display: none !important; }
}