/* ==========================================================================
   TradeCred · Lion mascot theme
   Source: "TradeCred Lion Mascot Placement Showcase" (Oct 2026)
   Loaded after style.css on every page. Mascot widgets (help launcher,
   loader) are added by js/lion.js, which is NOT loaded on legal pages.
   ========================================================================== */

:root {
    --tc-green-950: #071f17;
    --tc-green-900: #0b2b20;
    --tc-green-850: #0e3427;
    --tc-green-800: #123d2e;
    --tc-green-700: #1a5a43;
    --tc-green-600: #1c7a56;
    --tc-brand: #5cbd70;
    --tc-brand-dark: #3fa357;
    --tc-gold: #fbbf24;
    --tc-gold-deep: #f7a118;
    --tc-cream: #fff8e8;
    --tc-cream-2: #fdf3dc;
    --tc-ink: #15201b;
    --tc-ink-2: #43514a;
    --tc-ink-3: #6b7a72;
    --tc-line: #e5ebe7;
    --tc-surface: #f5f8f6;
    --tc-radius: 18px;
    --tc-font-head: 'Poppins', 'Montserrat', sans-serif;
    --tc-font-body: 'Inter', 'Open Sans', sans-serif;
    --tc-shadow: 0 18px 40px -18px rgba(7, 31, 23, .35);
}

