/* ============================================================
   MULTI-CURRENCY PAGE — multi-currency.css
   Accent: Amber/Gold  #D97706 / #B45309
   Prefix: mc-
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   SECTION 0 — SHIMS (shared utility classes)
   ──────────────────────────────────────────────────────────── */

.sm-hero-pills {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin-bottom: 24px;
}
.sm-hero-pill {
    padding: 6px 14px; border-radius: 50px;
    font-size: 13px; font-weight: 500;
    background: rgba(217,119,6,0.08); color: #D97706;
    border: 1px solid rgba(217,119,6,0.2); white-space: nowrap;
}
.sm-hero-title {
    font-size: clamp(36px, 5.5vw, 60px); font-weight: 900;
    color: var(--color-text-primary, #0f172a); line-height: 1.1;
    margin: 0 0 16px; letter-spacing: -0.02em;
}
.sm-hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--color-text-secondary, #475569); line-height: 1.7;
    max-width: 620px; margin: 0 0 32px;
}
.sm-hero-ctas {
    display: flex; gap: 14px; flex-wrap: wrap;
    justify-content: center; margin-bottom: 48px;
}
.sm-hero-mockup {
    position: relative; width: 100%; max-width: 540px; margin: 0 auto;
}
.sm-pipeline-card {
    background: var(--bg-card,#fff); border-radius: 16px;
    border: 1px solid var(--color-border,#e2e8f0); padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.sm-pipeline-header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.sm-pipeline-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: var(--color-text-primary,#0f172a);
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #10B981;
    display: inline-block; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }
.sm-pipeline-body { display: flex; flex-direction: column; gap: 10px; }
.sm-pipe-row { display: flex; align-items: center; gap: 10px; }
.sm-pipe-label { font-size: 12px; color: var(--color-text-muted,#64748b); min-width: 110px; white-space: nowrap; }
.sm-pipe-track { flex: 1; height: 6px; background: var(--color-border,#e2e8f0); border-radius: 50px; overflow: hidden; }
.sm-pipe-bar { height: 100%; border-radius: 50px; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.sm-pipe-count { font-size: 12px; font-weight: 600; color: var(--color-text-primary,#0f172a); min-width: 72px; text-align: right; }
.sm-pipeline-footer { display: flex; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-border,#e2e8f0); }
.sm-pipe-kpi { display: flex; flex-direction: column; gap: 2px; }
.sm-kpi-val { font-size: 16px; font-weight: 700; color: var(--color-text-primary,#0f172a); }
.sm-kpi-lbl { font-size: 11px; color: var(--color-text-muted,#64748b); }
.sm-float-card {
    position: absolute; background: var(--bg-card,#fff);
    border: 1px solid var(--color-border,#e2e8f0); border-radius: 12px;
    padding: 10px 14px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10); pointer-events: none; z-index: 2;
}
.sm-float-card--tl { top: -18px; left: -18px; }
.sm-float-card--br { bottom: -18px; right: -18px; }
.sm-float-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sm-float-body { display: flex; flex-direction: column; gap: 2px; }
.sm-float-val { font-size: 13px; font-weight: 600; color: var(--color-text-primary,#0f172a); white-space: nowrap; }
.sm-float-lbl { font-size: 11px; color: var(--color-text-muted,#64748b); white-space: nowrap; }

.sm-module-nav-wrap {
    position: sticky;
    top: 70px;
    z-index: 90;
    background: var(--bg-card, #fff);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    transition: box-shadow 0.25s;
}
.sm-module-nav-wrap .sm-module-nav {
    position: static; top: auto;
    background: transparent; border-bottom: none; box-shadow: none;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sm-module-nav-wrap .sm-module-nav::-webkit-scrollbar { display: none; }
.sm-module-nav--sticky { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.sm-module-nav {
    display: flex; align-items: center; gap: 0;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    overflow-x: auto; scrollbar-width: none;
}
.sm-module-nav::-webkit-scrollbar { display: none; }

.sm-stats-section { padding: 64px 0; }
.sm-stats-container {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.sm-stat-card {
    background: var(--bg-card,#fff); border-radius: 16px;
    border: 1px solid var(--color-border,#e2e8f0); padding: 24px 20px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 10px; transition: transform .2s, box-shadow .2s;
}
.sm-stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.sm-stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.sm-stat-num {
    font-size: 28px; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg,#D97706,#B45309);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sm-stat-lbl { font-size: 13px; color: var(--color-text-muted,#64748b); }

.sm-section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sm-section-header { text-align: center; margin-bottom: 48px; }
.sm-section-title { font-size: 34px; font-weight: 800; color: var(--color-text-primary,#0f172a); margin: 12px 0; line-height: 1.2; }
.sm-section-desc { font-size: 16px; color: var(--color-text-muted,#64748b); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.section-badge {
    display: inline-block; padding: 6px 14px; border-radius: 50px;
    font-size: 13px; font-weight: 600;
    background: rgba(217,119,6,0.08); color: #D97706;
    border: 1px solid rgba(217,119,6,0.2);
}

.sm-feature-section { padding: 80px 0; }
.sm-alt { background: var(--color-surface,#f8fafc); }
.sm-feature-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.sm-feature-content { display: flex; flex-direction: column; gap: 16px; }
.sm-feature-title { font-size: 30px; font-weight: 800; color: var(--color-text-primary,#0f172a); line-height: 1.2; margin: 4px 0; }
.sm-feature-desc { font-size: 15px; color: var(--color-text-secondary,#475569); line-height: 1.7; }
.sm-feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sm-feature-list li {
    padding-left: 24px; position: relative;
    font-size: 14px; color: var(--color-text-secondary,#475569); line-height: 1.6;
}
.sm-feature-list li::before {
    content: '';
    position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}
.sm-feature-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.sm-feature-mockup { position: relative; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; gap: 6px; }

.sm-faq-section { padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--color-border,#e2e8f0); border-radius: 12px; overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 15px; font-weight: 600; color: var(--color-text-primary,#0f172a);
    background: var(--bg-card,#fff); border: none; cursor: pointer; gap: 12px; transition: background .15s;
}
.faq-question:hover { background: rgba(217,119,6,0.04); }
.faq-item.is-open .faq-question { background: rgba(217,119,6,0.05); }
.faq-chevron { flex-shrink: 0; transition: transform .3s; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--color-text-secondary,#475569); line-height: 1.7; background: var(--bg-card,#fff); }
.faq-item.is-open .faq-answer { display: block; }

.sm-cta-section { padding: 80px 0; }
.sm-cta-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sm-cta-content {
    background: linear-gradient(135deg, #5B5FC7 0%, #7C87F0 50%, #4F53C4 100%);
    border-radius: var(--radius-xl, 24px);
    padding: 64px 48px; text-align: center;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; gap: 0;
}
.sm-cta-content::before {
    content: ''; position: absolute;
    top: -60px; right: -60px; width: 320px; height: 320px;
    border-radius: 50%; background: rgba(255,255,255,0.06); pointer-events: none;
}
.sm-cta-content::after {
    content: ''; position: absolute;
    bottom: -80px; left: -40px; width: 260px; height: 260px;
    border-radius: 50%; background: rgba(255,255,255,0.04); pointer-events: none;
}
.sm-cta-title { font-size: 36px; font-weight: 800; color: #fff; font-family: 'Space Grotesk', sans-serif; margin: 0 0 12px; line-height: 1.2; }
.sm-cta-highlight { color: #C7D2FE; }
.sm-cta-subtitle { font-size: 16px; color: rgba(255,255,255,0.8); margin: 0 0 36px; max-width: 520px; line-height: 1.6; }
.sm-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.sm-cta-content .section-badge { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.2); margin-bottom: 20px; }
.sm-cta-content .btn-primary { background: #fff !important; color: #5B5FC7 !important; border-color: #fff !important; font-weight: 700; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.sm-cta-content .btn-primary:hover { background: #f0f0ff !important; transform: translateY(-2px); }
.sm-cta-ghost { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s; }
.sm-cta-ghost:hover { color: #fff; }
.sm-cta-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.65); }

/* ────────────────────────────────────────────────────────────
   SECTION 1 — HERO
   ──────────────────────────────────────────────────────────── */
.mc-hero {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 120px 24px 60px; position: relative; overflow: visible;
}

/* ────────────────────────────────────────────────────────────
   ACCENT HELPERS
   ──────────────────────────────────────────────────────────── */
.mc-badge--amber {
    padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700;
    background: rgba(217,119,6,0.1); color: #D97706;
    border: 1px solid rgba(217,119,6,0.25); letter-spacing: 0.3px;
}
.mc-badge--green {
    padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700;
    background: rgba(16,185,129,0.1); color: #10B981;
    border: 1px solid rgba(16,185,129,0.25);
}
.mc-badge--red {
    padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700;
    background: rgba(239,68,68,0.1); color: #EF4444;
    border: 1px solid rgba(239,68,68,0.25);
}
.mc-bar--amber  { background: linear-gradient(90deg,#D97706,#F59E0B); }
.mc-bar--green  { background: linear-gradient(90deg,#10B981,#059669); }
.mc-bar--blue   { background: linear-gradient(90deg,#3B82F6,#2563EB); }
.mc-bar--violet { background: linear-gradient(90deg,#8B5CF6,#7C3AED); }
.mc-kpi-amber {
    background: linear-gradient(135deg,#D97706,#B45309);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.mc-stats-accent .sm-stat-card { border-top: 3px solid rgba(217,119,6,0.3); }

/* ────────────────────────────────────────────────────────────
   NAV TABS
   ──────────────────────────────────────────────────────────── */
.mc-nav-tab {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 20px; border-bottom: 2px solid transparent;
    font-size: 14px; font-weight: 500; color: var(--color-text-secondary,#475569);
    text-decoration: none; white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.mc-nav-tab:hover { color: #D97706; }
.mc-nav-tab.sm-nav-tab--active { color: #D97706; border-bottom-color: #D97706; }

/* ────────────────────────────────────────────────────────────
   MOCK CARD SHARED
   ──────────────────────────────────────────────────────────── */
.mc-mock-card {
    background: var(--bg-card,#fff); border-radius: 16px;
    border: 1px solid var(--color-border,#e2e8f0);
    padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    transition: box-shadow .3s;
}
.mc-mock-card:hover { box-shadow: 0 12px 40px rgba(217,119,6,0.10); }
.mc-mock-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border,#e2e8f0);
}
.mc-mock-title { font-size: 13px; font-weight: 600; color: var(--color-text-primary,#0f172a); }

/* ────────────────────────────────────────────────────────────
   FEATURE 1 — LIVE EXCHANGE RATES
   ──────────────────────────────────────────────────────────── */
.mc-rate-table { display: flex; flex-direction: column; gap: 8px; }
.mc-rate-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 10px;
    background: var(--color-surface,#f8fafc);
    border: 1px solid var(--color-border,#e2e8f0);
    transition: background .15s;
}
.mc-rate-row:hover { background: rgba(217,119,6,0.04); }
.mc-flag { font-size: 20px; width: 28px; text-align: center; }
.mc-currency-code { font-size: 13px; font-weight: 700; color: var(--color-text-primary,#0f172a); min-width: 36px; }
.mc-currency-name { font-size: 11px; color: var(--color-text-muted,#64748b); flex: 1; }
.mc-rate-val { font-size: 13px; font-weight: 600; color: var(--color-text-primary,#0f172a); min-width: 72px; text-align: right; }
.mc-rate-change { font-size: 11px; font-weight: 600; min-width: 52px; text-align: right; }
.mc-rate-change--up   { color: #10B981; }
.mc-rate-change--down { color: #EF4444; }
.mc-rate-footer {
    margin-top: 12px; padding-top: 10px;
    border-top: 1px solid var(--color-border,#e2e8f0);
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; color: var(--color-text-muted,#64748b);
}
.mc-rate-footer span { font-weight: 600; color: #10B981; }

/* ────────────────────────────────────────────────────────────
   FEATURE 2 — MULTI-CURRENCY INVOICE
   ──────────────────────────────────────────────────────────── */
.mc-invoice-card {
    background: var(--bg-card,#fff); border-radius: 14px;
    border: 1px solid var(--color-border,#e2e8f0);
    box-shadow: 0 8px 32px rgba(0,0,0,0.07); overflow: hidden;
}
.mc-invoice-top {
    padding: 16px 18px; background: linear-gradient(135deg,#D97706,#B45309);
    display: flex; align-items: center; justify-content: space-between;
}
.mc-invoice-brand { font-size: 15px; font-weight: 800; color: #fff; }
.mc-invoice-num   { font-size: 11px; color: rgba(255,255,255,0.8); }
.mc-invoice-body  { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.mc-invoice-parties {
    display: flex; justify-content: space-between; font-size: 11px;
    color: var(--color-text-muted,#64748b); margin-bottom: 4px;
}
.mc-invoice-parties strong { display: block; font-size: 12px; font-weight: 600; color: var(--color-text-primary,#0f172a); margin-bottom: 2px; }
.mc-invoice-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mc-invoice-table th { text-align: left; font-weight: 600; color: var(--color-text-muted,#64748b); padding: 6px 0; border-bottom: 1px solid var(--color-border,#e2e8f0); font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.mc-invoice-table td { padding: 8px 0; border-bottom: 1px solid var(--color-border,#e2e8f0); color: var(--color-text-secondary,#475569); vertical-align: top; }
.mc-invoice-table td:last-child { text-align: right; font-weight: 600; color: var(--color-text-primary,#0f172a); }
.mc-invoice-totals { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; margin-top: 4px; }
.mc-inv-total-row { display: flex; gap: 20px; font-size: 12px; color: var(--color-text-muted,#64748b); }
.mc-inv-total-row.mc-grand { font-size: 14px; font-weight: 800; color: var(--color-text-primary,#0f172a); }
.mc-inv-total-row span:last-child { min-width: 80px; text-align: right; }
.mc-invoice-fx {
    margin-top: 10px; padding: 8px 12px; border-radius: 8px;
    background: rgba(217,119,6,0.06); border: 1px solid rgba(217,119,6,0.15);
    font-size: 11px; color: #92400E; display: flex; align-items: center; gap: 6px;
}

/* ────────────────────────────────────────────────────────────
   FEATURE 3 — FOREX GAINS & LOSSES
   ──────────────────────────────────────────────────────────── */
.mc-forex-summary {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
}
.mc-forex-kpi {
    padding: 14px; border-radius: 12px;
    border: 1px solid var(--color-border,#e2e8f0);
    background: var(--color-surface,#f8fafc);
    display: flex; flex-direction: column; gap: 4px;
}
.mc-forex-kpi-lbl  { font-size: 10px; color: var(--color-text-muted,#64748b); text-transform: uppercase; letter-spacing: 0.5px; }
.mc-forex-kpi-val  { font-size: 18px; font-weight: 800; }
.mc-forex-kpi-val--green { color: #10B981; }
.mc-forex-kpi-val--red   { color: #EF4444; }
.mc-forex-kpi-sub  { font-size: 10px; color: var(--color-text-muted,#64748b); }

.mc-gl-table { display: flex; flex-direction: column; gap: 6px; }
.mc-gl-row {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px; border-radius: 8px;
    border: 1px solid var(--color-border,#e2e8f0);
    background: var(--bg-card,#fff);
}
.mc-gl-pair    { font-size: 12px; font-weight: 700; color: var(--color-text-primary,#0f172a); min-width: 54px; }
.mc-gl-desc    { font-size: 11px; color: var(--color-text-muted,#64748b); flex: 1; }
.mc-gl-amount  { font-size: 12px; font-weight: 700; min-width: 72px; text-align: right; }
.mc-gl-amount--gain { color: #10B981; }
.mc-gl-amount--loss { color: #EF4444; }
.mc-gl-type { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 50px; }
.mc-gl-type--realized   { background: rgba(16,185,129,0.1); color: #059669; }
.mc-gl-type--unrealized { background: rgba(217,119,6,0.1);  color: #D97706; }

/* ────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sm-stats-container { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .mc-hero { padding: 100px 20px 48px; }
    .sm-feature-container { grid-template-columns: 1fr !important; gap: 36px; direction: ltr !important; }
    .sm-stats-container  { grid-template-columns: repeat(2,1fr); }
    .mc-forex-summary    { grid-template-columns: 1fr; }
    .sm-cta-content      { padding: 40px 24px; }
    .sm-cta-title        { font-size: 26px; }
}
