/* Account Types V2 — page-specific layers on top of Homepage V2 */

.at-hero-sec{
  padding:28px 0;
}
.at-hero{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  min-height:440px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:56px 48px;
  direction:ltr;
  background:var(--bg);
}
.at-hero .bg-img{position:absolute;inset:0;z-index:0;}
.at-hero .bg-img img{
  width:100%;height:100%;object-fit:cover;object-position:left center;
  display:block;transform:scale(0.78);transform-origin:0% 50%;
}
.at-hero .bg-overlay{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(270deg, rgba(10,15,28,0.95) 0%, rgba(10,15,28,0.88) 32%, rgba(10,15,28,0.5) 56%, rgba(10,15,28,0.14) 78%, rgba(10,15,28,0.02) 100%);
}
.at-hero .txt{
  position:relative;
  z-index:2;
  max-width:520px;
  min-width:0;
  direction:ltr;
  text-align:left;
}
.at-hero-title{
  font-size:clamp(28px,4.5vw,52px);
  margin-bottom:16px;
  overflow-wrap:break-word;
}
.at-hero .hero-ctas{margin-top:28px;margin-bottom:0;}
.at-hero .btn-ghost{
  background:rgba(10,15,28,0.4);
}
[dir="rtl"] .at-hero .txt{
  direction:rtl;
  text-align:right;
}

#compare,
#islamic{
  scroll-margin-top:110px;
}
.at-hero .sec-desc{
  max-width:100%;
  overflow-wrap:break-word;
}
#compare{
  overflow-x:clip;
  background:rgba(13,20,36,0.5);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.at-compare-head{max-width:680px;}

.tier-tabs{
  display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:32px;
}
.tier-tab{
  font-family:'Inter',sans-serif;font-size:13.5px;font-weight:600;color:var(--text-mute);
  background:transparent;border:1px solid var(--border);border-radius:100px;
  padding:11px 24px;cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.tier-tab:hover{border-color:var(--border-strong);color:var(--text);}
.tier-tab.active{
  background:linear-gradient(135deg,var(--gold-2),var(--gold-deep));
  color:#0A0F1C;border-color:transparent;
}
.tab-panel[hidden]{display:none!important;}

.tier-icon-wrap{display:flex;justify-content:center;margin-bottom:6px;}
.tier-icon{display:block;}

#compare .tier-table th:nth-child(4),
#compare .tier-table td:nth-child(4){
  background:rgba(227,181,73,0.10);
  border-left:1px solid var(--border-strong);
  border-right:1px solid var(--border-strong);
}
#compare .tier-table .group-row td:nth-child(4),
#compare .tier-table .group-row td{
  background:#1a2438;
  border-left:none;
  border-right:none;
}
#compare .tier-table tbody tr:nth-child(odd):not(.group-row):not(.tier-cta-row) td:nth-child(4){
  background:rgba(227,181,73,0.13);
}
#compare .tier-table tbody tr:nth-child(even):not(.group-row):not(.tier-cta-row) td:nth-child(4){
  background:rgba(227,181,73,0.10);
}
#compare .tier-table thead th:nth-child(4){
  position:relative;
  padding-top:34px;
  background:rgba(227,181,73,0.12);
}
#compare .tier-table thead th:nth-child(4) .tier-name-cell{color:var(--gold);}
.tier-badge{
  position:absolute;top:8px;left:50%;transform:translateX(-50%);
  background:linear-gradient(135deg,var(--gold-2),var(--gold-deep));color:#0A0F1C;
  font-family:'Inter',sans-serif;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  padding:3px 10px;border-radius:100px;white-space:nowrap;
}
[dir="rtl"] #compare .tier-table th:nth-child(4),
[dir="rtl"] #compare .tier-table td:nth-child(4){
  border-left:1px solid var(--border-strong);
  border-right:1px solid var(--border-strong);
}