body {
    font-family: var(--tc-font-body);
    color: var(--tc-ink);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 { font-family: var(--tc-font-head); }

/* ---------- Buttons ---------- */
.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 12px;
    font-family: var(--tc-font-head);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    border: 1.5px solid transparent;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.tc-btn:hover { transform: translateY(-1px); }
.tc-btn:focus-visible { outline: 3px solid var(--tc-gold); outline-offset: 3px; }
.tc-btn--gold {
    background: linear-gradient(180deg, #ffc93d, var(--tc-gold-deep));
    color: #2a1d00 !important;
    box-shadow: 0 10px 28px -8px rgba(247, 161, 24, .65);
}
.tc-btn--gold:hover { box-shadow: 0 14px 32px -8px rgba(247, 161, 24, .8); color: #2a1d00 !important; }
.tc-btn--green { background: var(--tc-brand); color: #fff !important; box-shadow: 0 10px 26px -10px rgba(92, 189, 112, .8); }
.tc-btn--green:hover { background: var(--tc-brand-dark); color: #fff !important; }
.tc-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .75); }
.tc-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff !important; }
.tc-btn--outline { background: #fff; color: var(--tc-green-700) !important; border-color: var(--tc-green-700); }
.tc-btn--outline:hover { background: var(--tc-surface); color: var(--tc-green-700) !important; }
.tc-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }

.green-button { background: var(--tc-brand); }
.green-button:hover { background: var(--tc-brand-dark); }

/* ---------- Eyebrow / chips ---------- */
.tc-eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, .55);
    background: rgba(251, 191, 36, .08);
    color: var(--tc-gold);
    font-family: var(--tc-font-head);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.tc-kicker {
    color: var(--tc-green-600);
    font-family: var(--tc-font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.tc-gold { color: var(--tc-gold); }

/* ---------- Header (all pages) ---------- */
#header .navbar { padding: 6px 0 !important; transition: background-color .3s ease, box-shadow .3s ease; }
#header .navbar.opaque,
#header .navbar.backgound_opaque {
    background: rgba(9, 38, 28, .94);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
#header .navbar-nav li a { font-family: var(--tc-font-body); font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .88); letter-spacing: 0; }
#header .navbar a:hover, #header .navbar .active > a, #header .navbar li:hover > a { color: #fff; }
#header .navbar-nav li a::after { background: var(--tc-gold); }
#header .dropdown-menu { border: 0; border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .35); }
#header .dropdown-item { border-radius: 8px; padding: 8px 14px; font-size: 14px; }
#header .dropdown-item:hover { background: var(--tc-surface); color: var(--tc-green-700) !important; }
#header .dropdown-item::after { display: none; }
#header .nav-cta { padding-left: 14px; display: flex; align-items: center; }
#header .nav-cta a { color: #fff !important; }
#header .nav-cta a::after { display: none; }
#header_privacy_policy { background: linear-gradient(120deg, var(--tc-green-950), var(--tc-green-800)) !important; }

/* ---------- Hero (index) ---------- */
.tc-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 132px 0 56px;
    background:
        radial-gradient(640px 480px at 72% 46%, rgba(186, 160, 46, .32), transparent 70%),
        radial-gradient(900px 600px at 0% 100%, rgba(28, 122, 86, .25), transparent 70%),
        linear-gradient(160deg, var(--tc-green-900) 0%, var(--tc-green-950) 100%);
}
.tc-hero .container { position: relative; z-index: 1; }
.tc-hero__row { display: flex; align-items: center; flex-wrap: wrap; }
.tc-hero__copy { flex: 1 1 520px; max-width: 620px; padding: 10px 0 30px; }
.tc-hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(40px, 5.6vw, 70px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.025em;
    color: #fff;
}
.tc-hero__lede { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .78); max-width: 540px; margin-bottom: 32px; }
.tc-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.tc-hero__art {
    flex: 1 1 420px;
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.tc-hero__rings { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.tc-hero__rings span {
    position: absolute; left: 50%; top: 50%;
    border-radius: 50%;
    border: 1px solid rgba(251, 191, 36, .18);
    transform: translate(-50%, -50%);
}
.tc-hero__rings span:nth-child(1) { width: 330px; height: 330px; }
.tc-hero__rings span:nth-child(2) { width: 470px; height: 470px; border-color: rgba(251, 191, 36, .12); }
.tc-hero__rings span:nth-child(3) { width: 610px; height: 610px; border-color: rgba(251, 191, 36, .07); border-style: dashed; }
.tc-hero__lion {
    position: relative;
    width: min(400px, 78%);
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
    animation: tc-bob 3s ease-in-out infinite;
}
.tc-sparkle { position: absolute; color: var(--tc-gold); pointer-events: none; animation: tc-twinkle 2.4s ease-in-out infinite; }
.tc-sparkle svg { display: block; width: 100%; height: 100%; }
.tc-sparkle--1 { width: 26px; height: 26px; right: 14%; top: 44%; }
.tc-sparkle--2 { width: 14px; height: 14px; right: 10%; top: 54%; animation-delay: .8s; }
.tc-sparkle--3 { width: 16px; height: 16px; left: 14%; top: 30%; animation-delay: 1.4s; }

.tc-dealcard {
    position: absolute;
    right: 0;
    top: 40px;
    width: 250px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    color: var(--tc-ink);
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55);
    animation: tc-rise .8s ease-out .5s both;
}
.tc-dealcard__tag { font-family: var(--tc-font-head); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--tc-brand-dark); text-transform: uppercase; }
.tc-dealcard__title { font-family: var(--tc-font-head); font-weight: 600; font-size: 15.5px; margin: 6px 0 12px; }
.tc-dealcard__stats { display: flex; justify-content: space-between; gap: 12px; }
.tc-dealcard__stats small { display: block; font-size: 11.5px; color: var(--tc-ink-3); }
.tc-dealcard__stats b { font-family: var(--tc-font-head); font-size: 14px; }
.tc-dealcard__bar { margin-top: 12px; height: 6px; border-radius: 6px; background: var(--tc-line); overflow: hidden; }
.tc-dealcard__bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--tc-brand), #8fd49d); }
.tc-dealcard__note { margin-top: 8px; font-size: 10.5px; color: var(--tc-ink-3); }

.tc-hero__features { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tc-feature {
    padding: 20px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.tc-feature:hover { background: rgba(255, 255, 255, .07); border-color: rgba(251, 191, 36, .35); transform: translateY(-2px); }
.tc-feature h3 { font-size: 17px; font-weight: 600; color: #fff; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.tc-feature h3 svg { width: 22px; height: 22px; color: var(--tc-gold); flex: none; }
.tc-feature p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .66); }

/* ---------- Trust strip ---------- */
.tc-trust { background: #fff; border-bottom: 1px solid var(--tc-line); padding: 28px 0; }
.tc-trust__row { display: flex; align-items: center; gap: 28px; }
.tc-seal { display: flex; align-items: center; gap: 16px; flex: 0 0 340px; padding-right: 28px; border-right: 1px solid var(--tc-line); }
.tc-seal img { width: 76px; height: 76px; border-radius: 50%; flex: none; box-shadow: 0 8px 20px -8px rgba(7, 31, 23, .45); }
.tc-seal h2 { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--tc-ink); }
.tc-seal p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--tc-ink-2); }
.tc-trust__brands { flex: 1; min-width: 0; }
.tc-trust__label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tc-ink-3); font-weight: 600; margin-bottom: 10px; }
.tc-trust .owl-carousel .item { height: 56px; display: flex; align-items: center; justify-content: center; border: 1px dashed #dfe6e2; border-radius: 12px; padding: 8px 14px; background: #fff; }
.tc-trust .owl-carousel .item img { max-height: 30px; width: auto !important; max-width: 100%; object-fit: contain; filter: grayscale(.15); }

/* ---------- Section scaffolding ---------- */
.tc-section { padding: 96px 0; }
.tc-section--tint { background: var(--tc-surface); }
.tc-section__head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.tc-section__head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; color: var(--tc-ink); }
.tc-section__head p { font-size: 17px; color: var(--tc-ink-2); margin: 0; }

