/* Shared layout for product feature pages (portfolio website, rate benchmark) */
.ft-wrap{max-width:1120px;margin:0 auto;padding:0 1.5rem}
.ft-hero{position:relative;padding:8.5rem 5vw 3rem;overflow:clip}
.ft-hero .ft-wrap{position:relative;z-index:1}
.ft-hero-head{text-align:center;max-width:780px;margin:0 auto}
.ft-hero-head h1{font-size:clamp(2.4rem,5vw,3.8rem);margin-bottom:1rem}
.ft-hero-sub{color:var(--muted);font-size:1.08rem;line-height:1.7;max-width:640px;margin:0 auto 1.8rem}
.ft-hero-ctas{display:flex;gap:1.2rem;justify-content:center;align-items:center;flex-wrap:wrap;margin-bottom:1.6rem}
.ft-trust{display:flex;gap:1.4rem;justify-content:center;flex-wrap:wrap;font-size:.85rem;color:var(--muted)}
.ft-trust b{color:var(--white);font-weight:600}

/* App window used for illustrative previews */
.ft-app{margin:3rem auto 0;max-width:980px;background:var(--bg);border:1px solid var(--border);border-radius:22px;box-shadow:0 40px 100px rgba(124,58,237,.14);overflow:hidden;text-align:left}
.ft-app-bar{display:flex;align-items:center;gap:.45rem;padding:.8rem 1.1rem;border-bottom:1px solid var(--border);background:var(--bg2)}
.ft-app-bar i{width:10px;height:10px;border-radius:50%;background:var(--border)}
.ft-app-bar span{margin-left:.6rem;font-size:.78rem;color:var(--muted)}
.ft-app-body{padding:1.6rem 1.6rem 1.8rem}
.ft-note{font-size:.76rem;color:var(--muted);margin-top:1rem;text-align:center}
.ft-ph{display:block;border-radius:6px;background:var(--bg3)}
.ft-live{display:inline-flex;align-items:center;gap:.35rem;font-size:.72rem;font-weight:600;color:#15803d}
.ft-live::before{content:"";width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.18)}

/* Cards, steps, related */
.ft-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.ft-card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:1.6rem}
.ft-card-ic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--purple),var(--pink));margin-bottom:1rem}
.ft-card-ic svg{width:21px;height:21px}
.ft-card h3{font-family:'Instrument Serif','Instrument Serif Placeholder',serif;font-weight:400;font-size:1.35rem;margin:0 0 .45rem;color:var(--white)}
.ft-card p{font-size:.9rem;color:var(--muted);line-height:1.65;margin:0}
.ft-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;counter-reset:s;margin-top:2.5rem}
.ft-step{position:relative;padding:1.6rem;border-radius:18px;border:1px solid var(--border);background:var(--bg)}
.ft-step::before{counter-increment:s;content:counter(s);display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:rgba(124,58,237,.12);color:var(--purple);font-weight:700;margin-bottom:.9rem}
.ft-step h3{font-size:1.05rem;margin:0 0 .4rem;color:var(--white)}
.ft-step p{font-size:.9rem;color:var(--muted);line-height:1.6;margin:0}
.ft-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--border);border-radius:16px;overflow:hidden;font-size:.92rem;margin-top:2rem}
.ft-table th,.ft-table td{padding:.9rem 1.1rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}
.ft-table thead th{background:rgba(139,92,246,.1);color:var(--white);font-weight:600}
.ft-table tbody tr:last-child td{border-bottom:none}
.ft-table td{color:var(--muted)}
.ft-table td:first-child{color:var(--white);font-weight:600}
.ft-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:2rem}
.ft-plan{border:1px solid var(--border);border-radius:18px;padding:1.5rem;background:var(--bg)}
.ft-plan.hl{border-color:rgba(124,58,237,.45);box-shadow:0 20px 50px rgba(124,58,237,.12)}
.ft-plan h3{font-size:1.05rem;margin:0 0 .3rem;color:var(--white)}
.ft-plan .price{font-family:'Instrument Serif','Instrument Serif Placeholder',serif;font-size:1.8rem;color:var(--white);margin-bottom:.6rem}
.ft-plan p{font-size:.88rem;color:var(--muted);line-height:1.6;margin:0}
.ft-link-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:2rem}
.ft-link-card{display:block;text-decoration:none;background:var(--card);border:1px solid var(--border);border-radius:18px;padding:1.4rem;transition:border-color .2s,transform .2s}
.ft-link-card:hover{border-color:rgba(124,58,237,.4);transform:translateY(-2px)}
.ft-link-tag{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--purple-lt);margin-bottom:.7rem}
.ft-link-card h4{font-family:'Instrument Serif','Instrument Serif Placeholder',serif;font-weight:400;font-size:1.25rem;color:var(--white);margin:0 0 .5rem;line-height:1.3}
.ft-link-card p{font-size:.85rem;color:var(--muted);margin:0;line-height:1.55}

