/* ============================================================
   VIGORBOOKS — VAT Returns Page (vat-returns.css)
   Extends sales.css. New classes are prefixed vr-
   Accent colour: Indigo/Purple  #5B5FC7  #4338CA
   ============================================================ */

/* ============================================================
   SECTION 0 — SHIMS FOR CLASSES NOT IN SALES.CSS
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   HERO — centered single-column layout
   ──────────────────────────────────────────────────────────── */
.vr-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 24px 60px;
}

.sm-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.sm-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    color: var(--color-text-muted);
}

.sm-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    margin: 0 0 20px;
    max-width: 720px;
}

@media (max-width: 700px) {
    .sm-hero-title { font-size: 36px; }
}

.sm-hero-subtitle {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.65;
    max-width: 600px;
    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: 640px;
    margin: 0 auto;
}

/* Pulse dot */
.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.3);
    animation: vrPulse 2s ease-in-out infinite;
}

@keyframes vrPulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(16,185,129,0.3); }
    50%       { box-shadow: 0 0 0 5px rgba(16,185,129,0.12); }
}

.sm-pipeline-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

/* ────────────────────────────────────────────────────────────
   PIPELINE / VAT SUMMARY CARD ROWS
   ──────────────────────────────────────────────────────────── */
.sm-pipeline-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sm-pipe-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sm-pipe-label {
    font-size: 12px;
    color: var(--color-text-muted);
    width: 120px;
    flex-shrink: 0;
}

.sm-pipe-track {
    flex: 1;
    height: 8px;
    background: var(--bg-section);
    border-radius: 4px;
    overflow: hidden;
}

.sm-pipe-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.sm-pipe-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    min-width: 60px;
    text-align: right;
}

.sm-pipeline-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.sm-pipe-kpi {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sm-kpi-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    font-family: 'Space Grotesk', sans-serif;
}

.sm-kpi-lbl {
    font-size: 10.5px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ────────────────────────────────────────────────────────────
   FLOAT CARDS
   ──────────────────────────────────────────────────────────── */
.sm-float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    animation: vrFloat 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes vrFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.sm-float-card--tl { top: -16px; left: -16px; }
.sm-float-card--br { bottom: -16px; right: -16px; animation-delay: 1.5s; }

.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: 1px; }

.sm-float-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    font-family: 'Space Grotesk', sans-serif;
    white-space: nowrap;
}

.sm-float-lbl {
    font-size: 10.5px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* ────────────────────────────────────────────────────────────
   STICKY MODULE NAV
   ──────────────────────────────────────────────────────────── */
.sm-module-nav-wrap {
    position: sticky;
    top: 70px;
    z-index: 90;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    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;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px;
}

.sm-module-nav-wrap .sm-module-nav::-webkit-scrollbar { display: none; }

/* ────────────────────────────────────────────────────────────
   SECTION CONTAINERS & HEADERS
   ──────────────────────────────────────────────────────────── */
.sm-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sm-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sm-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.sm-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 12px;
    line-height: 1.2;
}

.sm-section-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    background: rgba(91,95,199,0.1);
    color: #5B5FC7;
    border: 1px solid rgba(91,95,199,0.25);
}

.sm-modules-section { padding: 80px 0; }

/* ────────────────────────────────────────────────────────────
   STAT CARDS
   ──────────────────────────────────────────────────────────── */
.sm-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-text), #5B5FC7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.sm-stat-lbl {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    line-height: 1.4;
}

/* ────────────────────────────────────────────────────────────
   FEATURE SECTIONS (split layout)
   ──────────────────────────────────────────────────────────── */
.sm-feature-section { padding: 80px 0; }
.sm-feature-section.sm-alt { background: var(--bg-section); }

.sm-feature-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sm-feature-section.sm-alt .sm-feature-container { direction: rtl; }

.sm-feature-section.sm-alt .sm-feature-content,
.sm-feature-section.sm-alt .sm-feature-mockup { direction: ltr; }

.sm-feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.25;
    margin: 0 0 14px;
}

.sm-feature-desc {
    font-size: 15.5px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 24px;
}

.sm-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sm-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.55;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
}