/* Process cards */
.tc-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tc-path {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 34px;
    border-radius: var(--tc-radius);
    background: #fff;
    border: 1px solid var(--tc-line);
    color: var(--tc-ink) !important;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tc-path:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow); border-color: transparent; }
.tc-path__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #e8f6eb; margin-bottom: 22px; }
.tc-path__icon img { width: 30px; height: 30px; object-fit: contain; }
.tc-path h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.tc-path p { color: var(--tc-ink-2); margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; max-width: 380px; }
.tc-path__link { font-family: var(--tc-font-head); font-weight: 600; color: var(--tc-green-600); font-size: 15px; }
.tc-path__mark { position: absolute; right: -24px; bottom: -36px; width: 150px; opacity: .08; pointer-events: none; }

/* Deploy capital */
.tc-deploy { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.tc-deploy__pic { border-radius: 22px; min-height: 420px; background: #dde7e1 url("../image/tierra-mallorca.png") center / cover no-repeat; box-shadow: var(--tc-shadow); }
.tc-deploy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; }
.tc-deploy__sub { font-size: 17px; color: var(--tc-ink-2); margin-bottom: 28px; }
.tc-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tc-check-list li { display: flex; gap: 16px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--tc-line); }
.tc-check-list li h4 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.tc-check-list li p { margin: 0; color: var(--tc-ink-2); font-size: 15px; line-height: 1.6; }
.tc-check {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--tc-green-600);
    box-shadow: 0 0 0 4px rgba(28, 122, 86, .14);
    color: #fff;
}
.tc-check svg { width: 16px; height: 16px; }

/* Testimonials */
#testimonials.tc-section { background: var(--tc-surface); }
#testimonials .testimonial-card { border-radius: var(--tc-radius); border: 1px solid var(--tc-line); box-shadow: none; }
#testimonials .owl-item.center .testimonial-card { box-shadow: var(--tc-shadow); border-color: transparent; }
#testimonials .avatar-wrapper { background: linear-gradient(135deg, var(--tc-green-700), var(--tc-green-900)) !important; }
#testimonials .testimonial-card .name { font-family: var(--tc-font-head); }
.owl-carousel .owl-dots .active span { background: var(--tc-green-600) !important; }

/* ---------- "Don't miss the next one" nudge ---------- */
.tc-nudge {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 24px;
    padding: 40px 48px 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #fffaf0 0%, var(--tc-cream-2) 100%);
    border: 1px solid #f3e3bd;
}
.tc-nudge__pill { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--tc-ink); color: #fff; font-family: var(--tc-font-head); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tc-nudge h2 { margin: 16px 0 10px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.tc-nudge p { color: var(--tc-ink-2); font-size: 16px; margin: 0 0 24px; }
.tc-nudge__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 40px; }
.tc-nudge__lion { align-self: end; width: 100%; max-width: 230px; justify-self: center; display: block; }

