/* ============================================================
   SECAO: FERRAMENTAS EM DESTAQUE — ft-*
   Adicionar em stylesfront.css ou em arquivo separado
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500;600&display=swap');

.ft-section {
  position: relative;
  background: #0a0f1c;
  padding: 90px 0 80px;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

/* Fundos decorativos */
.ft-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .5;
}
.ft-bg-glow--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,.15), transparent 70%);
  top: -100px; left: -100px;
}
.ft-bg-glow--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.12), transparent 70%);
  bottom: -80px; right: -80px;
}
.ft-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.ft-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Cabecalho */
.ft-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.ft-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  color: #00d4ff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ft-tag-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00d4ff;
  animation: ftPulse 2s infinite;
}
@keyframes ftPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}
.ft-header-title {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.ft-header-highlight {
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ft-header-sub {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.7;
}

/* Card principal */
.ft-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: #111827;
  border-radius: 28px;
  padding: 52px 56px;
  border: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}
.ft-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #00d4ff 50%, #7c3aed 100%);
}

/* Badges */
.ft-card-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.ft-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ft-badge--new {
  background: rgba(16,185,129,.15);
  color: #10b981;
  border: 1px solid rgba(16,185,129,.25);
}
.ft-badge--cat {
  background: rgba(0,212,255,.1);
  color: #00d4ff;
  border: 1px solid rgba(0,212,255,.2);
}

