/* ============================================================
   Forex Calculators Suite – style.css
   Theme: Dark | Primary: #00d094
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
    --fxc-primary:   #00d094;
    --fxc-primary-d: #00b884;
    --fxc-primary-g: rgba(0, 208, 148, 0.14);
    --fxc-bg:        #0d0f14;
    --fxc-surface:   #151820;
    --fxc-surface2:  #1c2030;
    --fxc-border:    rgba(255,255,255,0.07);
    --fxc-text:      #e8eaf0;
    --fxc-muted:     #6b7280;
    --fxc-warn:      #f87171;
    --fxc-radius:    12px;
    --fxc-font:      'Space Grotesk', sans-serif;
    --fxc-mono:      'DM Mono', monospace;
    --fxc-maxwidth:  1440px;
}

/* ── Wrapper ── */
.fxc-wrap {
    font-family: var(--fxc-font);
    background: transparent;
    color: var(--fxc-text);
    border-radius: 0;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
    font-size: 20px;
    max-width: var(--fxc-maxwidth);
    margin: 24px auto 36px;
}
.fxc-wrap *, .fxc-wrap *::before, .fxc-wrap *::after { box-sizing: border-box; }


/* Mobile title is hidden on desktop and shown inside calculator box on mobile. */
.fxc-mobile-title {
    display: none;
}
.fxc-mobile-title span {
    color: var(--fxc-primary);
}

/* ── Top Tab Switcher: Daily Analysis style ── */
.fxc-tab-switcher {
    width: 100%;
    max-width: var(--fxc-maxwidth);
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}
.fxc-switch-tab {
    min-height: 50px;
    padding: 10px 10px;
    border-radius: 999px;
    border: 1.5px solid rgba(130, 219, 151, 0.95);
    background: rgba(6, 24, 15, 0.82);
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    font-size: 13.25px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.fxc-switch-tab span {
    color: inherit !important;
    font-weight: 700;
}
.fxc-switch-tab:hover,
.fxc-switch-tab:focus {
    color: #06130d !important;
    background: linear-gradient(135deg, #78dea0 0%, #00d094 100%);
    border-color: #00d094;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 208, 148, 0.22);
    text-decoration: none;
}
.fxc-switch-tab--active {
    background: linear-gradient(135deg, #78dea0 0%, #00d094 100%);
    border-color: #00d094;
    color: #06130d !important;
    box-shadow: 0 10px 24px rgba(0, 208, 148, 0.18), inset 0 1px 0 rgba(255,255,255,0.18);
}
.fxc-switch-tab--active span,
.fxc-switch-tab:hover span,
.fxc-switch-tab:focus span {
    color: #06130d !important;
}

/* ── Hero ── */
.fxc-hero {
    position: relative;
    background: var(--fxc-surface);
    border: 1px solid var(--fxc-border);
    border-radius: 20px;
    padding: 46px 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    overflow: hidden;
    max-width: var(--fxc-maxwidth);
    margin: 0 auto 32px auto;
}
.fxc-hero__glow {
    position: absolute;
    top: -80px; right: -80px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(0,208,148,0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* Left column */
.fxc-hero__inner { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }

.fxc-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .075em;
    text-transform: uppercase;
    color: var(--fxc-primary);
    background: var(--fxc-primary-g);
    border: 1px solid rgba(0,208,148,0.25);
    border-radius: 100px;
    padding: 4px 12px;
    width: fit-content;
}
.fxc-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--fxc-primary);
    animation: fxc-pulse 2s infinite;
}
@keyframes fxc-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(1.4); }
}

.fxc-hero__title {
    font-size: clamp(26px, 3vw, 45px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: var(--fxc-text);
    letter-spacing: -.02em;
}
.fxc-hero__title span { color: var(--fxc-primary); }

.fxc-hero__sub {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--fxc-text);
    line-height: 1.5;
    max-width: 480px;
}

/* Feature list */
.fxc-hero__features {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.fxc-hero__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: var(--fxc-text);
    line-height: 1.5;
}
.fxc-hero__feat-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--fxc-primary-g);
    border: 1px solid rgba(0,208,148,0.3);
    color: var(--fxc-primary);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* Hero note (e.g. "Bookmark this page…") */
.fxc-hero__note {
    margin: 4px 0 0;
    font-size: 13px;
    font-style: italic;
    color: var(--fxc-muted);
    line-height: 1.5;
}