/* Portfolio preview */
.pf-cover{height:110px;border-radius:14px;background:linear-gradient(135deg,rgba(124,58,237,.35),rgba(192,38,211,.25))}
.pf-head{display:flex;align-items:flex-end;gap:1rem;margin:-38px 0 1.2rem 1.2rem}
.pf-avatar{width:84px;height:84px;border-radius:50%;border:4px solid var(--bg);background:linear-gradient(135deg,var(--purple),var(--pink))}
.pf-id{padding-bottom:.4rem}
.pf-tags{display:flex;gap:.4rem;margin-top:.5rem;flex-wrap:wrap}
.pf-tag{font-size:.72rem;padding:.2rem .6rem;border-radius:100px;background:var(--card);border:1px solid var(--border);color:var(--white)}
.pf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin-bottom:1.2rem}
.pf-stat{border:1px solid var(--border);border-radius:12px;padding:.8rem 1rem}
.pf-stat small{display:block;font-size:.72rem;color:var(--muted);margin-bottom:.45rem}
.pf-section{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600;margin:0 0 .6rem}
.pf-content{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin-bottom:1.2rem}
.pf-content i{aspect-ratio:4/5;border-radius:10px;background:linear-gradient(160deg,rgba(124,58,237,.28),rgba(232,121,249,.18))}
.pf-brands{display:flex;gap:.6rem;align-items:center;justify-content:space-between;flex-wrap:wrap}
.pf-brands .row{display:flex;gap:.5rem}
.pf-brands .row i{width:74px;height:30px;border-radius:8px;background:var(--bg3)}
.pf-btn{border-radius:100px;padding:.55rem 1.2rem;font-size:.8rem;font-weight:600;color:#fff;background:linear-gradient(135deg,var(--purple),var(--pink))}

/* Rate benchmark preview */
.rb-top{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap;margin-bottom:1.4rem}
.rb-title{font-family:'Instrument Serif','Instrument Serif Placeholder',serif;font-size:1.5rem;color:var(--white)}
.rb-sub{font-size:.82rem;color:var(--muted);margin-top:.2rem}
.rb-chip{font-size:.75rem;padding:.3rem .75rem;border-radius:100px;background:var(--card);border:1px solid var(--border);color:var(--white)}
.rb-row{display:grid;grid-template-columns:130px 1fr 110px;gap:1rem;align-items:center;padding:.85rem 0;border-top:1px solid var(--border)}
.rb-row b{font-size:.88rem;color:var(--white);font-weight:600}
.rb-track{position:relative;height:10px;border-radius:10px;background:var(--bg3)}
.rb-range{position:absolute;top:0;bottom:0;border-radius:10px;background:linear-gradient(90deg,rgba(124,58,237,.35),rgba(192,38,211,.45))}
.rb-you{position:absolute;top:50%;width:18px;height:18px;border-radius:50%;background:#fff;border:4px solid var(--purple);transform:translate(-50%,-50%);box-shadow:0 4px 12px rgba(124,58,237,.35)}
.rb-verdict{font-size:.76rem;font-weight:600;text-align:right}
.rb-verdict.low{color:#b45309}.rb-verdict.ok{color:#15803d}.rb-verdict.hi{color:var(--purple)}
.rb-legend{display:flex;gap:1.2rem;flex-wrap:wrap;font-size:.76rem;color:var(--muted);margin-top:1rem}
.rb-legend span{display:inline-flex;align-items:center;gap:.4rem}
.rb-legend i{width:14px;height:8px;border-radius:4px;background:linear-gradient(90deg,rgba(124,58,237,.35),rgba(192,38,211,.45))}
.rb-legend i.dot{width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--purple)}

@media (max-width:900px){
  .ft-grid,.ft-steps,.ft-link-grid,.ft-plans{grid-template-columns:1fr}
  .pf-content{grid-template-columns:repeat(2,1fr)}
  .pf-stats{grid-template-columns:1fr 1fr}
  .rb-row{grid-template-columns:90px 1fr;}
  .rb-verdict{grid-column:2;text-align:left}
  .ft-table{display:block;overflow-x:auto;white-space:nowrap}
}
