/* industry-fintech.html — page-specific styles */

/* ══════════════════════════════════════════════
       FINTECH PAGE  (prefix: ft-)
    ══════════════════════════════════════════════ */

    /* ── Hero (dark) ── */
    .ft-hero {
      background: var(--dark);
      min-height: 100vh;
      padding: 0;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .ft-hero::before {
      content: '';
      position: absolute; top: 0; right: 0;
      width: 55%; height: 100%;
      background: radial-gradient(ellipse at 85% 35%, rgba(60,234,199,0.09) 0%, transparent 62%);
      pointer-events: none;
    }
    .ft-hero::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
      background: linear-gradient(to bottom, transparent, rgba(0,26,21,0.55));
      pointer-events: none;
    }
    .ft-hero > .container {
      padding-top: calc(var(--nav-h, 80px) + 2.5rem);
      padding-bottom: 3rem;
      width: 100%;
      position: relative; z-index: 1;
    }
    .ft-hero-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 5rem;
      align-items: center;
    }
    .ft-hero .section-label {
      background: rgba(60,234,199,0.1);
      color: var(--teal-bright);
      border-color: rgba(60,234,199,0.2);
    }
    .ft-hero h1 {
      font-family: var(--font-display);
      font-size: 62px;
      font-weight: 800;
      line-height: 1.08;
      color: var(--cream);
      margin: 0.85rem 0 0;
    }
    .ft-hero-sub {
      font-size: 1.1rem;
      line-height: 1.8;
      color: rgba(246,246,242,0.62);
      margin: 1.15rem 0 0;
      max-width: 46ch;
    }
    .ft-hero-sub2 {
      font-size: 0.9rem;
      line-height: 1.75;
      color: rgba(246,246,242,0.38);
      margin: 0.75rem 0 0;
      max-width: 50ch;
    }
    .ft-hero-cta {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 2.25rem;
    }
    .ft-hero-cta .btn-ghost {
      color: var(--teal-light);
      border-color: rgba(60,234,199,0.25);
    }

    /* Trust pills */
    .ft-trust {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
      margin-top: 2rem;
    }
    .ft-trust-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.3rem 0.85rem;
      border-radius: 999px;
      border: 1px solid rgba(60,234,199,0.18);
      font-size: 0.78rem;
      font-weight: 600;
      font-family: var(--font-mono);
      color: rgba(168,240,227,0.65);
      letter-spacing: 0.03em;
    }
    .ft-trust-pill::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--teal-bright);
      opacity: 0.7;
      flex-shrink: 0;
    }

    /* Illustration wrapper */
    .ft-ill-wrap {
      position: relative;
      filter: drop-shadow(0 0 60px rgba(60,234,199,0.1)) drop-shadow(0 32px 64px rgba(0,0,0,0.4));
    }
    .ft-ill-svg { display: block; width: 100%; height: auto; }

    /* ── SVG Animations ── */
    @keyframes ftPanelIn {
      from { opacity: 0; transform: translateX(-16px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes ftCardIn {
      from { opacity: 0; transform: translateX(16px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes ftRowIn {
      from { opacity: 0; transform: translateX(-8px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes ftCheckIn {
      from { transform: scale(0); opacity: 0; }
      to   { transform: scale(1); opacity: 1; }
    }
    @keyframes ftReconcileIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes ftFlowDash {
      0%   { stroke-dashoffset: 40; opacity: 0; }
      10%  { opacity: 1; }
      90%  { opacity: 1; }
      100% { stroke-dashoffset: 0; opacity: 0; }
    }
    @keyframes ftFlowPulse {
      0%, 100% { opacity: 0.15; }
      50%       { opacity: 0.65; }
    }
    @keyframes ftGlow {
      0%, 100% { opacity: 0.07; }
      50%       { opacity: 0.18; }
    }
    @keyframes ftPciBlink {
      0%, 90%, 100% { opacity: 0.55; }
      95%           { opacity: 1; }
    }

    .ft-anim-panel { animation: ftPanelIn 0.6s var(--ease-spring) 0.4s both; }
    .ft-anim-c1    { animation: ftCardIn 0.45s var(--ease-spring) 1.0s both; }
    .ft-anim-c2    { animation: ftCardIn 0.45s var(--ease-spring) 1.25s both; }
    .ft-anim-c3    { animation: ftCardIn 0.45s var(--ease-spring) 1.5s both; }

    /* Ledger rows staggered fade */
    .ft-row-1 { animation: ftRowIn 0.35s ease-out 0.8s both; }
    .ft-row-2 { animation: ftRowIn 0.35s ease-out 0.95s both; }
    .ft-row-3 { animation: ftRowIn 0.35s ease-out 1.1s both; }
    .ft-row-4 { animation: ftRowIn 0.35s ease-out 1.25s both; }
    .ft-row-5 { animation: ftRowIn 0.35s ease-out 1.4s both; }

    /* Check circles scale in after each row */
    .ft-chk-1 {
      transform-box: fill-box; transform-origin: center;
      animation: ftCheckIn 0.28s cubic-bezier(0.34,1.56,0.64,1) 1.05s both;
    }
    .ft-chk-2 {
      transform-box: fill-box; transform-origin: center;
      animation: ftCheckIn 0.28s cubic-bezier(0.34,1.56,0.64,1) 1.2s both;
    }
    .ft-chk-3 {
      transform-box: fill-box; transform-origin: center;
      animation: ftCheckIn 0.28s cubic-bezier(0.34,1.56,0.64,1) 1.35s both;
    }
    .ft-chk-4 {
      transform-box: fill-box; transform-origin: center;
      animation: ftCheckIn 0.28s cubic-bezier(0.34,1.56,0.64,1) 1.5s both;
    }
    .ft-chk-5 {
      transform-box: fill-box; transform-origin: center;
      animation: ftCheckIn 0.28s cubic-bezier(0.34,1.56,0.64,1) 1.65s both;
    }

    /* Reconciled badge */
    .ft-reconcile { animation: ftReconcileIn 0.5s ease-out 1.9s both; }

    /* PCI blink */
    .ft-pci-blink { animation: ftPciBlink 3s ease-in-out 2.2s infinite; }

    /* Connector flows */
    .ft-flow-1 { animation: ftFlowDash 2.5s linear 2.2s infinite; }
    .ft-flow-2 { animation: ftFlowDash 2.5s linear 2.7s infinite; }
    .ft-flow-3 { animation: ftFlowDash 2.5s linear 3.2s infinite; }
    .ft-pulse-1 { animation: ftFlowPulse 2.5s ease-in-out 2.2s infinite; }
    .ft-pulse-2 { animation: ftFlowPulse 2.5s ease-in-out 2.7s infinite; }
    .ft-pulse-3 { animation: ftFlowPulse 2.5s ease-in-out 3.2s infinite; }
    .ft-glow    { animation: ftGlow 3.5s ease-in-out infinite; }

    /* ── Why Fintech Is Different (cream-soft) ── */
    .ft-why {
      background: var(--cream-soft);
      padding: 6.5rem 0;
    }
    .ft-why-header { max-width: 720px; margin-bottom: 3rem; }
    .ft-why .section-label {
      background: rgba(24,15,6,0.055);
      color: var(--ink-60);
      border-color: rgba(24,15,6,0.1);
    }

    /* Shared heading + body styles for light sections */
    .ft-section-h2 {
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3.5vw, 2.5rem);
      font-weight: 800;
      line-height: 1.15;
      color: var(--ink);
      margin-top: 0.75rem;
    }
    .ft-section-p {
      font-size: 1.05rem;
      line-height: 1.875;
      color: var(--ink-60);
      margin-top: 1rem;
    }

    /* Numbered rows */
    .ft-numbered-row {
      display: grid;
      grid-template-columns: 56px 1fr;
      gap: 2rem;
      padding: 2rem 0;
      border-bottom: 1px solid rgba(24,15,6,0.07);
      align-items: start;
      transition: background 0.25s, padding-left 0.25s;
      border-radius: 4px;
    }
    .ft-numbered-row:first-of-type { border-top: 1px solid rgba(24,15,6,0.07); }
    .ft-numbered-row:hover { background: rgba(0,133,125,0.03); padding-left: 0.5rem; }
    .ft-row-num {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 800;
      color: rgba(0,133,125,0.2);
      line-height: 1;
      padding-top: 0.1rem;
    }
    .ft-row-content h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.45rem;
    }
    .ft-row-content p {
      font-size: 1.05rem;
      line-height: 1.78;
      color: var(--ink-60);
      margin: 0;
    }

    /* ── What We Build for Fintech (dark) ── */
    .ft-build {
      background: var(--dark);
      padding: 6.5rem 0;
      position: relative;
      overflow: hidden;
    }
    .ft-build::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(60,234,199,0.15), transparent);
    }
    .ft-build::after {
      content: '';
      position: absolute; bottom: 0; right: 0;
      width: 40%; height: 60%;
      background: radial-gradient(ellipse at 85% 80%, rgba(60,234,199,0.05), transparent 65%);
      pointer-events: none;
    }
    .ft-build-header { max-width: 680px; margin-bottom: 3.5rem; position: relative; z-index: 1; }
    .ft-build-header .section-label {
      background: rgba(60,234,199,0.1);
      color: var(--teal-bright);
      border-color: rgba(60,234,199,0.2);
    }
    .ft-build-header h2 {
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3.5vw, 2.5rem);
      font-weight: 800;
      line-height: 1.15;
      color: var(--cream);
      margin-top: 0.75rem;
    }
    .ft-build-header p {
      font-size: 1.05rem;
      line-height: 1.875;
      color: rgba(246,246,242,0.58);
      margin-top: 1rem;
    }

    /* 2-col build card grid */
    .ft-build-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
      position: relative; z-index: 1;
    }
    .ft-build-card {
      background: var(--dark-card);
      border-radius: 14px;
      padding: 2rem;
      border-left: 3px solid var(--teal);
      position: relative;
      overflow: hidden;
      transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    }
    .ft-build-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 44px rgba(0,0,0,0.3);
    }
    .ft-build-card::before {
      content: '';
      position: absolute; top: 0; right: 0;
      width: 90px; height: 90px;
      background: radial-gradient(circle at top right, rgba(60,234,199,0.06), transparent 70%);
      pointer-events: none;
    }
    .ft-build-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px; height: 44px;
      background: rgba(60,234,199,0.1);
      border: 1px solid rgba(60,234,199,0.2);
      border-radius: 10px;
      margin-bottom: 1.1rem;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      color: var(--teal-bright);
    }
    .ft-build-card h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--cream);
      line-height: 1.35;
      margin-bottom: 0.7rem;
    }
    .ft-build-card p {
      font-size: 0.9rem;
      line-height: 1.75;
      color: rgba(246,246,242,0.52);
      margin: 0;
    }

    /* ── Proof (cream) ── */
    .ft-proof {
      background: var(--cream);
      padding: 6.5rem 0;
    }
    .ft-proof-header { max-width: 640px; margin-bottom: 3rem; }
    .ft-proof .section-label {
      background: rgba(24,15,6,0.055);
      color: var(--ink-60);
      border-color: rgba(24,15,6,0.1);
    }

    .ft-proof-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0;
      border: 1px solid rgba(24,15,6,0.08);
      border-radius: 16px;
      overflow: hidden;
    }
    .ft-proof-stat {
      padding: 3rem;
      background: var(--cream-soft);
      border-right: 1px solid rgba(24,15,6,0.08);
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: 2rem;
      align-items: start;
    }
    .ft-proof-stat:last-child { border-right: none; }
    .ft-stat-left { }
    .ft-stat-number {
      font-family: var(--font-display);
      font-size: clamp(2.8rem, 5vw, 4rem);
      font-weight: 800;
      color: var(--ink);
      line-height: 1;
    }
    .ft-stat-number span { color: var(--teal); }
    .ft-stat-label {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: var(--ink-40);
      font-family: var(--font-mono);
      margin-top: 0.65rem;
    }
    .ft-stat-body { align-self: center; }
    .ft-stat-body p {
      font-size: 0.9rem;
      line-height: 1.75;
      color: var(--ink-60);
      margin: 0;
    }

    /* ── Fintech at Scale / Beyond Launch (cream-soft) ── */
    .ft-scale {
      background: var(--cream-soft);
      padding: 6.5rem 0;
    }
    .ft-scale-header { max-width: 680px; margin-bottom: 3rem; }
    .ft-scale .section-label {
      background: rgba(24,15,6,0.055);
      color: var(--ink-60);
      border-color: rgba(24,15,6,0.1);
    }

    .ft-scale-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
    .ft-scale-card {
      background: var(--cream);
      border-radius: 14px;
      padding: 2rem;
      border-left: 3px solid var(--teal);
      position: relative;
      overflow: hidden;
      transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    }
    .ft-scale-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 44px rgba(0,26,21,0.09);
    }
    .ft-scale-card::before {
      content: '';
      position: absolute; top: 0; right: 0;
      width: 90px; height: 90px;
      background: radial-gradient(circle at top right, rgba(0,133,125,0.05), transparent 70%);
      pointer-events: none;
    }
    .ft-scale-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px; height: 36px;
      background: var(--teal);
      border-radius: 9px;
      margin-bottom: 1.1rem;
    }
    .ft-scale-icon svg { width: 18px; height: 18px; color: #fff; }
    .ft-scale-card h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.7rem;
    }
    .ft-scale-card p {
      font-size: 0.9rem;
      line-height: 1.75;
      color: var(--ink-60);
      margin: 0;
    }

    /* ── Close (dark) ── */
    .ft-close {
      background: var(--dark);
      padding: 7rem 0;
      position: relative;
      overflow: hidden;
    }
    .ft-close::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(60,234,199,0.15), transparent);
    }
    .ft-close::after {
      content: '';
      position: absolute; bottom: 0; right: 0;
      width: 45%; height: 70%;
      background: radial-gradient(ellipse at 85% 80%, rgba(60,234,199,0.06), transparent 65%);
      pointer-events: none;
    }
    .ft-close-inner {
      position: relative; z-index: 1;
      max-width: 800px;
    }
    .ft-close-inner .section-label {
      background: rgba(60,234,199,0.1);
      color: var(--teal-bright);
      border-color: rgba(60,234,199,0.2);
      display: inline-block;
    }
    .ft-close-inner h2 {
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3.5vw, 2.5rem);
      font-weight: 800;
      line-height: 1.12;
      color: var(--cream);
      margin-top: 0.75rem;
    }
    .ft-close-inner p {
      font-size: 1.05rem;
      line-height: 1.85;
      color: rgba(246,246,242,0.6);
      margin-top: 1.25rem;
      max-width: 62ch;
    }
    .ft-close-cta {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 2.5rem;
    }
    .ft-close-cta .btn-ghost {
      color: var(--teal-light);
      border-color: rgba(60,234,199,0.25);
    }

    /* ── Responsive ── */
    @media (max-width: 900px) {
      .ft-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
      .ft-hero > .container { padding-top: calc(var(--nav-h, 80px) + 1.5rem); }
      .ft-build-grid { grid-template-columns: 1fr; }
      .ft-scale-grid { grid-template-columns: 1fr; }
      .ft-proof-grid { grid-template-columns: 1fr; }
      .ft-proof-stat { grid-template-columns: 1fr; border-right: none; border-bottom: 1px solid rgba(24,15,6,0.08); gap: 1rem; }
      .ft-proof-stat:last-child { border-bottom: none; }
    }
    @media (max-width: 600px) {
      .ft-numbered-row { grid-template-columns: 44px 1fr; gap: 1.25rem; }
      .ft-row-num { font-size: 1.5rem; }
    }