@media (hover:hover) and (pointer:fine){
  #compare .tier-table thead th:not(.row-label),
  #compare .tier-table tbody tr:not(.group-row) td:not(.row-label){
    transition:background .2s ease;
  }
  #compare .tier-table thead th:not(.row-label) .tier-name-cell{
    transition:color .2s ease;
  }
  #compare .tier-table:has(th:nth-child(2):hover,td:nth-child(2):hover) thead th:nth-child(2),
  #compare .tier-table:has(th:nth-child(3):hover,td:nth-child(3):hover) thead th:nth-child(3),
  #compare .tier-table:has(th:nth-child(4):hover,td:nth-child(4):hover) thead th:nth-child(4),
  #compare .tier-table:has(th:nth-child(5):hover,td:nth-child(5):hover) thead th:nth-child(5),
  #compare .tier-table:has(th:nth-child(6):hover,td:nth-child(6):hover) thead th:nth-child(6),
  #compare .tier-table:has(th:nth-child(7):hover,td:nth-child(7):hover) thead th:nth-child(7){
    background:rgba(227,181,73,0.16);
    box-shadow:inset 0 2px 0 0 var(--gold);
  }
  #compare .tier-table:has(th:nth-child(2):hover,td:nth-child(2):hover) thead th:nth-child(2) .tier-name-cell,
  #compare .tier-table:has(th:nth-child(3):hover,td:nth-child(3):hover) thead th:nth-child(3) .tier-name-cell,
  #compare .tier-table:has(th:nth-child(4):hover,td:nth-child(4):hover) thead th:nth-child(4) .tier-name-cell,
  #compare .tier-table:has(th:nth-child(5):hover,td:nth-child(5):hover) thead th:nth-child(5) .tier-name-cell,
  #compare .tier-table:has(th:nth-child(6):hover,td:nth-child(6):hover) thead th:nth-child(6) .tier-name-cell,
  #compare .tier-table:has(th:nth-child(7):hover,td:nth-child(7):hover) thead th:nth-child(7) .tier-name-cell{
    color:var(--gold-2);
  }
  #compare .tier-table:has(th:nth-child(2):hover,td:nth-child(2):hover) tbody tr:not(.group-row):not(.tier-cta-row) td:nth-child(2),
  #compare .tier-table:has(th:nth-child(3):hover,td:nth-child(3):hover) tbody tr:not(.group-row):not(.tier-cta-row) td:nth-child(3),
  #compare .tier-table:has(th:nth-child(4):hover,td:nth-child(4):hover) tbody tr:not(.group-row):not(.tier-cta-row) td:nth-child(4),
  #compare .tier-table:has(th:nth-child(5):hover,td:nth-child(5):hover) tbody tr:not(.group-row):not(.tier-cta-row) td:nth-child(5),
  #compare .tier-table:has(th:nth-child(6):hover,td:nth-child(6):hover) tbody tr:not(.group-row):not(.tier-cta-row) td:nth-child(6),
  #compare .tier-table:has(th:nth-child(7):hover,td:nth-child(7):hover) tbody tr:not(.group-row):not(.tier-cta-row) td:nth-child(7){
    background:rgba(227,181,73,0.10);
  }
}

.scard .ic.at-step-num{
  width:auto;
  height:auto;
  border-radius:0;
  background:transparent;
  justify-content:flex-start;
  font-family:'IBM Plex Mono',monospace;
  font-weight:600;
  color:var(--gold);
  font-size:15px;
}

@media(max-width:900px){
  .at-hero{
    min-height:480px;
    padding:40px 24px 28px;
    justify-content:flex-start;
    align-items:flex-end;
  }
  .at-hero .bg-img img{
    transform:none;
    object-fit:cover;
    /* Ultra-wide art: cards live on the left — keep them in frame above the copy */
    object-position:12% 18%;
  }
  .at-hero .bg-overlay{
    /* Darker sooner so copy sits on a solid wash; art still reads at the top */
    background:linear-gradient(
      180deg,
      rgba(10,15,28,0.18) 0%,
      rgba(10,15,28,0.42) 16%,
      rgba(10,15,28,0.82) 38%,
      rgba(10,15,28,0.96) 58%,
      rgba(10,15,28,0.99) 100%
    );
  }
  .at-hero .sec-eyebrow,
  .at-hero-title,
  .at-hero .sec-desc{
    text-shadow:0 2px 18px rgba(0,0,0,0.75),0 1px 4px rgba(0,0,0,0.55);
  }
  .at-hero .txt{max-width:100%;width:100%;}
  .at-hero .hero-ctas{flex-direction:column;align-items:stretch;}
  .at-hero .hero-ctas .btn,
  .at-hero .hero-ctas ngp-auth-signup{width:100%;}
  .tier-tabs{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-4px;margin-right:-4px;padding:0 4px 6px;}
  .tier-tabs::-webkit-scrollbar{display:none;}
  .tier-tab{flex:0 0 auto;padding:9px 16px;font-size:13px;}
  .tier-badge{font-size:9px;padding:2px 8px;}
}

@media(max-width:640px){
  .at-hero{padding:28px 18px 22px;min-height:460px;}
  .at-hero .bg-img img{
    object-position:8% 10%;
  }
  .at-hero-title{font-size:28px;line-height:1.15;}
  .at-compare-head.sec-head.center{
    text-align:center;
    max-width:680px !important;
    margin-left:auto;
    margin-right:auto;
  }
  [dir="rtl"] .at-compare-head.sec-head.center{text-align:center;}
}
