/* ============================================
   FERRAMENTAS - Landing Page CSS v2.0
   Design visual com mockups e secoes alternadas
   ============================================ */

/* ---- Override scroll lock do index.css ---- */
html.ft-page,
html.ft-page body {
    overflow: hidden;
    height: 100%;
}

/* ---- Scroll wrapper ---- */
.ft-page .page-scroll-wrapper {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ---- Container ---- */
.ft-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding, 100px);
}

/* ---- Main ---- */
.ft-main {
    min-height: 100vh;
}

.ft-main .footer {
    margin-left: 0 !important;
    width: 100% !important;
}

/* ---- Hero ---- */
.ft-hero {
    position: relative;
    padding: 40px 0 60px;
    overflow: hidden;
}

.ft-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ft-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.ft-hero-glow-1 {
    width: 600px;
    height: 400px;
    top: -100px;
    left: -100px;
    background: rgba(36, 179, 136, 0.08);
}

.ft-hero-glow-2 {
    width: 500px;
    height: 350px;
    top: 0;
    right: -150px;
    background: rgba(59, 130, 246, 0.05);
}

.ft-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(36, 179, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 179, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 0%, transparent 70%);
}

.ft-hero > .ft-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.ft-hero-content {
    animation: ftFadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
}

.ft-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(36, 179, 136, 0.1);
    border: 1px solid rgba(36, 179, 136, 0.2);
    border-radius: var(--radius-full, 100px);
    color: var(--color-primary, #24b388);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.ft-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary, #24b388);
    border-radius: 50%;
    animation: ftPulse 2s infinite;
}

@keyframes ftPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ft-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white, #fff);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.ft-text-gradient {
    background: linear-gradient(135deg, var(--color-primary, #24b388) 0%, #2fd9a4 50%, #1a76ac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ft-hero-content > p {
    font-size: 1rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
    line-height: 1.7;
    margin: 0 0 32px;
}

.ft-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: auto;
}

.ft-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    height: 56px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.ft-hero-link:hover {
    color: #fff;
    border-color: var(--color-primary, #24b388);
    background: rgba(36, 179, 136, 0.08);
}

.ft-hero-link svg {
    transition: transform 0.3s ease;
}

.ft-hero-link:hover svg {
    transform: translateY(3px);
}

/* ---- Hero Visual / Hub Illustration ---- */
.ft-hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    animation: ftFadeInUp 0.8s ease-out 0.2s backwards;
}

.ft-hub-cta {
    margin-top: auto;
}

.btn.btn-glass-gold {
    --glass-color: 212, 175, 55;
}

.ft-hub {
    position: relative;
    width: 100%;
    aspect-ratio: 540 / 500;
    max-width: 540px;
    margin: 0 auto;
}

.ft-hub-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ft-hub-lines-mobile {
    display: none;
}

.ft-hub-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: ftDrawLine 1.5s ease-out forwards;
}

.ft-hub-line:nth-child(5) { animation-delay: 0.2s; }
.ft-hub-line:nth-child(6) { animation-delay: 0.4s; }
.ft-hub-line:nth-child(7) { animation-delay: 0.6s; }
.ft-hub-line:nth-child(8) { animation-delay: 0.8s; }
.ft-hub-line:nth-child(9) { animation-delay: 1s; }
.ft-hub-line:nth-child(10) { animation-delay: 1.2s; }

@keyframes ftDrawLine {
    to { stroke-dashoffset: 0; }
}

