/* ==========================================================================
   FundsCheck page styles
   Extends the FPP creative design system (creative-design.css).
   Page identity: the product's three verdicts (Trusted / Warning / High Risk)
   carry the color story; a simulated analysis card is the hero artifact.
   ========================================================================== */

:root {
    --fc-trusted: #10B981;   /* system --mint */
    --fc-warning: #F59E0B;   /* system --amber */
    --fc-risk:    #FF6B6B;   /* system --coral */
    --fc-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.fc-section-inner { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* --------------------------------------------------------------------------
   Hero: dark ground, copy left, simulated analysis card right
   -------------------------------------------------------------------------- */
.fc-hero {
    background:
        radial-gradient(52rem 30rem at 82% 8%, rgba(45, 212, 191, 0.14), transparent 60%),
        radial-gradient(40rem 26rem at 8% 96%, rgba(255, 107, 107, 0.10), transparent 55%),
        var(--ink);
    color: #fff;
    padding: calc(96px + 4rem) 0 5rem;
}

.fc-hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.fc-hero-copy h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.fc-gradient {
    background: linear-gradient(90deg, var(--teal), var(--fc-trusted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fc-hero-description {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.fc-verdict-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.25rem; }

.fc-chip {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.28rem 0.85rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
}
.fc-chip.lg { font-size: 0.78rem; padding: 0.35rem 1rem; }
.fc-chip.trusted { color: var(--fc-trusted); background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.4); }
.fc-chip.warning { color: var(--fc-warning); background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.4); }
.fc-chip.risk    { color: var(--fc-risk);    background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.4); }

.fc-hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.fc-ghost-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.fc-ghost-link:hover { color: var(--teal); border-color: var(--teal); }

/* Simulated analysis card */
.fc-report-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.fc-report-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.5rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-report-file { font-family: var(--fc-mono); font-size: 0.95rem; font-weight: 600; color: #fff; }
.fc-report-meta { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); margin-top: 0.3rem; }
.fc-report-meta span { color: var(--teal); }

.fc-report-body { padding: 1.2rem 1.5rem 1.4rem; }

.fc-report-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fc-risk);
    margin-bottom: 0.8rem;
}

.fc-report-body ul { list-style: none; display: grid; gap: 0.65rem; }
.fc-report-body li {
    display: flex;
    gap: 0.7rem;
    align-items: baseline;
    font-family: var(--fc-mono);
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}
.fc-x { color: var(--fc-risk); font-weight: 700; flex-shrink: 0; }

.fc-report-foot {
    padding: 0.9rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   Stats strip
   -------------------------------------------------------------------------- */
.fc-stats { background: var(--ivory); padding: 3.25rem 0; }

.fc-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.fc-stat { text-align: center; padding: 0.25rem 1.5rem; }
.fc-stat + .fc-stat { border-left: 1px solid var(--color-border-light); }

.fc-stat-tick { width: 36px; height: 4px; border-radius: 2px; margin: 0 auto 0.9rem; }
.fc-stat-tick.teal  { background: var(--teal); }
.fc-stat-tick.amber { background: var(--amber); }
.fc-stat-tick.coral { background: var(--coral); }

.fc-stat-num {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.fc-stat-label { font-weight: 600; font-size: 1rem; margin-top: 0.25rem; }
.fc-stat-sub { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.2rem; }

/* --------------------------------------------------------------------------
   Problem
   -------------------------------------------------------------------------- */
.fc-problem { background: var(--pearl); padding: 5rem 0; }

.fc-problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.fc-problem-card {
    background: var(--ivory);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem 1.5rem;
    border-top: 3px solid var(--fc-risk);
    box-shadow: 0 10px 30px -18px rgba(20, 25, 51, 0.25);
}
.fc-problem-card h3 { font-size: 1.02rem; margin-bottom: 0.6rem; color: var(--ink); }
.fc-problem-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.65; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.fc-steps { background: var(--ivory); padding: 5rem 0; }

.fc-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.fc-step { text-align: left; }

.fc-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.1rem;
}
.fc-step-num.teal  { background: linear-gradient(135deg, var(--teal) 0%, #34D399 100%); }
.fc-step-num.amber { background: linear-gradient(135deg, var(--amber) 0%, #FBBF24 100%); color: var(--ink); }
.fc-step-num.coral { background: linear-gradient(135deg, var(--coral) 0%, #ff8a80 100%); }

.fc-step h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.fc-step p { font-size: 0.92rem; color: var(--slate); line-height: 1.7; }

/* --------------------------------------------------------------------------
   Evidence: risk vs trust indicators
   -------------------------------------------------------------------------- */
.fc-evidence { background: var(--ink); color: #fff; padding: 5rem 0; }
.fc-evidence .section-header h2 { color: #fff; }
.fc-evidence .section-header h2 span { color: var(--teal); }
.fc-evidence .section-header p { color: rgba(255, 255, 255, 0.7); }

.fc-evidence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.fc-evidence-col {
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.fc-evidence-col.risk    { border-top: 3px solid var(--fc-risk); }
.fc-evidence-col.trusted { border-top: 3px solid var(--fc-trusted); }

.fc-evidence-head { margin-bottom: 1.25rem; }
.fc-evidence-head h3 { font-size: 1.15rem; margin-top: 0.8rem; color: #fff; }

.fc-evidence-col ul { list-style: none; display: grid; gap: 0.75rem; }
.fc-evidence-col li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
.fc-evidence-col.risk li::before,
.fc-evidence-col.trusted li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}
.fc-evidence-col.risk li::before    { content: "\2715"; color: var(--fc-risk); font-size: 0.8rem; top: 0.15rem; }
.fc-evidence-col.trusted li::before { content: "\2713"; color: var(--fc-trusted); }

.fc-evidence-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Security strip
   -------------------------------------------------------------------------- */
.fc-security { background: var(--pearl); padding: 3.5rem 0; }

.fc-security-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.fc-security-item { border-left: 3px solid var(--teal); padding-left: 1.25rem; }
.fc-security-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.fc-security-item p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .fc-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .fc-problem-grid { grid-template-columns: repeat(2, 1fr); }
    .fc-steps-grid { grid-template-columns: 1fr; }
    .fc-evidence-grid { grid-template-columns: 1fr; }
    .fc-security-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 700px) {
    .fc-stats-row { grid-template-columns: 1fr; gap: 1.75rem; }
    .fc-stat + .fc-stat { border-left: 0; }
}

@media (max-width: 560px) {
    .fc-hero { padding-top: calc(80px + 3rem); }
    .fc-problem-grid { grid-template-columns: 1fr; }
    .fc-report-head { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .fc-hero *, .reveal { transition: none !important; animation: none !important; }
}