/* ---------- Download app ---------- */
.tc-app { background: linear-gradient(160deg, var(--tc-green-900), var(--tc-green-950)); color: #fff; padding: 96px 0; overflow: hidden; }
.tc-app h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 14px 0 24px; color: #fff; }
.tc-app ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.tc-app li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .85); font-size: 16px; }
.tc-app li .tc-check { width: 26px; height: 26px; box-shadow: none; background: var(--tc-brand); }
.tc-app li .tc-check svg { width: 13px; height: 13px; }
.tc-app .phone-mockup { max-width: 300px; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.tc-app__glow { position: relative; }
.tc-app__glow::before { content: ''; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(186, 160, 46, .35), transparent); z-index: 0; }
.tc-app__glow > * { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.tc-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1040px; margin: 0 auto; }
.tc-contact__intro h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; }
.tc-contact__intro p { color: var(--tc-ink-2); font-size: 17px; }
.tc-contact__agent { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: var(--tc-surface); border: 1px solid var(--tc-line); max-width: 380px; }
.tc-contact__agent img { width: 52px; height: 52px; border-radius: 50%; }
.tc-contact__agent b { display: block; font-family: var(--tc-font-head); font-size: 15px; }
.tc-contact__agent span { font-size: 13.5px; color: var(--tc-ink-3); }
#send_message .contact-card { border-radius: 20px; border: 1px solid var(--tc-line); box-shadow: var(--tc-shadow); padding: 32px; }
#send_message .contact-card .form-control { border-radius: 10px; min-height: 48px; }
#send_message .contact-card .form-control:focus { border-color: var(--tc-brand); box-shadow: 0 0 0 3px rgba(92, 189, 112, .2); }
#send_message .submit-button { border-radius: 12px; min-height: 52px; font-family: var(--tc-font-head); font-weight: 600; }

/* ---------- Footer (all pages) ---------- */
#footer {
    position: relative;
    overflow: hidden;
    background: var(--tc-green-950) !important;
    background-image: none !important;
}
#footer::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 260px;
    height: 354px;
    background: url("../image/lion/lion-mono-400.png") center / contain no-repeat;
    opacity: .05;
    pointer-events: none;
}
#footer .container { position: relative; z-index: 1; }
#footer .title_col, #footer .title_address { font-family: var(--tc-font-head); color: var(--tc-gold) !important; }
#footer a:hover { color: var(--tc-brand) !important; }
#end_part { background: linear-gradient(160deg, var(--tc-green-900), var(--tc-green-950)) !important; }

/* Inner page banners pick up the green brand surface */
.banner {
    background: radial-gradient(640px 480px at 75% 45%, rgba(186, 160, 46, .28), transparent 70%),
                linear-gradient(160deg, var(--tc-green-900), var(--tc-green-950)) !important;
}
.banner::before { display: none !important; }

/* ---------- Help launcher + chat (js/lion.js) ---------- */
.tc-help { position: fixed; right: 22px; bottom: 22px; z-index: 1040; display: flex; align-items: center; gap: 10px; transition: bottom .3s ease; }
body.tc-has-cookie .tc-help { bottom: 84px; }
.tc-help__bubble {
    padding: 10px 14px;
    border-radius: 14px 14px 4px 14px;
    background: #fff;
    color: var(--tc-ink);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
    white-space: nowrap;
    cursor: pointer;
    animation: tc-rise .5s ease-out 1.2s both;
}
.tc-help__bubble[hidden] { display: none; }
.tc-help__btn {
    width: 64px; height: 64px; padding: 0;
    border-radius: 50%;
    border: 3px solid var(--tc-gold);
    background: var(--tc-green-800);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55);
    cursor: pointer;
    overflow: hidden;
    transition: transform .2s ease;
}
.tc-help__btn:hover { transform: scale(1.06); }
.tc-help__btn:focus-visible { outline: 3px solid var(--tc-brand); outline-offset: 3px; }
.tc-help__btn img { width: 100%; height: 100%; display: block; }