/* Hub cards */
.ft-hub-card {
    position: absolute;
    background: linear-gradient(145deg, rgba(20, 70, 65, 0.6) 0%, rgba(10, 40, 38, 0.45) 50%, rgba(5, 25, 25, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 14px 12px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2;
    width: 160px;
    opacity: 0;
    translate: 0 15px;
    scale: 1;
    animation: ftCardAppear 0.6s ease-out forwards;
    overflow: hidden;
    transition: scale 0.6s ease-in-out, border-color 0.6s ease, filter 0.6s ease;
}

.ft-hub-card:hover {
    scale: 1.06;
    border-color: rgba(0, 187, 93, 0.25);
    filter: brightness(1.1);
}

/* Glow interno no topo do card */
.ft-hub-card-glow {
    position: absolute;
    top: -30px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.12;
    pointer-events: none;
    filter: blur(20px);
}

.ft-hub-pos-1 .ft-hub-card-glow { background: #24b388; }
.ft-hub-pos-2 .ft-hub-card-glow { background: #3b82f6; }
.ft-hub-pos-3 .ft-hub-card-glow { background: #fbbf24; }
.ft-hub-pos-4 .ft-hub-card-glow { background: #a78bfa; }
.ft-hub-pos-5 .ft-hub-card-glow { background: #22c55e; }
.ft-hub-pos-6 .ft-hub-card-glow { background: #22d3ee; }

@keyframes ftCardAppear {
    to { opacity: 1; translate: 0 0; }
}

.ft-hub-card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.ft-hub-card-name {
    font-size: 0.625rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ft-hub-card-kpi {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1;
    position: relative;
    white-space: nowrap;
}

.ft-hub-card-kpi.green { color: #24b388; }
.ft-hub-card-kpi.blue { color: #60a5fa; }
.ft-hub-card-kpi.yellow { color: #fbbf24; }
.ft-hub-card-kpi.purple { color: #a78bfa; }
.ft-hub-card-kpi.cyan { color: #22d3ee; }

.ft-hub-kpi-unit {
    font-size: 0.7em;
    font-weight: 400;
    opacity: 0.7;
}

.ft-hub-card-kpi-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2px;
}

.ft-hub-card-row {
    display: block;
    min-height: 44px;
    padding-right: 72px;
    z-index: 1;
}

.ft-hub-card-row > :first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
}

.ft-hub-card-row > :last-child {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

.ft-hub-card-tag {
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.ft-hub-card-tag.up {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
}

/* Gauge mini */
.ft-hub-gauge {
    width: 40px;
    height: 26px;
    flex-shrink: 0;
}

/* Mini barras */
.ft-hub-card-bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ft-hub-bar {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #24b388, rgba(36, 179, 136, 0.2));
    width: 0;
    transition: width 1s ease-out 1.5s;
}

.ft-hub-bar.purple {
    background: linear-gradient(90deg, #a78bfa, rgba(167, 139, 250, 0.2));
}

.ft-visible .ft-hub-bar {
    width: var(--bar-w, 50%);
}


.ft-hub-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    display: block;
    pointer-events: none;
    z-index: 0;
}

.ft-hub-icon-vis {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: block;
}

.ft-hub-icon-vis.ft-hub-icon-wide {
    width: 60px;
    height: 48px;
}

.ft-hub-icon-vis.ft-hub-icon-hedge {
    width: 60px;
    height: 64px;
}

.ft-hub-card-finance .ft-hub-card-row {
    padding-right: 84px;
    padding-bottom: 20px;
}


/* Progress bar */
.ft-hub-card-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.ft-hub-card-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #fbbf24, rgba(251, 191, 36, 0.3));
    width: 0;
    transition: width 1s ease-out 1.5s;
}

.ft-hub-card-progress-fill.yellow {
    background: linear-gradient(90deg, #fbbf24, rgba(251, 191, 36, 0.3));
}

.ft-hub-card-progress-fill.cyan {
    background: linear-gradient(90deg, #22d3ee, rgba(34, 211, 238, 0.3));
}

.ft-visible .ft-hub-card-progress-fill {
    width: var(--bar-w, 50%);
}

/* Posições assimétricas */
.ft-hub-pos-1 { top: calc(12% - 54px);  left: 0;  animation-delay: 0.3s; }
.ft-hub-pos-2 { top: calc(12% - 54px);  right: 0; animation-delay: 0.5s; }
.ft-hub-pos-3 { top: calc(48% - 54px);  left: 0;  animation-delay: 0.7s; }
.ft-hub-pos-4 { top: calc(48% - 54px);  right: 0; animation-delay: 0.9s; }
.ft-hub-pos-5 { top: calc(84% - 54px);  left: 0;  animation-delay: 1.1s; }
.ft-hub-pos-6 { top: calc(84% - 54px);  right: 0; animation-delay: 1.3s; }

/* ---- Stats Section ---- */
.ft-stats {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle, rgba(36, 179, 136, 0.15));
    border-bottom: 1px solid var(--border-subtle, rgba(36, 179, 136, 0.15));
    background: rgba(36, 179, 136, 0.02);
}

.ft-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.ft-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(20px);
}

.ft-stat-item.ft-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ft-stat-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-primary, #24b388);
    line-height: 1;
}

.ft-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
    font-weight: 500;
}

/* ---- Sections ---- */
.ft-section {
    padding: 100px 0;
    position: relative;
}

.ft-section-alt {
    background: rgba(36, 179, 136, 0.015);
    border-top: 1px solid var(--border-subtle, rgba(36, 179, 136, 0.15));
    border-bottom: 1px solid var(--border-subtle, rgba(36, 179, 136, 0.15));
}

.ft-section-header {
    max-width: 680px;
    margin-bottom: 60px;
}

.ft-section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.ft-section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-white, #fff);
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.ft-section-header > p {
    font-size: 1rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
    line-height: 1.7;
    margin: 0 auto;
    max-width: 640px;
}

/* ---- Showcase (alternating text + visual) ---- */
.ft-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
}

.ft-showcase.ft-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ft-showcase-reverse {
    direction: rtl;
}

.ft-showcase-reverse > * {
    direction: ltr;
}

.ft-showcase-text {
    display: flex;
    flex-direction: column;
}

.ft-showcase-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.ft-showcase-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(36, 179, 136, 0.1);
    border: 1px solid rgba(36, 179, 136, 0.15);
    border-radius: 14px;
    flex-shrink: 0;
}

.ft-showcase-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(62%) sepia(30%) saturate(800%) hue-rotate(116deg) brightness(92%) contrast(90%);
}

.ft-showcase-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    margin: 0;
    line-height: 1.3;
}

.ft-showcase-text > p {
    font-size: 0.9375rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
    line-height: 1.7;
    margin: 0 0 20px;
}

/* Feature list */
.ft-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-light, rgba(255,255,255,0.9));
    font-weight: 500;
}

.ft-feature-list li svg {
    flex-shrink: 0;
    color: var(--color-primary, #24b388);
    stroke: var(--color-primary, #24b388);
}

/* Audience */
.ft-showcase-audience {
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle, rgba(36, 179, 136, 0.15));
    font-size: 0.8125rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
    line-height: 1.6;
}

.ft-showcase-audience strong {
    color: var(--color-primary, #24b388);
    font-weight: 600;
}

/* ---- Screen Mockup (generic) ---- */
.ft-showcase-visual {
    position: relative;
}

.ft-screen-mockup {
    background: var(--bg-card, #0a2f2f);
    border: 1px solid var(--border-subtle, rgba(36, 179, 136, 0.15));
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ft-showcase:hover .ft-screen-mockup {
    transform: translateY(-4px);
}

.ft-screen-bar {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    padding: 10px 14px;
}

.ft-screen-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ft-screen-bar span:nth-child(1) { background: #27c93f; }
.ft-screen-bar span:nth-child(2) { background: #ffbd2e; }
.ft-screen-bar span:nth-child(3) { background: #ff5f56; }

.ft-screen-content {
    padding: 20px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- Mock Form ---- */
.ft-mock-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-mock-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ft-mock-label {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    flex-shrink: 0;
}

.ft-mock-input {
    flex: 1;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-light, rgba(255,255,255,0.85));
    font-weight: 600;
    font-family: inherit;
}

/* ---- Mock Comparison Bars ---- */
.ft-mock-comparison {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    height: 120px;
    padding-top: 10px;
}

.ft-mock-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
    justify-content: flex-end;
    position: relative;
}

.ft-mock-badge {
    font-size: 8px;
    font-weight: 700;
    background: #E6A200 !important;
    padding: 2px 6px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ft-mock-col-title {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ft-mock-bar {
    width: 100%;
    border-radius: 10px 10px 0 0;
    transition: height 1s ease-out 0.5s;
    height: 0;
    position: relative;
    display: grid;
    place-items: center;
}

.ft-visible .ft-mock-bar {
    height: var(--bar-height, 50%);
}

.ft-mock-col.sac .ft-mock-bar { background: linear-gradient(180deg, #24b388, #1a8a6a); }
.ft-mock-col.price .ft-mock-bar { background: linear-gradient(180deg, #3b82f6, #2563eb); }
.ft-mock-col.spv .ft-mock-bar { background: linear-gradient(180deg, #fbbf24, #d97706); }
.ft-mock-col.americano .ft-mock-bar { background: linear-gradient(180deg, #a855f7, #7c3aed); }

.ft-mock-val {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    white-space: nowrap;
}

/* ---- Mock Scenarios (Hedge) ---- */
.ft-mock-scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ft-mock-scenario {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.ft-mock-scenario-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ft-mock-scenario-value {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.ft-mock-scenario-value.up { color: #4ade80; }
.ft-mock-scenario-value.down { color: #f87171; }
.ft-mock-scenario-value.neutral { color: #fbbf24; }

.ft-mock-scenario-detail {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
}

.ft-mock-chart-area {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 8px;
    height: 100px;
}

.ft-mock-chart-area.large {
    height: 120px;
}

.ft-mock-chart-area svg {
    width: 100%;
    height: 100%;
}

.ft-mock-payoff {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 12px 8px 8px;
}

.ft-mock-payoff svg {
    width: 100%;
    height: auto;
    display: block;
}

.ft-mock-hedge-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(36, 179, 136, 0.08);
    border: 1px solid rgba(36, 179, 136, 0.15);
    border-radius: 8px;
}

.ft-mock-label-sm {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.ft-mock-value-lg {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary, #24b388);
}

/* ---- Mock House (Imobiliario) ---- */
.ft-mock-house-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-mock-house-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white, #fff);
}

.ft-mock-house-subtitle {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---- Mock Cost Breakdown ---- */
.ft-mock-cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ft-mock-cost-breakdown.compact {
    gap: 6px;
}

.ft-mock-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
}

.ft-mock-cost-row.total {
    border-top: 1px solid rgba(36, 179, 136, 0.2);
    padding-top: 10px;
    margin-top: 4px;
    font-weight: 700;
    color: var(--color-primary, #24b388);
    font-size: 0.875rem;
}

.ft-mock-cost-row span:last-child {
    font-weight: 600;
    color: var(--text-light, rgba(255,255,255,0.85));
}

.ft-mock-cost-row.total span:last-child {
    color: var(--color-primary, #24b388);
}

/* ---- Mock Investment Cards ---- */
.ft-mock-invest-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ft-mock-invest-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px;
    position: relative;
}

.ft-mock-invest-card.highlight {
    border-color: rgba(36, 179, 136, 0.3);
    background: rgba(36, 179, 136, 0.06);
}

.ft-mock-invest-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    font-weight: 600;
}

.ft-mock-invest-rate {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.ft-mock-invest-rate.up { color: #4ade80; }
.ft-mock-invest-rate.neutral { color: #fbbf24; }

.ft-mock-invest-net {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
}

.ft-mock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    background: #E6A200;
    font-size: 0.5625rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ft-mock-bar .ft-mock-badge {
    top: 50%;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---- Mock Ticker ---- */
.ft-mock-ticker-row {
    display: flex;
    gap: 10px;
}

.ft-mock-ticker {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.ft-mock-ticker span.up { color: #4ade80; }
.ft-mock-ticker span.down { color: #f87171; }

.ft-mock-commodities {
    display: flex;
    gap: 8px;
}

.ft-mock-commodity {
    flex: 1;
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.ft-mock-commodity span.up { color: #4ade80; }
.ft-mock-commodity span.down { color: #f87171; }

/* ---- Mock Rescisao ---- */
.ft-mock-rescisao-title,
.ft-mock-dre-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-light, rgba(255,255,255,0.85));
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- Mock Finance Summary ---- */
.ft-mock-finance-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-mock-balance-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.ft-mock-balance-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary, #24b388);
}

.ft-mock-inout {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.ft-mock-in,
.ft-mock-out {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.ft-mock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ft-mock-dot.green { background: #4ade80; }
.ft-mock-dot.red { background: #f87171; }

.ft-mock-in span:last-child { color: #4ade80; font-weight: 600; }
.ft-mock-out span:last-child { color: #f87171; font-weight: 600; }

/* ---- Mock Categories ---- */
.ft-mock-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-mock-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.ft-mock-cat-bar {
    height: 6px;
    background: var(--color-primary, #24b388);
    border-radius: 3px;
    width: 0;
    transition: width 1s ease-out 0.6s;
    flex-shrink: 0;
}

.ft-visible .ft-mock-cat-bar {
    width: var(--bar-width, 50%);
}

.ft-mock-cat span:nth-child(2) {
    flex: 1;
}

.ft-mock-cat span:last-child {
    color: var(--text-light, rgba(255,255,255,0.85));
    font-weight: 600;
}

/* ---- Mock Atividades ---- */
.ft-mock-ativ-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ft-mock-ativ-ring {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.ft-mock-ativ-ring svg {
    width: 100%;
    height: 100%;
}

.ft-mock-ativ-ring circle[class] {
    transition: stroke-dasharray 1.2s ease-out 0.5s;
}

.ft-mock-ativ-legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.ft-mock-ativ-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
}

.ft-mock-ativ-legend-item strong {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
}

.ft-mock-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ft-mock-legend-dot.done { background: #22c55e; }
.ft-mock-legend-dot.progress { background: #3b82f6; }
.ft-mock-legend-dot.late { background: #f87171; }

.ft-mock-ativ-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-mock-ativ-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ft-mock-ativ-bar-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    width: 52px;
    flex-shrink: 0;
    font-weight: 600;
}

.ft-mock-ativ-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.ft-mock-ativ-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-out 0.8s;
}

.ft-visible .ft-mock-ativ-bar-fill {
    width: var(--bar-width, 0%);
}

.ft-mock-ativ-bar-fill.done { background: linear-gradient(90deg, #22c55e, #16a34a); }
.ft-mock-ativ-bar-fill.progress { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.ft-mock-ativ-bar-fill.late { background: linear-gradient(90deg, #f87171, #fb923c); }

.ft-mock-ativ-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-mock-ativ-tl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ft-mock-ativ-tl-item:last-child {
    border-bottom: none;
}

.ft-mock-ativ-tl-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ft-mock-ativ-tl-item.done .ft-mock-ativ-tl-dot { background: #22c55e; }
.ft-mock-ativ-tl-item.progress .ft-mock-ativ-tl-dot { background: #3b82f6; }
.ft-mock-ativ-tl-item.late .ft-mock-ativ-tl-dot { background: #f87171; }

.ft-mock-ativ-tl-text {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

.ft-mock-ativ-tl-time {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* ---- Mock Stock KPIs ---- */
.ft-mock-stock-kpis {
    display: flex;
    gap: 10px;
}

.ft-mock-stock-kpi {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.ft-mock-stock-kpi.warning {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.05);
}

.ft-mock-stock-kpi-val {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    margin-bottom: 2px;
}

.ft-mock-stock-kpi.warning .ft-mock-stock-kpi-val {
    color: #fbbf24;
}

.ft-mock-stock-kpi-label {
    display: block;
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Mock Stock Curva ABC ---- */
.ft-mock-stock-top {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-mock-stock-curva {
    padding: 10px 0;
}

.ft-mock-stock-curva-title {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ft-mock-stock-curva-bars {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    height: 70px;
}

.ft-mock-stock-curva-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: flex-end;
}

.ft-mock-stock-curva-bar {
    width: 100%;
    border-radius: 8px 8px 0 0;
    transition: height 1s ease-out 0.5s;
    height: 0;
}

.ft-visible .ft-mock-stock-curva-bar {
    height: var(--bar-height, 50%);
}

.ft-mock-stock-curva-bar.a { background: linear-gradient(180deg, #22c55e, #16a34a); }
.ft-mock-stock-curva-bar.b { background: linear-gradient(180deg, #3b82f6, #2563eb); }
.ft-mock-stock-curva-bar.c { background: linear-gradient(180deg, #a78bfa, #7c3aed); }

.ft-mock-stock-curva-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.ft-mock-stock-curva-pct {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---- Mock Stock Items ---- */
.ft-mock-stock-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-mock-stock-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ft-mock-stock-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft-mock-stock-item-name {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.7);
}

.ft-mock-stock-item-qty {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.ft-mock-stock-item-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

/* ---- Mock CRM ---- */
.ft-mock-crm-kpis {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.ft-mock-crm-kpi {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 4px;
}

.ft-mock-crm-kpi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 2px;
}

.ft-mock-crm-kpi-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    line-height: 1;
}

.ft-mock-crm-kpi-label {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ft-mock-crm-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.6875rem;
    margin-bottom: 10px;
}

.ft-mock-crm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
}

.ft-mock-crm-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ft-mock-crm-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.ft-mock-crm-avatar.sm {
    width: 26px;
    height: 26px;
    font-size: 0.5625rem;
}

.ft-mock-crm-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ft-mock-crm-card-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-white, #fff);
    line-height: 1.2;
}

.ft-mock-crm-card-doc {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
}

.ft-mock-crm-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ft-mock-crm-badge.pj {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.ft-mock-crm-badge.pf {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.ft-mock-crm-badge.rural {
    background: rgba(167, 139, 250, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.ft-mock-crm-card-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ft-mock-crm-tag {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.5625rem;
    font-weight: 600;
}

.ft-mock-crm-tag.green {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

.ft-mock-crm-tag.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.ft-mock-crm-tag.purple {
    background: rgba(167, 139, 250, 0.12);
    color: #c4b5fd;
}

.ft-mock-crm-card-timeline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-mock-crm-tl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
}

.ft-mock-crm-tl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ft-mock-crm-tl-dot.green { background: #22c55e; }
.ft-mock-crm-tl-dot.blue { background: #3b82f6; }
.ft-mock-crm-tl-dot.amber { background: #fbbf24; }

.ft-mock-crm-tl-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.6);
}

.ft-mock-crm-tl-time {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.ft-mock-crm-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ft-mock-crm-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.ft-mock-crm-list-name {
    flex: 1;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ---- Mock Table (compact) ---- */
.ft-mock-table.compact .ft-mock-table-row {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    padding: 6px 10px;
}

.ft-mock-table.compact .ft-mock-table-row span {
    height: auto;
    background: none;
    flex: 1;
}

.ft-mock-table.compact .ft-mock-table-row.header {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ft-mock-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.625rem;
    font-weight: 600;
}

.ft-mock-status.ok {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.ft-mock-status.warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

/* ---- Mock NF List (Notas, Cobranças, Contratos) ---- */
.ft-mock-nf-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 10px 10px;
}

.ft-mock-nf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.ft-mock-nf-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ft-mock-nf-icon.ok {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
}

.ft-mock-nf-icon.warning {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.ft-mock-nf-icon.cancel {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

.ft-mock-nf-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ft-mock-nf-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.ft-mock-nf-dest {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.4);
}

.ft-mock-nf-val {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.ft-mock-nf-val.warning {
    color: #fbbf24;
}

.ft-mock-nf-val.cancel {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
}

/* Tema claro - NF list */
[data-theme="light"] .ft-mock-nf-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ft-mock-nf-icon.ok {
    background: rgba(13, 138, 106, 0.08);
    color: #0d8a6a;
}

[data-theme="light"] .ft-mock-nf-icon.warning {
    background: rgba(217, 119, 6, 0.08);
    color: #d97706;
}

[data-theme="light"] .ft-mock-nf-icon.cancel {
    background: rgba(220, 38, 38, 0.06);
    color: #dc2626;
}

[data-theme="light"] .ft-mock-nf-num {
    color: #3b3b3d !important;
}

[data-theme="light"] .ft-mock-nf-dest {
    color: rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .ft-mock-nf-val {
    color: #3b3b3d !important;
}

[data-theme="light"] .ft-mock-nf-val.warning {
    color: #d97706 !important;
}

[data-theme="light"] .ft-mock-nf-val.cancel {
    color: rgba(0, 0, 0, 0.3) !important;
}

[data-theme="light"] .ft-mock-status.ok {
    background: rgba(13, 138, 106, 0.1);
    color: #0d8a6a;
}

[data-theme="light"] .ft-mock-status.warning {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

/* ---- Mock Dashboard ---- */
.ft-mock-dash-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 8px;
    padding: 0 10px;
    margin-bottom: 10px;
}

.ft-mock-dash-chart {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ft-mock-dash-chart svg {
    width: 100%;
    height: 50px;
    display: block;
}

.ft-mock-dash-chart-title {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 4px;
    align-self: flex-start;
}

.ft-mock-dash-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 10px 10px;
}

.ft-mock-dash-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
}

.ft-mock-dash-bar-row > span:first-child {
    width: 50px;
    flex-shrink: 0;
}

.ft-mock-dash-bar-row > span:last-child {
    width: 28px;
    text-align: right;
    flex-shrink: 0;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.ft-mock-dash-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.ft-mock-dash-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: #24b388;
    width: 0;
    transition: width 0.8s ease-out;
}

.ft-mock-dash-bar-fill.blue { background: #3b82f6; }
.ft-mock-dash-bar-fill.yellow { background: #fbbf24; }

.ft-visible .ft-mock-dash-bar-fill {
    width: var(--bar-width, 50%);
}

/* Tema claro - Dashboard */
[data-theme="light"] .ft-mock-dash-chart {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ft-mock-dash-chart-title {
    color: rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .ft-mock-dash-bar-row {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .ft-mock-dash-bar-row > span:last-child {
    color: rgba(0, 0, 0, 0.65);
}

[data-theme="light"] .ft-mock-dash-bar-track {
    background: rgba(0, 0, 0, 0.06);
}

/* ---- Tools Grid (smaller cards) ---- */
.ft-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.ft-tool-card {
    background: var(--bg-card, #0a2f2f);
    border: 1px solid var(--border-subtle, rgba(36, 179, 136, 0.15));
    border-radius: 14px;
    padding: 24px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.ft-tool-card.ft-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ft-tool-card:hover {
    border-color: rgba(36, 179, 136, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.ft-tool-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(36, 179, 136, 0.1);
    border: 1px solid rgba(36, 179, 136, 0.12);
    border-radius: 12px;
    margin-bottom: 16px;
}

.ft-tool-card-icon img {
    width: 24px;
    height: 24px;
    filter: var(--icon-filter, brightness(0) invert(1));
}

.ft-tool-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    margin: 0 0 8px;
    line-height: 1.3;
}

.ft-tool-card p {
    font-size: 0.8125rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
    line-height: 1.6;
    margin: 0;
}

/* ---- Tabs Section ---- */
.ft-tabs-section {
    margin-top: 60px;
    background: var(--bg-card, #0a2f2f);
    border: 1px solid var(--border-subtle, rgba(36, 179, 136, 0.15));
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.ft-tabs-section.ft-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ft-tabs-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    padding: 24px 28px 0;
    margin: 0 0 20px;
}

.ft-tabs-nav-wrapper {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-tabs-nav {
    display: flex;
    gap: 4px;
    padding: 0 48px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ft-tabs-nav::-webkit-scrollbar {
    display: none;
}

.ft-tabs-arrow {
    position: absolute;
    top: 0;
    bottom: 1px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--bg-card, #0a2f2f) 60%, transparent);
    border: none;
    cursor: pointer;
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0;
    padding: 0;
    transition: color 0.2s ease;
}

.ft-tabs-arrow:hover {
    color: var(--color-primary, #24b388);
}

.ft-tabs-arrow.left {
    left: 0;
    border-radius: 0;
    background: linear-gradient(90deg, var(--bg-card, #0a2f2f) 60%, transparent);
}

.ft-tabs-arrow.right {
    right: 0;
    background: linear-gradient(270deg, var(--bg-card, #0a2f2f) 60%, transparent);
}

.ft-tabs-arrow.disabled {
    opacity: 0.25;
    pointer-events: none;
}

.ft-tabs-arrow svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ft-tab-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
    font-family: inherit;
}

.ft-tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.ft-tab-btn.active {
    color: var(--color-primary, #24b388);
    border-bottom-color: var(--color-primary, #24b388);
}

.ft-tabs-content {
    padding: 28px;
}

.ft-tab-panel {
    display: none;
}

.ft-tab-panel.active {
    display: block;
    animation: ftTabFadeIn 0.35s ease-out;
}

@keyframes ftTabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ft-tab-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ft-tab-text .ft-showcase-title-row {
    margin-bottom: 10px;
}

.ft-tab-text .ft-showcase-icon {
    width: 40px;
    height: 40px;
}

.ft-tab-text .ft-showcase-icon img {
    width: 20px;
    height: 20px;
}

.ft-tab-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    margin: 0;
    line-height: 1.3;
}

.ft-tab-text > p {
    font-size: 0.875rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
    line-height: 1.7;
    margin: 0 0 16px;
}

/* Light theme for tabs */
[data-theme="light"] .ft-tabs-section {
    background: linear-gradient(145deg, #f0f7f5 0%, #e8f4f0 100%);
    border-color: #00755415;
    color: #3b3b3d;
}

[data-theme="light"] .ft-tabs-section h3 {
    color: #3b3b3d;
}

[data-theme="light"] .ft-tab-btn {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .ft-tab-btn.active {
    color: #0d8a6a;
    border-bottom-color: #0d8a6a;
}

[data-theme="light"] .ft-tabs-arrow.left {
    background: linear-gradient(90deg, #f0f7f5 60%, transparent);
}

[data-theme="light"] .ft-tabs-arrow.right {
    background: linear-gradient(270deg, #f0f7f5 60%, transparent);
}

[data-theme="light"] .ft-tabs-arrow svg {
    color: rgba(0, 0, 0, 0.4);
}

/* ---- CTA Section ---- */
.ft-cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.ft-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(36, 179, 136, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.ft-cta-content {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.ft-cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-white, #fff);
    margin: 16px 0 16px;
    line-height: 1.2;
}

.ft-cta-content > p {
    font-size: 1rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
    line-height: 1.7;
    margin: 0 0 32px;
}

.ft-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ft-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.ft-cta-link:hover {
    color: #fff;
    border-color: var(--color-primary, #24b388);
    background: rgba(36, 179, 136, 0.08);
}

/* ---- Animation ---- */
@keyframes ftFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- TEMA CLARO ---- */
[data-theme="light"] .ft-screen-mockup {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #3b3b3d;
}

[data-theme="light"] .ft-screen-mockup .ft-mockup-header {
    border-bottom-color: rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.015);
}

[data-theme="light"] .ft-screen-mockup .ft-mockup-title {
    color: rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .ft-mock-label,
[data-theme="light"] .ft-mock-label-sm {
    color: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .ft-mock-value,
[data-theme="light"] .ft-mock-value-lg {
    color: #3b3b3d !important;
}

[data-theme="light"] .ft-mock-payoff {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .ft-mock-hedge-result {
    background: rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ft-mock-scenario {
    background: rgba(0, 0, 0, 0.015) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-scenario span {
    color: rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] .ft-mock-scenario .ft-mock-value {
    color: #3b3b3d !important;
}

[data-theme="light"] .ft-mock-bar {
    opacity: 0.9;
}

[data-theme="light"] .ft-mock-col span {
    color: rgba(0, 0, 0, 0.55) !important;
}

/* Textos dentro dos mockups - tema claro */
[data-theme="light"] .ft-screen-mockup {
    --text-white: #3b3b3d;
    --text-light: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.45);
    --text-subtle: rgba(0, 0, 0, 0.3);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --bg-card: #fff;
}

[data-theme="light"] .ft-mock-scenario-label {
    color: rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .ft-mock-scenario-price {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .ft-mock-col span {
    color: rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] .ft-mock-ativ-legend span,
[data-theme="light"] .ft-mock-ativ-team span,
[data-theme="light"] .ft-mock-ativ-timeline span {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .ft-mock-stock-item span {
    color: rgba(0, 0, 0, 0.6) !important;
}

[data-theme="light"] .ft-mock-stock-kpi span {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .ft-mock-stock-kpi strong {
    color: #3b3b3d !important;
}

/* Linhas separadoras */
[data-theme="light"] .ft-mock-row {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Icone do mockup imobiliario */
[data-theme="light"] .ft-mock-icon-circle {
    background: rgba(13, 138, 106, 0.08) !important;
    border-color: rgba(13, 138, 106, 0.15) !important;
}

[data-theme="light"] .ft-mock-icon-circle svg {
    color: #0d8a6a !important;
    stroke: #0d8a6a !important;
}

/* Investimentos */
[data-theme="light"] .ft-mock-invest-card {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .ft-mock-invest-card.highlight {
    background: rgba(13, 138, 106, 0.04) !important;
    border-color: rgba(13, 138, 106, 0.18) !important;
}

[data-theme="light"] .ft-mock-invest-name {
    color: rgba(0, 0, 0, 0.6) !important;
}

[data-theme="light"] .ft-mock-invest-rate.up {
    color: #0d8a6a !important;
}

[data-theme="light"] .ft-mock-invest-net {
    color: rgba(0, 0, 0, 0.45) !important;
}

/* Imobiliario */
[data-theme="light"] .ft-mock-house-value {
    color: #3b3b3d !important;
}

[data-theme="light"] .ft-mock-house-subtitle {
    color: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .ft-mock-cost-row {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-cost-row span:first-child {
    color: rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] .ft-mock-cost-row span:last-child {
    color: #3b3b3d !important;
}

[data-theme="light"] .ft-mock-cost-row.total {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .ft-mock-cost-row.total span:first-child {
    color: #0d8a6a !important;
}

[data-theme="light"] .ft-mock-cost-row.total span:last-child {
    color: #0d8a6a !important;
}

/* Payoff SVG textos */
[data-theme="light"] .ft-mock-payoff text {
    fill: rgba(0, 0, 0, 0.4) !important;
}

/* Valores com cor especifica */
[data-theme="light"] .ft-mock-value-green {
    color: #0d8a6a !important;
}

[data-theme="light"] .ft-mock-value-red {
    color: #dc2626 !important;
}

/* Cenarios hedge */
[data-theme="light"] .ft-mock-scenario {
    background: rgba(0, 0, 0, 0.015) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-scenario-label {
    color: rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .ft-mock-scenario-value.up {
    color: #0d8a6a !important;
}

[data-theme="light"] .ft-mock-scenario-detail {
    color: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .ft-mock-scenario-grid {
    border-color: rgba(0, 0, 0, 0.05);
}

/* Barra do mockup header */
[data-theme="light"] .ft-mockup-header {
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}

/* Consorcio / barras */
[data-theme="light"] .ft-mock-consorcio-row span {
    color: rgba(0, 0, 0, 0.55) !important;
}

/* Atividades */
[data-theme="light"] .ft-mock-ativ-ring-label {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .ft-mock-ativ-bar-bg {
    background: rgba(0, 0, 0, 0.06) !important;
}

/* Estoque */
[data-theme="light"] .ft-mock-stock-curva-bar {
    opacity: 0.85;
}

[data-theme="light"] .ft-mock-stock-item-progress {
    background: rgba(0, 0, 0, 0.06) !important;
}

/* Generico: qualquer texto branco residual */
[data-theme="light"] .ft-screen-mockup .ft-mockup-title {
    color: rgba(0, 0, 0, 0.5) !important;
}

/* Feature list checks */
[data-theme="light"] .ft-feature-list li svg {
    color: #0d8a6a !important;
    stroke: #0d8a6a !important;
}

[data-theme="light"] .ft-feature-list li {
    color: #3b3b3d !important;
}

/* Showcase audience */
[data-theme="light"] .ft-showcase-audience {
    color: rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] .ft-showcase-audience strong {
    color: #0d8a6a !important;
}

[data-theme="light"] .ft-showcase-text p {
    color: rgba(0, 0, 0, 0.6) !important;
}

/* Badge do mockup */
[data-theme="light"] .ft-mock-badge {
    color: #fff !important;
}

/* Consorcio labels */
[data-theme="light"] .ft-mock-consorcio-label {
    color: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .ft-mock-consorcio-value {
    color: #3b3b3d !important;
}

/* ---- Regra global: todos os textos brancos dentro de mockups ---- */
[data-theme="light"] .ft-screen-mockup,
[data-theme="light"] .ft-screen-mockup * {
    --text-white: #3b3b3d;
    --text-light: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.45);
    --text-subtle: rgba(0, 0, 0, 0.3);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.08);
}

/* Ticker / Commodities */
[data-theme="light"] .ft-mock-ticker-row {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-ticker {
    color: rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] .ft-mock-commodities {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-commodity {
    color: rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

/* DRE */
[data-theme="light"] .ft-mock-dre {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-dre-title {
    color: #3b3b3d !important;
}

/* Tabelas */
[data-theme="light"] .ft-mock-table {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .ft-mock-table-row {
    border-color: rgba(0, 0, 0, 0.05) !important;
    color: rgba(0, 0, 0, 0.6) !important;
}

[data-theme="light"] .ft-mock-status {
    color: rgba(0, 0, 0, 0.5) !important;
}

/* CRM */
[data-theme="light"] .ft-mock-crm-kpi {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ft-mock-crm-kpi-icon {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ft-mock-crm-kpi-val {
    color: #1a1a1a;
}

[data-theme="light"] .ft-mock-crm-kpi-label {
    color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .ft-mock-crm-search {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .ft-mock-crm-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ft-mock-crm-card-name {
    color: #1a1a1a;
}

[data-theme="light"] .ft-mock-crm-card-doc {
    color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .ft-mock-crm-badge.pj {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .ft-mock-crm-badge.pf {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.2);
}

[data-theme="light"] .ft-mock-crm-badge.rural {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-color: rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .ft-mock-crm-tag.green {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
}

[data-theme="light"] .ft-mock-crm-tag.blue {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

[data-theme="light"] .ft-mock-crm-tag.purple {
    background: rgba(139, 92, 246, 0.08);
    color: #7c3aed;
}

[data-theme="light"] .ft-mock-crm-card-timeline {
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ft-mock-crm-tl-text {
    color: rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .ft-mock-crm-tl-time {
    color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .ft-mock-crm-list-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ft-mock-crm-list-name {
    color: rgba(0, 0, 0, 0.6);
}

/* Rescisao */
[data-theme="light"] .ft-mock-rescisao {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-rescisao-title {
    color: #3b3b3d !important;
}

/* Formularios */
[data-theme="light"] .ft-mock-form {
    color: #3b3b3d;
}

[data-theme="light"] .ft-mock-field {
    border-color: rgba(0, 0, 0, 0.08) !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border-radius: var(--radius-md);
}

[data-theme="light"] .ft-mock-label {
    color: rgba(0, 0, 0, 0.5) !important;
    background: #DDD;
}

[data-theme="light"] .ft-mock-input {
    color: #3b3b3d !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.04) !important;
}

/* Financeiro summary */
[data-theme="light"] .ft-mock-finance-summary {
    color: #3b3b3d;
}

[data-theme="light"] .ft-mock-balance-label {
    color: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .ft-mock-balance-value {
    color: #0d8a6a !important;
}

[data-theme="light"] .ft-mock-inout {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-in {
    color: #0d8a6a !important;
}

[data-theme="light"] .ft-mock-out {
    color: #dc2626 !important;
}

[data-theme="light"] .ft-mock-dot {
    opacity: 0.6;
}

/* Categorias */
[data-theme="light"] .ft-mock-categories {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .ft-mock-cat {
    color: rgba(0, 0, 0, 0.6) !important;
}

[data-theme="light"] .ft-mock-cat-bar {
    opacity: 0.8;
}

/* Comparison / Barras */
[data-theme="light"] .ft-mock-comparison {
    color: #3b3b3d;
}

[data-theme="light"] .ft-mock-col-title {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .ft-mock-val {
    color: rgba(0, 0, 0, 0.55) !important;
}

/* Atividades - detalhes faltantes */
[data-theme="light"] .ft-mock-ativ-bar-label {
    color: rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] .ft-mock-ativ-bar-track {
    background: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .ft-mock-ativ-tl-text {
    color: rgba(0, 0, 0, 0.6) !important;
}

[data-theme="light"] .ft-mock-ativ-tl-time {
    color: rgba(0, 0, 0, 0.35) !important;
}

[data-theme="light"] .ft-mock-ativ-tl-dot {
    opacity: 0.7;
}

/* Estoque - detalhes faltantes */
[data-theme="light"] .ft-mock-stock-kpi-val {
    color: #3b3b3d !important;
}

[data-theme="light"] .ft-mock-stock-kpi-label {
    color: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .ft-mock-stock-curva-title {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .ft-mock-stock-curva-label {
    color: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .ft-mock-stock-curva-pct {
    color: rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] .ft-mock-stock-item-name {
    color: #3b3b3d !important;
}

[data-theme="light"] .ft-mock-stock-item-qty {
    color: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .ft-mock-stock-item-bar-track {
    background: rgba(0, 0, 0, 0.06) !important;
}

/* Hedge result */
[data-theme="light"] .ft-mock-hedge-result span {
    color: rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] .ft-mock-hedge-result .ft-mock-value-lg {
    color: #0d8a6a !important;
}

/* Chart area */
[data-theme="light"] .ft-mock-chart-area {
    background: rgba(0, 0, 0, 0.015) !important;
}

[data-theme="light"] .ft-tool-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(245,250,248,0.85) 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ft-tool-card:hover {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(240,248,245,0.9) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ft-tool-card h4 {
    color: #3b3b3d;
}

[data-theme="light"] .ft-tool-card p {
    color: rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .ft-tool-card-icon {
    background: rgba(36, 179, 136, 0.1);
    border-color: rgba(36, 179, 136, 0.15);
}

[data-theme="light"] .ft-tool-card-icon img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(600%) hue-rotate(116deg) brightness(95%) contrast(90%);
}

[data-theme="light"] .ft-showcase-icon {
    background: rgba(13, 138, 106, 0.08);
    border-color: rgba(13, 138, 106, 0.12);
}

[data-theme="light"] .ft-showcase-icon img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(600%) hue-rotate(116deg) brightness(95%) contrast(90%);
}

[data-theme="light"] .ft-hub-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.85) 0%, rgba(240,248,245,0.75) 100%);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ft-hub-card:hover {
    border-color: rgba(36, 179, 136, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ft-hub-card-name {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .ft-hub-card-kpi-label {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .ft-hub-card-kpi.green { color: #0d8a6a; }
[data-theme="light"] .ft-hub-card-kpi.blue { color: #2563eb; }
[data-theme="light"] .ft-hub-card-kpi.purple { color: #7c3aed; }
[data-theme="light"] .ft-hub-card-kpi.cyan { color: #0891b2; }

[data-theme="light"] .ft-hub-card-tag.up {
    color: #0d8a6a;
    background: rgba(13, 138, 106, 0.1);
}

[data-theme="light"] .ft-hub-card-glow {
    opacity: 0.06;
}

[data-theme="light"] .btn.btn-glass-gold .glass-text::before,
[data-theme="light"] .btn.btn-glass-gold .glass-text::after {
    color: #8a6d00;
}

/* ---- Responsive (768px) ---- */
@media (max-width: 768px) {
    .ft-section-header.center {
        text-align: left;
    }

    .ft-section-header > p { text-align: left; }

    .ft-container {
        padding: 0 var(--container-padding-mobile, 30px);
    }

    .ft-main {
        padding-top: 0px;
    }

    .ft-hero {
        padding: 40px 0 40px;
    }

    .ft-hero > .ft-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ft-hero-content h1 {
        font-size: 1.75rem;
    }

    .ft-hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .ft-hub {
        max-width: 100%;
        aspect-ratio: unset;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        position: relative;
        overflow: hidden;
    }

    .ft-hub-lines {
        display: none;
    }

    .ft-hub-lines {
        display: none;
    }

    .ft-hub-lines-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        pointer-events: none;
    }

    .ft-hub-card {
        position: relative;
        width: auto;
        min-width: 0;
        padding: 10px 12px;
        overflow: hidden;
    }


    .ft-hub-pos-1,
    .ft-hub-pos-2,
    .ft-hub-pos-3,
    .ft-hub-pos-4,
    .ft-hub-pos-5,
    .ft-hub-pos-6 {
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .ft-hub-cta {
        margin-top: 28px;
    }

    .ft-hub-card-row {
        padding-right: 48px;
        min-height: 36px;
    }

    .ft-hub-card-row > :first-child {
        min-height: 36px;
    }

    .ft-hub-icon-vis {
        width: 34px;
        height: 34px;
    }

    .ft-hub-icon-vis.ft-hub-icon-wide,
    .ft-hub-icon-vis.ft-hub-icon-hedge {
        width: 48px;
        height: 36px;
    }

    .ft-hub-card-kpi {
        font-size: 1rem;
    }

    .ft-hub-card-name {
        font-size: 0.5625rem;
    }

    .ft-hub-card-kpi-label {
        font-size: 0.6rem;
    }

    .ft-hub-card-head svg {
        width: 14px;
        height: 14px;
    }

    .ft-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ft-section {
        padding: 60px 0;
    }

    .ft-section-header {
        margin-bottom: 40px;
    }

    .ft-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }

    .ft-showcase-reverse {
        direction: ltr;
    }

    .ft-showcase-visual {
        max-width: 480px;
    }

    .ft-showcase-text h3 {
        font-size: 1.25rem;
    }

    .ft-showcase-icon {
        width: 40px;
        height: 40px;
    }

    .ft-showcase-icon img {
        width: 20px;
        height: 20px;
    }

    .ft-tools-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .ft-tool-card {
        padding: 18px;
    }

    .ft-tool-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .ft-tool-card h4 {
        font-size: 0.875rem;
    }

    .ft-tool-card p {
        font-size: 0.75rem;
    }

    .ft-cta-section {
        padding: 60px 0;
    }

    .ft-tabs-section {
        margin-top: 0px;
    }

    .ft-tabs-title {
        font-size: 1.1rem;
        padding: 18px 18px 0;
    }

    .ft-tabs-nav {
        padding: 0 48px;
        gap: 2px;
        justify-content: flex-start;
    }

    .ft-tab-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .ft-tabs-content {
        padding: 18px;
    }

    .ft-tab-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ft-tab-visual {
        max-width: 480px;
    }

    .ft-mock-invest-cards {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ft-mock-scenario-grid {
        gap: 6px;
    }

    .ft-mock-scenario-value {
        font-size: 0.9375rem;
    }

    .ft-mock-ticker-row {
        flex-direction: column;
        gap: 6px;
    }

    .ft-mock-commodities {
        flex-direction: column;
        gap: 6px;
    }

    .ft-mock-stock-kpis {
        gap: 6px;
    }

}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    .ft-showcase,
    .ft-tool-card,
    .ft-stat-item,
    .ft-tabs-section,
    .ft-hero-content,
    .ft-hero-visual {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .ft-mock-bar {
        transition: none;
        height: var(--bar-height, 50%);
    }

    .ft-mock-cat-bar {
        transition: none;
        width: var(--bar-width, 50%);
    }

    .ft-hub-card {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .ft-hub-line {
        animation: none;
        stroke-dashoffset: 0;
    }

    .ft-badge-dot {
        animation: none;
    }
}
