@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #020a14;
  --panel: #061522;
  --line: #152a3d;
  --text: #edf1f6;
  --muted: #8997a7;
  --purple: #8b22ee;
  --violet: #ad45ff;
  --cyan: #20d9ff;
  --green: #91db55;
}

/* ===================== TOKENS ===================== */
:root {
  --bg: #060a16;
  --bg-alt: hsl(225, 56%, 7%);
  --surface: #0d1428;
  --surface-2: #111a33;
  --border: #1b2440;
  --border-soft: #161f38;
  --purple: #6f03ad;
  --purple-2: #9941fd;
  --purple-deep: #6f029b98;
  --cyan: #06c2db;
  --text: #f3f5fb;
  --text-dim: #a6adc4;
  --text-mute: #6b738f;
  --green: #02fa72;
  --font: "Cairo", "Tajawal", sans-serif;
  --neon-green: #00ff88;
  --neon-glow: rgba(0, 255, 136, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}
ul {
  list-style: none;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 30px;
}

.container-fluid {
  width: 100%;
  padding: 0 30px;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-size: 13px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg {
  flex-shrink: 0;
}
.btn--primary {
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-deep) 100%
  );
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.65);
  display: inline-flex;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(124, 92, 255, 0.8);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--purple-2);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--purple-2);
  background: rgba(124, 92, 255, 0.06);
}
.btn--lg {
  padding: 14px 26px;
  font-size: 15.5px;
}
.btn--block {
  width: 100%;
  margin-top: 18px;
}

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 22, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
  padding: 20px 30px;
  direction: ltr !important;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 200px;
}
.brand__logo {
  width: 48px;
  height: 48px;
  border: 2px solid #8d2bdf;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: grid;
  place-items: center;
  color: #f8f7f8;
  font-weight: 800;
  font-size: 17px;
  background: rgb(104, 3, 236);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
  direction: rtl !important;
}
.nav__link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.15s ease;
  position: relative;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.nav__link:hover {
  color: var(--text);
}
.nav__link--active {
  color: var(--text);
}
.nav__link--active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -27px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 4px;
}
.lang-switch .chev {
  opacity: 0.6;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  flex-shrink: 0;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons duplicated inside the mobile hamburger menu.
   Hidden everywhere by default; only revealed on small screens
   when the mobile nav is open (see the 860px media query). */
.nav__mobile-actions {
  display: none;
}
.nav__mobile-btn-wrap {
  display: block;
  width: 100%;
}

/* ---- جميع الصفحات mega menu ---- */
.nav__pages {
  position: relative;
}
.nav__pages-trigger {
  cursor: pointer;
}
.nav__pages-trigger .chev {
  transition: transform 0.2s ease;
}
.nav__pages.is-open .nav__pages-trigger .chev {
  transform: rotate(180deg);
}
.nav__pages.is-open .nav__pages-trigger {
  color: var(--text);
}
.mega {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  z-index: 60;
}
.nav__pages.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__col {
  display: flex;
  flex-direction: column;
}
.mega__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-2);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}
.mega__col a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 7px 0;
  transition: color 0.15s ease;
}
.mega__col a:hover {
  color: var(--cyan);
}

.page {
  padding: 22px 43px 38px;
  max-width: 1600px;
  margin: auto;
}
.breadcrumb-line {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #8f9cab;
  font-size: 10px;
  margin-bottom: 13px;
}
.breadcrumb-line i {
  font-size: 9px;
  color: #596676;
}
.breadcrumb-line strong {
  font-weight: 400;
  color: #d9dee4;
}