.tc-chat {
    position: fixed;
    right: 22px;
    bottom: 100px;
    z-index: 1045;
    width: 360px;
    max-width: calc(100vw - 32px);
    max-height: min(560px, calc(100vh - 130px));
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5);
    transform-origin: bottom right;
    animation: tc-pop .22s ease-out;
}
body.tc-has-cookie .tc-chat { bottom: 162px; max-height: min(560px, calc(100vh - 190px)); }
.tc-chat[hidden] { display: none; }
.tc-chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(135deg, var(--tc-green-800), var(--tc-green-950)); color: #fff; }
.tc-chat__head img { width: 46px; height: 46px; border-radius: 50%; }
.tc-chat__head b { display: block; font-family: var(--tc-font-head); font-size: 16px; }
.tc-chat__head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.tc-chat__head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--tc-brand); }
.tc-chat__close { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.tc-chat__close:hover { background: rgba(255, 255, 255, .2); }
.tc-chat__body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: #fbfcfb; }
.tc-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; }
.tc-msg img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.tc-msg p { margin: 0; padding: 11px 14px; border-radius: 14px 14px 14px 4px; background: #eef3f0; color: var(--tc-ink); font-size: 14px; line-height: 1.5; }
.tc-msg p a { color: var(--tc-green-600); font-weight: 600; text-decoration: underline; }
.tc-msg--me { align-self: flex-end; }
.tc-msg--me p { background: var(--tc-brand); color: #fff; border-radius: 14px 14px 4px 14px; }
.tc-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--tc-line); background: #fff; }
.tc-chip { padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--tc-brand); background: #fff; color: var(--tc-green-700); font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .15s ease; }
.tc-chip:hover { background: #ecf8ef; }
.tc-chip--muted { border-color: var(--tc-line); color: var(--tc-ink-2); }

/* ---------- Loader / splash ---------- */
.tc-loader {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    background: radial-gradient(500px 400px at 50% 45%, rgba(186, 160, 46, .22), transparent 70%), var(--tc-green-950);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    /* Only appears if the page is still loading after 400ms; self-hides after 6s as a safety net */
    animation: tc-loader-in .3s ease-out .4s forwards, tc-loader-out .4s ease-in 6s forwards;
}
.tc-loader.is-done { animation: tc-loader-out .35s ease-in forwards; }
.tc-loader__ring { position: relative; width: 168px; height: 168px; }
.tc-loader__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: tc-spin 1.1s linear infinite; }
.tc-loader__ring img { position: absolute; left: 50%; top: 50%; width: 112px; transform: translate(-50%, -54%); }
.tc-loader p { font-family: var(--tc-font-head); font-weight: 600; font-size: 18px; margin: 0; }

/* ---------- 404 ---------- */
.tc-404 {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 20px 80px;
    background: radial-gradient(700px 500px at 50% 30%, #fffdf6, var(--tc-cream) 70%);
    text-align: center;
}
.tc-404__stage { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.tc-404__num {
    position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    font-family: var(--tc-font-head); font-weight: 800; font-size: clamp(150px, 30vw, 260px); line-height: .9;
    color: rgba(92, 189, 112, .14); letter-spacing: -.04em; user-select: none;
}
.tc-404__lion { position: relative; width: 210px; margin: 34px auto 0; display: block; transform: rotate(-6deg); animation: tc-tilt 3.2s ease-in-out infinite; }
.tc-404__q { position: absolute; font-family: var(--tc-font-head); font-weight: 800; animation: tc-twinkle 2.6s ease-in-out infinite; }
.tc-404__q--1 { color: var(--tc-gold-deep); font-size: 54px; right: 20%; top: 50px; }
.tc-404__q--2 { color: var(--tc-brand); font-size: 36px; right: 14%; top: 130px; animation-delay: .7s; }
.tc-404__q--3 { color: var(--tc-gold-deep); font-size: 30px; left: 20%; top: 110px; animation-delay: 1.3s; }
.tc-404 h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; margin: 26px 0 10px; color: var(--tc-ink); }
.tc-404 p { color: var(--tc-ink-2); font-size: 17px; max-width: 440px; margin: 0 auto 28px; }
.tc-404__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Motion ---------- */
@keyframes tc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes tc-tilt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-2deg) translateY(-6px); } }
@keyframes tc-twinkle { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes tc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tc-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes tc-spin { to { transform: rotate(360deg); } }
@keyframes tc-loader-in { to { opacity: 1; pointer-events: auto; } }
@keyframes tc-loader-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
    .tc-hero__lion, .tc-sparkle, .tc-404__lion, .tc-404__q, .tc-loader__ring svg { animation: none !important; }
    .tc-dealcard, .tc-help__bubble, .tc-chat { animation: none !important; }
    .tc-btn, .tc-path, .tc-feature { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    #header .navbar-collapse { background: rgba(9, 38, 28, .98); border-radius: 0 0 16px 16px; padding-bottom: 14px; }
    #header .nav-cta { padding: 8px 10px 0; justify-content: center; }
    .tc-hero { padding-top: 104px; }
    .tc-hero__copy { max-width: none; flex-basis: 100%; }
    .tc-hero__art { min-height: 460px; flex-basis: 100%; }
    .tc-hero__features { grid-template-columns: 1fr; }
    .tc-trust__row { flex-direction: column; align-items: stretch; }
    .tc-seal { flex: none; border-right: 0; border-bottom: 1px solid var(--tc-line); padding: 0 0 20px; }
    .tc-deploy { grid-template-columns: 1fr; gap: 32px; }
    .tc-deploy__pic { min-height: 280px; }
    .tc-contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
    .tc-section { padding: 64px 0; }
    .tc-paths { grid-template-columns: 1fr; }
    .tc-path { padding: 26px; }
    .tc-hero h1 { font-size: 40px; }
    .tc-hero__lede { font-size: 16px; }
    .tc-hero__ctas .tc-btn { flex: 1 1 auto; }
    .tc-hero__art { min-height: 400px; }
    .tc-hero__lion { width: 270px; }
    .tc-hero__rings { transform: translate(-50%, -50%) scale(.68); }
    .tc-dealcard { width: 200px; top: 0; padding: 12px 14px; }
    .tc-dealcard__title { font-size: 14px; }
    .tc-nudge { grid-template-columns: 1fr; padding: 30px 24px 0; text-align: left; }
    .tc-nudge__ctas { padding-bottom: 0; }
    .tc-nudge__lion { max-width: 170px; }
    .tc-app { padding: 64px 0; text-align: center; }
    .tc-app ul { justify-items: center; }
    .tc-help { right: 14px; bottom: 14px; }
    .tc-help__bubble { display: none; }
    .tc-help__btn { width: 56px; height: 56px; }
    .tc-chat { right: 12px; bottom: 82px; }
    body.tc-has-cookie .tc-help { bottom: 110px; }
    body.tc-has-cookie .tc-chat { bottom: 176px; }
}

/* Dropdown caret (style.css repurposes ::after for the hover underline) */
#header .navbar-nav li a.dropdown-toggle::after {
    position: static; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: .2em;
    background: none; transform: none;
    border-top: .32em solid currentColor; border-right: .32em solid transparent; border-left: .32em solid transparent; border-bottom: 0;
}
.tc-app .phone-mockup { border-radius: 24px; }

