/* =========================================================
   Legacy site-wide base. Other pages rely on these rules,
   keep them until those pages are tested without them.
   ========================================================= */
article, aside, details, figcaption, figure,
footer, footer_check_imei, header, hgroup, menu, nav, section { display: block; }
ul { list-style: none; }
body { margin: 0; max-width: 100vw !important; width: 100% !important; overflow-x: hidden !important; }
a { margin: 0; padding: 0; text-decoration: none; color: inherit; }
small { font-size: 80%; }
p { margin: 15px 0; }
input, textarea, select, button, .slick-slide, .slick-tarck, .slick-list { outline: none; }
input, textarea { border: none; background: transparent; }
button { border: none; background: transparent; border-radius: 0; cursor: pointer; }
img { -o-object-fit: cover; }
*::before, *::after { content: ""; position: absolute; background-position: center; background-repeat: no-repeat; background-size: cover; }
body { font-family: 'Lato', Arial, 'Helvetica Neue', Helvetica, sans-serif; }
* { box-sizing: border-box; }
input[type=email], input[type=text], textarea { width: 90%; height: 36px; background-color: #FFF; border: 1px solid #BFBFBF; color: #000; padding: 0 12px; display: block; }
* { margin: 0; padding: 0; }
.bg_1 { background: linear-gradient(180deg, #FFFFFF 0%, #F2F6FF 78.85%); }

/* Old header classes still used on other pages (My Account uses .iu-link) */
.iu-link { background: none; border: 0; font-size: 15px; color: #1e2a44; cursor: pointer; padding: 6px 8px; text-decoration: none; }
.iu-link:hover { color: #247cf3; }
@media (min-width: 901px) { .iu-link { font-size: 16px; } }
.iu-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; border: 0; font-size: 15px; line-height: 1; cursor: pointer; color: #fff; background: #6b4eff; }
.iu-btn:disabled { opacity: .6; cursor: not-allowed; }

/* =========================================================
   Header (variant 2). All rules are scoped to .iuh
   ========================================================= */
html { scroll-padding-top: 80px; }
.iuh, .iuh * { box-sizing: border-box; }
.iuh *::before, .iuh *::after { content: none; }
.iuh {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  box-shadow: 0 1px 0 #e3e9f6, 0 6px 20px rgba(102,121,220,.06);
  font-family: 'Lato', Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #16233F;
  -webkit-font-smoothing: antialiased; line-height: 1.3; text-align: left;
}
/* Glass layer lives on a pseudo element: backdrop-filter on .iuh itself would trap the fixed mobile panels */
.iuh::before {
  content: "" !important; position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .iuh::before { background: rgba(255,255,255,.98); } }
.iuh.is-scrolled { box-shadow: 0 1px 0 #e3e9f6, 0 10px 28px rgba(52,72,140,.10); }
.iuh a { text-decoration: none; color: inherit; }
.iuh ul { list-style: none; margin: 0; padding: 0; }
.iuh p { margin: 0; }
.iuh-top, .iuh-tab, .iuh-lang-btn, .iuh-acc-btn, .iuh-login, .iuh-back, .iuh-burger { font-family: inherit; line-height: inherit; color: inherit; background: none; border: 0; margin: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.iuh img { -o-object-fit: initial; object-fit: initial; }
.iuh :focus-visible { outline: 2px solid #6679DC; outline-offset: 2px; border-radius: 8px; }

.iuh-space { height: 70px; }
.iuh-bar { max-width: 1240px; height: 70px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 34px; }
.iuh-logo { flex: none; display: block; }
.iuh-logo img { display: block; height: 44px; width: auto; }

/* top menu */
.iuh-nav { flex: 1; height: 100%; display: flex; min-width: 0; }
.iuh-tabs, .iuh-mct, .iuh-dd-head, .iuh-menu .iuh-mlang { display: none; }
.iuh-menu { display: flex; gap: 26px; height: 100%; }
.iuh-mi { display: flex; }
.iuh-top { display: flex; align-items: center; gap: 5px; height: 70px; padding: 3px 0 0; border-bottom: 3px solid transparent !important; font-size: 16px; font-weight: 700; color: #475569; white-space: nowrap; transition: color .15s, border-color .15s; }
.iuh-top:hover { color: #16233F; border-bottom-color: #d6dcf5 !important; }
.iuh-top.is-cur, .iuh-top.is-on, .iuh-top[aria-current] { color: #4b5bd0; border-bottom-color: #6679DC !important; }
.iuh-chev { flex: none; opacity: .7; transition: transform .2s; }
.iuh-top[aria-expanded="true"] .iuh-chev { transform: rotate(180deg); }

/* mega menu */
.iuh-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #e3e9f6; box-shadow: 0 30px 50px rgba(52,72,140,.12); max-height: calc(100vh - 70px); overflow-y: auto; }
.iuh.is-open-mega .iuh-mega { display: block; }
.iuh-mega-in { max-width: 1240px; margin: 0 auto; padding: 24px 24px 26px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.iuh-gh { margin: 0 0 10px !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6679DC; }
.iuh-g-apple .iuh-gl { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
.iuh-gl a { display: block; padding: 7px 0; }
.iuh-gl b { display: block; font-size: 15px; font-weight: 700; color: #16233F; transition: color .15s; }
.iuh-gl small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; color: #94a3b8; }
.iuh-gl a:hover b, .iuh-gl a[aria-current] b { color: #4b5bd0; }
.iuh-g-android .iuh-gl { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
.iuh-g-paid { display: none; }
@media (min-width: 1024px) {
  .iuh[data-g="apple"] .iuh-g-android, .iuh[data-g="android"] .iuh-g-apple { display: none; }
}
.iuh-promo { align-self: start; padding: 18px; border-radius: 18px; background: linear-gradient(140deg, #eef1ff, #f7eeff); }
.iuh-promo-t { font-size: 17px; font-weight: 700; color: #16233F; }
.iuh-promo-p { margin: 6px 0 12px !important; font-size: 13.5px; line-height: 1.5; color: #64748b; }
.iuh-promo-b { display: inline-block; padding: 9px 14px; border-radius: 10px; background: #6B4EFF; color: #fff !important; font-size: 14px; font-weight: 700; }
.iuh-promo-b:hover { filter: brightness(1.08); }

/* language */
.iuh-lang { position: relative; flex: none; }
.iuh-lang-btn { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 10px; border-radius: 12px; font-size: 14.5px; font-weight: 700; color: #334155; }
.iuh-lang-btn:hover { background: #f4f6fd; }
.iuh-lang-btn img, .iuh-lang-dd img, .iuh-mlang img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }
.iuh-lang-c { display: none; }
.iuh.is-open-lang .iuh-lang-btn { background: #eef1ff; color: #4b5bd0; }
.iuh.is-open-lang .iuh-lang-btn .iuh-chev { transform: rotate(180deg); }

/* dropdowns */
.iuh-dd { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; background: #fff; border: 1px solid #e7ecf8; border-radius: 18px; box-shadow: 0 20px 50px rgba(52,72,140,.18); }
.iuh.is-open-lang .iuh-lang-dd, .iuh.is-open-acc .iuh-acc-dd, .iuh.is-open-acc .iuh-login-dd { display: block; }
.iuh-lang-dd { width: 240px; padding: 8px; max-height: calc(100vh - 90px); overflow-y: auto; }
.iuh-lang-dd a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 700; color: #334155; }
.iuh-lang-dd a:hover { background: #f4f6fd; }
.iuh-lang-dd a.is-cur { background: #eef1ff; color: #4b5bd0; }
.iuh-lang-dd a svg { margin-left: auto; }

/* account */
.iuh-acc { position: relative; flex: none; }
.iuh-acc-btn { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 5px 0 14px; border-radius: 99px; background: #fff !important; border: 1px solid #dfe6f5 !important; font-size: 15px; font-weight: 700; color: #16a34a !important; transition: border-color .15s, box-shadow .15s; }
.iuh-acc-btn:hover, .iuh.is-open-acc .iuh-acc-btn { border-color: #6679DC !important; box-shadow: 0 0 0 3px rgba(102,121,220,.15); }
.iuh-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #698DE4, #DB9FFF); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.iuh-av-lg { width: 44px; height: 44px; }
.iuh-login { height: 42px; padding: 0 22px !important; border-radius: 99px; background: #6B4EFF !important; color: #fff !important; font-size: 15.5px; font-weight: 700; transition: filter .15s; }
.iuh-login:hover { filter: brightness(1.08); }
.iuh-login-dd { width: 230px; padding: 8px; }
.iuh-login-dd a, .iuh-acc-links a { display: flex; align-items: center; justify-content: space-between; padding: 11px 10px; border-radius: 10px; font-size: 15px; font-weight: 700; color: #16233F; }
.iuh-login-dd a:hover, .iuh-acc-links a:hover { background: #f4f6fd; }
.iuh-login-dd span, .iuh-acc-links > a > span { color: #94a3b8; font-size: 18px; line-height: 1; }

.iuh-acc-dd { width: 330px; padding: 16px; }
.iuh-acc-top { display: flex; align-items: center; gap: 12px; }
.iuh-acc-top b { display: block; font-size: 16px; }
.iuh-acc-top small { display: block; margin-top: 2px; font-size: 12.5px; color: #94a3b8; }
.iuh-balbox { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 12px 12px 12px 14px; border-radius: 14px; background: #F2F6FF; }
.iuh-balbox small { display: block; font-size: 12px; font-weight: 700; color: #64748b; }
.iuh-balbox b { display: block; margin-top: 2px; font-size: 22px; font-weight: 900; color: #16a34a; }
.iuh-btn-p { flex: none; padding: 10px 14px; border-radius: 12px; background: #6B4EFF; color: #fff !important; font-size: 14px; font-weight: 700; }
.iuh-btn-p:hover { filter: brightness(1.08); }

.iuh-acc-who { min-width: 0; }
.iuh-plan-line { --iuh-plan: #6679DC; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; }
.iuh-plan { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border-radius: 99px; font-size: 13px; font-weight: 900; letter-spacing: .01em; line-height: 1.1; }
.iuh-plan i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.iuh-plan.is-free { background: #f1f4f9; color: #64748b; }
.iuh-plan.is-exp { background: #f1f4f9; color: #94a3b8; text-decoration: line-through; }
.iuh-plan.is-vip {
  position: relative; overflow: hidden; color: #fff; background-color: var(--iuh-plan);
  background-image: linear-gradient(135deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 55%, rgba(0,0,0,.12) 100%);
  box-shadow: 0 4px 14px -4px var(--iuh-plan), inset 0 1px 0 rgba(255,255,255,.35);
  text-shadow: 0 1px 1px rgba(0,0,0,.18);
}
.iuh-plan.is-vip::after { content: "" !important; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); transform: skewX(-20deg); animation: iuhShine 3.2s ease-in-out infinite; }
@keyframes iuhShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.iuh-av { position: relative; }
.iuh-crown { position: absolute; right: -4px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%; background: var(--iuh-plan, #d97706); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.iuh-crown svg { width: 10px; height: 10px; }
.iuh-av-lg .iuh-crown { width: 20px; height: 20px; right: -3px; bottom: -2px; }
.iuh-av-lg .iuh-crown svg { width: 12px; height: 12px; }
.iuh-acc-top.is-vip .iuh-av-lg { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--iuh-plan); }
.iuh-acc-btn.is-vip .iuh-av { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--iuh-plan); }
.iuh-acc-btn.is-vip:hover, .iuh.is-open-acc .iuh-acc-btn.is-vip { border-color: var(--iuh-plan) !important; }
.iuh-plan-exp { font-size: 12px; color: #94a3b8; }
.iuh-pill { padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; }
.iuh-pill-bad { background: #fee2e2; color: #b91c1c; }
.iuh-sub-cta { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; color: #94a3b8; }
.iuh-sub-cta.is-up { padding: 3px 10px; border-radius: 99px; background: #6B4EFF; color: #fff; }
.iuh-acc-links { margin-top: 10px; padding-top: 6px; border-top: 1px solid #eef2fb; }
.iuh-acc-links a.iuh-out { color: #e11d48; }

.iuh-burger { display: none; }
.iuh-dim { display: none; position: fixed; left: 0; right: 0; bottom: 0; top: 70px; z-index: 999; background: rgba(22,35,63,.18); }
html.iuh-dim-on .iuh-dim { display: block; }

/* compact desktop */
@media (min-width: 1024px) and (max-width: 1219px) {
  .iuh-bar { gap: 20px; }
  .iuh-menu { gap: 18px; }
  .iuh-top { font-size: 15px; }
  .iuh-lang-n { display: none; }
  .iuh-lang-c { display: inline; }
  .iuh-mega-in { grid-template-columns: 1fr 250px; gap: 28px; }
}

/* =========================================================
   Header — phone / tablet
   ========================================================= */
@media (max-width: 1023px) {
  .iuh-space { height: 62px; }
  .iuh-bar { height: 62px; padding: 0 12px 0 14px; gap: 8px; }
  .iuh-logo { margin-right: auto; }
  .iuh-logo img { height: 36px; }
  .iuh-lang { position: static; }
  .iuh-lang-btn { display: none; }

  .iuh-nav { display: none; position: fixed; left: 0; right: 0; top: 62px; bottom: 0; height: auto; flex-direction: column; padding: 14px 16px 28px; background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .iuh.is-open-nav .iuh-nav { display: flex; }

  .iuh-tabs { display: flex; order: 1; gap: 3px; padding: 4px; border-radius: 12px; background: #F2F6FF; }
  .iuh-tab { flex: 1; padding: 9px 0 !important; border-radius: 9px !important; font-size: 14px; font-weight: 700; color: #64748b !important; text-align: center; }
  .iuh-nav[data-tab="apple"] .iuh-tab[data-tab="apple"],
  .iuh-nav[data-tab="android"] .iuh-tab[data-tab="android"],
  .iuh-nav[data-tab="paid"] .iuh-tab[data-tab="paid"] { background: #fff !important; color: #16233F !important; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

  .iuh-mega { order: 2; display: block; position: static; max-height: none; overflow: visible; border: 0; box-shadow: none; background: none; }
  .iuh-mega-in { display: block; padding: 8px 0 0; }
  .iuh-g, .iuh-promo, .iuh-gh { display: none; }
  .iuh-nav[data-tab="apple"] .iuh-g-apple,
  .iuh-nav[data-tab="android"] .iuh-g-android,
  .iuh-nav[data-tab="paid"] .iuh-g-paid { display: block; }
  .iuh-g-apple .iuh-gl, .iuh-g-android .iuh-gl { display: block; }
  .iuh-gl a { position: relative; padding: 10px 26px 10px 4px; border-bottom: 1px solid #f1f4fb; }
  .iuh-gl a::after { content: "" !important; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid #b6c0d4; border-right: 2px solid #b6c0d4; transform: rotate(45deg); }
  .iuh-gl b { font-size: 15.5px; }
  .iuh-gl small, .iuh-g-android small { display: block; font-size: 12px; }

  .iuh-menu { order: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: auto; margin-top: 14px; }
  .iuh-has, .iuh-paid { display: none; }
  .iuh-menu .iuh-mlang { display: flex; }
  .iuh-mi .iuh-top { width: 100%; height: auto; min-height: 46px; justify-content: center; gap: 6px; padding: 10px 6px; border: 0 !important; border-radius: 14px; background: #F2F6FF; font-size: 13.5px; color: #16233F; white-space: normal; text-align: center; }
  .iuh-mi .iuh-top.is-cur, .iuh-mi .iuh-top[aria-current] { color: #4b5bd0; box-shadow: inset 0 0 0 2px #c9d2f5; }

  .iuh-mct { display: flex; order: 4; flex-direction: column; margin-top: 12px; }
  .iuh-ct { display: flex; align-items: center; gap: 10px; padding: 7px 2px; font-size: 15px; font-weight: 700; color: #16233F; }
  .iuh-ct small { display: block; font-size: 11.5px; font-weight: 700; color: #94a3b8; }

  .iuh-dd { position: fixed; top: 70px; left: 10px; right: 10px; width: auto; max-height: calc(100vh - 80px); overflow-y: auto; }
  .iuh-lang-dd { top: 62px; left: 0; right: 0; bottom: 0; max-height: none; padding: 14px 16px 28px; border: 0; border-radius: 0; box-shadow: none; }
  .iuh-dd-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 18px; font-weight: 700; }
  .iuh-back { width: 34px; height: 34px; border-radius: 10px !important; background: #F2F6FF !important; font-size: 22px !important; line-height: 1; }
  .iuh-lang-dd a { padding: 11px 10px; font-size: 16px; }

  .iuh-acc-btn { height: 40px; padding: 0 4px 0 10px; gap: 8px; font-size: 14px; }
  .iuh-acc-btn .iuh-av { width: 32px; height: 32px; }
  .iuh-login { height: 38px; padding: 0 16px !important; font-size: 15px; }
  .iuh-acc-dd { width: auto; }

  .iuh-burger { display: flex; align-items: center; justify-content: center; position: relative; width: 42px; height: 40px; border-radius: 12px !important; background: #16233F !important; flex: none; }
  .iuh-burger span, .iuh-burger span::before, .iuh-burger span::after { content: "" !important; position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: #fff; transition: transform .2s, background .2s; }
  .iuh-burger span { top: 50%; margin-top: -1px; }
  .iuh-burger span::before { top: -6px; margin-left: 0; left: 0; }
  .iuh-burger span::after { top: 6px; margin-left: 0; left: 0; }
  .iuh.is-open-nav .iuh-burger span, .iuh.is-open-lang .iuh-burger span { background: transparent; }
  .iuh.is-open-nav .iuh-burger span::before, .iuh.is-open-lang .iuh-burger span::before { transform: translateY(6px) rotate(45deg); }
  .iuh.is-open-nav .iuh-burger span::after, .iuh.is-open-lang .iuh-burger span::after { transform: translateY(-6px) rotate(-45deg); }

  .iuh-dim { top: 62px; background: rgba(22,35,63,.35); }
  html.iuh-lock, html.iuh-lock body { overflow: hidden !important; }
  html.iuh-lock #ilc-contact .ilc-fab, html.iuh-dim-on #ilc-contact .ilc-fab { display: none; }
}
@media (max-width: 360px) {
  .iuh-logo img { height: 32px; }
  .iuh-acc-btn .iuh-bal { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .iuh * { transition: none !important; } .iuh-plan.is-vip::after { animation: none; display: none; } }