/* Titulo */
.ft-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.ft-card-tagline {
  font-size: .9rem;
  color: #00d4ff;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.ft-card-desc {
  color: #9ca3af;
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Features */
.ft-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.ft-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
}
.ft-feat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
}
.ft-feat-icon--blue   { background: rgba(0,212,255,.1); color: #00d4ff; }
.ft-feat-icon--green  { background: rgba(16,185,129,.1); color: #10b981; }
.ft-feat-icon--purple { background: rgba(124,58,237,.12); color: #a78bfa; }
.ft-feat-icon--amber  { background: rgba(245,158,11,.1); color: #f59e0b; }
.ft-features li strong {
  display: block;
  color: #e5e7eb;
  font-weight: 600;
  line-height: 1.2;
}
.ft-features li span {
  color: #6b7280;
  font-size: .8rem;
}

/* Planos */
.ft-plans {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.ft-plan {
  flex: 1;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  position: relative;
  transition: all .2s;
}
.ft-plan:hover { border-color: rgba(0,212,255,.25); }
.ft-plan--featured {
  border-color: rgba(0,212,255,.3);
  background: rgba(0,212,255,.05);
}
.ft-plan-pop {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00d4ff, #0077b6);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .04em;
}
.ft-plan-name {
  display: block;
  font-size: .72rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
  margin-top: 6px;
}
.ft-plan-price {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.ft-plan-price small { font-size: .75rem; }
.ft-plan-hint {
  display: block;
  font-size: .68rem;
  color: #4b5563;
  margin-top: 4px;
}

/* Botoes */
.ft-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ft-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00d4ff 0%, #0077b6 50%, #023e8a 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: .9rem;
  transition: all .3s;
  box-shadow: 0 4px 20px rgba(0,212,255,.3);
}
.ft-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,212,255,.4);
  color: #fff;
}
.ft-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: transparent;
  color: #9ca3af;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: .9rem;
  border: 1.5px solid rgba(255,255,255,.12);
  transition: all .3s;
}
.ft-btn-secondary:hover {
  border-color: #00d4ff;
  color: #00d4ff;
}

/* Mockup */
.ft-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-mockup {
  background: #0d1117;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 64px rgba(0,0,0,.7);
  width: 100%;
  overflow: hidden;
}
.ft-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.ft-dot { width: 10px; height: 10px; border-radius: 50%; }
.ft-dot--r { background: #ef4444; }
.ft-dot--y { background: #f59e0b; }
.ft-dot--g { background: #10b981; }
.ft-mockup-url {
  font-size: .72rem;
  color: #4b5563;
  margin-left: 8px;
  font-family: monospace;
}

/* Stats do mockup */
.ft-mockup-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ft-mstat {
  padding: 12px 10px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.05);
}
.ft-mstat:last-child { border-right: none; }
.ft-mstat-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3px;
}
.ft-mstat-val--blue   { color: #00d4ff; }
.ft-mstat-val--red    { color: #ef4444; }
.ft-mstat-val--green  { color: #10b981; }
.ft-mstat-val--amber  { color: #f59e0b; }
.ft-mstat-lbl {
  font-size: .65rem;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Progresso */
.ft-mockup-progress-wrap {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ft-mockup-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: #6b7280;
  margin-bottom: 6px;
}
.ft-prog-pct { color: #00d4ff; font-weight: 700; }
.ft-mockup-progress-bar {
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: 99px;
  overflow: hidden;
}
.ft-mockup-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #00d4ff, #7c3aed);
  animation: ftProgress 3s ease-in-out infinite alternate;
}
@keyframes ftProgress {
  from { width: 60%; }
  to   { width: 88%; }
}

/* Rows */
.ft-mockup-rows {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ft-mrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: .75rem;
  animation: ftRowIn .4s ease both;
}
.ft-mrow:nth-child(1) { animation-delay: .1s; }
.ft-mrow:nth-child(2) { animation-delay: .2s; }
.ft-mrow:nth-child(3) { animation-delay: .3s; }
.ft-mrow:nth-child(4) { animation-delay: .4s; }
.ft-mrow:nth-child(5) { animation-delay: .5s; }
@keyframes ftRowIn {
  from { opacity:0; transform: translateX(8px); }
  to   { opacity:1; transform: none; }
}
.ft-mrow--ok   { background: rgba(16,185,129,.06);  border: 1px solid rgba(16,185,129,.12); }
.ft-mrow--err  { background: rgba(239,68,68,.07);   border: 1px solid rgba(239,68,68,.15); }
.ft-mrow--warn { background: rgba(245,158,11,.07);  border: 1px solid rgba(245,158,11,.12); }
.ft-msev {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.ft-msev--ok  { background: rgba(16,185,129,.2);  color: #10b981; }
.ft-msev--err { background: rgba(239,68,68,.2);   color: #ef4444; }
.ft-msev--warn{ background: rgba(245,158,11,.2);  color: #f59e0b; }
.ft-murl { flex:1; color: #6b7280; font-family: monospace; font-size: .72rem; }
.ft-mcode { font-size: .68rem; font-weight: 700; flex-shrink: 0; }
.ft-mcode--ok   { color: #10b981; }
.ft-mcode--err  { color: #ef4444; }
.ft-mcode--warn { color: #f59e0b; }

/* Score footer */
.ft-mockup-footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.ft-mockup-score {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  color: #6b7280;
}
.ft-score-bar {
  flex:1;
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: 99px;
  overflow: hidden;
}
.ft-score-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  border-radius: 99px;
}
.ft-score-val { color: #f59e0b; font-weight: 700; }

/* Floaters */
.ft-floater {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #1a1f2e;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 8px 13px;
  font-size: .75rem;
  font-weight: 600;
  color: #e5e7eb;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  white-space: nowrap;
  animation: ftFloat 3s ease-in-out infinite;
}
.ft-floater i { font-size: .85rem; }
.ft-floater--1 { top: -14px; right: -14px; animation-delay: 0s; }
.ft-floater--1 i { color: #10b981; }
.ft-floater--2 { bottom: 30px; left: -18px; animation-delay: 1s; }
.ft-floater--2 i { color: #a78bfa; }
.ft-floater--3 { top: 40%; right: -22px; animation-delay: 2s; }
.ft-floater--3 i { color: #f59e0b; }
@keyframes ftFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Rodape */
.ft-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 28px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px;
}
.ft-footer-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: #9ca3af;
}
.ft-footer-guarantee i { color: #10b981; font-size: 1rem; }
.ft-footer-guarantee a { color: #00d4ff; text-decoration: none; font-weight: 600; }
.ft-footer-guarantee a:hover { text-decoration: underline; }
.ft-footer-tagline {
  font-size: .78rem;
  color: #4b5563;
  font-weight: 500;
}

/* Responsivo */
@media (max-width: 1024px) {
  .ft-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 40px; }
  .ft-card-visual { order: -1; }
  .ft-floater { display: none; }
  .ft-header-title { font-size: 2rem; }
}
@media (max-width: 640px) {
  .ft-section { padding: 60px 0; }
  .ft-header-title { font-size: 1.65rem; }
  .ft-plans { flex-direction: column; }
  .ft-card-actions { flex-direction: column; }
  .ft-btn-primary, .ft-btn-secondary { justify-content: center; }
  .ft-mockup-stats { grid-template-columns: repeat(2,1fr); }
  .ft-footer { flex-direction: column; text-align: center; }
}