/* ── Join Telegram CTA ── */
.fxc-hero__telegram {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    padding: 18px 20px;
    min-height: 92px;
    width: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 40%),
        linear-gradient(135deg, #152b24 0%, #10251f 52%, #0b1814 100%);
    border: 1px solid rgba(121, 211, 151, 0.48);
    border-radius: 17px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--fxc-font);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255,255,255,0.06) inset;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.fxc-hero__telegram::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        linear-gradient(90deg, rgba(255,255,255,0.05), transparent 38%, rgba(0, 208, 148, 0.08));
    pointer-events: none;
    z-index: -1;
}
.fxc-hero__telegram::after {
    content: "";
    position: absolute;
    left: 92px;
    right: 58px;
    top: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126,229,172,.65), transparent);
    opacity: .75;
    pointer-events: none;
    z-index: -1;
}
.fxc-hero__telegram:hover,
.fxc-hero__telegram:focus {
    transform: translateY(-1px);
    border-color: rgba(126, 229, 172, 0.78);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255,255,255,0.08) inset,
        0 0 22px rgba(0, 208, 148, 0.18);
    color: #ffffff;
    text-decoration: none;
}
.fxc-hero__telegram-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 32%, rgba(255,255,255,0.86), rgba(126,229,172,0.34) 34%, rgba(0, 69, 55, 0.95) 74%),
        linear-gradient(135deg, #79d397, #0d4739);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.34);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.30),
        0 0 0 5px rgba(121, 211, 151, 0.08);
}
.fxc-hero__telegram-icon svg {
    width: 23px;
    height: 23px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.22));
}
.fxc-hero__telegram-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding-block: 4px;
}
.fxc-hero__telegram-eyebrow {
    font-size: clamp(12px, 1.05vw, 15px);
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: rgba(235, 255, 249, 0.82);
    line-height: 1.28;
}
.fxc-hero__telegram-title {
    font-size: clamp(22px, 2.25vw, 31px);
    font-weight: 800;
    letter-spacing: .005em;
    color: #ffffff;
    line-height: 1.18;
    text-shadow: 0 2px 10px rgba(0,0,0,.34);
}
.fxc-hero__telegram-arrow {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #06130d;
    background: linear-gradient(135deg, #a4edbd, #6bd695);
    box-shadow: 0 8px 16px rgba(0,0,0,0.20);
    transition: transform .18s ease, background .18s ease;
}
.fxc-hero__telegram:hover .fxc-hero__telegram-arrow {
    transform: translateX(3px);
    background: linear-gradient(135deg, #bbf3cc, #79d397);
}
@media (max-width: 575px) {
    .fxc-hero__telegram {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 76px;
        padding: 14px 13px;
        gap: 10px;
        border-radius: 14px;
    }
    .fxc-hero__telegram::before { inset: 5px; border-radius: 10px; }
    .fxc-hero__telegram::after { left: 64px; right: 44px; }
    .fxc-hero__telegram-icon { width: 42px; height: 42px; }
    .fxc-hero__telegram-icon svg { width: 20px; height: 20px; }
    .fxc-hero__telegram-title { font-size: 18px; line-height: 1.18; }
    .fxc-hero__telegram-eyebrow { font-size: 9px; letter-spacing: .09em; line-height: 1.25; }
    .fxc-hero__telegram-text { gap: 5px; padding-block: 3px; }
    .fxc-hero__telegram-arrow { width: 28px; height: 28px; font-size: 17px; }
}

/* ── Panel ── */
.fxc-panel-wrap { position: relative; }
.fxc-panel { display: none; }
.fxc-panel--active { display: block; animation: fxc-fadein .3s ease; }
@keyframes fxc-fadein {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Form ── */
.fxc-form {
    background: var(--fxc-surface2);
    border: 1px solid var(--fxc-border);
    border-radius: var(--fxc-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.fxc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.fxc-form__row--single { grid-template-columns: 1fr; }

.fxc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fxc-field label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--fxc-muted);
}
.fxc-field input,
.fxc-field select {
    background: var(--fxc-bg);
    border: 1px solid var(--fxc-border);
    border-radius: 8px;
    color: var(--fxc-text);
    font-family: var(--fxc-font);
    font-size: 14px;
    padding: 10px 14px;
    width: 100%;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}
.fxc-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
}
.fxc-field input:focus,
.fxc-field select:focus {
    border-color: var(--fxc-primary);
    box-shadow: 0 0 0 3px rgba(0,208,148,0.12);
}
.fxc-field input::placeholder { color: var(--fxc-muted); font-size: 16px; }

/* ── Button ── */
.fxc-btn {
    background: var(--fxc-primary);
    color: #0a0d10;
    border: none;
    border-radius: 8px;
    font-family: var(--fxc-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 13px 24px;
    cursor: pointer;
    width: 100%;
    transition: background .2s, transform .1s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(0,208,148,0.25);
}
.fxc-btn:hover {
    background: var(--fxc-primary-d);
    box-shadow: 0 6px 28px rgba(0,208,148,0.35);
    transform: translateY(-1px);
}
.fxc-btn:active { transform: translateY(0); }

/* ── Result ── */
.fxc-result {
    background: rgba(0,208,148,0.06);
    border: 1px solid rgba(0,208,148,0.2);
    border-radius: 10px;
    padding: 20px;
    animation: fxc-fadein .35s ease;
}
.fxc-result__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.fxc-result__item {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fxc-result__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fxc-muted);
}
.fxc-result__value {
    font-family: var(--fxc-mono);
    font-size: 20px;
    font-weight: 500;
    color: var(--fxc-primary);
}
.fxc-result__value--warn { color: var(--fxc-warn); }

/* ── Drawdown bar ── */
.fxc-drawbar {
    margin-top: 16px;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    overflow: hidden;
}
.fxc-drawbar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fxc-primary), var(--fxc-warn));
    border-radius: 100px;
    width: 0%;
    transition: width .6s cubic-bezier(.25,.8,.25,1);
}
.fxc-drawbar__label {
    font-size: 14px;
    color: var(--fxc-muted);
    margin: 6px 0 0;
}

