/* =====================================================================
   COMMUNITY LANDING PAGE (home_eng.php) - communityStyle.css
   Self-contained stylesheet (no Bootstrap). Mobile-first app feel.
   ===================================================================== */

/* ---------- FONTS ---------- */
@font-face { font-family: "Inter Tight"; src: url("../fonts/InterTight-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/InterTight-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/InterTight-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/InterTight-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/InterTight-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* ---------- TOKENS ---------- */
:root {
    --cm-green-900: #062f23;
    --cm-green-800: #0a3f2f;
    --cm-green-700: #0c4d39;
    --cm-green-600: #0f5c44;
    --cm-green: #1fa055;          /* heading highlight */
    --cm-wa: #1fae5b;             /* whatsapp button */
    --cm-wa-dark: #128a44;
    --cm-wa-light: #25d366;
    --cm-gold: #f8c94b;           /* hero highlight */
    --cm-gold-dark: #e2a91f;
    --cm-orange: #f08a24;
    --cm-red: #e53935;

    --cm-ink: #10231b;            /* headings */
    --cm-text: #44544c;           /* body text */
    --cm-muted: #6c7a73;
    --cm-line: #e2eee7;

    --cm-bg: #f3f9f5;             /* light mint section */
    --cm-bg-2: #eaf5ef;
    --cm-white: #ffffff;
    --cm-cream: #fff4dc;

    /* Society Growth Leaders '27 brand */
    --sgl-gold: #D4A017;
    --sgl-gold-light: #FFD700;
    --sgl-cream: #FBF7EC;

    --cm-radius-sm: 10px;
    --cm-radius: 16px;
    --cm-radius-lg: 22px;
    --cm-shadow-sm: 0 2px 8px rgba(10, 63, 47, .06);
    --cm-shadow: 0 10px 30px rgba(10, 63, 47, .10);
    --cm-shadow-lg: 0 18px 50px rgba(10, 63, 47, .16);

    --cm-header-h: 68px;
    --cm-tabbar-h: 66px;
    --cm-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cm-header-h) + 10px); -webkit-text-size-adjust: 100%; }
body.cm-body {
    margin: 0;
    font-family: "Inter Tight", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--cm-text);
    background: var(--cm-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, background .25s, transform .25s; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; }
body.cm-lock { overflow: hidden; }

.cm-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cm-section { padding: 72px 0; }

.cm-text-gold { color: var(--cm-gold); }
.cm-text-green { color: var(--cm-green); }
.cm-script { font-family: "Caveat", "Mukta", cursive; font-weight: 700; line-height: 1.05; }

/* Marathi / Hindi pages (index.php, home_hin.php): Devanagari needs extra line height */
html[lang="mr"] .cm-body, html[lang="hi"] .cm-body { line-height: 1.65; }
html[lang="mr"] .cm-hero__title, html[lang="hi"] .cm-hero__title { line-height: 1.3; }
html[lang="mr"] .cm-title, html[lang="hi"] .cm-title,
html[lang="mr"] .cm-join__title, html[lang="hi"] .cm-join__title { line-height: 1.35; }
html[lang="mr"] .cm-script, html[lang="hi"] .cm-script { font-weight: 600; line-height: 1.25; }

.cm-section-head { text-align: center; margin-bottom: 36px; }
.cm-section-head p { margin-top: 8px; color: var(--cm-muted); font-size: 16px; }
.cm-title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--cm-ink); line-height: 1.2; letter-spacing: -.01em; }

