/*
 * TechFusion POS public homepage (resources/views/welcome_new.blade.php).
 * Teal & Amber, matching the POS terminal theme (css/tf-pos.css).
 * Standalone: no Bootstrap/AdminLTE, so everything here is self-contained under #tfh.
 */
:root {
    --teal: #0F766E; --teal-600: #0D9488; --teal-800: #115E59; --teal-900: #134E4A; --teal-100: #CCFBF1; --teal-50: #F0FDFA;
    --amber: #F59E0B; --amber-400: #FBBF24; --amber-600: #D97706; --amber-50: #FFFBEB;
    --mp: #34B44A; --mp-dark: #23913A;
    --sand: #FAF7F2; --ink: #0B1F1E; --text: #1F2937; --muted: #5B6B6A; --line: #E7E1D7;
    --radius: 20px; --shadow: 0 1px 2px rgba(19,78,74,.06), 0 8px 24px rgba(19,78,74,.08);
    --shadow-lg: 0 24px 60px rgba(19,78,74,.18);
    --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.55; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
#tfh .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
#tfh h1, #tfh h2, #tfh h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0; }
#tfh h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
#tfh p { margin: 0; }
#tfh .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
#tfh .kicker::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--amber); }
#tfh .lead { font-size: 18px; color: var(--muted); max-width: 640px; }
#tfh .section { padding: 96px 0; }
#tfh .section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; display: grid; gap: 14px; justify-items: center; }
#tfh .section-head .lead { margin: 0 auto; }

/* Buttons */
#tfh .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 750; font-size: 16px; border: 0; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease); white-space: nowrap; }
#tfh .btn:active { transform: scale(.97); }
#tfh .btn-primary { background: linear-gradient(135deg, var(--amber-400), var(--amber)); color: var(--text); box-shadow: 0 10px 24px rgba(245,158,11,.35); }
#tfh .btn-primary:hover { box-shadow: 0 14px 30px rgba(245,158,11,.45); transform: translateY(-1px); }
#tfh .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
#tfh .btn-ghost:hover { background: rgba(255,255,255,.22); }
#tfh .btn-outline { background: #fff; color: var(--teal-800); border: 1.5px solid var(--teal-100); }
#tfh .btn-outline:hover { border-color: var(--teal); background: var(--teal-50); }
#tfh .btn-teal { background: var(--teal); color: #fff; }
#tfh .btn-teal:hover { background: var(--teal-800); }
#tfh .btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
#tfh :focus-visible { outline: 3px solid rgba(245,158,11,.75); outline-offset: 3px; border-radius: 8px; }

/* Nav */
#tfh .nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(231,225,215,.7); }
#tfh .nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
#tfh .brand { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
#tfh .brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--teal-600), var(--teal-900)); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(15,118,110,.35); }
#tfh .brand small { color: var(--amber-600); font-weight: 850; }
#tfh .nav-links { display: flex; gap: 26px; margin-left: 12px; font-weight: 600; font-size: 15px; color: var(--muted); }
#tfh .nav-links a:hover { color: var(--teal); }
#tfh .nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
#tfh .nav-signin { font-weight: 650; color: var(--teal-800); padding: 0 10px; }
#tfh .nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
#tfh .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

/* Hero */
#tfh .hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 85% -10%, rgba(245,158,11,.22), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(13,148,136,.35), transparent 60%), linear-gradient(160deg, var(--teal-900) 0%, var(--teal) 60%, var(--teal-600) 100%); color: #E6FFFA; }
#tfh .hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
#tfh .hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
#tfh .pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: 14px; font-weight: 600; color: #fff; }
#tfh .pill b { background: var(--amber); color: var(--text); border-radius: 999px; padding: 2px 10px; font-size: 12px; letter-spacing: .04em; }
#tfh .hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 64px); font-weight: 850; margin: 22px 0 18px; }
#tfh .hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--amber-400), #FDE68A); -webkit-background-clip: text; background-clip: text; color: transparent; }
#tfh .hero .lead { color: rgba(230,255,250,.88); font-size: 19px; }
#tfh .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
#tfh .hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: 14.5px; color: rgba(230,255,250,.92); }
#tfh .hero-checks li { display: flex; align-items: center; gap: 8px; }
#tfh .hero-checks svg { flex: none; }

/* Hero product mock (animated POS) */
#tfh .mock { position: relative; }
#tfh .mock-window { background: #fff; border-radius: 22px; box-shadow: 0 40px 80px rgba(4,30,28,.45); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease); }
#tfh .mock:hover .mock-window { transform: perspective(1400px) rotateY(0) rotateX(0); }
#tfh .mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: linear-gradient(100deg, var(--teal-900), var(--teal)); color: #fff; font-size: 13px; font-weight: 650; }
#tfh .mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
#tfh .mock-bar .chip { margin-left: auto; background: var(--amber); color: var(--text); border-radius: 8px; padding: 3px 9px; font-size: 12px; }
#tfh .mock-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; padding: 16px; background: var(--sand); }
#tfh .mock-cart { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 10px 12px; min-height: 236px; display: flex; flex-direction: column; }
#tfh .mock-cart h4 { margin: 0 0 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-800); }
#tfh .mock-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 6px; border-bottom: 1px solid #F1ECE4; font-size: 13.5px; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .8s; border-radius: 8px; }
#tfh .mock-line.in { opacity: 1; transform: none; box-shadow: inset 3px 0 0 var(--amber); }
#tfh .mock-line.in.settled { box-shadow: inset 0 0 0 transparent; }
#tfh .mock-line b { font-weight: 700; color: var(--teal-900); }
#tfh .mock-total { margin-top: auto; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--teal-900), var(--teal-800)); color: #99F6E4; border-radius: 12px; padding: 10px 12px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; }
#tfh .mock-total strong { background: linear-gradient(135deg, var(--amber-400), var(--amber)); color: var(--text); border-radius: 10px; padding: 6px 12px; font-size: 20px; letter-spacing: -.01em; text-transform: none; font-variant-numeric: tabular-nums; }
#tfh .mock-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
#tfh .mock-tile { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; font-size: 12px; font-weight: 650; color: var(--text); transition: transform .2s var(--ease), border-color .2s; }
#tfh .mock-tile span { display: block; height: 44px; border-radius: 8px; margin-bottom: 6px; }
#tfh .mock-tile em { display: block; font-style: normal; color: var(--teal); font-weight: 800; }
#tfh .mock-tile.tap { transform: scale(.94); border-color: var(--amber); }
#tfh .mock-pay { display: flex; gap: 8px; padding: 0 16px 16px; background: var(--sand); }
#tfh .mock-pay div { flex: 1; text-align: center; border-radius: 10px; padding: 10px 0; font-size: 12.5px; font-weight: 800; }
#tfh .mock-pay .c { background: linear-gradient(135deg, var(--amber-400), var(--amber)); color: var(--text); }
#tfh .mock-pay .m { background: linear-gradient(135deg, #45C65A, var(--mp)); color: #fff; letter-spacing: .06em; }
#tfh .mock-pay .m.pulse { animation: tfh-pulse 1s var(--ease) 2; }
@keyframes tfh-pulse { 50% { box-shadow: 0 0 0 8px rgba(52,180,74,.25); } }
#tfh .toast { position: absolute; left: -28px; bottom: 66px; width: 290px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; gap: 12px; align-items: center; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .45s var(--ease), transform .45s var(--ease); border-left: 5px solid var(--mp); }
#tfh .toast.show { opacity: 1; transform: none; }
#tfh .toast .ic { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #45C65A, var(--mp-dark)); display: grid; place-items: center; flex: none; }
#tfh .toast b { display: block; font-size: 14px; color: var(--ink); }
#tfh .toast small { color: var(--muted); font-size: 12.5px; }
#tfh .stat-card { position: absolute; right: -18px; top: -26px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px 14px; width: 190px; }
#tfh .stat-card small { color: var(--muted); font-size: 12px; font-weight: 600; }
#tfh .stat-card b { display: block; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
#tfh .bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 6px; }
#tfh .bars i { flex: 1; background: var(--teal-100); border-radius: 4px 4px 2px 2px; }
#tfh .bars i:last-child { background: linear-gradient(180deg, var(--amber-400), var(--amber)); }

/* Strip */
#tfh .strip { background: var(--sand); border-bottom: 1px solid var(--line); }
#tfh .strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-top: 22px; padding-bottom: 22px; font-weight: 650; color: var(--teal-800); font-size: 15px; }
#tfh .strip span { display: inline-flex; align-items: center; gap: 8px; }
#tfh .strip span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* M-Pesa spotlight */
#tfh .mpesa { background: linear-gradient(180deg, #fff, var(--sand)); }
#tfh .mpesa-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
#tfh .mpesa-brand { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #45C65A, var(--mp) 55%, var(--mp-dark)); color: #fff; font-weight: 900; letter-spacing: .07em; border-radius: 12px; padding: 8px 14px; font-size: 18px; box-shadow: 0 10px 22px rgba(52,180,74,.35); }
#tfh .mpesa h2 { margin: 18px 0 14px; }
#tfh .ways { display: grid; gap: 14px; margin-top: 28px; }
#tfh .way { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
#tfh .way:hover { transform: translateX(4px); border-color: var(--mp); }
#tfh .way .n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #EAF7EC; color: var(--mp-dark); font-weight: 900; display: grid; place-items: center; }
#tfh .way b { display: block; color: var(--ink); margin-bottom: 2px; }
#tfh .way p { color: var(--muted); font-size: 15px; }
#tfh .phone { justify-self: center; width: 330px; background: #0B1F1E; border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg); }
#tfh .phone-screen { background: #fff; border-radius: 30px; overflow: hidden; }
#tfh .phone-head { background: linear-gradient(135deg, #45C65A, var(--mp) 50%, var(--mp-dark)); color: #fff; padding: 22px 20px 18px; }
#tfh .phone-head b { font-size: 24px; letter-spacing: .06em; font-weight: 900; }
#tfh .phone-head small { display: block; opacity: .9; font-weight: 600; }
#tfh .phone-body { padding: 16px; display: grid; gap: 10px; }
#tfh .phone-pay { background: linear-gradient(135deg, var(--mp-dark), var(--mp)); color: #fff; border-radius: 16px; text-align: center; padding: 14px; }
#tfh .phone-pay small { opacity: .85; }
#tfh .phone-pay b { display: block; font-size: 26px; }
#tfh .match { border: 1px solid #D5EFD9; border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
#tfh .match b { font-size: 15px; color: var(--ink); display: block; }
#tfh .match span { margin-left: auto; background: var(--mp); color: #fff; border-radius: 9px; padding: 6px 9px; font-weight: 800; font-size: 11.5px; white-space: nowrap; }
#tfh .phone-note { font-size: 11.5px; color: var(--muted); text-align: center; }

/* Features */
#tfh .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#tfh .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
#tfh .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }
#tfh .feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); margin-bottom: 18px; }
#tfh .feature h3 { font-size: 19px; font-weight: 750; margin-bottom: 8px; }
#tfh .feature p { color: var(--muted); font-size: 15.5px; }
#tfh .feature .tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--amber-600); background: var(--amber-50); border-radius: 999px; padding: 3px 10px; }

/* Industries */
#tfh .industries { background: var(--teal-900); color: #CFFAF0; position: relative; overflow: hidden; }
#tfh .industries::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 100% 0, rgba(245,158,11,.18), transparent 60%); }
#tfh .industries .wrap { position: relative; }
#tfh .industries h2 { color: #fff; }
#tfh .industries .lead { color: rgba(207,250,240,.85); }
#tfh .industries .kicker { color: #99F6E4; }
#tfh .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
#tfh .tab { border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #E6FFFA; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .18s var(--ease); font-family: inherit; }
#tfh .tab:hover { background: rgba(255,255,255,.14); }
#tfh .tab[aria-selected="true"] { background: var(--amber); border-color: var(--amber); color: var(--text); box-shadow: 0 8px 18px rgba(245,158,11,.35); }
#tfh .panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 36px; }
#tfh .panel.active { display: grid; animation: tfh-fade .35s var(--ease); }
@keyframes tfh-fade { from { opacity: 0; transform: translateY(8px); } }
#tfh .panel h3 { color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 10px; }
#tfh .panel ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
#tfh .panel li { display: flex; gap: 10px; align-items: flex-start; color: #E6FFFA; }
#tfh .panel li::before { content: ''; flex: none; margin-top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--amber); }
#tfh .panel-card { background: #fff; border-radius: 20px; padding: 22px; color: var(--text); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
#tfh .panel-card small { color: var(--muted); font-weight: 600; }
#tfh .panel-card .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #F1ECE4; font-size: 15px; }
#tfh .panel-card .row:last-child { border-bottom: 0; }
#tfh .panel-card .row b { color: var(--teal-900); }
#tfh .panel-card .badge { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--teal); background: var(--teal-50); border-radius: 999px; padding: 3px 9px; }

/* Steps */
#tfh .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
#tfh .step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
#tfh .step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 28px; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--amber-400), var(--amber)); color: var(--text); font-weight: 900; display: grid; place-items: center; box-shadow: 0 8px 16px rgba(245,158,11,.35); }
#tfh .step h3 { font-size: 19px; margin: 10px 0 8px; }
#tfh .step p { color: var(--muted); }

/* Video */
#tfh .video-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
#tfh .video-frame { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--teal-900); aspect-ratio: 16 / 9; }
#tfh .video-frame { position: relative; }
#tfh .video-frame video { width: 100%; height: 100%; object-fit: cover; }
#tfh .video-cover { position: absolute; inset: 0; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; font-family: inherit;
    background: radial-gradient(500px 260px at 80% 10%, rgba(245,158,11,.35), transparent 60%), linear-gradient(135deg, var(--teal-900), var(--teal)); }