.sm-feature-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
    background: rgba(91,95,199,0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B5FC7' stroke-width='2.5'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}

.sm-feature-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sm-feature-mockup {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

/* ────────────────────────────────────────────────────────────
   TESTIMONIALS CAROUSEL
   ──────────────────────────────────────────────────────────── */
.sm-testimonials-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.sm-carousel-outer { overflow: hidden; position: relative; }

.sm-carousel-outer .sm-carousel-wrap {
    display: flex;
    overflow: visible;
    gap: 20px;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-tcard {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.sm-tcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sm-tcard-stars { color: #F59E0B; font-size: 15px; letter-spacing: 2px; }
.sm-tcard-quote { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.65; flex: 1; margin: 0; }

.sm-tcard-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.sm-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.sm-tcard-name { font-size: 13.5px; font-weight: 700; color: var(--color-text); }
.sm-tcard-role { font-size: 12px; color: var(--color-text-muted); }

.sm-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.sm-carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.sm-carousel-btn:hover { background: var(--bg-section); border-color: #5B5FC7; }

.sm-carousel-dots { display: flex; gap: 6px; align-items: center; }

.sm-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
    border: none;
    padding: 0;
}

.sm-carousel-dot--active {
    background: #5B5FC7 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ────────────────────────────────────────────────────────────
   CTA
   ──────────────────────────────────────────────────────────── */
.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);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sm-cta-content::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    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: 240px; height: 240px;
    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-subtitle { font-size: 16px; color: rgba(255,255,255,0.8); margin: 0 0 36px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.6; }

.sm-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

.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-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.65); }

/* ────────────────────────────────────────────────────────────
   FAQ
   ──────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); overflow: hidden; }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    gap: 16px;
}

.faq-chevron { flex-shrink: 0; transition: transform 0.3s; color: var(--color-text-muted); }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

.faq-answer { display: none; padding: 0 0 18px; font-size: 14.5px; color: var(--color-text-muted); line-height: 1.7; }
.faq-item.is-open .faq-answer { display: block; }

/* ════════════════════════════════════════════════════════════
   VAT-RETURNS SPECIFIC (vr- prefix)
   ════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────
   HERO ACCENT — indigo gradient orbs
   ──────────────────────────────────────────────────────────── */
.vr-hero .gradient-orb-1 {
    background: radial-gradient(circle, rgba(91,95,199,0.15) 0%, transparent 70%);
}

.vr-hero .gradient-orb-2 {
    background: radial-gradient(circle, rgba(67,56,202,0.12) 0%, transparent 65%);
}

/* ────────────────────────────────────────────────────────────
   PIPELINE BADGE — indigo
   ──────────────────────────────────────────────────────────── */
.vr-badge--indigo {
    background: rgba(91,95,199,0.1);
    color: #5B5FC7;
    border: 1px solid rgba(91,95,199,0.25);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ────────────────────────────────────────────────────────────
   VAT CLASSIFICATION BARS (hero mockup)
   ──────────────────────────────────────────────────────────── */
.vr-bar--indigo  { background: linear-gradient(90deg, #5B5FC7, #4338CA); }
.vr-bar--green   { background: linear-gradient(90deg, #10B981, #059669); }
.vr-bar--amber   { background: linear-gradient(90deg, #F59E0B, #D97706); }
.vr-bar--rose    { background: linear-gradient(90deg, #F43F5E, #BE123C); }

.vr-kpi-indigo { color: #5B5FC7; }

/* ────────────────────────────────────────────────────────────
   STATS ACCENT
   ──────────────────────────────────────────────────────────── */
.vr-stats-accent .sm-stat-card {
    border-top: 3px solid rgba(91,95,199,0.3);
}

/* ────────────────────────────────────────────────────────────
   MODULES GRID — 5 columns
   ──────────────────────────────────────────────────────────── */
.vr-modules-grid {
    grid-template-columns: repeat(5, 1fr) !important;
}

/* ────────────────────────────────────────────────────────────
   NAV TAB HOOK
   ──────────────────────────────────────────────────────────── */
.vr-nav-tab { /* inherits from .sm-nav-tab in sales.css */ }

.vr-nav-tab.sm-nav-tab--active {
    color: #5B5FC7;
    border-bottom-color: #5B5FC7;
}

/* ────────────────────────────────────────────────────────────
   MOCK CARD BASE
   ──────────────────────────────────────────────────────────── */
.vr-mock-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: box-shadow 0.25s;
}

.vr-mock-card:hover {
    box-shadow: 0 12px 40px rgba(91,95,199,0.18), 0 2px 8px rgba(0,0,0,0.06);
}

.vr-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.vr-mock-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.vr-mock-badge--indigo { background: rgba(91,95,199,0.1); color: #5B5FC7; }
.vr-mock-badge--green  { background: rgba(16,185,129,0.1); color: #059669; }
.vr-mock-badge--amber  { background: rgba(245,158,11,0.1);  color: #D97706; }

/* ────────────────────────────────────────────────────────────
   VAT CLASSIFICATION TABLE
   ──────────────────────────────────────────────────────────── */
.vr-class-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.vr-class-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12.5px;
    transition: background 0.15s;
}

.vr-class-row:last-child { border-bottom: none; }
.vr-class-row:hover { background: var(--bg-section); }

.vr-class-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vr-class-label {
    flex: 1;
    font-weight: 500;
    color: var(--color-text);
}

.vr-class-rate {
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
}

.vr-class-amount {
    font-size: 12px;
    color: var(--color-text-muted);
    min-width: 80px;
    text-align: right;
}

/* ────────────────────────────────────────────────────────────
   VAT RETURN SUMMARY TABLE
   ──────────────────────────────────────────────────────────── */
.vr-return-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vr-return-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.vr-return-row:last-child { border-bottom: none; }
.vr-return-label { color: var(--color-text-muted); }
.vr-return-value { font-weight: 700; color: var(--color-text); font-family: 'Space Grotesk', sans-serif; }

.vr-return-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(91,95,199,0.06);
    border: 1px solid rgba(91,95,199,0.2);
    border-radius: 8px;
    margin-top: 14px;
}

.vr-return-total-label { font-size: 14px; font-weight: 700; color: var(--color-text); }
.vr-return-total-value { color: #5B5FC7; font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 800; }

/* ────────────────────────────────────────────────────────────
   PROFIT MARGIN SCHEME MOCKUP
   ──────────────────────────────────────────────────────────── */
.vr-margin-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.vr-margin-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.vr-margin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
}

.vr-margin-key { color: var(--color-text-muted); }
.vr-margin-val { font-weight: 700; color: var(--color-text); font-family: 'Space Grotesk', sans-serif; }

.vr-margin-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(91,95,199,0.08);
    border: 1px solid rgba(91,95,199,0.2);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.vr-margin-highlight-label { color: #5B5FC7; }
.vr-margin-highlight-val { color: #5B5FC7; font-family: 'Space Grotesk', sans-serif; font-size: 15px; }

.vr-scheme-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.vr-scheme-badge--violet {
    background: rgba(91,95,199,0.1);
    color: #5B5FC7;
    border: 1px solid rgba(91,95,199,0.25);
}

/* ────────────────────────────────────────────────────────────
   FOREX / BASE CURRENCY MOCKUP
   ──────────────────────────────────────────────────────────── */
.vr-fx-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vr-fx-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 12.5px;
}

.vr-fx-row:last-child { border-bottom: none; }

.vr-fx-flag {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.vr-fx-currency {
    width: 48px;
    font-weight: 700;
    color: var(--color-text);
    font-family: 'Space Grotesk', sans-serif;
}

.vr-fx-rate { flex: 1; color: var(--color-text-muted); }

.vr-fx-pnl {
    font-weight: 700;
    font-size: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.vr-fx-pnl--gain { color: #10B981; }
.vr-fx-pnl--loss { color: #EF4444; }

.vr-fx-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.vr-fx-total-label { color: var(--color-text); }
.vr-fx-total-val   { color: #10B981; font-family: 'Space Grotesk', sans-serif; font-size: 15px; }

/* ────────────────────────────────────────────────────────────
   HOW IT WORKS STEPS
   ──────────────────────────────────────────────────────────── */
.vr-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.vr-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px 22px;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.vr-step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.vr-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5B5FC7, #4338CA);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 0 0 3px var(--bg-card), 0 0 0 5px rgba(91,95,199,0.25);
}

.vr-step-title { font-size: 16px; font-weight: 700; color: var(--color-text); margin: 0 0 8px; font-family: 'Space Grotesk', sans-serif; }
.vr-step-desc  { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* ────────────────────────────────────────────────────────────
   INTEGRATIONS OVERRIDE
   ──────────────────────────────────────────────────────────── */
.vr-integrations-section .sm-int-grid {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vr-integrations-section .sm-int-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.vr-integrations-section .sm-int-icon:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.10); }

/* ────────────────────────────────────────────────────────────
   WORKFLOW SECTION
   ──────────────────────────────────────────────────────────── */
.vr-workflow-section {
    padding: 80px 0;
    background: var(--color-surface, #f8fafc);
}

/* ────────────────────────────────────────────────────────────
   VAT AUDIT LOG
   ──────────────────────────────────────────────────────────── */
.vr-audit-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.vr-audit-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.15s;
}
.vr-audit-row:hover { background: rgba(91,95,199,0.04); }
.vr-audit-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}
.vr-audit-body { flex: 1; min-width: 0; }
.vr-audit-action {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vr-audit-meta {
    font-size: 11px;
    color: var(--color-text-muted, #64748b);
    margin-top: 2px;
}
.vr-audit-time {
    font-size: 11px;
    font-weight: 600;
    color: #5B5FC7;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────
   FOREX TABLE — AMOUNT COLUMN
   ──────────────────────────────────────────────────────────── */
.vr-fx-amount {
    font-size: 12px;
    color: var(--color-text-primary, #0f172a);
    font-weight: 500;
}

/* ────────────────────────────────────────────────────────────
   BUTTON SIZE — SMALL
   ──────────────────────────────────────────────────────────── */
.btn-sm { padding: 8px 18px; font-size: 0.85rem; gap: 6px; }

/* ────────────────────────────────────────────────────────────
   DARK MODE
   ──────────────────────────────────────────────────────────── */
[data-theme="dark"] .vr-mock-card { background: var(--bg-card); border-color: var(--border-color); }
[data-theme="dark"] .vr-step-card { background: var(--bg-card); }
[data-theme="dark"] .vr-step-num  { box-shadow: 0 0 0 3px var(--color-surface); }

/* ────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .vr-modules-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .vr-steps-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .vr-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); }
    .vr-modules-grid    { grid-template-columns: repeat(2, 1fr) !important; }
    .vr-steps-grid      { grid-template-columns: 1fr; }

    .sm-cta-content { padding: 40px 24px; }
    .sm-cta-title   { font-size: 26px; }
}