/* Mobile brand (logo lives inside the collapse on desktop) */
.tc-mobile-brand { display: none; }
@media (max-width: 991px) {
    .tc-mobile-brand { display: block; padding: 8px 0; }
    .tc-mobile-brand img { width: 124px; height: auto; }
    #header .navbar > .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 100%; padding: 0 16px; }
    #header .navbar-toggler { order: 2; }
    #header .navbar-collapse .navbar-nav.mr-auto { display: none; }
}
@media (max-width: 767px) {
    .tc-hero__art { justify-content: flex-start; min-height: 380px; }
    .tc-hero__lion { width: 230px; margin-left: 6px; }
    .tc-dealcard { top: auto; bottom: 18px; right: 0; width: 176px; }
    .tc-dealcard__stats b { font-size: 13px; }
    .tc-dealcard__note { display: none; }
}
@media (max-width: 767px) {
    .tc-dealcard { width: 190px; }
    .tc-dealcard__stats b { white-space: nowrap; font-size: 12.5px; }
}

/* Inner-page banner (invest.html): lion beside the headline */
.banner { position: relative; }
.banner::after {
    content: '';
    position: absolute;
    right: 7%;
    top: 96px;
    width: 280px;
    height: 360px;
    background: url("../image/lion/lion-primary-480.png") center / contain no-repeat;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35));
    pointer-events: none;
}
.banner .indias_largest_Fixed_Income_Platform p {
    font-family: var(--tc-font-head);
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.08;
    color: #fff;
    max-width: 560px;
}
@media (max-width: 991px) { .banner::after { display: none; } }

/* ==========================================================================
   Lion guide layout (showcase 03 · 1) — register.html, seller.html
   Left rail: lion + speech bubble per step. Right: the form.
   ========================================================================== */
