/* ═══════════════════════════════════════════════════════════════════
   Blobe AI — design refresh (v2). Loaded LAST on every page, so it only restyles; it never changes
   structure or behaviour. Same language as the landing page: aurora heroes, soft glass, brand-blue glow,
   Syne display type. Delete the <link> to roll a page back.
═══════════════════════════════════════════════════════════════════ */

:root {
  --radius: 18px;
  --radius2: 28px;
  --grad-primary: linear-gradient(135deg, #1b86e0 0%, #1045b7 100%);
  --brand-grad: linear-gradient(135deg, #1b86e0 0%, #1045b7 100%);
  --line-r: rgba(20, 45, 120, .1);
  --sh-card: 0 1px 2px rgba(15, 30, 80, .04), 0 14px 38px rgba(15, 30, 80, .07);
  --sh-card-h: 0 2px 6px rgba(15, 30, 80, .06), 0 26px 60px rgba(16, 69, 183, .16);
  --aurora:
    radial-gradient(720px 380px at 10% -12%, rgba(42, 139, 234, .55), transparent 70%),
    radial-gradient(640px 340px at 94% 8%, rgba(124, 92, 255, .42), transparent 70%),
    radial-gradient(520px 300px at 58% 135%, rgba(240, 86, 138, .24), transparent 70%);
}

::selection { background: rgba(42, 139, 234, .28); }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(900px 520px at 100% -8%, rgba(42, 139, 234, .09), transparent 62%),
    radial-gradient(720px 520px at -10% 42%, rgba(124, 92, 255, .06), transparent 62%),
    var(--bg);
}
:focus-visible { outline: 2px solid #2a8bea; outline-offset: 2px; }
* { scrollbar-width: thin; scrollbar-color: rgba(120, 140, 190, .45) transparent; }

/* ───────────── logo: crop the SVG's empty canvas so the mark is actually legible ───────────── */
.logo-container:has(> img[src*="ICON"]) { --lh: 30px; position: relative; display: block; width: calc(var(--lh) * 6.3); height: var(--lh); overflow: hidden; flex: none; }
.logo-container:has(> img[src*="ICON"]) > img { position: absolute; max-width: none; height: calc(var(--lh) * 3.378); width: auto; left: calc(var(--lh) * -.468); top: calc(var(--lh) * -1.144); margin: 0; }

/* ───────────── heroes: one aurora language for every page ───────────── */
.dash-hero, .profile-hero, .pay-hero, .rp-hero, .inv-hero, .about-hero, .contact-hero, .legal-hero, .hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    linear-gradient(rgba(180, 205, 255, .05) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(180, 205, 255, .05) 1px, transparent 1px) 0 0 / 52px 52px,
    var(--aurora),
    linear-gradient(135deg, #060a16 0%, #0d1838 55%, #112768 100%) !important;
}
@media (prefers-reduced-motion: no-preference) {
  .dash-hero, .profile-hero, .pay-hero, .rp-hero, .inv-hero, .about-hero, .contact-hero, .legal-hero, .hero { animation: rfAurora 22s ease-in-out infinite alternate; }
  @keyframes rfAurora { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 0, 40px 22px, -34px 16px, 20px -14px; } }
}
.dash-hero h1, .pay-hero h1, .rp-hero h1, .inv-hero h1, .about-hero h1, .contact-hero h1, .legal-hero h1, .hero h1, .profile-hero-name { letter-spacing: -.045em; text-wrap: balance; }
.dash-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem) !important; }
.greeting-line { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(160, 185, 255, .22); backdrop-filter: blur(8px); font-size: .8rem !important; font-weight: 600; color: #cfdcff !important; }
.greeting-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.about-hero-tag, .contact-hero-tag, .inv-hero-eyebrow, .hero-pill, .pay-hero-tag, .legal-hero-tag { background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(160, 185, 255, .26) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.hero-glow, .pay-hero-blob-1, .pay-hero-blob-2 { opacity: .55; filter: blur(70px); }

/* ───────────── cards ───────────── */
.dash-stat-card, .dash-card, .mc-card, .pstat, .pcard, .prem-card, .pay-card, .rp-link-card, .rp-dual-card, .rp-cta-card, .inv-why-card, .inv-tiers-card,
.inv-progress-card, .inv-deal-card, .inv-calc-card, .inv-auth-card, .value-card, .team-card, .contact-info-card, .rating-card, .faq-card, .contact-form-card,
.guide-card, .picker-card, .note-box {
  border-radius: 22px; border-color: var(--line-r); box-shadow: var(--sh-card);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s, background .3s;
}
.dash-stat-card:hover, .mc-card:hover, .value-card:hover, .team-card:hover, .inv-why-card:hover, .contact-info-card:hover, .rp-link-card:hover, .guide-card:hover {
  transform: translateY(-4px); box-shadow: var(--sh-card-h); border-color: rgba(16, 107, 187, .3);
}
.dash-stat-card-icon { border-radius: 14px !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.dash-stat-card-val, .pstat-val { background: linear-gradient(135deg, #1b86e0 10%, #6a5cf0 90%); -webkit-background-clip: text; background-clip: text; color: transparent !important; letter-spacing: -.04em; }
.pcard-head, .pcard-title { letter-spacing: -.02em; }
.psection-title { letter-spacing: -.035em; }

/* ───────────── buttons ───────────── */
.btn { border-radius: 999px; letter-spacing: -.005em; }
.btn-primary { background: var(--brand-grad); box-shadow: 0 10px 26px rgba(16, 107, 187, .4), inset 0 1px 0 rgba(255, 255, 255, .26); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 16px 36px rgba(16, 107, 187, .52), inset 0 1px 0 rgba(255, 255, 255, .3); filter: brightness(1.05); }
.btn-ghost { background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #1b86e0; background: #fff; }
.refer-banner-btn, .dash-filter-pill.active { background: var(--brand-grad) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 8px 20px rgba(16, 107, 187, .35); }
.dash-filter-pill { transition: all .2s; }
.dash-filter-pill:hover:not(.active) { transform: translateY(-2px); border-color: #1b86e0; }

/* ───────────── forms ───────────── */
.form-input, .form-textarea, .form-select { border-radius: 14px; background: rgba(255, 255, 255, .85); transition: border-color .18s, box-shadow .18s, background .18s; }
.form-input:hover, .form-textarea:hover, .form-select:hover { border-color: rgba(16, 107, 187, .4); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: #1b86e0; background: #fff; box-shadow: 0 0 0 4px rgba(27, 134, 224, .16); }
.form-label { letter-spacing: .09em; }

/* ───────────── login / signup ───────────── */
.auth-left {
  background:
    linear-gradient(rgba(180, 205, 255, .05) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(180, 205, 255, .05) 1px, transparent 1px) 0 0 / 52px 52px,
    radial-gradient(560px 420px at 0% 0%, rgba(42, 139, 234, .5), transparent 70%),
    radial-gradient(520px 400px at 100% 100%, rgba(124, 92, 255, .38), transparent 70%),
    radial-gradient(380px 300px at 80% 20%, rgba(240, 86, 138, .18), transparent 70%),
    linear-gradient(160deg, #060a16 0%, #0d1838 60%, #112768 100%) !important;
}
.auth-left-title { font-size: clamp(2rem, 3.4vw, 3.1rem) !important; letter-spacing: -.05em !important; line-height: 1.04 !important; }
.auth-left-sub { color: rgba(255, 255, 255, .6) !important; }
.auth-right { background: radial-gradient(700px 420px at 100% 0%, rgba(42, 139, 234, .09), transparent 65%), radial-gradient(520px 380px at 0% 100%, rgba(124, 92, 255, .06), transparent 65%), var(--bg); }
.auth-title { font-size: clamp(2rem, 3vw, 2.4rem) !important; letter-spacing: -.045em !important; }
.auth-right-inner { background: transparent; }

/* ───────────── profile ───────────── */
.ptab-btn { border-radius: 14px; transition: all .2s; }
.ptab-btn:hover:not(.active) { background: rgba(27, 134, 224, .08); transform: translateX(2px); }
.ptab-btn.active { background: var(--brand-grad) !important; color: #fff !important; box-shadow: 0 10px 24px rgba(16, 107, 187, .38), inset 0 1px 0 rgba(255, 255, 255, .26) !important; }
.ptab-btn.active .ptab-icon, .ptab-btn.active .ptab-label { color: #fff !important; }
.profile-hero-av { box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 18px 44px rgba(0, 0, 0, .4); }

/* ───────────── dashboard bits ───────────── */
.refer-banner { background: linear-gradient(135deg, #0a1226, #14307f 70%, #1b4fb8) !important; border-color: rgba(160, 185, 255, .2) !important; }
.streak-pill { box-shadow: 0 6px 18px rgba(245, 158, 11, .2); }
.mc-card { overflow: hidden; }
.chat-input-wrap:focus-within { box-shadow: 0 0 0 4px rgba(27, 134, 224, .16); }

/* ───────────── payment / pricing ───────────── */
.prem-card { background: var(--aurora), linear-gradient(135deg, #060a16, #0f2058) !important; border: 1px solid rgba(160, 185, 255, .18); box-shadow: 0 30px 70px rgba(16, 69, 183, .3); }
.pay-net { border-radius: 16px; }

/* ───────────── footers & misc ───────────── */
.site-footer, .rp-footer { background: #060a14 !important; }
hr { border-color: var(--line-r); }
@media (prefers-reduced-motion: reduce) { .dash-hero, .profile-hero, .pay-hero, .rp-hero, .inv-hero, .about-hero, .contact-hero, .legal-hero, .hero { animation: none !important; } .dash-stat-card, .mc-card, .btn { transition: none !important; } }