/* ── Disclaimer ── */
.fxc-disclaimer {
    font-size: 14px;
    color: var(--fxc-muted);
    margin: 0;
    line-height: 1.5;
}


/* ── FAQ section (changes with calculator tabs) ── */
.fxc-faq-section {
    position: relative;
    max-width: var(--fxc-maxwidth);
    margin: 0 auto 32px;
    padding: 42px 54px 44px;
    background:
        radial-gradient(circle at 10% 8%, rgba(102,214,141,.11), transparent 28%),
        radial-gradient(circle at 92% 0%, rgba(0,208,148,.08), transparent 30%),
        rgba(2, 26, 16, .52);
    border: 1px solid rgba(0, 208, 148, .12);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .12);
}
.fxc-faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(0,208,148,.025));
}
.fxc-faq-head {
    position: relative;
    text-align: center;
    max-width: none;
    margin: 0 auto 34px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
.fxc-faq-head::before {
    content: none;
    display: none;
}
.fxc-faq-head > * {
    position: relative;
    z-index: 1;
}
.fxc-faq-eyebrow {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fxc-primary);
    margin: 0 auto 10px;
    text-align: center;
    background: linear-gradient(90deg, rgba(0,208,148,0.15), rgba(0,208,148,0.02));
    border-radius: 32px;
    padding: 6px 15px;
    display: inline-block;
    border: 1px solid rgba(0,208,148,0.25);
    box-shadow: 0 2px 12px rgba(0,208,148,0.09);
}
.fxc-faq-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4.1vw, 48px);
    line-height: 1.12;
    letter-spacing: -.03em;
    color: #66d68d;
    font-weight: 600;
}
.fxc-faq-title span { color: #fff; }
.fxc-faq-subtitle {
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(232, 234, 240, .62);
    max-width: 620px;
}
.fxc-faq-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: 70px;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
.fxc-faq-content::after {
    content: none;
    display: none;
}
.fxc-faq-left,
.fxc-faq-right {
    position: relative;
    z-index: 1;
}
.fxc-faq-right {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}
.fxc-faq-right img {
    width: min(100%, 537px);
    height: auto;
    display: block;
    filter: drop-shadow(0 28px 45px rgba(0, 0, 0, .20));
}
.fxc-faq-panel { display: none; }
.fxc-faq-panel--active {
    display: block;
    animation: fxcFaqFade .22s ease;
}
@keyframes fxcFaqFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.fxc-faq-panel-head {
    display: none;
}
.fxc-faq-panel-head h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: #66d68d;
}
.fxc-faq-panel-head p {
    margin: 0;
    font-size: 14px;
    color: rgba(232, 234, 240, .66);
    line-height: 1.65;
}
.fxc-faq-list {
    border-top: 0;
}
.fxc-faq-item {
    border-bottom: 1px solid rgba(255,255,255,.055);
}
.fxc-faq-q {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    padding: 19px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    color: #fff;
    font-family: var(--fxc-font);
}
.fxc-faq-q > span:first-child {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.34;
    letter-spacing: -.015em;
}
.fxc-faq-q:hover > span:first-child,
.fxc-faq-q:focus > span:first-child,
.fxc-faq-item--open .fxc-faq-q > span:first-child {
    color: #66d68d;
}
.fxc-faq-icon {
    position: relative;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 1px solid rgba(102,214,141,.34);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.fxc-faq-icon::before,
.fxc-faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: opacity .18s ease, background .18s ease;
}
.fxc-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.fxc-faq-item--open .fxc-faq-icon {
    background: rgba(102,214,141,.10);
    border-color: rgba(102,214,141,.72);
    color: #66d68d;
}
.fxc-faq-item--open .fxc-faq-icon::after {
    opacity: 0;
}
.fxc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
}
.fxc-faq-item--open .fxc-faq-a {
    max-height: 900px;
}
.fxc-faq-a p {
    margin: 0;
    padding: 0 58px 22px 0;
    color: rgba(232, 234, 240, .68);
    font-size: 16px;
    line-height: 1.65;
}