.tc-guide { display: grid; grid-template-columns: minmax(340px, 5fr) 7fr; min-height: 100vh; background: #f2f7f4; }
.tc-guide__rail {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column;
    padding: 36px 44px 32px;
    color: #fff; overflow: hidden;
    background:
        radial-gradient(520px 420px at 50% 62%, rgba(186, 160, 46, .3), transparent 70%),
        linear-gradient(170deg, var(--tc-green-900), var(--tc-green-950));
}
.tc-guide__logo img { width: 150px; height: auto; }
.tc-guide__stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; min-height: 0; }
.tc-bubble {
    position: relative; align-self: stretch; max-width: 380px; margin: 0 auto;
    padding: 18px 22px; border-radius: 16px;
    background: #fff; color: var(--tc-ink);
    box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .55);
    animation: tc-rise .5s ease-out both;
}
.tc-bubble::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.tc-bubble small { display: block; font-family: var(--tc-font-head); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tc-brand-dark); margin-bottom: 6px; }
.tc-bubble p { margin: 0; font-family: var(--tc-font-head); font-size: 18px; font-weight: 600; line-height: 1.35; }
.tc-guide__lion { width: auto; max-width: 78%; max-height: 46vh; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); animation: tc-bob 3s ease-in-out infinite; }
.tc-guide__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.tc-guide__contact a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.tc-guide__contact a:hover { color: var(--tc-gold); }

.tc-guide__main { padding: 56px 64px 80px; display: flex; flex-direction: column; }
.tc-guide__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; font-size: 14px; }
.tc-guide__top a { color: var(--tc-green-700); font-weight: 600; text-decoration: none; }
.tc-guide__top a:hover { color: var(--tc-brand-dark); }
.tc-guide__body { width: 100%; max-width: 620px; }
.tc-guide__body h1 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; color: var(--tc-ink); }
.tc-guide__sub { font-size: 16.5px; color: var(--tc-ink-2); margin: 0 0 30px; max-width: 540px; }