.breadcrumb-line a {
  text-decoration: none;
  color: #d9dee4;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 27px;
}
.intro {
  margin: 3px 0 23px;
}
.intro h1 {
  font-size: 29px;
  letter-spacing: -0.7px;
  margin: 0 0 5px;
}
.intro h2 {
  font-size: 16px;
  color: #a947ff;
  margin: 0 0 12px;
  font-weight: 500;
}
.intro p {
  color: #c4ccd5;
  margin: 0;
  line-height: 1.7;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(145deg, #071725, #03111c);
  box-shadow: 0 10px 30px #0003;
}
.message-panel {
  padding: 25px;
}
.panel-title {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 20px;
}
.title-icon,
.info-icon {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 19px;
}
.title-icon.purple,
.info-icon.purple {
  color: #b84eff;
  background: #2b0d51;
  border: 1px solid #48206b;
}
.panel-title h2 {
  font-size: 15px;
  margin: 0 0 2px;
}
.panel-title p {
  font-size: 10px;
  color: #a8b2bd;
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.message-panel label {
  display: block;
  color: #d9dee5;
  font-size: 10px;
  margin: 0 0 7px;
}
.input-wrap,
select,
textarea {
  width: 100%;
  border: 1px solid #1d3448;
  background: #03101b;
  color: #e7ebf0;
  border-radius: 5px;
  outline: 0;
}
.input-wrap {
  height: 38px;
  display: flex;
  align-items: center;
}
.input-wrap i {
  padding: 0 11px;
  color: #84909e;
}
.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: #fff;
  padding-right: 10px;
  font-size: 10px;
}
input::placeholder,
textarea::placeholder {
  color: #6e7b8a;
}
select {
  height: 38px;
  padding: 0 10px;
  font-size: 10px;
}
textarea {
  height: 98px;
  padding: 11px;
  resize: vertical;
  font-size: 10px;
}
.priority-options {
  display: flex;
  gap: 28px;
}
.priority-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #cbd2db;
}
.priority-options input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #385066;
  background: #04111c;
  position: relative;
}
.priority-options input:checked {
  border-color: #9630f0;
  background: #8222df;
}
.priority-options input:checked:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  left: 5px;
  top: 5px;
}
.form-bottom {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 0;
}
.send-btn {
  width: 201px;
  background-color: var(--purple-2);
  padding: 10px 20px;
  border-radius: 20px;
  color: var(--text);
}
.form-bottom span {
  color: #8f9aa8;
  font-size: 10px;
}
.form-bottom span i {
  margin-right: 6px;
}
.help-panel {
  min-height: 318px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  overflow: hidden;
}
.help-copy {
  padding: 27px 26px;
}
.help-copy h2 {
  font-size: 21px;
  margin: 0 0 7px;
}
.help-copy > p {
  color: #b5bec9;
  margin: 0;
  line-height: 1.65;
}
.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 28px;
}
.topic {
  border: 0;
  background: none;
  color: #e8edf2;
  padding: 0;
  text-align: center;
  min-width: 0;
}
.topic > i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 11px;
  border: 1px solid #293b50;
  background: #071523;
  font-size: 20px;
}
.purple-text {
  color: #b449ff;
}
.green-text {
  color: #9ae254;
}
.cyan-text {
  color: #24dfff;
}
.topic:nth-child(2) > i,
.topic:nth-child(5) > i {
  background: #0d251a;
  border-color: #274c31;
}
.topic:nth-child(3) > i {
  background: #06232d;
  border-color: #164d5b;
}
.topic b {
  display: block;
  font-size: 8px;
  line-height: 1.45;
}

.help-art {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 55%,
    #143b9e99 0,
    #081d50 25%,
    transparent 57%
  );
}
.headset {
  position: absolute;
  right: 45px;
  top: 18px;
  font-size: 105px;
  color: #722aff;
  transform: rotate(-7deg);
  filter: drop-shadow(0 0 15px #682cff);
}
.chat-glow {
  position: absolute;
  left: 25px;
  top: 130px;
  width: 78px;
  height: 52px;
  border: 2px solid #147bff;
  border-radius: 9px;
  background: #0732b5cc;
  color: #16c8ff;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 0 25px #075dff99;
}
.ring {
  position: absolute;
  width: 145px;
  height: 40px;
  left: 55px;
  bottom: 49px;
  border-radius: 50%;
  border: 2px solid #147bff;
  box-shadow: 0 0 25px 8px #096dff66;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 25px;
  margin-top: 20px;
}
.info-panel,
.faq-panel {
  padding: 26px 25px;
  min-height: 365px;
}
.info-panel h2,
.faq-panel h2 {
  font-size: 17px;
  margin: 0 0 19px;
}
.info-panel h2 {
  color: #9be45b;
}
.info-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 18px 0;
}
.info-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}
.info-icon.cyan {
  color: #25dbff;
  background: #062936;
  border: 1px solid #124f60;
}
.info-icon.green {
  color: #91e258;
  background: #132b1b;
  border: 1px solid #315b31;
}
.info-row b {
  font-weight: 500;
  color: #d9dfe6;
}
.info-row p {
  margin: 1px 0;
  color: #aab4c0;
}
.faq-list {
  border-top: 1px solid #172d40;
}
.faq {
  width: 100%;
  height: 43px;
  border: 0;
  border-bottom: 1px solid #172d40;
  background: #06131f;
  color: #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  text-align: left;
  font-size: 11px;
}
.faq-answer {
  display: none;
  padding: 10px 13px;
  color: #909eac;
  font-size: 10px;
  border-bottom: 1px solid #172d40;
}
.faq.open + .faq-answer {
  display: block;
}
.faq.open i {
  transform: rotate(180deg);
}
.all-faq {
  height: 38px;
  padding: 0 13px;
  margin-top: 14px;
  border: 1px solid #21374b;
  background: #06131f;
  color: #b8c1cc;
  border-radius: 5px;
}
.all-faq i {
  margin-left: 10px;
}
.footer {
  border-top: 2px solid #7720db;
  padding: 25px 43px 27px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 35px;
  background: #020a14;
}