/* ── Grid section ── */
.fxc-grid-section {
    position: relative;
    padding: 34px 40px 44px;
    max-width: var(--fxc-maxwidth);
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(0,208,148,0.045) 100%);
    border: 1px solid var(--fxc-border);
    border-radius: 20px;
    overflow: hidden;
}
.fxc-grid-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 26px;
}
.fxc-grid-eyebrow {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fxc-primary);
    margin: 0 auto 10px auto;
    text-align: center;
    background: linear-gradient(90deg, rgba(0,208,148,0.15), rgba(0,208,148,0.02));
    border-radius: 32px;
    padding: 6px 15px;
    display: inline-block;
    border: 1px solid rgba(0,208,148,0.25);
    box-shadow: 0 2px 12px rgba(0,208,148,0.09);
}
.fxc-grid-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.18;
    letter-spacing: -.02em;
    color: var(--fxc-text);
}
.fxc-grid-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #a5adbd;
}
.fxc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* ── Card ── */
.fxc-card {
    background: linear-gradient(170deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 65%);
    border: 1px solid var(--fxc-border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: var(--fxc-text);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    cursor: pointer;
    min-width: 0;
    min-height: 236px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.fxc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0,208,148,0.22), transparent 55%);
    opacity: 0;
    transition: opacity .25s;
    z-index: -1;
}
.fxc-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(0,208,148,0), rgba(0,208,148,0.85), rgba(0,208,148,0));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;
}
.fxc-card:hover {
    border-color: var(--fxc-primary);
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.34), 0 2px 20px rgba(0,208,148,0.14);
    z-index: 2;
}
.fxc-card:hover::before { opacity: 1; }
.fxc-card:hover::after { transform: scaleX(1); }

.fxc-card--active {
    border-color: var(--fxc-primary);
    background: linear-gradient(170deg, rgba(0,208,148,0.10) 0%, rgba(255,255,255,0.01) 90%);
    box-shadow: 0 0 0 1px rgba(0,208,148,0.65), 0 14px 34px rgba(0,208,148,0.22);
}
.fxc-card--active::before { opacity: 1; }
.fxc-card--active::after { transform: scaleX(1); }

/* Top row: icon + arrow */
.fxc-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}
.fxc-card__icon {
    font-size: 24px;
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.fxc-card__arrow {
    font-size: 15px;
    color: var(--fxc-muted);
    transition: color .2s, transform .2s, opacity .2s;
    opacity: .78;
}
.fxc-card:hover .fxc-card__arrow,
.fxc-card--active .fxc-card__arrow {
    color: var(--fxc-primary);
    transform: translateX(5px);
    opacity: 1;
}

.fxc-card__name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
}
.fxc-card__name em {
    font-style: normal;
    font-weight: 500;
    color: #96a0b2;
}
.fxc-card--active .fxc-card__name { color: var(--fxc-primary); }
.fxc-card--active .fxc-card__name em { color: var(--fxc-primary-d); }