.tc-formcard { background: #fff; border: 1px solid var(--tc-line); border-radius: 20px; padding: 30px; box-shadow: 0 18px 40px -28px rgba(7, 31, 23, .45); }
.tc-field { margin-bottom: 20px; }
.tc-field label { display: block; font-size: 14px; font-weight: 600; color: var(--tc-ink); margin-bottom: 8px; }
.tc-field .form-control { min-height: 52px; border-radius: 12px; border: 1.5px solid #d6e0da; font-size: 15.5px; padding: 12px 16px; }
.tc-field .form-control:focus { border-color: var(--tc-brand); box-shadow: 0 0 0 4px rgba(92, 189, 112, .18); }
.tc-formcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.tc-formcard__foot .tc-btn { min-width: 220px; }
.tc-formcard__foot .submit-button { width: auto; height: auto; margin: 0; line-height: 1; border: 0; }
.tc-note { font-size: 14px; color: var(--tc-ink-3); }
.tc-note a { color: var(--tc-green-700); font-weight: 600; }

/* Role picker (register.html) */
.tc-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.tc-role { position: relative; display: block; cursor: pointer; margin: 0; }
.tc-role input { position: absolute; opacity: 0; pointer-events: none; }
.tc-role__card { display: block; height: 100%; padding: 22px; border-radius: 16px; border: 1.5px solid var(--tc-line); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tc-role:hover .tc-role__card { transform: translateY(-2px); border-color: #bfe3c7; }
.tc-role input:checked + .tc-role__card { border-color: var(--tc-brand); box-shadow: 0 0 0 4px rgba(92, 189, 112, .16); }
.tc-role input:focus-visible + .tc-role__card { outline: 3px solid var(--tc-gold); outline-offset: 2px; }
.tc-role__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #e8f6eb; margin-bottom: 16px; }
.tc-role__icon img { width: 26px; height: 26px; object-fit: contain; }
.tc-role__card b { display: block; font-family: var(--tc-font-head); font-size: 18px; color: var(--tc-ink); margin-bottom: 4px; }
.tc-role__card small { display: block; font-size: 14px; line-height: 1.5; color: var(--tc-ink-2); }
.tc-role__tick { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #d6e0da; display: grid; place-items: center; color: #fff; background: #fff; transition: background-color .2s ease, border-color .2s ease; }
.tc-role__tick svg { width: 12px; height: 12px; opacity: 0; }
.tc-role input:checked + .tc-role__card .tc-role__tick { background: var(--tc-brand); border-color: var(--tc-brand); }
.tc-role input:checked + .tc-role__card .tc-role__tick svg { opacity: 1; }
.tc-crosslink { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--tc-cream); border: 1px solid #f3e3bd; font-size: 14.5px; color: var(--tc-ink-2); }
.tc-crosslink a { margin-left: auto; color: var(--tc-green-700); font-weight: 600; white-space: nowrap; text-decoration: none; }

@media (max-width: 991px) {
    .tc-guide { grid-template-columns: 1fr; }
    .tc-guide__rail { position: relative; height: auto; padding: 22px 20px 0; }
    .tc-guide__stage { flex-direction: row; align-items: flex-end; gap: 14px; margin-top: 18px; }
    .tc-guide__lion { max-height: 170px; max-width: 120px; order: -1; }
    .tc-bubble { margin: 0 0 26px; padding: 14px 16px; }
    .tc-bubble::after { left: -7px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(45deg); }
    .tc-bubble p { font-size: 15.5px; }
    .tc-guide__contact { display: none; }
    .tc-guide__main { padding: 28px 20px 110px; }
    .tc-guide__top { margin-bottom: 26px; }
}
@media (max-width: 575px) {
    .tc-roles { grid-template-columns: 1fr; }
    .tc-formcard { padding: 22px; }
    .tc-formcard__foot .tc-btn { width: 100%; }
    .tc-crosslink { flex-wrap: wrap; }
    .tc-crosslink a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .tc-guide__lion, .tc-bubble { animation: none !important; } }
.tc-formcard__foot .submit-button { width: auto !important; min-width: 220px; height: 52px !important; padding: 0 26px !important; border-radius: 12px !important; font-size: 16px !important; }
@media (max-width: 575px) { .tc-formcard__foot .submit-button { width: 100% !important; } }
@media (max-width: 991px) { .tc-guide__stage picture { order: -1; flex: none; } }

/* App feature list: keep ticks aligned when lines wrap (mobile) */
.tc-app li { align-items: flex-start; text-align: left; }
.tc-app li .tc-check { margin-top: 1px; }
@media (max-width: 767px) {
    .tc-app ul { display: inline-grid; justify-items: start; text-align: left; max-width: 340px; margin-left: auto; margin-right: auto; }
}

/* Footer logo column is col-2 in markup; give it full width on small screens */
@media (max-width: 767px) {
    #footer .footer_row1 > div:first-child { flex: 0 0 100%; max-width: 100%; margin-bottom: 18px; }
    #footer .footer_logo { width: 140px; max-width: 140px; }
}
@media (max-width: 767px) {
    .banner { min-height: 0 !important; }
    .banner #intro { padding-bottom: 24px; }
    .tc-nudge__lion { max-width: 140px; }
    .tc-app .phone-mockup { max-width: 240px; }
}
.tc-nudge__lion { height: auto; }
@media (max-width: 767px) {
    .banner #intro_boxes { margin-top: 40px !important; }
}

/* ---------- Career page: job requirement lists ----------
   Old style hid the tick until hover and used fixed 527x140 boxes,
   which left the text indented with an empty gap. Now: a plain
   check list with the tick always visible. */
.service_content { display: grid; gap: 12px; margin-top: 22px; }
.service_content_individual,
.service_content_individual:hover,
.service_content_individual.active {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    cursor: default;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid var(--tc-line);
    border-radius: 14px !important;
    box-shadow: none !important;
    color: var(--tc-ink) !important;
}
.service_content_individual > div { padding: 16px 18px !important; }
.service_content_individual .row { display: flex; flex-wrap: nowrap; align-items: flex-start; margin: 0; gap: 14px; }
.service_content_individual .row > [class*="col-"] { flex: 0 0 auto; max-width: none; width: auto; padding: 0; }
.service_content_individual .row > [class*="col-"]:last-child { flex: 1 1 auto; min-width: 0; }
.service_content_individual .padding_top_tick {
    padding: 0 !important;
    width: 26px !important; height: 26px; margin-top: 1px;
    border-radius: 50%;
    background: var(--tc-green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.service_content_individual .padding_top_tick img { display: none; }
.service_content_individual .content,
.service_content_individual:hover .content,
.service_content_individual.active .content {
    margin: 0; font-size: 15px; line-height: 1.6; color: var(--tc-ink-2) !important;
}
@media (max-width: 991px) {
    .invoice_asset .set_background { margin-top: 28px; margin-bottom: 28px; border-radius: 16px; }
}

/* Legal pages: text used a fixed 80% width, leaving a gap on the right */
#about .t11 { width: 100% !important; }
/* Mascot guideline: no lion on legal notices — hide the footer watermark there */
#header_privacy_policy ~ #footer::after { display: none; }