.footer-brand p {
  grid-column: 2;
  color: #9ba6b3;
  font-size: 10px;
  line-height: 1.7;
  margin: 12px 0 0;
}
.footer h3 {
  font-size: 11px;
  margin: 1px 0 8px;
  font-weight: 500;
}
.footer a {
  display: block;
  color: #929eac;
  text-decoration: none;
  font-size: 10px;
  margin: 6px 0;
}
.purple-link {
  color: #ae4aff !important;
}
.socials > div {
  display: flex;
  gap: 13px;
}
.socials button {
  width: 39px;
  height: 39px;
  border: 1px solid #1b3044;
  background: #06111d;
  border-radius: 50%;
  color: #e0e6ec;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 100;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 11px 18px;
  border: 1px solid #8b2cdb;
  border-radius: 6px;
  background: #0b1b2b;
  color: #fff;
  transition: 0.25s;
  box-shadow: 0 10px 30px #0008;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1250px) {
  .topbar {
    padding: 0 18px;
    gap: 12px;
  }
  .brand {
    flex-basis: 175px;
  }
  .main-nav a {
    padding: 0 8px;
    font-size: 11px;
  }
  .header-search {
    width: 175px;
  }
  .header-actions {
    gap: 9px;
  }
  .page {
    padding-left: 28px;
    padding-right: 28px;
  }
  .contact-layout {
    grid-template-columns: 500px minmax(0, 1fr);
  }
  .help-panel {
    grid-template-columns: 1fr 220px;
  }
  .headset {
    right: 25px;
  }
  .footer {
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 1050px) {
  .header-search {
    display: none;
  }
  .main-nav a {
    padding: 0 6px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .help-panel {
    grid-template-columns: 1fr 260px;
  }
  .bottom-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}
@media (max-width: 800px) {
  .topbar {
    min-height: 68px;
    padding: 9px 15px;
    flex-wrap: wrap;
  }
  .brand {
    flex-basis: auto;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .language,
  .header-actions .signin {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .main-nav {
    display: none;
    order: 5;
    width: 100%;
    height: auto;
    flex-direction: column;
    background: #03101b;
    border: 1px solid #172c40;
    border-radius: 7px;
    margin-bottom: 3px;
    padding: 6px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
  }
  .main-nav a.active {
    background: #271041;
    color: #b74dff;
    border-left: 2px solid #9c32f1;
  }
  .page {
    padding: 17px 15px 30px;
  }
  .contact-layout {
    display: block;
  }
  .support-left {
    margin-bottom: 15px;
  }
  .help-panel {
    grid-template-columns: 1fr;
  }
  .help-art {
    display: none;
  }
  .topics {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .topic > i {
    width: 49px;
    height: 49px;
    font-size: 21px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .brandmark {
    width: 38px;
    height: 38px;
    font-size: 23px;
  }
  .brand strong {
    font-size: 15px;
  }
  .brand small {
    font-size: 9px;
  }
  .header-actions .primary {
    height: 37px;
    padding: 0 11px;
    font-size: 10px;
  }
  .hamburger {
    width: 38px;
    height: 38px;
  }
  .intro h1 {
    font-size: 25px;
  }
  .intro p {
    font-size: 11px;
  }
  .message-panel {
    padding: 18px 15px 21px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: 1;
  }
  .form-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .send-btn {
    width: 100%;
  }
  .topics {
    grid-template-columns: 1fr 1fr;
    gap: 16px 7px;
  }
  .topic:nth-child(5) {
    grid-column: 1/-1;
  }
  .desktop-only {
    display: none;
  }
  .help-copy {
    padding: 20px 15px;
  }
  .info-panel,
  .faq-panel {
    padding: 20px 15px;
  }
  .footer {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-brand p {
    grid-column: 2;
  }
}

/* =========================================================
   RESPONSIVE SYSTEM — CLEAN & SMOOTH
   Keeps the original DeciLens design
========================================================= */

/* ---------- Footer Logo ---------- */

.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #2a3550;
  background: #07111e;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1100px) {
  .header__inner {
    padding-left: 22px;
    padding-right: 22px;
    gap: 18px;
  }

  .brand {
    width: 150px;
  }

  .brand img {
    width: 150px !important;
  }

  .nav {
    gap: 18px;
  }

  .nav__link {
    font-size: 11.5px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .btn {
    padding: 9px 13px;
    font-size: 12px;
  }

  .page {
    padding-left: 25px;
    padding-right: 25px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 20px;
  }

  .help-panel {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  /* Header */

  .header__inner {
    height: 68px;
    padding: 12px 18px;
  }

  .brand {
    width: auto;
  }

  .brand img {
    width: 135px !important;
  }

  .header__actions {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  /* Desktop nav becomes mobile dropdown */

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 15px;
    right: 15px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 3px;

    padding: 10px;

    background: linear-gradient(
      145deg,
      rgba(8, 14, 28, 0.98),
      rgba(5, 10, 22, 0.98)
    );

    border: 1px solid rgba(92, 105, 139, 0.22);
    border-radius: 12px;

    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.45),
      0 0 25px rgba(91, 33, 182, 0.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;

    z-index: 100;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__link {
    width: 100%;
    min-height: 44px;

    display: flex;
    align-items: center;

    padding: 0 13px;

    border-radius: 8px;

    color: #8995ad;
    font-size: 12.5px;
    font-weight: 500;

    transition:
      color 0.2s ease,
      background 0.2s ease;
  }

  .nav__link:hover {
    color: #fff;
    background: rgba(124, 58, 237, 0.08);
  }

  /* Remove desktop active underline behavior on mobile */

  .nav__link--active::after {
    display: none;
  }

  /* Mobile buttons */

  .nav__mobile-actions {
    display: flex;
    flex-direction: column;

    margin-top: 7px;
    padding-top: 8px;

    border-top: 1px solid rgba(100, 115, 145, 0.14);
  }

  .nav__mobile-actions .lang-switch {
    width: 100%;
    min-height: 42px;

    justify-content: flex-start;

    padding: 0 13px;

    border-radius: 8px;

    color: #8995ad;
    font-size: 12px;
  }

  .nav__mobile-actions .lang-switch:hover {
    color: #fff;
    background: rgba(124, 58, 237, 0.08);
  }

  .nav__mobile-btn-wrap {
    width: 100%;
  }

  .nav__mobile-actions .btn--block {
    width: 100%;
    margin-top: 7px;
  }

  .nav__mobile-actions .btn {
    min-height: 42px;
    font-size: 12px;
  }

  /* Page */

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .support-left {
    margin-bottom: 20px;
  }

  .help-panel {
    grid-template-columns: 1fr 250px;
  }

  .bottom-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
  .header__inner {
    height: 64px;
    padding: 10px 15px;
  }

  .brand img {
    width: 120px !important;
  }

  .burger {
    padding: 5px;
  }

  .burger span {
    width: 21px;
    height: 2px;
  }

  .nav {
    left: 10px;
    right: 10px;
  }

  .page {
    padding: 17px 15px 28px;
  }

  .breadcrumb-line {
    font-size: 9px;
    gap: 8px;
  }

  .intro {
    margin-bottom: 19px;
  }

  .intro h1 {
    font-size: 24px;
    letter-spacing: -0.4px;
  }

  .intro h2 {
    font-size: 14px;
  }

  .intro p {
    font-size: 10.5px;
    line-height: 1.75;
  }

  .message-panel {
    padding: 19px 15px 21px;
  }

  .panel-title {
    gap: 10px;
  }

  .title-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 17px;
  }

  .panel-title h2 {
    font-size: 14px;
  }

  .panel-title p {
    font-size: 9px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-grid .full {
    grid-column: 1;
  }

  .message-panel label {
    font-size: 10px;
  }

  .input-wrap,
  select {
    height: 40px;
  }

  textarea {
    min-height: 105px;
  }

  .priority-options {
    gap: 18px;
    flex-wrap: wrap;
  }

  .form-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }

  .send-btn {
    width: 100%;
    min-height: 42px;
  }

  .form-bottom span {
    text-align: center;
    font-size: 9px;
  }

  /* Help */

  .help-panel {
    display: block;
    min-height: auto;
  }

  .help-art {
    display: none;
  }

  .help-copy {
    padding: 21px 15px 22px;
  }

  .help-copy h2 {
    font-size: 18px;
  }

  .help-copy > p {
    font-size: 10.5px;
  }

  .topics {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 8px;
    margin-top: 22px;
  }

  .topic {
    min-height: 75px;
  }

  .topic > i {
    width: 42px;
    height: 42px;
    font-size: 18px;
    margin-bottom: 8px;
  }

  .topic b {
    font-size: 8.5px;
    font-weight: 600;
  }

  .topic:nth-child(5) {
    grid-column: 1 / -1;
  }

  /* Bottom panels */

  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
  }

  .info-panel,
  .faq-panel {
    min-height: auto;
    padding: 21px 15px;
  }

  .info-panel h2,
  .faq-panel h2 {
    font-size: 15px;
  }

  .info-row {
    gap: 10px;
    margin: 16px 0;
  }

  .info-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 16px;
  }

  .info-row b {
    font-size: 11px;
  }

  .info-row p {
    font-size: 9.5px;
    line-height: 1.6;
  }

  .faq {
    min-height: 44px;
    height: auto;
    padding: 10px 11px;
    font-size: 10px;
    gap: 10px;
  }

  .faq i {
    flex-shrink: 0;
  }

  .faq-answer {
    font-size: 9.5px;
    line-height: 1.6;
  }

  .all-faq {
    width: 100%;
  }

  /* Footer */

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
    padding: 25px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer h3 {
    font-size: 10px;
  }

  .footer a {
    font-size: 9px;
  }

  .footer-brand strong {
    font-size: 13px;
  }

  .footer-brand small {
    font-size: 8px;
  }

  .footer-brand p {
    font-size: 9px;
    line-height: 1.65;
  }

  .socials {
    grid-column: 1 / -1;
  }

  .socials > div {
    gap: 9px;
  }

  .socials button {
    width: 35px;
    height: 35px;
  }
}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {
  .brand img {
    width: 105px !important;
  }

  .page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .intro h1 {
    font-size: 22px;
  }

  .topics {
    gap: 15px 5px;
  }

  .topic > i {
    width: 39px;
    height: 39px;
    font-size: 17px;
  }

  .topic b {
    font-size: 8px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .socials {
    grid-column: auto;
  }
}

/* =========================================================
   LARGE SCREENS
========================================================= */

@media (min-width: 1600px) {
  .page {
    max-width: 1700px;
  }

  .contact-layout {
    grid-template-columns: 590px minmax(0, 1fr);
    gap: 30px;
  }

  .nav {
    gap: 34px;
  }

  .nav__link {
    font-size: 13px;
  }
}

/* =========================================================
   TOUCH / ACCESSIBILITY
========================================================= */

@media (hover: none) {
  .btn:hover {
    transform: none;
  }

  .nav__link:hover {
    background: none;
    color: #8995ad;
  }
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #6f03ad;
  box-shadow: 0 0 0 2px rgba(111, 3, 173, 0.08);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(153, 65, 253, 0.65);
  outline-offset: 2px;
}