.fxc-card__tagline {
    font-size: 12.5px;
    font-weight: 700;
    color: #7cf6ca;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.fxc-card__body {
    font-size: 16px;
    color: #abb4c5;
    line-height: 1.6;
    margin-top: 1px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .fxc-tab-switcher {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}
@media (max-width: 900px) {
    .fxc-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .fxc-wrap { margin-top: 18px; }
    .fxc-mobile-title {
        display: block;
        margin: 0 0 10px;
        color: var(--fxc-text);
        font-size: clamp(24px, 6.6vw, 32px);
        font-weight: 700;
        line-height: 1.1;
        letter-spacing: -0.02em;
        padding: 0 2px;
    }
    .fxc-tab-switcher {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 16px;
    }
    .fxc-switch-tab {
        min-height: 41px;
        padding: 7px 5px;
        font-size: 13.75px;
        line-height: 1.08;
        gap: 0;
        border-width: 1.2px;
    }

    /* Mobile: plain text only; hide the repeated "Calculator" word and remove the icon. */
    .fxc-switch-tab span {
        display: none !important;
    }
    .fxc-hero {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px 16px 24px;
    }
    /* Mobile only: show the calculator form first, then the details and CTA below. */
    .fxc-panel-wrap { order: 1; width: 100%; }
    .fxc-hero__inner { order: 2; width: 100%; padding-top: 0; }
    .fxc-hero__glow { display: none; }
    .fxc-hero__sub { max-width: 100%; }
    .fxc-hero__telegram { padding: 15px 14px; gap: 12px; }
    .fxc-hero__telegram-icon { width: 42px; height: 42px; }
    .fxc-hero__telegram-title { font-size: 18px; line-height: 1.18; }
    .fxc-form { padding: 20px; }
    .fxc-form__row { grid-template-columns: 1fr; }
    .fxc-faq-section { padding: 28px 20px 32px; border-radius: 16px; }
    .fxc-faq-section::before { display: none; }
    .fxc-faq-head {
        margin-bottom: 24px;
        padding: 0;
    }
    .fxc-faq-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
    }
    .fxc-faq-right {
        min-height: auto;
        order: 2;
    }
    .fxc-faq-right img {
        width: min(82%, 360px);
        margin: 0 auto;
    }
    .fxc-faq-panel-head h3 { font-size: 19px; }
    .fxc-faq-q { padding: 16px 0; gap: 14px; }
    .fxc-faq-q > span:first-child { font-size: 16px; }
    .fxc-faq-a p { padding-right: 0; font-size: 14px; }
    .fxc-grid-section { padding: 26px 20px 30px; }
    .fxc-grid-head { margin-bottom: 18px; }
    .fxc-faq-title { font-size: 30px; }
    .fxc-grid-title { font-size: 24px; }
    .fxc-faq-eyebrow,
    .fxc-grid-eyebrow {
        font-size: .6rem;
        padding: 5px 12px;
        letter-spacing: .105em;
        margin-bottom: 9px;
    }
    .fxc-hero__label {
        font-size: 10px;
        padding: 4px 10px;
        letter-spacing: .06em;
    }
    .fxc-faq-subtitle { font-size: 14px; }
    .fxc-grid-subtitle { font-size: 14px; }
    .fxc-grid { grid-template-columns: 1fr; }
    .fxc-card { min-height: 220px; }
}
@media (max-width: 480px) {
    .fxc-tab-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fxc-switch-tab {
        min-height: 40px;
        padding: 7px 4px;
        font-size: 13px;
    }
    .fxc-grid { grid-template-columns: 1fr; }
    .fxc-faq-section { padding: 24px 16px 28px; }
    .fxc-faq-head { padding: 0; }
    .fxc-faq-content { padding: 0; }
    .fxc-faq-title { font-size: 27px; }
    .fxc-faq-panel-head h3 { font-size: 17px; }
    .fxc-faq-q > span:first-child { font-size: 14.8px; }
    .fxc-faq-icon { width: 25px; height: 25px; min-width: 25px; }
    .fxc-faq-a p { font-size: 13.5px; }
}
