/* ==========================================================
   home-premium.css — INEHub Premium Home
   Space Grotesk → headings | Outfit → body/UI | JetBrains Mono → data
========================================================== */

body {
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    max-width: 100vw;
}

*, *::before, *::after { box-sizing: border-box; }

/* ── TYPOGRAPHY ── */
.hp-section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: #00e676;
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.8;
}

.hp-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4.5vw, 52px);
    line-height: 1.12;
    color: #fff;
    margin: 0 0 48px 0;
    letter-spacing: -0.5px;
}

.hp-gradient-text {
    background: linear-gradient(120deg, #ffffff 30%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════════════════════════
   PRICE TICKERS
══════════════════════════════════════════════════════════ */
.hp-ticker {
    display: flex;
    align-items: center;
    height: 34px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    z-index: 900;
    width: 100%;
}

.hp-ticker--crypto {
    background: #05070d;
    top: 56px;
    border-top: 1px solid rgba(240,185,11,0.12);
}

.hp-ticker--forex {
    background: #04060b;
    top: 90px;
    border-top: 1px solid rgba(0,176,255,0.1);
}

.hp-ticker__pill {
    flex-shrink: 0;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    white-space: nowrap;
}

.hp-ticker__pill--crypto { color: #f0b90b; }
.hp-ticker__pill--forex  { color: #00b0ff; }

.hp-ticker__track-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
    /* ✅ FIX: hover on wrapper pauses animation inside */
    cursor: crosshair;
}

.hp-ticker__track-wrap::before,
.hp-ticker__track-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 36px;
    z-index: 2;
    pointer-events: none;
}
.hp-ticker__track-wrap::before { left: 0;  background: linear-gradient(to right, #05070d, transparent); }
.hp-ticker__track-wrap::after  { right: 0; background: linear-gradient(to left,  #05070d, transparent); }
.hp-ticker--forex .hp-ticker__track-wrap::before { background: linear-gradient(to right, #04060b, transparent); }
.hp-ticker--forex .hp-ticker__track-wrap::after  { background: linear-gradient(to left,  #04060b, transparent); }

.hp-ticker__track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    will-change: transform;
}

#cryptoTickerTrack { animation: tickScroll 80s linear infinite; }
#forexTickerTrack  { animation: tickScroll 100s linear infinite; }

/* ✅ FIX: wrapper hover → pause child track (not self-hover which doesn't work) */
.hp-ticker__track-wrap:hover #cryptoTickerTrack,
.hp-ticker__track-wrap:hover #forexTickerTrack,
.hp-ticker__track-wrap:hover .hp-ticker__track {
    animation-play-state: paused;
}

@keyframes tickScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.hp-tick-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    height: 100%;
    border-right: 1px solid rgba(255,255,255,0.04);
    white-space: nowrap;
    cursor: default;
    transition: background 0.2s;
}
.hp-tick-item:hover { background: rgba(255,255,255,0.025); }

.hp-tick-sym   { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: #c8d0df; }
.hp-tick-price { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #8a90a6; min-width: 56px; font-variant-numeric: tabular-nums; }
.hp-tick-change { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; }
.hp-tick-change--up   { color: #00e676; }
.hp-tick-change--down { color: #ff5252; }
.hp-tick-loading-val  { color: #2a2e3f; animation: tickBlink 1.2s ease infinite; }

@keyframes tickBlink { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hp-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 90px 20px 70px;
    width: 100%;
}

.hp-hero__eyebrow { margin-bottom: 26px; }

.hp-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 999px;
    padding: 6px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #8a90a6;
    letter-spacing: 1.5px;
}

.hp-hero__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.08;
    color: #fff;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.hp-hero__sub {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(14px, 1.8vw, 17px);
    font-weight: 400;
    color: #8a90a6;
    line-height: 1.72;
    max-width: 620px;
    margin: 0 auto 40px;
}

.hp-hero__cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hp-btn-primary {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    background: #00e676;
    color: #000;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.hp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,230,118,0.3); }

.hp-btn-affiliate {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    color: #e2e8f0;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}
.hp-btn-affiliate:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

.hp-badge-bonus {
    background: #000;
    color: #00e676;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.4px;
    border: 1px solid rgba(0,230,118,0.4);
}

/* Signal Matrix */
.hp-signal-matrix {
    background: #07090f;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
}

.hp-matrix__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #8a90a6;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-matrix__header-right { display: flex; align-items: center; gap: 16px; }
.hp-matrix__label  { display: flex; align-items: center; gap: 7px; }
.hp-matrix__status { display: flex; align-items: center; gap: 6px; color: #00e676; }

.hp-matrix__lock-hint {
    font-size: 9px;
    color: #f0b90b;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hp-matrix__cols-head {
    display: grid;
    grid-template-columns: 90px 80px 1fr 72px 60px;
    gap: 10px;
    padding: 6px 18px;
    font-size: 9px;
    letter-spacing: 1.2px;
    color: #2e3347;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    text-transform: uppercase;
}

.hp-matrix-row {
    display: grid;
    grid-template-columns: 90px 80px 1fr 72px 60px;
    gap: 10px;
    align-items: center;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 11px;
    opacity: 0;
    animation: mRowFade 0.4s ease forwards;
    transition: background 0.2s;
}
.hp-matrix-row:last-child { border-bottom: none; }
.hp-matrix-row:hover { background: rgba(255,255,255,0.018); }

@keyframes mRowFade { from { opacity:0; transform:translateX(-5px); } to { opacity:1; transform:translateX(0); } }

.hp-mrow__pair  { color: #f1f5f9; font-weight: 600; }
.hp-mrow__mkt   { color: #8a90a6; font-size: 10px; }
.hp-mrow__price { color: #c0c8d8; font-weight: 500; font-variant-numeric: tabular-nums; }
.hp-mrow__dir   { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px; text-align: center; }
.hp-mrow__dir--buy  { background: rgba(0,230,118,0.12); color: #00e676; }
.hp-mrow__dir--sell { background: rgba(255,82,82,0.12);  color: #ff5252; }
.hp-mrow__time  { color: #2e3347; font-size: 10px; text-align: right; }

.hp-matrix__lock-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 65%;
    background: linear-gradient(to bottom, transparent 0%, rgba(7,9,15,0.92) 35%, rgba(7,9,15,0.98) 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
}

.hp-matrix__lock-box { width: 100%; text-align: center; padding: 16px 24px 20px; }
.hp-matrix__lock-box > i { font-size: 20px; color: #f0b90b; margin-bottom: 8px; display: block; }
.hp-matrix__lock-box h4 { font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: #fff; margin: 0 0 6px; font-weight: 600; }
.hp-matrix__lock-box p  { font-family: 'Outfit', sans-serif; font-size: 12px; color: #8a90a6; line-height: 1.5; margin: 0 auto 16px; max-width: 440px; }

.hp-lock-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.hp-lock-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 12px; font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-flex; align-items: center; gap: 7px;
    transition: all 0.3s;
}
.hp-lock-btn--primary  { background: #00e676; color: #000; }
.hp-lock-btn--primary:hover  { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,230,118,0.3); }
.hp-lock-btn--secondary { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #c8d0df; }
.hp-lock-btn--secondary:hover { background: rgba(255,255,255,0.1); }

/* ══════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════ */
.hp-stats-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 34px 20px;
    background: rgba(255,255,255,0.01);
}

.hp-stats-inner {
    max-width: 900px; margin: 0 auto;
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
}

.hp-stat { flex: 1 1 140px; text-align: center; padding: 10px 20px; }

.hp-stat__number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    color: #fff; line-height: 1; margin-bottom: 6px; letter-spacing: -0.5px;
}

.hp-stat__label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px; font-weight: 500; letter-spacing: 0.8px;
    color: #8a90a6; text-transform: uppercase;
}

.hp-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.07); flex-shrink: 0; }

@media (max-width: 600px) {
    .hp-stat-divider { display: none; }
    .hp-stat { flex: 1 1 45%; }
}

/* ══════════════════════════════════════════════════════════
   FEATURES GRID (6 cards, 3-col)
══════════════════════════════════════════════════════════ */
.hp-features { max-width: 1080px; margin: 0 auto; padding: 90px 20px; }

.hp-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

@media (max-width: 960px) { .hp-features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hp-features__grid { grid-template-columns: 1fr; } }

.hp-feature-card {
    background: #090c14;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 26px 24px;
    display: flex; flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}
.hp-feature-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-3px); }

.hp-feature-card--highlight {
    border-color: rgba(0,230,118,0.14);
    background: linear-gradient(145deg, #09100f 0%, #060810 100%);
}
.hp-feature-card--highlight:hover { border-color: rgba(0,230,118,0.28); }

.hp-feature-card__icon { font-size: 22px; margin-bottom: 16px; }
.hp-feature-card--signals   .hp-feature-card__icon { color: #00e676; }
.hp-feature-card--brokers   .hp-feature-card__icon { color: #a78bfa; }
.hp-feature-card--crypto    .hp-feature-card__icon { color: #f0b90b; }
.hp-feature-card--copy      .hp-feature-card__icon { color: #00e676; }
.hp-feature-card--intel     .hp-feature-card__icon { color: #00b0ff; }
.hp-feature-card--highlight .hp-feature-card__icon { color: #00e676; }

.hp-feature-card h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; color: #fff; margin: 0 0 10px; letter-spacing: -0.2px; }
.hp-feature-card p  { font-family: 'Outfit', sans-serif; font-size: 13px; color: #8a90a6; line-height: 1.66; margin: 0 0 18px; flex-grow: 1; }

.hp-feature-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 7px; }
.hp-feature-list li { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 500; color: #8a90a6; display: flex; align-items: center; gap: 8px; }
.hp-feature-list li i { color: #00e676; font-size: 10px; flex-shrink: 0; }

.hp-feature-cta { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: gap 0.2s, color 0.2s; margin-top: auto; }
.hp-feature-cta:hover { gap: 12px; color: #00e676; }

.hp-affiliate-highlight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; background: rgba(0,230,118,0.04); border: 1px solid rgba(0,230,118,0.1); border-radius: 8px; padding: 14px 8px; }
.hp-affiliate-highlight__item { text-align: center; }
.hp-aff-num { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; color: #00e676; line-height: 1; margin-bottom: 4px; }
.hp-aff-lbl { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #8a90a6; letter-spacing: 0.4px; }

.hp-btn-affiliate-card {
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px;
    width: 100%; text-align: center; background: #00e676; color: #000;
    text-decoration: none; padding: 12px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s; margin-top: auto;
}
.hp-btn-affiliate-card:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,230,118,0.28); }

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════ */
.hp-howitworks { max-width: 860px; margin: 0 auto; padding: 0 20px 90px; text-align: center; }

.hp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 600px) { .hp-steps { grid-template-columns: 1fr; gap: 32px; } }

.hp-step { padding: 0 24px 10px; text-align: center; position: relative; }

.hp-step__node {
    font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 12px;
    color: #000; background: #00e676; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; position: relative; z-index: 1;
}

.hp-step__connector {
    position: absolute; top: 19px;
    left: calc(50% + 19px); right: calc(-50% + 19px);
    height: 1px;
    background: linear-gradient(to right, rgba(0,230,118,0.35), rgba(0,230,118,0.08));
}
.hp-step__connector--last { display: none; }
@media (max-width: 600px) { .hp-step__connector { display: none; } }

.hp-step h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: #fff; margin: 0 0 10px; }
.hp-step p  { font-family: 'Outfit', sans-serif; font-size: 13px; color: #8a90a6; line-height: 1.6; margin: 0; }

/* ══════════════════════════════════════════════════════════
   PARTNER NETWORK — 2 infinite scroll rows
══════════════════════════════════════════════════════════ */
.hp-partners {
    max-width: 1080px; margin: 0 auto;
    padding: 0 20px 90px;
    overflow: hidden;
}

/* ✅ FIX: was margin:-30px 0 36px which caused text to overlap title */
.hp-partners__sub {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #8a90a6;
    margin: 0 0 36px 0;
}

.hp-scroll-row__wrap { position: relative; }

.hp-scroll-row__label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
    color: #4a5568; text-transform: uppercase;
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 7px;
}

.hp-scroll-row__overflow {
    overflow: hidden; position: relative; width: 100%;
    cursor: crosshair;
}

.hp-scroll-row__overflow::before,
.hp-scroll-row__overflow::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.hp-scroll-row__overflow::before { left: 0;  background: linear-gradient(to right, var(--bg-color, #0f172a), transparent); }
.hp-scroll-row__overflow::after  { right: 0; background: linear-gradient(to left,  var(--bg-color, #0f172a), transparent); }

.hp-scroll-row {
    display: flex; gap: 12px; width: max-content;
    padding: 4px 0;
    animation: partnerScroll 45s linear infinite;
}

.hp-scroll-row--rtl { animation: partnerScrollRTL 50s linear infinite; }

/* ✅ FIX: overflow wrapper hover pauses animation */
.hp-scroll-row__overflow:hover .hp-scroll-row,
.hp-scroll-row__overflow:hover .hp-scroll-row--rtl {
    animation-play-state: paused;
}

@keyframes partnerScroll    { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes partnerScrollRTL { from { transform: translateX(-50%); } to { transform: translateX(0); }   }

.hp-pcard {
    display: inline-flex; flex-direction: column; align-items: center;
    gap: 9px; padding: 16px 18px 14px;
    background: #09090f; border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; text-decoration: none;
    transition: border-color 0.25s, transform 0.25s, background 0.25s;
    min-width: 110px; flex-shrink: 0; cursor: pointer;
}
.hp-pcard:hover { border-color: rgba(255,255,255,0.18); background: #0d0e17; transform: translateY(-3px); }

.hp-pcard--featured { border-color: rgba(0,230,118,0.2); background: linear-gradient(145deg, #091110, #07090f); }
.hp-pcard--featured:hover { border-color: rgba(0,230,118,0.4); }

.hp-pcard__logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: rgba(255,255,255,0.04); padding: 5px; }
.hp-pcard__name { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 12px; color: #c8d0df; text-align: center; white-space: nowrap; }

.hp-pcard__badge { font-family: 'Outfit', sans-serif; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 4px; white-space: nowrap; letter-spacing: 0.2px; }
.hp-pcard__badge--green  { background: rgba(0,230,118,0.12);  color: #00e676; }
.hp-pcard__badge--blue   { background: rgba(0,176,255,0.12);  color: #00b0ff; }
.hp-pcard__badge--yellow { background: rgba(240,185,11,0.12); color: #f0b90b; }

/* ══════════════════════════════════════════════════════════
   CTA STRIP
══════════════════════════════════════════════════════════ */
.hp-cta-strip { border-top: 1px solid rgba(255,255,255,0.05); padding: 70px 20px; }

.hp-cta-strip__inner {
    max-width: 1000px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    gap: 40px; flex-wrap: wrap;
}

.hp-cta-strip__text h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(22px, 3vw, 34px); color: #fff; margin: 0 0 10px; letter-spacing: -0.3px; }
.hp-cta-strip__text p  { font-family: 'Outfit', sans-serif; font-size: 14px; color: #8a90a6; line-height: 1.65; margin: 0; max-width: 420px; }

.hp-cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hp-cta-btn {
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px;
    text-decoration: none; padding: 12px 18px; border-radius: 8px;
    display: inline-flex; flex-direction: column; align-items: center;
    gap: 3px; transition: all 0.3s; border: 1px solid transparent;
    min-width: 120px; text-align: center;
}
.hp-cta-btn__logo { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; margin-bottom: 2px; }
.hp-cta-sub { font-size: 10px; font-weight: 500; opacity: 0.7; }

.hp-cta-btn--po     { background: rgba(0,230,118,0.09); border-color: rgba(0,230,118,0.25); color: #00e676; }
.hp-cta-btn--po:hover { background: #00e676; color: #000; box-shadow: 0 6px 20px rgba(0,230,118,0.25); }

.hp-cta-btn--deriv  { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: #e2e8f0; }
.hp-cta-btn--deriv:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }

.hp-cta-btn--mexc   { background: rgba(0,176,255,0.08);  border-color: rgba(0,176,255,0.22);  color: #00b0ff; }
.hp-cta-btn--mexc:hover { background: #00b0ff; color: #000; }

.hp-cta-btn--kucoin { background: rgba(240,185,11,0.08); border-color: rgba(240,185,11,0.22); color: #f0b90b; }
.hp-cta-btn--kucoin:hover { background: #f0b90b; color: #000; }

@media (max-width: 768px) {
    .hp-cta-strip__inner { flex-direction: column; align-items: flex-start; }
    .hp-cta-strip__actions { width: 100%; }
    .hp-cta-btn { flex: 1 1 120px; }
}

/* ══════════════════════════════════════════════════════════
   COMMUNITY
══════════════════════════════════════════════════════════ */
.hp-community { padding: 0 20px 100px; }

.hp-community__inner {
    max-width: 860px; margin: 0 auto;
    background: linear-gradient(135deg, #0c1220 0%, #080c16 100%);
    border: 1px solid rgba(0,136,204,0.14); border-radius: 14px;
    padding: 38px 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}

.hp-community__icon { font-size: 32px; color: #0088cc; flex-shrink: 0; }
.hp-community__text { flex: 1 1 220px; }
.hp-community__text h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 20px; color: #fff; margin: 0 0 7px; letter-spacing: -0.2px; }
.hp-community__text p  { font-family: 'Outfit', sans-serif; font-size: 13px; color: #8a90a6; line-height: 1.6; margin: 0; }

.hp-community__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hp-tg-btn { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; text-decoration: none; padding: 11px 18px; border-radius: 7px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; }
.hp-tg-btn--forex  { background: rgba(0,136,204,0.1);  border: 1px solid rgba(0,136,204,0.22);  color: #40c4ff; }
.hp-tg-btn--forex:hover  { background: #0088cc; color: #fff; }
.hp-tg-btn--crypto { background: rgba(0,230,118,0.07); border: 1px solid rgba(0,230,118,0.18); color: #00e676; }
.hp-tg-btn--crypto:hover { background: #00e676; color: #000; }

@media (max-width: 768px) {
    .hp-community__inner { padding: 24px 18px; flex-direction: column; text-align: center; }
    .hp-community__btns { width: 100%; justify-content: center; }
    .hp-tg-btn { flex: 1; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   SHARED ATOMS
══════════════════════════════════════════════════════════ */
.pulse-dot-green {
    width: 7px; height: 7px; background: #00e676; border-radius: 50%;
    display: inline-block; box-shadow: 0 0 6px #00e676;
    animation: hpPulse 2s infinite; flex-shrink: 0;
}
@keyframes hpPulse { 0%,100%{opacity:.35} 50%{opacity:1} }

.hp-reveal { opacity:0; transform:translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.hp-reveal.is-visible { opacity:1; transform:translateY(0); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    html, body { overflow-x: hidden !important; max-width: 100% !important; }

    .main-content, section,
    .hp-features, .hp-partners, .hp-howitworks,
    .hp-cta-strip, .hp-community, .hp-hero {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hp-hero { padding: 75px 16px 50px; }
    .hp-hero__cta { flex-direction: column; align-items: stretch; }
    .hp-btn-primary, .hp-btn-affiliate { width: 100%; justify-content: center; }

    .hp-matrix__cols-head { display: none; }
    .hp-matrix-row { grid-template-columns: 80px 1fr 68px 50px; }
    .hp-mrow__mkt, .hp-mrow__time { display: none; }

    .hp-ticker { height: 30px; }
    .hp-ticker__pill { padding: 0 10px; font-size: 8px; }
    .hp-tick-sym   { font-size: 10px; }
    .hp-tick-price { font-size: 10px; min-width: 46px; }
    .hp-tick-change { font-size: 9px; }
}

@media (max-width: 420px) {
    .hp-features__grid { grid-template-columns: 1fr; }
    .hp-lock-btns { flex-direction: column; }
    .hp-lock-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    #cryptoTickerTrack, #forexTickerTrack,
    .hp-scroll-row, .hp-scroll-row--rtl { animation: none; }
    .hp-reveal { opacity:1; transform:none; transition:none; }
    .hp-matrix-row { animation:none; opacity:1; }
    .pulse-dot-green { animation:none; opacity:1; }
}