/* ---------- BUTTONS ---------- */
.cm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--cm-ease), box-shadow .25s, background .25s, color .25s;
}
.cm-btn i { font-size: 1.15em; }
.cm-btn:active { transform: scale(.97); }
.cm-btn--sm { padding: 9px 18px; font-size: 14px; }
.cm-btn--lg { padding: 15px 28px; font-size: 16px; }
.cm-btn--block { width: 100%; }
.cm-btn--wa { background: linear-gradient(135deg, var(--cm-wa-light) 0%, var(--cm-wa) 45%, var(--cm-wa-dark) 100%); color: #fff; box-shadow: 0 8px 20px rgba(31, 174, 91, .35); }
.cm-btn--wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31, 174, 91, .45); }
.cm-btn--ghost { background: transparent; color: #FFD700; border-color: #D4A017; }
.cm-btn--ghost i { color: #FFD700; }
.cm-btn--ghost:hover { background: rgba(255, 215, 0, .10); border-color: #FFD700; color: #FFD700; }
.cm-btn:disabled { opacity: .75; cursor: not-allowed; transform: none; }

.cm-pulse { animation: cmPulse 2.2s infinite; }
@keyframes cmPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.cm-spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: cmSpin .7s linear infinite; }
@keyframes cmSpin { to { transform: rotate(360deg); } }

/* ---------- ICON BUBBLES ---------- */
.cm-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; }
.cm-ic--sm { width: 32px; height: 32px; border-radius: 50%; font-size: 15px; }
.cm-ic--green  { background: #e3f6ea; color: #1a9a50; }
.cm-ic--dark   { background: #e8eef0; color: #1f3a44; }
.cm-ic--gold   { background: #fff3d1; color: #e0a10f; }
.cm-ic--teal   { background: #e0f4f6; color: #148ea0; }
.cm-ic--blue   { background: #e5edfd; color: #2f62d8; }
.cm-ic--orange { background: #ffeedd; color: #ec7b16; }
.cm-ic--red    { background: #fde6e5; color: #e03a33; }

/* ---------- IMAGE SLOTS (blank placeholder until image added) ---------- */
.cm-img-slot { position: relative; margin: 0; border-radius: var(--cm-radius); overflow: hidden; }
.cm-img-slot img { width: 100%; height: 100%; object-fit: contain; }
.cm-img-slot.is-empty {
    background: repeating-linear-gradient(45deg, rgba(31, 160, 85, .05) 0 12px, rgba(31, 160, 85, .1) 12px 24px);
    border: 2px dashed rgba(31, 160, 85, .45);
}
.cm-img-slot.is-empty img { display: none; }
.cm-img-slot.is-empty::after {
    content: attr(data-img);
    position: absolute; inset: 0; display: grid; place-items: center; padding: 10px;
    font-size: 12px; font-weight: 600; color: var(--cm-green); text-align: center; word-break: break-all;
}
.cm-img-slot--dark.is-empty { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 12px, rgba(255, 255, 255, .08) 12px 24px); border-color: rgba(255, 255, 255, .35); }
.cm-img-slot--dark.is-empty::after { color: rgba(255, 255, 255, .8); }

.cm-img-slot--hero { aspect-ratio: 8 / 7; border-radius: var(--cm-radius-lg); }
.cm-img-slot--wide { aspect-ratio: 16 / 10.5; border-radius: var(--cm-radius-lg); }
.cm-img-slot--answers { width: 110px; height: 96px; flex: 0 0 auto; border-radius: 14px; }
.cm-img-slot--join { aspect-ratio: 16 / 9; width: 100%; max-width: 420px; margin-left: auto; }
.cm-img-slot--faq { aspect-ratio: 15 / 16; max-width: 320px; width: 100%; }
.cm-img-slot--answers.is-empty::after { font-size: 9px; padding: 6px; }

/* ===================================================================
   HEADER
   =================================================================== */
.cm-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--cm-green-800);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: box-shadow .3s, background .3s;
}
.cm-header.is-scrolled { background: rgba(10, 63, 47, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.cm-header__inner { height: var(--cm-header-h); display: flex; align-items: center; gap: 24px; }

.cm-logo img { height: 42px; width: auto; background: #fff; padding: 4px 8px; border-radius: 8px; }

.cm-nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.cm-nav__link { position: relative; padding: 8px 12px; color: rgba(255, 255, 255, .85); font-weight: 500; font-size: 15px; }
.cm-nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px; background: var(--cm-gold); transform: scaleX(0); transition: transform .3s var(--cm-ease); }
.cm-nav__link:hover, .cm-nav__link.is-active { color: #fff; }
.cm-nav__link.is-active::after { transform: scaleX(1); }
.cm-nav__cta { display: none; }

.cm-header__actions { display: flex; align-items: center; gap: 12px; }

.cm-lang { position: relative; }
.cm-lang__btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
    background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
}
.cm-lang__caret { font-size: 11px; transition: transform .25s; }
.cm-lang.is-open .cm-lang__caret { transform: rotate(180deg); }
.cm-lang__menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px;
    background: #fff; border-radius: 12px; box-shadow: var(--cm-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--cm-ease);
}
.cm-lang.is-open .cm-lang__menu { opacity: 1; visibility: visible; transform: none; }
.cm-lang__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--cm-ink); font-weight: 500; font-size: 14px; }
.cm-lang__menu a:hover { background: var(--cm-bg-2); }
.cm-lang__menu a.is-active { background: var(--cm-green); color: #fff; }


/* ===================================================================
   HERO
   =================================================================== */
.cm-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 48px 0 110px;
    background:
        radial-gradient(circle at 85% 15%, rgba(46, 190, 115, .28), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(46, 190, 115, .18), transparent 45%),
        linear-gradient(135deg, var(--cm-green-700) 0%, var(--cm-green-800) 55%, var(--cm-green-900) 100%);
}
.cm-hero::before {
    content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .05); left: -180px; top: -200px;
    box-shadow: 0 0 0 80px rgba(255, 255, 255, .015), 0 0 0 160px rgba(255, 255, 255, .012);
}
.cm-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }

/* Community brand badge: logo + name + edition */
.cm-brand-badge {
    display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
    padding: 6px 20px 6px 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .07); border: 2px solid var(--sgl-gold);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.cm-brand-badge img { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sgl-gold-light); background: #fff; }
.cm-brand-badge__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.cm-brand-badge__text strong { color: #fff; font-size: 17px; font-weight: 700; }
.cm-brand-badge__text small { margin-top: 3px; color: var(--sgl-gold-light); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.cm-hero__title { margin: 20px 0 18px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.cm-hero__lead { max-width: 540px; font-size: 17px; color: rgba(255, 255, 255, .88); }

.cm-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
/* Feature pills: same gold look as .btn-gold, but not clickable */
.cm-hero__chips li {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; cursor: default;
    background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #D4A017 100%);
    color: #0a3f2f; font-family: "Mukta", "Inter Tight", sans-serif; font-weight: 700; font-size: 15px; line-height: 1.25;
    box-shadow: 0 4px 16px rgba(212, 160, 23, .35);
}
.cm-hero__chips i { color: #0a3f2f; font-size: 16px; }

.cm-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Launch line (replaces member-count claim) */
.cm-hero__launch {
    display: flex; align-items: flex-start; gap: 10px; max-width: 560px; margin-top: 26px;
    padding: 12px 16px; border-radius: 14px;
    background: rgba(212, 160, 23, .14); border: 1px solid rgba(255, 215, 0, .4);
    color: #fff; font-size: 15px; font-weight: 600; line-height: 1.45;
}
.cm-hero__launch > span:first-child { font-size: 18px; line-height: 1.2; }
.cm-hero__launch > span:last-child { min-width: 0; overflow-wrap: anywhere; }

.cm-hero__visual { position: relative; }
.cm-hero__script { position: absolute; right: 0; top: -14px; z-index: 2; color: var(--cm-gold); font-size: 28px; transform: rotate(-8deg); text-align: right; }
.cm-hero__script i { display: inline-block; font-size: 20px; transform: rotate(-60deg); }
.cm-hero__visual .cm-img-slot--hero { animation: cmFloat 5s ease-in-out infinite; }

@keyframes cmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===================================================================
   STATS
   =================================================================== */
.cm-stats-wrap { position: relative; z-index: 3; margin-top: -64px; }
.cm-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--cm-radius-lg); box-shadow: var(--cm-shadow-lg); padding: 22px 10px; }
.cm-stat { display: flex; align-items: center; gap: 14px; padding: 6px 22px; }
.cm-stat + .cm-stat { border-left: 1px solid var(--cm-line); }
.cm-stat__icon {
    flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(145deg, #ffe48a 0%, #f8c94b 35%, #e2a91f 70%, #b97d0c 100%);
    color: #fff; font-size: 30px; text-shadow: 0 2px 4px rgba(120, 75, 0, .45);
    box-shadow: 0 8px 18px rgba(226, 169, 31, .38), inset 0 2px 3px rgba(255, 255, 255, .6), inset 0 -3px 6px rgba(150, 95, 0, .3);
}
.cm-stat strong { display: block; color: var(--cm-ink); font-size: 22px; font-weight: 700; line-height: 1.15; }
.cm-stat span { font-size: 13px; color: var(--cm-text); }

/* ===================================================================
   SMART SECRETARY (VISION)
   =================================================================== */
.cm-smart { background: var(--cm-bg); }
.cm-smart__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cm-smart__visual { position: relative; }
.cm-tag { position: absolute; top: 16px; padding: 6px 18px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.cm-tag--before { left: 16px; background: var(--cm-red); }
.cm-tag--after { right: 16px; background: #2fb35f; }

.cm-title--icon { display: flex; gap: 14px; align-items: flex-start; }
.cm-title--icon > i { font-size: 34px; color: var(--cm-ink); line-height: 1.1; }
.cm-smart__text { margin: 16px 0 24px; color: var(--cm-text); }
.cm-smart__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cm-mini-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border-radius: var(--cm-radius); box-shadow: var(--cm-shadow-sm); border: 1px solid var(--cm-line); font-weight: 600; font-size: 14px; color: var(--cm-ink); transition: transform .3s var(--cm-ease), box-shadow .3s; }
.cm-mini-card:hover { transform: translateY(-4px); box-shadow: var(--cm-shadow); }
.cm-mini-card__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: var(--cm-green); background: #e3f6ea; }

/* ===================================================================
   PROBLEMS
   =================================================================== */
.cm-problems { background: #fff; }
.cm-problems__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cm-problem { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-radius); box-shadow: var(--cm-shadow-sm); transition: transform .3s var(--cm-ease), box-shadow .3s, border-color .3s; }
.cm-problem:hover { transform: translateY(-4px); box-shadow: var(--cm-shadow); border-color: #c8e8d5; }
.cm-problem__text { font-size: 14px; font-weight: 500; color: var(--cm-ink); line-height: 1.35; }

.cm-answers-card { grid-column: span 2; position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 12px; border-radius: var(--cm-radius); background: linear-gradient(90deg, #e7f6ec 0%, var(--cm-cream) 45%, #fde9c2 100%); border: 1px solid #f6dfae; }
.cm-answers-card p { font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--cm-ink); }
.cm-answers-card p span { color: #e2591c; font-weight: 700; }
.cm-answers-card__arrow { margin-left: auto; font-size: 26px; color: var(--cm-orange); transition: transform .3s var(--cm-ease); }
.cm-answers-card:hover .cm-answers-card__arrow { transform: translate(4px, -4px); }

/* ===================================================================
   BENEFITS
   =================================================================== */
.cm-benefits { background: var(--cm-bg); }


/* Gold underline accent under section title */
.cm-title--accent::after {
    content: ""; display: block; width: 72px; height: 4px; margin: 14px auto 0; border-radius: 4px;
    background: linear-gradient(90deg, var(--sgl-gold), var(--sgl-gold-light));
}

/* Premium benefit cards: 3 / 2 / 1 columns, equal heights */
.cm-benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 24px; }
.cm-benefit-card {
    display: flex; flex-direction: column; height: 100%; overflow: hidden;
    background: #fff; border-radius: 16px; border-top: 4px solid var(--sgl-gold);
    box-shadow: 0 6px 20px rgba(10, 63, 47, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}
.cm-benefit-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: 12px 12px 0 0; overflow: hidden; }
.cm-benefit-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cm-benefit-card__media::before {
    content: ""; position: absolute; inset: 45% 0 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(10, 63, 47, 0), rgba(10, 63, 47, .55));
}
.cm-benefit-card__num {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    min-width: 40px; height: 40px; padding: 0 8px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--sgl-gold-light), var(--sgl-gold));
    color: var(--cm-green-800); font-size: 15px; font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}
.cm-benefit-card__day {
    position: absolute; left: 12px; bottom: 12px; z-index: 2; max-width: calc(100% - 24px);
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: var(--cm-green-800); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2;
}
.cm-benefit-card__day i { color: var(--sgl-gold-light); }
.cm-benefit-card__body { flex: 1; padding: 18px 20px 22px; }
.cm-benefit-card__body h3 { font-family: "Mukta", "Inter Tight", sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--cm-green-800); }
.cm-benefit-card__body p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: #5f6b66; }
@media (hover: hover) {
    .cm-benefit-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10, 63, 47, .16); }
    .cm-benefit-card:hover .cm-benefit-card__media img { transform: scale(1.05); }
}

/* ===================================================================
   JOIN FORM
   =================================================================== */
.cm-join { background: var(--cm-bg); padding-top: 0; }
.cm-join__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: stretch; }

/* Left panel: image only, full height, tagline over a soft dark gradient */
.cm-join__promo { position: relative; overflow: hidden; min-height: 100%; border-radius: 24px; background: var(--cm-green-800); }
.cm-join__promo .cm-img-slot--join { position: absolute; inset: 0; width: 100%; max-width: none; aspect-ratio: auto; margin: 0; border-radius: 24px; }
.cm-join__promo .cm-img-slot--join img { object-fit: cover; }
.cm-join__promo::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 55%; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(6, 42, 31, .85) 0%, rgba(6, 42, 31, .45) 55%, rgba(6, 42, 31, 0) 100%);
}
.cm-join__script { position: absolute; left: 28px; right: 28px; top: 24px; z-index: 2; color: #FFE8A3; font-size: 30px; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }

/* Form card: dark green + real gold gradient border (padding-box / border-box) */
.cm-join__card {
    padding: 30px 26px 24px; border-radius: 24px; border: 2px solid transparent;
    background:
        linear-gradient(160deg, #0a3f2f 0%, #062a1f 100%) padding-box,
        linear-gradient(135deg, #B8860B, #D4A017, #FFD700, #D4A017) border-box;
    box-shadow: 0 10px 40px rgba(212, 160, 23, .18);
    color: #E8C25A;
    scroll-margin-top: 2px; /* + html scroll-padding (header + 10px) = header + 12px */
}
.cm-join__card form { width: 100%; }
.cm-join__card.is-glow { animation: cmCardGlow 1s ease .35s; }
@keyframes cmCardGlow {
    0%, 100% { box-shadow: 0 10px 40px rgba(212, 160, 23, .18); }
    45% { box-shadow: 0 0 0 5px rgba(255, 215, 0, .45), 0 10px 50px rgba(255, 215, 0, .55); }
}

.cm-join__title {
    font-family: "Mukta", "Inter Tight", sans-serif; font-weight: 800; font-size: 28px; line-height: 1.25; text-align: center;
    background: linear-gradient(90deg, #B8860B 0%, #D4A017 25%, #FFD700 55%, #D4A017 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.cm-join__title::after { content: ""; display: block; width: 90px; height: 2px; margin: 12px auto 0; background: linear-gradient(90deg, transparent, #D4A017, #FFD700, #D4A017, transparent); }
.cm-join__sub { margin: 10px 0 20px; text-align: center; font-size: 15px; color: #E8C25A; }

.cm-field { display: flex; align-items: center; gap: 14px; }
.cm-field__icon { flex: 0 0 26px; text-align: center; font-size: 20px; color: #FFD700; }
.cm-field input, .cm-field select {
    width: 100%; height: 54px; padding: 0 16px;
    border: 1.5px solid rgba(212, 160, 23, .45); border-radius: 12px; background: rgba(255, 255, 255, .06);
    color: #FFE8A3; font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none; appearance: none;
}
.cm-field input::placeholder { color: rgba(232, 194, 90, .85); opacity: 1; } /* .85 keeps >= 4.5:1 contrast */
.cm-field input:focus, .cm-field select:focus { border-color: #FFD700; box-shadow: 0 0 0 4px rgba(255, 215, 0, .15); }
.cm-field input[aria-invalid="true"], .cm-field select[aria-invalid="true"] { border-color: #FFC93C; }
/* Chrome autofill: keep the dark field instead of the yellow fill */
.cm-field input:-webkit-autofill,
.cm-field input:-webkit-autofill:hover,
.cm-field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #0b3a2c inset; -webkit-text-fill-color: #FFE8A3; caret-color: #FFE8A3; }
.cm-field__group { position: relative; flex: 1; display: flex; }
.cm-field__group .cm-field__prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: #FFD700; font-size: 17px; pointer-events: none; }
.cm-field__group input { padding-left: 58px; }
.cm-field__select { position: relative; flex: 1; }
.cm-field__select select { cursor: pointer; padding-right: 42px; }
.cm-field__select select.is-placeholder { color: rgba(232, 194, 90, .85); }
.cm-field__select select option { background: #0a3f2f; color: #FFE8A3; }
.cm-field__select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #FFD700; font-size: 14px; }

/* Inline field errors: "⚠ Error: …" - space reserved so the layout never jumps */
.cm-field-error {
    min-height: 22px; margin: 4px 0 8px 40px;
    font-family: "Mukta", "Inter Tight", sans-serif; font-weight: 600; font-size: 14px; line-height: 1.45; color: #FFC93C;
}
.cm-field-error i { margin-right: 2px; }

/* Server / success message above the submit button */
.cm-form-msg {
    margin: 2px 0 12px; padding: 10px 12px; border-radius: 10px;
    border: 1px solid rgba(255, 201, 60, .55); background: rgba(255, 201, 60, .08);
    font-family: "Mukta", "Inter Tight", sans-serif; font-weight: 600; font-size: 14px; line-height: 1.45; color: #FFC93C;
}
.cm-form-msg.is-success,
.cm-form-msg.is-info { color: #FFE8A3; border-color: rgba(255, 215, 0, .55); background: rgba(255, 215, 0, .1); }
.cm-form-msg.is-info i { color: #FFD700; }
.cm-form-msg[hidden] { display: none; }

.cm-form-note { margin-top: 12px; text-align: center; font-size: 13px; color: #E8C25A; }
.cm-form-note i { color: #FFD700; }

/* ---------- Join steps: 1 Details -> 2 WhatsApp OTP ---------- */
.cm-steps { display: flex; justify-content: center; align-items: center; gap: 10px; margin: -6px 0 18px; padding: 0; list-style: none; counter-reset: cmstep; }
.cm-steps li {
    display: flex; align-items: center; gap: 7px;
    font-family: "Mukta", "Inter Tight", sans-serif; font-size: 14px; font-weight: 600; color: rgba(232, 194, 90, .85);
}
.cm-steps li::before {
    counter-increment: cmstep; content: counter(cmstep);
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
    border: 1.5px solid rgba(212, 160, 23, .6); font-size: 13px; font-weight: 700;
}
.cm-steps li:first-child::after { content: ""; width: 28px; height: 2px; margin-left: 4px; border-radius: 2px; background: rgba(212, 160, 23, .45); }
.cm-steps li.is-active { color: #FFD700; }
.cm-steps li.is-active::before { background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #D4A017 100%); border-color: transparent; color: #0a3f2f; }
.cm-steps li.is-done { color: #E8C25A; }
.cm-steps li.is-done::before { content: "✓"; background: rgba(255, 215, 0, .15); border-color: #FFD700; color: #FFD700; }

/* ---------- WhatsApp OTP step ---------- */
.cm-join-step[hidden], .cm-otp[hidden] { display: none; }
.cm-otp__info {
    display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, .55); background: rgba(255, 215, 0, .06);
    font-size: 15px; line-height: 1.5; color: #E8C25A;
}
.cm-otp__info i { flex: 0 0 auto; margin-top: 2px; font-size: 18px; color: #FFD700; }
.cm-otp__info strong { color: #FFD700; white-space: nowrap; }
.cm-otp__change {
    display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 6px 2px;
    background: none; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: #FFD700; text-decoration: underline;
}
.cm-otp__label { margin: 14px 0 10px; text-align: center; font-size: 15px; font-weight: 600; color: #E8C25A; }
.cm-otp__boxes { display: flex; justify-content: center; gap: 8px; }
.cm-otp__box {
    flex: 1 1 0; min-width: 0; max-width: 54px; height: 58px; padding: 0;
    border: 1.5px solid rgba(212, 160, 23, .45); border-radius: 12px; background: rgba(255, 255, 255, .06);
    color: #FFE8A3; caret-color: #FFD700; font-family: "Inter Tight", "Mukta", sans-serif; font-size: 24px; font-weight: 700; text-align: center;
    outline: none; transition: border-color .2s, box-shadow .2s;
}
.cm-otp__box:focus { border-color: #FFD700; box-shadow: 0 0 0 4px rgba(255, 215, 0, .15); }
.cm-otp__boxes[aria-invalid="true"] .cm-otp__box { border-color: #FFC93C; }
.cm-otp__box:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #0b3a2c inset; -webkit-text-fill-color: #FFE8A3; }
.cm-otp .cm-field-error { margin: 6px 0 4px; text-align: center; }
.cm-otp__resend { min-height: 24px; margin: 0 0 12px; text-align: center; font-size: 14px; color: #E8C25A; }
.cm-otp__resend button {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px;
    background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #FFD700; text-decoration: underline;
}
.cm-otp__resend button[hidden] { display: none; }
.cm-otp__resend button:disabled { opacity: .6; cursor: wait; }

/* After the OTP matches: mandatory location (only when the link had no ?loc=) */
.cm-otp__entry[hidden], .cm-otp__location[hidden] { display: none; }
.cm-otp__verified {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; padding: 12px 14px; border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, .55); background: rgba(255, 215, 0, .1);
    font-size: 15px; font-weight: 600; line-height: 1.5; color: #FFE8A3;
}
.cm-otp__verified i { flex: 0 0 auto; margin-top: 2px; font-size: 18px; color: #FFD700; }

/* ---------- MASTER GOLD BUTTON (reusable) ---------- */
.btn-gold {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 58px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
    background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #D4A017 100%);
    color: #0a3f2f; font-family: "Mukta", "Inter Tight", sans-serif; font-weight: 800; font-size: 19px; line-height: 1.2;
    box-shadow: 0 8px 22px rgba(212, 160, 23, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gold i { color: #0a3f2f; font-size: 1.15em; }
.btn-gold::after { /* diagonal shine */
    content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: -1; pointer-events: none;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg);
}
.btn-gold--block { width: 100%; }
.btn-gold:active { transform: scale(.98); }
.btn-gold:focus-visible { outline: 3px solid #FFE8A3; outline-offset: 3px; }
.btn-gold:disabled { cursor: wait; opacity: .85; transform: none; }
.btn-gold .cm-spinner { border-color: rgba(10, 63, 47, .3); border-top-color: #0a3f2f; }
@media (hover: hover) {
    .btn-gold:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212, 160, 23, .5); }
    .btn-gold:not(:disabled):hover::after { animation: btnGoldShine .8s ease; }
}
@keyframes btnGoldShine { from { left: -75%; } to { left: 125%; } }

/* Founding Leader Welcome Kit offer card (above the form) */
.cm-offer {
    margin-bottom: 22px; padding: 26px 28px; border-radius: var(--cm-radius-lg);
    background: var(--sgl-cream); border: 2px solid var(--sgl-gold); color: var(--cm-green-800);
    box-shadow: 0 10px 30px rgba(212, 160, 23, .15);
}
.cm-offer__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.3; color: var(--cm-green-800); }
.cm-offer__title span { color: var(--sgl-gold); }
.cm-offer__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; margin: 16px 0 18px; }
.cm-offer__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.cm-offer__list i { flex: 0 0 auto; margin-top: 2px; font-size: 18px; color: var(--cm-green); }
.cm-offer__pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--cm-green-800); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; }

/* Welcome Kit eligibility note under the role dropdown */
.cm-role-note {
    margin: -2px 0 12px 40px; padding: 8px 12px; border-radius: 10px;
    background: rgba(255, 215, 0, .1); border: 1px solid rgba(255, 215, 0, .4); color: #FFD700;
    font-size: 14px; font-weight: 600; line-height: 1.4;
}
.cm-role-note[hidden] { display: none; }

/* Community logo watermark inside the dark form card */
.form-card-logo-bg { position: relative; overflow: hidden; isolation: isolate; }
@media (max-width: 576px) {
    .form-card-logo-bg::before { width: 95%; }
}

/* ===================================================================
   FAQ
   =================================================================== */
.cm-faq { background: #fff; }
.cm-faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.cm-faq__grid .cm-img-slot--faq { justify-self: center; }
.cm-faq__list { background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-radius-lg); box-shadow: var(--cm-shadow); padding: 8px 18px; }
.cm-faq__item + .cm-faq__item { border-top: 1px solid var(--cm-line); }
.cm-faq__q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 0; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 600; font-size: 15px; color: var(--cm-ink); }
.cm-faq__q > span:nth-child(2) { flex: 1; }
.cm-faq__arrow { font-size: 14px; transition: transform .3s var(--cm-ease); }
.cm-faq__item.is-open .cm-faq__arrow { transform: rotate(180deg); color: var(--cm-green); }
.cm-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--cm-ease); }
.cm-faq__a > div { overflow: hidden; }
.cm-faq__a p { padding: 0 0 16px 44px; font-size: 14px; color: var(--cm-text); }
.cm-faq__item.is-open .cm-faq__a { grid-template-rows: 1fr; }

/* ===================================================================
   FOOTER
   =================================================================== */
.cm-footer { background: var(--cm-green-900); color: rgba(255, 255, 255, .8); padding: 48px 0 0; font-size: 14px; }
.cm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 32px; }
.cm-footer__brand img { height: 44px; width: auto; background: #fff; padding: 4px 8px; border-radius: 8px; margin-bottom: 14px; }
.cm-footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.cm-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.cm-footer__links a:hover, .cm-footer__contact a:hover { color: var(--cm-gold); }
.cm-social { display: flex; gap: 10px; }
.cm-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 19px; }
.cm-social a:hover { transform: translateY(-3px); }
.cm-social__wa { background: var(--cm-wa); }
.cm-social__fb { background: #1877f2; }
.cm-social__ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.cm-social__yt { background: #ff0000; }
.cm-footer__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; word-break: break-word; }
.cm-footer__contact i { color: var(--cm-gold); }
.cm-footer__bottom { display: flex; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .65); }

/* ===================================================================
   MOBILE TAB BAR (app feel)
   =================================================================== */
.cm-tabbar { display: none; }

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
.cm-reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--cm-ease), transform .6s var(--cm-ease); transition-delay: var(--d, 0ms); }
.cm-reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .cm-reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

/* ===================================================================
   RESPONSIVE - TABLET
   =================================================================== */
@media (max-width: 1100px) {
    .cm-nav__link { padding: 8px 8px; font-size: 14px; }
    .cm-header__cta { display: none; }
    .cm-problems__grid { grid-template-columns: repeat(3, 1fr); }
    .cm-answers-card { grid-column: span 2; }
}

@media (max-width: 991px) {
    :root { --cm-header-h: 62px; }

    /* Mobile/tablet header = logo + language switcher only; bottom tab bar is the navigation */
    .cm-nav, .cm-header__cta { display: none; }
    .cm-header__inner { justify-content: space-between; }
    .cm-header__actions { margin-left: auto; }
    body.cm-body { padding-bottom: calc(var(--cm-tabbar-h) + env(safe-area-inset-bottom) + 8px); }

    .cm-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .cm-offer__list { grid-template-columns: 1fr; }

    .cm-hero { padding: 36px 0 100px; }
    .cm-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .cm-hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }

    .cm-stats { grid-template-columns: repeat(2, 1fr); gap: 0; padding: 8px; }
    .cm-stat { padding: 14px; }
    .cm-stat + .cm-stat { border-left: 0; }
    .cm-stat:nth-child(even) { border-left: 1px solid var(--cm-line); }
    .cm-stat:nth-child(n+3) { border-top: 1px solid var(--cm-line); }

    .cm-smart__grid { grid-template-columns: 1fr; gap: 32px; }
    .cm-join__grid { grid-template-columns: 1fr; }
    /* Join buttons land on the form: card first, image after (max 220px) */
    .cm-join__card { order: -1; }
    .cm-join__promo { min-height: 0; height: 220px; }
    .cm-faq__grid { grid-template-columns: 1fr; gap: 24px; }
    .cm-faq__grid .cm-img-slot--faq { max-width: 220px; }
    .cm-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ===================================================================
   RESPONSIVE - MOBILE (app feel)
   =================================================================== */
@media (max-width: 767px) {
    body.cm-body { font-size: 15px; }
    .cm-container { padding: 0 16px; }
    .cm-section { padding: 48px 0; }
    .cm-section-head { margin-bottom: 24px; }
    .cm-section-head p { font-size: 14px; }

    .cm-logo img { height: 36px; }
    .cm-lang__btn { padding: 8px 11px; }
    .cm-lang__label, .cm-lang__caret { display: none; }
    .cm-lang__btn i.bi-globe2 { font-size: 17px; }

    /* Hero */
    .cm-hero { padding: 26px 0 92px; }
    .cm-brand-badge { gap: 10px; padding: 5px 16px 5px 5px; }
    .cm-brand-badge__text strong { font-size: 15px; }
    .cm-brand-badge__text small { font-size: 10px; letter-spacing: .14em; }
    .cm-hero__launch { font-size: 14px; padding: 11px 14px; margin-top: 22px; }
    .cm-hero__title { margin: 16px 0 12px; font-size: 30px; }
    .cm-hero__lead { font-size: 15px; }
    .cm-hero__chips { margin: 18px 0 22px; }
    .cm-hero__cta { flex-direction: column; gap: 12px; }
    .cm-hero__cta .cm-btn { width: 100%; padding: 15px 18px; }
    .cm-hero__script { font-size: 22px; top: -6px; }

    /* Stats */
    .cm-stats-wrap { margin-top: -60px; }
    .cm-stat { flex-direction: column; text-align: center; gap: 8px; padding: 14px 6px; }
    .cm-stat__icon { width: 54px; height: 54px; font-size: 25px; }
    .cm-stat strong { font-size: 19px; }
    .cm-stat span { font-size: 12px; }

    /* Swipe carousels */
    .cm-swipe {
        display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
        margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .cm-swipe::-webkit-scrollbar { display: none; }
    .cm-swipe > * { scroll-snap-align: start; flex: 0 0 auto; }

    /* Smart secretary */
    .cm-title--icon > i { font-size: 26px; }
    .cm-tag { font-size: 12px; padding: 5px 14px; top: 12px; }
    .cm-tag--before { left: 12px; } .cm-tag--after { right: 12px; }
    .cm-mini-card { width: 74%; padding: 14px; }

    /* Problems */
    .cm-problems__grid { grid-template-columns: 1fr; gap: 10px; }
    .cm-problem { padding: 12px 14px; border-radius: 14px; }
    .cm-ic { width: 38px; height: 38px; font-size: 18px; }
    .cm-ic--sm { width: 30px; height: 30px; font-size: 14px; }
    .cm-answers-card { grid-column: auto; padding: 10px 16px 10px 10px; }
    .cm-answers-card p { font-size: 18px; }
    .cm-img-slot--answers { width: 86px; height: 78px; }

    /* Benefits: single full-width column */
    .cm-benefits__grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 18px; }

    /* Offer + form */
    .cm-offer { padding: 20px 18px; }
    .cm-offer__list li { font-size: 15px; }
    .cm-offer__pill { font-size: 13px; border-radius: 14px; }
    .cm-role-note { margin-left: 32px; font-size: 13.5px; }

    /* Join */
    .cm-join__script { left: 18px; right: 18px; top: 16px; font-size: 22px; }
    .cm-join__card { padding: 22px 16px 18px; }
    .cm-join__title { font-size: 24px; }
    .cm-join__sub { margin: 8px 0 16px; font-size: 14px; }
    .cm-field { gap: 10px; }
    .cm-field__icon { flex-basis: 22px; font-size: 18px; }
    .cm-field-error { min-height: 20px; margin: 3px 0 6px 32px; }
    .cm-otp .cm-field-error { margin-left: 0; }
    .cm-otp__boxes { gap: 6px; }
    .cm-otp__box { height: 54px; font-size: 22px; }

    /* FAQ */
    .cm-faq__grid .cm-img-slot--faq { display: none; }
    .cm-faq__list { padding: 4px 14px; }
    .cm-faq__q { font-size: 14px; padding: 14px 0; }
    .cm-faq__a p { padding-left: 42px; font-size: 13.5px; }

    /* Footer */
    .cm-footer { padding-top: 36px; }
    .cm-footer__grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
    .cm-footer__bottom { flex-direction: column; text-align: center; gap: 4px; font-size: 12px; }
}

@media (max-width: 991px) {
    /* Bottom tab bar - the only mobile/tablet navigation */
    .cm-tabbar {
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
        height: calc(var(--cm-tabbar-h) + env(safe-area-inset-bottom));
        padding: 0 6px env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--cm-line); box-shadow: 0 -6px 24px rgba(10, 63, 47, .1);
        border-radius: 20px 20px 0 0;
    }
    .cm-tabbar__item { height: var(--cm-tabbar-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8a9a92; font-size: 11px; font-weight: 600; }
    .cm-tabbar__item i { font-size: 20px; transition: transform .25s var(--cm-ease); }
    .cm-tabbar__item.is-active { color: var(--cm-green-700); }
    .cm-tabbar__item.is-active i { transform: translateY(-2px); }
    .cm-tabbar__fab { height: var(--cm-tabbar-h); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 8px; color: var(--cm-green-700); font-size: 11px; font-weight: 700; }
    .cm-tabbar__fab i {
        width: 58px; height: 58px; margin-top: -30px; margin-bottom: 3px; border-radius: 50%;
        display: grid; place-items: center; font-size: 28px; color: #fff;
        background: linear-gradient(135deg, var(--cm-wa-light), var(--cm-wa-dark));
        box-shadow: 0 0 0 5px #fff, 0 10px 22px rgba(31, 174, 91, .45);
        animation: cmPulse 2.2s infinite;
    }
}

/* Hero pills: 3 equal columns, icon on top (fits 360px with 16px padding) */
@media (max-width: 576px) {
    .cm-hero__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .cm-hero__chips li {
        flex-direction: column; justify-content: center; gap: 4px; min-width: 0;
        padding: 10px 6px; border-radius: 14px; text-align: center; white-space: normal; font-size: 14px;
    }
    .cm-hero__chips i { font-size: 18px; }
}

@media (max-width: 380px) {
    .cm-hero__title { font-size: 26px; }
    .cm-stat strong { font-size: 17px; }
}


.cm-stat i{
    font-size: 30px!important;
    color: #135a41;
}
/* ===================================================================
   FIX: Mobile horizontal (right side) scroll
   Grid/flex children default to min-width:auto, so the nowrap swipe
   cards inside .cm-smart__grid stretched the column (and the whole page)
   wider than the screen. min-width:0 lets the column shrink to fit.
   =================================================================== */
.cm-smart__grid > *,
.cm-hero__grid > *,
.cm-join__grid > *,
.cm-faq__grid > *,
.cm-footer__grid > * { min-width: 0; }

/* Safety net: no element can create sideways page scroll
   (clip, unlike hidden, keeps the sticky header working) */
html, body.cm-body { max-width: 100%; overflow-x: hidden; }
@supports (overflow-x: clip) {
    html, body.cm-body { overflow-x: clip; }
}

/* ===================================================================
   UNSUBSCRIBE PAGE (Unsubsribe.php)
   Reuses the join-form card (.cm-join__card, .cm-join__title, .cm-join__sub,
   .cm-field, .cm-field-error, .cm-form-msg) and .btn-gold - only new bits here.
   =================================================================== */
.cm-body--unsub .cm-header__actions { margin-left: auto; }
.cm-unsub { display: flex; align-items: center; min-height: 72vh; padding: 48px 0 64px; background: var(--sgl-cream); }
.cm-unsub__card { max-width: 520px; margin: 0 auto; text-align: left; }
.cm-unsub__logo { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; border: 2px solid #FFD700; box-shadow: 0 0 0 4px rgba(212, 160, 23, .25); }

/* Honeypot: off-screen, never shown to people */
.cm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Optional reason: radio chips (gold outline, selected = gold fill) */
.cm-unsub__reasons { margin: 4px 0 18px; padding: 0; border: 0; min-width: 0; }
.cm-unsub__reasons legend { margin-bottom: 10px; padding: 0; font-size: 15px; font-weight: 600; color: #E8C25A; }
.cm-unsub__reasons legend span { font-weight: 400; opacity: .9; }
.cm-unsub__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chip { position: relative; cursor: pointer; }
.cm-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cm-chip span {
    display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #D4A017;
    color: #FFE8A3; font-size: 14px; font-weight: 600; line-height: 1.3; transition: background .2s, color .2s, border-color .2s;
}
.cm-chip input:checked + span { background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #D4A017 100%); border-color: transparent; color: #0a3f2f; }
.cm-chip input:focus-visible + span { outline: 3px solid #FFE8A3; outline-offset: 2px; }
@media (hover: hover) {
    .cm-chip:hover span { border-color: #FFD700; background-color: rgba(255, 215, 0, .08); }
}

.cm-unsub__note { margin-top: 12px; text-align: center; font-size: 14px; color: #E8C25A; }

/* Success / resubscribed states */
.cm-unsub__check {
    width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #D4A017 100%); color: #0a3f2f; font-size: 46px;
    box-shadow: 0 10px 30px rgba(212, 160, 23, .4);
    animation: cmScaleIn .5s cubic-bezier(.2, 1.4, .4, 1) both; /* disabled by prefers-reduced-motion rule above */
}
@keyframes cmScaleIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cm-unsub__text { margin: 16px 0 18px; text-align: center; font-size: 16px; line-height: 1.6; color: #E8C25A; }
.cm-unsub__text strong { color: #FFD700; white-space: nowrap; }
.cm-unsub__info {
    display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 12px 14px; border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, .6); background: rgba(255, 215, 0, .05);
    font-size: 14px; line-height: 1.55; color: #E8C25A;
}
.cm-unsub__info i { flex: 0 0 auto; margin-top: 2px; color: #FFD700; }
.cm-unsub .cm-btn--block { width: 100%; min-height: 54px; white-space: normal; text-align: center; }
.cm-unsub__back { display: block; margin-top: 16px; text-align: center; font-weight: 600; color: #FFD700; }
.cm-unsub__back:hover { text-decoration: underline !important; }

@media (max-width: 991px) {
    body.cm-body.cm-body--unsub { padding-bottom: 0; } /* no bottom nav on this page */
}
@media (max-width: 767px) {
    .cm-unsub { min-height: 0; padding: 28px 0 40px; }
    .cm-unsub__text { font-size: 15px; }
}

/* WebP <picture> wrappers (images/<name>.png.webp) must not change layout: the <img> keeps sizing against its old parent */
picture { display: contents; }
