
/* v7 — Homepage final visual refinement */

/* ---------- connected flow ---------- */
.v7-flow{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.v7-flow-line{
  position:absolute;
  left:12%;
  right:12%;
  top:44px;
  height:1px;
  background:linear-gradient(90deg,
    rgba(255,49,84,.12),
    rgba(255,49,84,.7),
    rgba(118,87,255,.65),
    rgba(255,49,84,.12));
  box-shadow:0 0 15px rgba(255,49,84,.2);
}
.v7-flow-step{
  position:relative;
  z-index:1;
  min-height:230px;
  padding:22px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,49,84,.08), transparent 32%),
    linear-gradient(180deg,rgba(15,21,37,.96),rgba(8,12,22,.98));
  box-shadow:0 16px 45px rgba(0,0,0,.26);
}
.v7-flow-step:nth-child(4){
  background:
    radial-gradient(circle at 50% 0%, rgba(118,87,255,.10), transparent 34%),
    linear-gradient(180deg,rgba(15,21,37,.96),rgba(8,12,22,.98));
}
.v7-step-icon{
  width:54px;height:54px;
  display:grid;place-items:center;
  border-radius:16px;
  margin:0 0 18px;
  font-size:16px;font-weight:900;
  color:#fff;
  border:1px solid rgba(255,49,84,.42);
  background:linear-gradient(145deg,rgba(255,49,84,.20),rgba(255,49,84,.05));
  box-shadow:0 0 20px rgba(255,49,84,.08);
}
.v7-flow-step small{
  color:#718097;
  letter-spacing:.15em;
}
.v7-flow-step h3{
  margin:7px 0 9px;
  font-size:20px;
}
.v7-flow-step p{
  margin:0;
  color:#a5b1c4;
  line-height:1.72;
  font-size:13px;
}
.v7-flow-step>span{
  position:absolute;
  left:22px;bottom:18px;
  font-size:10px;
  letter-spacing:.15em;
  color:#65738a;
}

/* ---------- premium advantage cards ---------- */
.v7-adv-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.v7-adv-card{
  position:relative;
  overflow:hidden;
  min-height:205px;
  padding:21px;
  border-radius:19px;
  border:1px solid rgba(255,255,255,.075);
  background:linear-gradient(180deg,#101729,#090d18);
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.v7-adv-card::after{
  content:"";
  position:absolute;
  width:140px;height:140px;
  right:-55px;top:-55px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,49,84,.10),transparent 70%);
}
.v7-adv-card.featured{
  border-color:rgba(255,49,84,.35);
  background:
    radial-gradient(circle at 88% 10%,rgba(255,49,84,.11),transparent 32%),
    linear-gradient(180deg,#12182b,#090d18);
}
.v7-adv-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 20px 58px rgba(0,0,0,.34),0 0 28px rgba(255,49,84,.05);
}
.v7-adv-icon{
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,49,84,.28);
  background:rgba(255,49,84,.09);
  margin-bottom:14px;
  font-size:20px;
}
.v7-adv-card small{color:#718097;letter-spacing:.16em}
.v7-adv-card h3{margin:7px 0 8px;font-size:18px}
.v7-adv-card p{margin:0;color:#9da9bc;line-height:1.7;font-size:12px}
.v7-adv-card b{
  position:absolute;
  left:21px;bottom:17px;
  font-size:9px;
  letter-spacing:.16em;
  color:#58677d;
}

@media(max-width:980px){
  .v7-flow{grid-template-columns:1fr}
  .v7-flow-line{display:none}
  .v7-adv-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .v7-adv-grid{grid-template-columns:1fr}
}

/* Mobile hero follows the secondary-page banner pattern: artwork behind copy. */
@media(max-width:720px){
  .home-v3 .v3-hero{padding:58px 0 62px}
  .home-v3 .v3-hero-grid{display:block!important;position:relative;isolation:isolate}
  .home-v3 .v3-hero-copy{position:relative;z-index:2;width:100%!important}
  .home-v3 .v3-hero-art{
    position:absolute!important;z-index:0;top:32px;right:-16px;
    width:82%!important;height:285px!important;min-height:0!important;
    aspect-ratio:auto!important;opacity:.38;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.3) 32%,#000 75%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.3) 32%,#000 75%);
    pointer-events:none;
  }
  .home-v3 .v3-hero-art img{object-fit:cover!important;object-position:center center!important}
  .home-v3 .v3-hero-copy h1{font-size:clamp(32px,8.6vw,42px)!important;line-height:1.15!important;letter-spacing:-.045em}
  .home-v3 .v3-hero-copy h2{font-size:clamp(19px,5.1vw,23px)!important;line-height:1.42!important}
  .home-v3 .v3-lead{position:relative;z-index:2}
}
@media(max-width:430px){
  .home-v3 .v3-hero-art{top:44px;right:-30px;width:91%!important;height:260px!important;opacity:.34}
}

/* Keep iOS Safari's top safe area dark, as on the secondary pages. */
:root{color-scheme:dark}
html{background:#070a12}

