/* =========================================================
   Rabitəbank VİP — landing page
   ========================================================= */

/* Nexa is a licensed font. Put the files in /fonts and uncomment:
@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
*/

:root {
  --bg: #050607;
  --text: #ECEEF0;
  --muted: #9AA1A8;
  --muted-2: #AEB4BA;
  --line: #1E2226;
  --line-2: #3A3F44;
  --card: rgba(12, 14, 16, 0.85);
  --silver: linear-gradient(135deg, #FFFFFF 0%, #D5DAE0 28%, #8A9097 55%, #EEF1F4 78%, #A3A9AF 100%);
  --font: "Nexa", "Montserrat", system-ui, sans-serif;
  --radius: 14px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
a { color: #E6E9EC; }
a:hover { color: #FFFFFF; }
img { max-width: 100%; }

.page { position: relative; overflow: clip; min-height: 100vh; }
.container { max-width: var(--max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.svg-defs { position: absolute; width: 0; height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.silver-text {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--silver { background: var(--silver); color: #0A0C0E; box-shadow: 0 0 28px rgba(230,233,236,.26); }
.btn--silver:hover { color: #0A0C0E; box-shadow: 0 0 38px rgba(230,233,236,.4); }
.btn--outline { border: 1px solid #8A9097; color: var(--text); font-weight: 500; }
.btn--sm { min-height: 44px; padding: 0 24px; font-size: 14px; }

/* ---------- animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float { animation: float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- background globes ---------- */
.bg-globe { position: absolute; pointer-events: none; }
.bg-globe--1 { right: -210px; top: 820px; width: 440px; opacity: .55; }
.bg-globe--2 { left: -240px; top: 2550px; width: 420px; opacity: .35; }

/* ---------- header ---------- */
.header { position: relative; z-index: 2; border-bottom: 1px solid #15181B; background: rgba(5,6,7,.7); }
.header__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--text); font-size: 26px; }
.brand__name { font-weight: 600; letter-spacing: .01em; }
.brand__vip { font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 30px; font-size: 14px; }
.nav a { color: var(--muted-2); text-decoration: none; }
.nav a:hover, .nav a.is-active { color: #FFFFFF; }
.nav a.is-active { font-weight: 600; }

/* ---------- sticky application bar ---------- */
.apply {
  position: sticky; top: 0; z-index: 20;
  padding: 12px 32px;
  background: rgba(5,6,7,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid #15181B;
}
.apply__box {
  position: relative; overflow: hidden;
  max-width: var(--max); margin: 0 auto;
  border: 1px solid var(--line-2); border-radius: 16px;
  background: linear-gradient(135deg, #111417 0%, #0A0C0E 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 40px rgba(0,0,0,.5);
  padding: 16px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
}
.apply__logo {
  position: absolute; right: -20px; top: -70px; width: 200px; opacity: .22;
  transform: perspective(900px) rotateY(-22deg) rotateZ(-6deg); overflow: visible; pointer-events: none;
}
.apply__text { flex: 1 1 260px; position: relative; display: flex; flex-direction: column; gap: 2px; }
.apply__title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.25; }
.apply__sub { margin: 0; color: var(--muted); font-size: 13px; }
.apply__sub a { font-weight: 600; text-decoration: none; }
.apply__form { flex: 2 1 520px; position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.input {
  flex: 1 1 180px; min-height: 48px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #07090A; color: var(--text);
  padding: 0 20px; font-family: inherit; font-size: 15px; outline: none;
  transition: border-color .2s ease;
}
.input:focus { border-color: #C9CED3; }
.input.is-invalid { border-color: #E5484D; }
.apply__form .btn { flex: 0 0 auto; min-height: 48px; padding: 0 26px; }
.apply__msg { flex: 1 1 100%; margin: 0; font-size: 13px; min-height: 0; }
.apply__msg:empty { display: none; }
.apply__msg.is-ok { color: #B8F0CF; }
.apply__msg.is-error { color: #FF9B9E; }

/* ---------- hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 72px; padding-bottom: 96px; }
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2; }
.hero__title { margin: 0; font-size: clamp(46px, 5.6vw, 74px); font-weight: 600; line-height: 1.08; letter-spacing: .005em; }
.hero__lead { margin: 0; max-width: 440px; color: var(--muted-2); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { flex: 1 1 480px; min-width: 0; display: flex; justify-content: center; }
.stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; }
.stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__logo { position: absolute; left: 22%; top: 6%; width: 56%; }
.stage__logo svg { width: 100%; display: block; overflow: visible; transform: perspective(1000px) rotateY(-20deg) rotateX(6deg); }

/* ---------- section heads ---------- */
.section { position: relative; padding-top: 72px; padding-bottom: 96px; }
.section__title { margin: 0; font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; line-height: 1.1; text-align: center; }
.section__lead { margin: 14px 0 36px; color: var(--muted); text-align: center; }

/* ---------- privileges ---------- */
.priv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.priv {
  border-radius: var(--radius); padding: 26px 24px; min-height: 200px;
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--line); background: var(--card);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease;
}
.priv:hover, .priv:focus-within {
  border-color: #8A9097;
  background: linear-gradient(180deg, #16191C 0%, #0B0D0F 100%);
  box-shadow: 0 0 34px rgba(230,233,236,.12), inset 0 1px 0 rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.priv__icon {
  width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid #6F767D; background: #0C0E10; color: #F2F4F6;
  box-shadow: 0 0 18px rgba(230,233,236,.18), inset 0 1px 0 rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
}
.priv__title { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.priv__text { margin: 0; font-size: 14px; color: var(--muted); }
.priv__link { font-size: 14px; text-decoration: none; color: #DDE2E7; }

/* ---------- gift (Visa Infinite) ---------- */
.gift {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 20px;
  background: linear-gradient(135deg, #121518 0%, #08090A 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  padding: 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px;
  scroll-margin-top: 140px;
}
.gift__visual { flex: 1 1 380px; min-width: 0; position: relative; display: flex; justify-content: center; }
.gift__ring { position: absolute; left: 0; bottom: -10px; width: 100%; opacity: .8; }
.gift__card { position: relative; width: 100%; max-width: 250px; margin-bottom: 30px; }
.gift__card img {
  display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid #5A6066;
  box-shadow: 0 40px 60px rgba(0,0,0,.7), 0 0 50px rgba(230,233,236,.14);
}
.gift__body { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.badge {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #0A0C0E; background: var(--silver); border-radius: 999px; padding: 5px 14px;
}
.gift__title { margin: 0; font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1.1; }
.gift__lead { margin: 0; color: var(--muted); max-width: 560px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.stat { border: 1px solid #2A2F34; border-radius: 12px; padding: 14px 16px; background: rgba(12,14,16,.7); }
.stat__value { font-size: 28px; font-weight: 500; }
.stat__label { font-size: 13px; color: var(--muted); }
.checks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; font-size: 14px; color: #C9CED3; }
.checks li, .feat { display: flex; gap: 10px; }
.check-icon { flex: none; margin-top: 2px; }
.gift__body .btn { align-self: flex-start; margin-top: 6px; min-height: 46px; font-size: 14px; }

/* ---------- packages ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: center; }
.pkg {
  position: relative; overflow: hidden; cursor: pointer;
  font-family: inherit; color: var(--text); text-align: left;
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid #22262A; background: var(--card);
  transition: border-color .25s ease, box-shadow .25s ease, padding .25s ease;
}
.pkg:hover { border-color: #5A6066; }
.pkg.is-selected {
  border-color: #C9CED3;
  background: linear-gradient(180deg, #16191C 0%, #0B0D0F 100%);
  box-shadow: 0 0 40px rgba(230,233,236,.14), inset 0 1px 0 rgba(255,255,255,.18);
  padding-top: 40px; padding-bottom: 40px;
}
.pkg__ribbon {
  position: absolute; top: 22px; right: -40px; width: 160px; transform: rotate(40deg);
  background: var(--silver); color: #0A0C0E; font-size: 12px; font-weight: 700; text-align: center; padding: 5px 0;
}
.pkg__name { font-size: 14px; font-weight: 600; color: #DDE2E7; }
.pkg__price { font-size: 40px; font-weight: 500; line-height: 1.1; }
.pkg__term { font-size: 14px; color: var(--muted); font-weight: 400; }
.pkg__per { font-size: 13px; color: var(--muted); min-height: 20px; }
.pkg__inc { font-size: 13px; font-weight: 600; margin-top: 10px; }
.pkg__feats { display: flex; flex-direction: column; gap: 8px; }
.feat { font-size: 13px; color: #C9CED3; }
.pkg__btn {
  margin-top: 14px; display: flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid #6F767D; color: var(--text);
}
.pkg.is-selected .pkg__btn { border: 0; background: var(--silver); color: #0A0C0E; }

.compare { width: 100%; overflow-x: auto; margin-top: 40px; border: 1px solid #22262A; border-radius: var(--radius); background: rgba(12,14,16,.8); }
.compare table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 13px 20px; }
.compare thead th { padding-top: 16px; padding-bottom: 16px; font-weight: 500; font-size: 16px; }
.compare thead th:first-child { color: var(--muted); font-size: 14px; }
.compare tbody th { font-weight: 400; color: #C9CED3; border-top: 1px solid #191C1F; }
.compare tbody td { border-top: 1px solid #191C1F; color: var(--muted); }
.compare .is-selected { background: rgba(230,233,236,.07); color: #FFFFFF; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; padding: 32px 32px 96px; display: flex; flex-direction: column; gap: 28px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid #22262A; border-radius: 12px; background: rgba(12,14,16,.8); padding: 0 22px; }
.faq__q {
  width: 100%; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; color: var(--text); font-family: inherit; font-weight: 600; font-size: 16px;
  text-align: left; cursor: pointer; padding: 16px 0;
}
.faq__sign {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #6F767D; color: #F2F4F6;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.faq__a { margin: 0; padding: 0 0 20px; color: var(--muted); font-size: 15px; }
.faq__a[hidden] { display: none; }

/* ---------- footer ---------- */
.footer { position: relative; border-top: 1px solid #15181B; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 30px; padding-bottom: 30px; font-size: 13px; color: #8E959C; }
.footer a { text-decoration: none; }

/* anchors land below the sticky bar */
section[id] { scroll-margin-top: 120px; }

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .container { padding-left: 16px; padding-right: 16px; }
  /* on phones the full form is too tall to stay pinned */
  .apply { position: relative; padding: 8px 12px; }
  .apply__box { padding: 14px 16px; }
  .apply__form { flex-basis: 100%; }
  .apply__form .btn { flex: 1 1 100%; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .gift { padding: 28px 20px; }
  .section { padding-top: 48px; padding-bottom: 64px; }
  .faq { padding-left: 16px; padding-right: 16px; }
}