#tfh .video-cover::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
#tfh .video-cover .play { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--amber-400), var(--amber)); box-shadow: 0 0 0 12px rgba(245,158,11,.22), 0 16px 34px rgba(0,0,0,.3); transition: transform .2s var(--ease); }
#tfh .video-cover:hover .play { transform: scale(1.08); }
#tfh .video-cover-text { display: grid; text-align: center; }
#tfh .video-cover-text b { font-size: 20px; }
#tfh .video-cover-text small { opacity: .85; }
#tfh .video-frame.playing .video-cover { display: none; }

/* Pricing */
#tfh .pricing { background: var(--sand); }
#tfh .period { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px; margin: 0 auto 40px; }
#tfh .period button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; font-family: inherit; }
#tfh .period button[aria-pressed="true"] { background: var(--teal); color: #fff; box-shadow: 0 6px 14px rgba(15,118,110,.3); }
#tfh .plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
#tfh .plan { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
#tfh .plan.popular { border-color: var(--amber); box-shadow: 0 24px 50px rgba(245,158,11,.2); transform: translateY(-8px); }
#tfh .plan .flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--amber-400), var(--amber)); color: var(--text); font-weight: 800; font-size: 12.5px; border-radius: 999px; padding: 5px 14px; white-space: nowrap; }
#tfh .plan h3 { font-size: 20px; }
#tfh .plan .price { margin: 16px 0 4px; font-size: 40px; font-weight: 850; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
#tfh .plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
#tfh .plan .save { min-height: 20px; font-size: 13px; font-weight: 700; color: var(--mp-dark); }
#tfh .plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
#tfh .plan li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
#tfh .plan li svg { flex: none; }
#tfh .plan .btn { margin-top: auto; width: 100%; }
#tfh .pricing-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 14.5px; }
#tfh .pricing-note a { color: var(--teal); font-weight: 700; }

