/* Section 01 — Hero */

.tfc-apt-hero{
  min-height:calc(100vh - 120px);
  display:flex;
  align-items:center;
  padding-top:72px;
  padding-bottom:72px;
}

.tfc-apt-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(rgba(21,107,255,.16) 1px, transparent 1px);
  background-size:18px 18px;
  opacity:.32;
  pointer-events:none;
}

.tfc-apt-hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.78fr);
  gap:34px;
  align-items:center;
}

.tfc-apt-hero-card{
  position:relative;
  border-radius:34px;
  padding:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(238,245,255,.72));
  border:1px solid rgba(220,232,247,.92);
  box-shadow:var(--tfc-shadow);
}

.tfc-apt-plan-preview{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  padding:26px;
  background:
    radial-gradient(circle at 25% 0%, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(145deg,#1d4ed8,#263cff 48%,#7c3aed);
  color:#fff;
}

.tfc-apt-plan-preview::after{
  content:"";
  position:absolute;
  inset:auto -40px -70px auto;
  width:180px;
  height:180px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
}

.tfc-apt-plan-preview-top{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:22px;
}

.tfc-apt-plan-preview-kicker{
  font-size:12px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  opacity:.82;
}

.tfc-apt-plan-preview h2{
  margin:6px 0 0;
  color:#fff;
  font-size:34px;
  line-height:.98;
  letter-spacing:-.055em;
}

.tfc-apt-live-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}

.tfc-apt-live-pill::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#22c55e;
  box-shadow:0 0 0 5px rgba(34,197,94,.16);
}

.tfc-apt-preview-list{
  display:grid;
  gap:12px;
  position:relative;
  z-index:1;
}

.tfc-apt-preview-item{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(8px);
}

.tfc-apt-preview-item span{
  font-size:13px;
  font-weight:850;
  opacity:.8;
}

.tfc-apt-preview-item strong{
  font-size:15px;
  font-weight:950;
  text-align:right;
}

.tfc-apt-hero-micro{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:14px;
}

.tfc-apt-micro-card{
  border-radius:18px;
  padding:14px;
  background:#fff;
  border:1px solid var(--tfc-border);
  box-shadow:0 12px 25px rgba(15,23,42,.045);
}

.tfc-apt-micro-card strong{
  display:block;
  color:var(--tfc-ink);
  font-size:13px;
  font-weight:950;
}

.tfc-apt-micro-card span{
  display:block;
  margin-top:3px;
  color:#667085;
  font-size:12px;
  font-weight:750;
  line-height:1.25;
}

@media (max-width: 980px){
  .tfc-apt-hero{ min-height:auto; }
  .tfc-apt-hero-grid{ grid-template-columns:1fr; }
}

@media (max-width: 640px){
  .tfc-apt-hero{
    padding-top:40px;
    padding-bottom:46px;
  }

  .tfc-apt-hero-card,
  .tfc-apt-plan-preview{
    border-radius:24px;
    padding:22px;
  }

  .tfc-apt-hero-micro{
    grid-template-columns:1fr;
  }

  .tfc-apt-plan-preview-top{
    flex-direction:column;
  }

  .tfc-apt-preview-item{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }

  .tfc-apt-preview-item strong{
    text-align:left;
  }
}


/* App image hero variant */
.tfc-apt-hero-card--image{
  padding:22px;
}

.tfc-apt-phone-showcase{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(21,107,255,.15), transparent 34%),
    linear-gradient(180deg,#ffffff,#eef5ff);
}

.tfc-apt-phone-showcase img{
  position:relative;
  z-index:1;
  display:block;
  width:min(92%,420px);
  max-height:520px;
  object-fit:contain;
  filter:drop-shadow(0 28px 44px rgba(15,23,42,.22));
}

.tfc-apt-floating-plan{
  position:absolute;
  z-index:2;
  left:22px;
  right:22px;
  bottom:22px;
  padding:18px;
  border-radius:24px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(220,232,247,.95);
  box-shadow:0 18px 46px rgba(15,23,42,.14);
  backdrop-filter:blur(14px);
}

.tfc-apt-floating-plan .tfc-apt-live-pill{
  background:#eef6ff;
  color:#155eef;
  margin-bottom:10px;
}

.tfc-apt-floating-plan h2{
  margin:0 0 12px;
  color:var(--tfc-ink);
  font-size:24px;
  line-height:1;
  letter-spacing:-.055em;
  font-weight:1000;
}

.tfc-apt-floating-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
  border-top:1px solid #e8eef8;
}

.tfc-apt-floating-row span{
  color:#667085;
  font-size:13px;
  font-weight:850;
}

.tfc-apt-floating-row strong{
  color:var(--tfc-ink);
  font-size:13px;
  font-weight:950;
  text-align:right;
}

@media (max-width: 640px){
  .tfc-apt-phone-showcase{
    min-height:430px;
    border-radius:22px;
  }

  .tfc-apt-phone-showcase img{
    width:min(94%,340px);
    max-height:430px;
  }

  .tfc-apt-floating-plan{
    left:12px;
    right:12px;
    bottom:12px;
    padding:14px;
    border-radius:20px;
  }

  .tfc-apt-floating-plan h2{
    font-size:21px;
  }

  .tfc-apt-floating-row{
    flex-direction:column;
    gap:2px;
  }

  .tfc-apt-floating-row strong{
    text-align:left;
  }
}