/* FAQ */
#tfh .faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
#tfh details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s, box-shadow .2s; }
#tfh details[open] { border-color: var(--teal-100); box-shadow: var(--shadow); }
#tfh summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 17px; color: var(--ink); padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
#tfh summary::-webkit-details-marker { display: none; }
#tfh summary::after { content: '+'; color: var(--teal); font-size: 24px; line-height: 1; transition: transform .2s; }
#tfh details[open] summary::after { transform: rotate(45deg); }
#tfh details p { color: var(--muted); padding: 0 0 18px; }

/* Final CTA */
#tfh .final { padding: 0 0 96px; }
#tfh .final-box { border-radius: 30px; padding: 64px 48px; text-align: center; color: #E6FFFA; background: radial-gradient(700px 300px at 90% 0, rgba(245,158,11,.25), transparent 60%), linear-gradient(135deg, var(--teal-900), var(--teal)); box-shadow: var(--shadow-lg); }
#tfh .final-box h2 { color: #fff; }
#tfh .final-box p { color: rgba(230,255,250,.88); max-width: 620px; margin: 14px auto 30px; font-size: 18px; }
#tfh .final-box .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
#tfh .footer { background: #0B1F1E; color: #A7C4C0; padding: 64px 0 28px; font-size: 15px; }
#tfh .footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
#tfh .footer .brand { color: #fff; }
#tfh .footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
#tfh .footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#tfh .footer a:hover { color: var(--amber-400); }
#tfh .footer .social { display: flex; gap: 10px; margin-top: 18px; }
#tfh .footer .social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; }
#tfh .footer .social a:hover { background: rgba(255,255,255,.14); }
#tfh .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }

/* WhatsApp floating button */
#tfh .wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 26px rgba(37,211,102,.45); transition: transform .2s var(--ease); }
#tfh .wa:hover { transform: scale(1.07); }

/* Reveal on scroll — only once the script runs (class tfh-js on <html>), so content
   is never hidden from crawlers or if JavaScript fails. */
.tfh-js #tfh .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tfh-js #tfh .reveal.seen { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
    #tfh .hero .wrap, #tfh .mpesa-grid, #tfh .video-wrap, #tfh .panel { grid-template-columns: 1fr; }
    #tfh .features { grid-template-columns: repeat(2, 1fr); }
    #tfh .mock { max-width: 560px; margin: 0 auto; width: 100%; }
    #tfh .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    #tfh .nav-links, #tfh .nav-cta .nav-signin, #tfh .nav-cta .btn { display: none; }
    #tfh .nav-toggle { display: block; }
    #tfh .nav.open .nav-links { display: grid; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 12px 24px 20px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
    #tfh .nav.open .nav-links a { padding: 12px 0; font-size: 17px; }
    #tfh .nav.open .nav-cta { position: absolute; top: calc(72px + 290px); left: 24px; right: 24px; display: grid; gap: 10px; }
    #tfh .nav.open .nav-cta .btn, #tfh .nav.open .nav-cta .nav-signin { display: flex; justify-content: center; }
}
@media (max-width: 640px) {
    #tfh .section { padding: 68px 0; }
    #tfh .hero .wrap { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
    #tfh .features, #tfh .steps, #tfh .footer-grid { grid-template-columns: 1fr; }
    #tfh .mock-body { grid-template-columns: 1fr; }
    #tfh .mock-tiles { grid-template-columns: repeat(4, 1fr); }
    #tfh .mock-tile span { height: 30px; }
    #tfh .stat-card { right: 6px; top: -34px; width: 160px; }
    #tfh .toast { left: 8px; right: 8px; width: auto; bottom: 60px; }
    #tfh .mock-window { transform: none; }
    #tfh .phone { width: 100%; max-width: 330px; }
    #tfh .panel { padding: 22px; }
    #tfh .final-box { padding: 44px 22px; }
    #tfh .plan.popular { transform: none; }
    #tfh .btn { width: 100%; }
    #tfh .hero-ctas .btn, #tfh .final-box .ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    #tfh *, #tfh *::before, #tfh *::after { animation: none !important; transition: none !important; }
    #tfh .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* Hero mock: readable text, card stacking, toast below the total */
#tfh .mock-window { position: relative; z-index: 1; color: var(--text); }
#tfh .mock-line span { color: var(--text); }
#tfh .stat-card { z-index: 2; }
#tfh .toast { z-index: 3; bottom: -30px; left: -34px; }
@media (max-width: 640px) { #tfh .toast { bottom: -34px; left: 8px; } }

/* Payments card (replaces the M-Pesa phone mock) */
#tfh .paycard { justify-self: center; width: 100%; max-width: 420px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
#tfh .paycard-head { background: linear-gradient(135deg, var(--teal-900), var(--teal)); color: #CFFAF0; padding: 22px 24px; }
#tfh .paycard-head small { display: block; font-weight: 600; opacity: .85; }
#tfh .paycard-head b { display: block; color: #fff; font-size: 34px; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
#tfh .paycard-row { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid #F1ECE4; font-weight: 650; color: var(--ink); }
#tfh .paycard-row .dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }
#tfh .paycard-row em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--mp-dark); background: #EAF7EC; border-radius: 999px; padding: 2px 8px; }
#tfh .paycard-row b { margin-left: auto; font-variant-numeric: tabular-nums; }
#tfh .paycard-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: var(--amber-50); font-weight: 800; color: var(--amber-600); }
#tfh .paycard-foot span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--amber-400), var(--amber)); color: var(--text); }

/* Techfusion logo (img/brand), v1.0.5 */
#tfh .brand-logo { display: block; height: 46px; width: auto; }
#tfh .footer .brand-logo { height: 54px; }
@media (max-width: 560px) { #tfh .nav .brand-logo { height: 38px; } }

/* "Every kind of business" grid (v1.0.6) */
#tfh .trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
#tfh .trade { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; box-shadow: var(--shadow); border-top: 3px solid var(--teal-100); transition: transform .2s var(--ease), border-color .2s; }
#tfh .trade:hover { transform: translateY(-3px); border-top-color: var(--amber-500, #F59E0B); }
#tfh .trade h3 { font-size: 16.5px; font-weight: 750; margin-bottom: 6px; color: var(--ink); }
#tfh .trade p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 1024px) { #tfh .trades { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { #tfh .trades { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { #tfh .trades { grid-template-columns: 1fr; } }

/* ================================================================
   Solutions / Industry pages (v1.0.7)
   ================================================================ */

/* Hero */
#tfh.tfh-solutions .sol-hero { background: linear-gradient(135deg, #0B2C29 0%, #0F3D3A 60%, #115E59 100%); padding: 72px 0 64px; color: #fff; }
#tfh.tfh-solutions .sol-hero .breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px; flex-wrap: wrap; }
#tfh.tfh-solutions .sol-hero .breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
#tfh.tfh-solutions .sol-hero .breadcrumb a:hover { color: #fff; }
#tfh.tfh-solutions .sol-hero .kicker { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: 4px 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; display: inline-block; margin-bottom: 16px; }
#tfh.tfh-solutions .sol-hero h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; color: #fff; line-height: 1.15; max-width: 720px; margin-bottom: 16px; }
#tfh.tfh-solutions .sol-hero .lead { font-size: clamp(16px, 2vw, 18px); color: rgba(255,255,255,.8); max-width: 600px; line-height: 1.6; margin-bottom: 32px; }
#tfh.tfh-solutions .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
#tfh.tfh-solutions .sol-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
#tfh.tfh-solutions .sol-hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
#tfh.tfh-solutions .sol-hero-card b { display: block; font-size: 15px; color: #fff; margin-bottom: 14px; }
#tfh.tfh-solutions .sol-hero-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 11px; }
#tfh.tfh-solutions .sol-hero-card li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: rgba(255,255,255,.9); }
#tfh.tfh-solutions .sol-hero-card li svg { flex: none; color: #0F172A; background: #F59E0B; border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
#tfh.tfh-solutions .sol-hero-card span { display: block; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.65); }

/* Problem strip */
#tfh.tfh-solutions .sol-problem { background: #F0FDFA; border-bottom: 1px solid #CCFBF1; padding: 28px 0; }
#tfh.tfh-solutions .sol-problem p { max-width: 800px; font-size: 16.5px; line-height: 1.7; color: #134E4A; }

/* Features grid */
#tfh.tfh-solutions .sol-feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
#tfh.tfh-solutions .sol-feat { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); }
#tfh.tfh-solutions .sol-feat-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #F0FDFA; display: grid; place-items: center; color: #0F766E; }
#tfh.tfh-solutions .sol-feat h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
#tfh.tfh-solutions .sol-feat p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Proof strip */
#tfh.tfh-solutions .sol-proof { background: #134E4A; padding: 24px 0; }
#tfh.tfh-solutions .sol-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
#tfh.tfh-solutions .sol-proof-grid div { text-align: center; color: #fff; }
#tfh.tfh-solutions .sol-proof-grid b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
#tfh.tfh-solutions .sol-proof-grid span { font-size: 13px; color: rgba(255,255,255,.7); }

/* FAQ */
#tfh.tfh-solutions .sol-faq-wrap { max-width: 760px; }

/* Related */
#tfh.tfh-solutions .sol-related { background: #F9FAFB; }
#tfh.tfh-solutions .sol-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
#tfh.tfh-solutions .sol-rel-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; text-decoration: none; transition: transform .2s var(--ease), border-color .2s; box-shadow: var(--shadow); border-top: 3px solid var(--teal-100); }
#tfh.tfh-solutions .sol-rel-card:hover { transform: translateY(-3px); border-top-color: #F59E0B; }
#tfh.tfh-solutions .sol-rel-card b { font-size: 15px; font-weight: 700; color: var(--ink); }
#tfh.tfh-solutions .sol-rel-card span { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1; }
#tfh.tfh-solutions .sol-rel-card em { font-size: 13px; font-style: normal; color: #0F766E; font-weight: 600; margin-top: 4px; }
#tfh.tfh-solutions .sol-rel-all { border-top-color: #F59E0B; }

/* CTA banner */
#tfh.tfh-solutions .sol-cta-banner { background: linear-gradient(135deg, #0F766E, #0D9488); padding: 72px 0; text-align: center; color: #fff; }
#tfh.tfh-solutions .sol-cta-banner h2 { font-size: clamp(22px, 3.5vw, 34px); font-weight: 800; color: #fff; margin-bottom: 12px; }
#tfh.tfh-solutions .sol-cta-banner p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 28px; }
#tfh.tfh-solutions .sol-cta-banner .hero-cta { justify-content: center; }

/* Trades section: clickable cards (v1.0.7) */
#tfh a.trade { display: flex; flex-direction: column; text-decoration: none; cursor: pointer; }
#tfh a.trade h3 { color: var(--ink); }
#tfh a.trade p { color: var(--muted); }
#tfh a.trade .trade-link { font-size: 13px; font-weight: 600; color: #0F766E; margin-top: auto; padding-top: 10px; display: block; }
#tfh a.trade:hover { transform: translateY(-3px); border-top-color: var(--amber-500, #F59E0B); }
#tfh a.trade:hover .trade-link { text-decoration: underline; }

/* Customer quotes on the homepage (shown only when real quotes are added) */
#tfh .testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#tfh .tcard { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
#tfh .tcard-quote { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink); flex: 1; }
#tfh .tcard-author b { display: block; font-weight: 700; font-size: 14px; color: var(--ink); }
#tfh .tcard-author span { font-size: 13px; color: var(--muted); }
@media (max-width: 820px) { #tfh .testimonials { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 1024px) {
    #tfh.tfh-solutions .sol-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    #tfh.tfh-solutions .sol-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    #tfh.tfh-solutions .sol-feat-grid { grid-template-columns: 1fr; }
    #tfh.tfh-solutions .sol-proof-grid { grid-template-columns: repeat(2, 1fr); }
    #tfh.tfh-solutions .sol-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    #tfh.tfh-solutions .sol-proof-grid { grid-template-columns: repeat(2, 1fr); }
    #tfh.tfh-solutions .sol-related-grid { grid-template-columns: 1fr; }
    #tfh.tfh-solutions .hero-cta { flex-direction: column; }
}
