:root {
  --bg: #050608;
  --bg-alt: radial-gradient(1200px 600px at 10% -10%, rgba(14, 165, 255, .18), transparent),
    radial-gradient(900px 500px at 90% -30%, rgba(34, 211, 238, .18), transparent),
    #050608;
  --elev: rgba(12, 12, 16, 0.92);
  --line: #222633;
  --text: #f4f4f6;
  --muted: #a3a8b6;
  --brand1: #0ea5ff;
  --brand2: #22d3ee;
  --ok: #22c55e;
  --danger: #ef4444;
  --shadow: 0 18px 45px rgba(0, 0, 0, .55);
  --radius: 18px;
  --pad: 20px;
  --max: 1120px;
  --focus: 0 0 0 3px rgba(14, 165, 255, .55);
  --nav-bg: rgba(3, 5, 16, .88);
  --glass-border: 1px solid rgba(148, 163, 184, .45);
}

/* وضع النهار */
@media (prefers-color-scheme: light) {
  .pill {
    background: #ffffff !important;
    color: #4b5563 !important;
    border-color: #d0d4dd !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06) !important;
  }

  .pill:hover {
    background: #f3f4f8 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10) !important;
  }

  :root {
    --bg: #f7f8fa;
    --bg-alt:
      radial-gradient(900px 500px at 0% -20%, rgba(14, 165, 255, .16), transparent),
      radial-gradient(900px 500px at 100% -40%, rgba(34, 211, 238, .16), transparent),
      #f7f8fa;
    --elev: rgba(255, 255, 255, 0.98);
    --line: #d8dbe1;
    --text: #050608;
    --muted: #535a67;
    --nav-bg: rgba(255, 255, 255, .9);
    --glass-border: 1px solid rgba(148, 163, 184, .35);
    --shadow: 0 12px 28px rgba(15, 23, 42, .12);
  }

  body {
    color-scheme: light;
  }

  .section--alt {
    background: linear-gradient(180deg, #f7f8fa, #edf1f9) !important;
  }

  .nav__menu a:hover {
    background: rgba(15, 23, 42, .04) !important;
    border-color: var(--line) !important;
  }

  .btn--ghost {
    background: #ffffff !important;
    border-color: #d0d4dd !important;
    color: #050608 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08) !important;
  }

  .btn--ghost:hover {
    background: #f3f4f8 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12) !important;
  }

  .badge {
    background:
      radial-gradient(circle at 0 0, rgba(148, 163, 184, .16), transparent 55%),
      #ffffff !important;
    color: var(--muted) !important;
    border-color: #d0d4dd !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08) !important;
  }

  .badge::before {
    box-shadow: 0 0 6px rgba(56, 189, 248, .7) !important;
  }

  .metric {
    background: linear-gradient(135deg, #ffffff, #f3f4f8) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08) !important;
    border-color: #d8dbe1 !important;
    color: var(--muted) !important;
  }

  .metric strong {
    color: #111827 !important;
  }

  .card {
    background: #ffffff !important;
    border-color: #d8dbe1 !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08) !important;
  }

  .icon-btn {
    background: #ffffff !important;
    border-color: #d0d4dd !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08) !important;
  }

  .icon-btn:hover {
    background: #f3f4f8 !important;
  }

  .form input[type=email] {
    background: #ffffff !important;
    border-color: #d0d4dd !important;
    color: var(--text) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04) !important;
  }

  .form input[type=email]::placeholder {
    color: #9ca3af !important;
  }

  .cookie-banner,
  .a11y-panel {
    background: #ffffff !important;
    color: var(--text) !important;
    border-color: #d8dbe1 !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .12) !important;
  }

  #toTop {
    background: rgba(15, 23, 42, .04) !important;
    color: #111827 !important;
  }
}

/* وضع high-contrast */
.high-contrast {
  --bg: #000 !important;
  --bg-alt: #000 !important;
  --elev: #000 !important;
  --line: #fff !important;
  --text: #fff !important;
  --muted: #fff !important;
  --glass-border: 1px solid #fff !important;
  box-shadow: none !important;
}

/* تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* RESET & أساسيات */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg-alt);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: background .4s ease, color .3s ease;
}

main {
  flex: 1;
}

.container {
  max-width: var(--max);
  margin: auto;
  padding: 0 var(--pad);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, .45);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .3), transparent);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav__menu {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 14px;
}

.nav__menu a {
  color: var(--text);
  opacity: .86;
  text-decoration: none;
  padding: 9px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background .18s ease,
    opacity .14s ease,
    border-color .18s ease,
    transform .12s ease,
    box-shadow .16s ease;
}

.nav__menu a:hover {
  background: rgba(15, 23, 42, .65);
  border-color: rgba(148, 163, 184, .45);
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.nav__menu a[aria-current="page"] {
  background: linear-gradient(120deg, var(--brand1), var(--brand2));
  color: #00131a;
  opacity: 1;
}

.nav__toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .85);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--elev);
    border-bottom: 1px solid var(--line);
    padding: 10px;
    flex-direction: column;
    gap: 6px;
  }

  .nav__menu.show {
    display: flex;
  }
}

/* HERO */

.hero {
  padding: 56px 0 24px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: .24;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(53, 55, 56, 0.35), transparent 55%),
    radial-gradient(circle at 80% -10%, rgba(94, 234, 212, .35), transparent 55%);
  mix-blend-mode: screen;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}

.hero__logo-wrap {
  position: relative;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero__ring {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  filter: blur(22px);
  opacity: .9;
  z-index: -1;
  background: radial-gradient(circle, rgba(14, 165, 255, .65), transparent 60%);
  animation: ringPulse 4.5s ease-in-out infinite;
}

.hero__logo {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, .5);
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .35), transparent 55%);
  overflow: hidden;
}

.hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero__tagline {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

p.lead {
  max-width: 760px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.6;
}

/* CTA */

.cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.btn {
  background: linear-gradient(120deg, var(--brand1), var(--brand2));
  color: #00131a;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    filter .14s ease,
    background-position .22s ease;
  background-size: 140% 140%;
  background-position: 0% 50%;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .65);
  background-position: 100% 50%;
  filter: brightness(1.04);
}

.btn--ghost {
  background: none;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .55);
  color: var(--text);
  backdrop-filter: blur(14px);
  background-color: rgba(15, 23, 42, .6);
  box-shadow: 0 10px 25px rgba(15, 23, 42, .55);
}

.btn--ghost:hover {
  background-color: rgba(15, 23, 42, .85);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .7);
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.badge {
  border-radius: 999px;
  padding: 6px 12px;
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, .4), transparent 55%), rgba(15, 23, 42, .85);
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
  border: 1px solid rgba(148, 163, 184, .4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--brand1), var(--brand2));
  box-shadow: 0 0 8px rgba(56, 189, 248, .9);
}

.badge:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, .9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .7);
}

/* METRICS */

.metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.metric {
  min-width: 150px;
  padding: 10px 14px;
  border-radius: 14px;
  border: var(--glass-border);
  background: linear-gradient(135deg, rgba(15, 23, 42, .9), rgba(15, 23, 42, .6));
  backdrop-filter: blur(18px);
  font-size: 13px;
  color: var(--muted);
  text-align: left;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .6);
  transition: transform .16s ease, box-shadow .18s ease, border-color .16s ease;
}

.metric strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, .7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .8);
}

/* SECTIONS */

section {
  padding: 32px 0;
  scroll-margin-top: 80px;
}

section:last-of-type {
  padding-bottom: 16px;
}

.section--alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, .85), rgba(15, 23, 42, 0));
}

h2 {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* GRID & CARDS */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--elev);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform .16s ease,
    box-shadow .18s ease,
    border-color .16s ease,
    background .18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, .18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, .16), transparent 55%);
  mix-blend-mode: soft-light;
  transition: opacity .18s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
  border-color: rgba(56, 189, 248, .7);
}

.card:hover::before {
  opacity: 1;
}

.card p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin: 0;
}

.title svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* ROW LAYOUT */

.row {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .row {
    grid-template-columns: 1fr;
  }
}

/* TAGS / PILLS */

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .9);
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, color .12s ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, .7);
  color: #e5f6ff;
  background: radial-gradient(circle at 0 0, rgba(14, 165, 255, .22), rgba(15, 23, 42, .9));
}

/* SCREENS */

.screens {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.screens img {
  width: 220px;
  aspect-ratio: 1/1;
  border-radius: 18px;
  border: var(--glass-border);
  box-shadow: var(--shadow);
  object-fit: cover;
  transition:
    transform .18s ease,
    box-shadow .2s ease,
    border-color .16s ease,
    filter .18s ease;
}

.screens img:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .8);
  border-color: rgba(56, 189, 248, .8);
  filter: saturate(1.08);
}

/* FORMS */

.form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form input[type=email] {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .88);
  color: var(--text);
  min-width: 260px;
  font-size: 14px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.form input[type=email]::placeholder {
  color: rgba(148, 163, 184, .9);
}

.form input[type=email]:focus-visible {
  border-color: rgba(56, 189, 248, .85);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, .7);
  background: rgba(15, 23, 42, .96);
}

.form__msg {
  display: block;
  margin-top: 8px;
  min-height: 20px;
  font-size: 13px;
}

/* SOCIAL ICONS */

.social {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .45);
  background: rgba(15, 23, 42, .9);
  backdrop-filter: blur(10px);
  transition:
    transform .12s ease,
    box-shadow .14s ease,
    border-color .14s ease,
    background .14s ease;
}

.icon-btn img {
  width: 20px;
  height: 20px;
}

.icon-btn:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: var(--brand1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .9);
  background: radial-gradient(circle at 30% 0, rgba(56, 189, 248, .32), rgba(15, 23, 42, .9));
}

/* HOW BLOCK */

.how-block {
  background: var(--elev);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: auto;
  line-height: 1.6;
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 980px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-q {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

.faq-a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* PARTNER / B2B */

.partner-copy {
  color: var(--muted);
  font-size: 14px;
  max-width: 520px;
  margin-bottom: 10px;
}

.partner-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* FOOTER */

.footer {
  background: #05070b;
  border-top: 1px solid #171922;
  transition: background .25s ease, border-color .25s ease;
}

@media (prefers-color-scheme: light) {
  .footer {
    background: #f1f2f6;
    border-top: 1px solid #d8dbe1;
  }
}

.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
}

@media (min-width: 700px) {
  .footer__row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__links a {
  color: var(--text);
  opacity: .85;
  text-decoration: none;
  margin: 0 8px;
  transition: opacity .14s ease, text-decoration-color .14s ease;
}

.footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__copy {
  color: var(--muted);
}

/* FLOATING BUTTONS */

.a11y-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--brand1), var(--brand2));
  color: #00131a;
  border: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .14s ease;
}

.a11y-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .75);
  filter: brightness(1.03);
}

.a11y-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(360px, 90vw);
  background: var(--elev);
  color: var(--text);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 70;
  display: flex;
  flex-direction: column;
}

.a11y-panel.open {
  transform: translateX(0);
}

.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.a11y-body {
  padding: 14px;
  overflow: auto;
  font-size: 14px;
}

.a11y-body .control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.a11y-body button,
.a11y-body select {
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.a11y-body button[aria-pressed="true"] {
  box-shadow: var(--focus);
}

/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  inset: auto var(--pad) var(--pad) var(--pad);
  background: var(--elev);
  color: var(--text);
  border: var(--glass-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
  z-index: 1000;
  max-width: 700px;
  font-size: 13px;
  transition: transform .2s ease, opacity .2s ease;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-min {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease, transform .12s ease;
}

.btn-min:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, .85);
}

.btn-accept {
  background: linear-gradient(120deg, var(--brand1), var(--brand2));
  color: #00131a;
  border: 0;
}

.cookie-links {
  margin-top: 6px;
  font-size: 12px;
}

/* TO TOP */

#toTop {
  position: fixed;
  right: 16px;
  bottom: 82px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s ease;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .95);
  color: var(--text);
  padding: 9px 12px;
  font-size: 12px;
  cursor: pointer;
}

#toTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ANIMATIONS */

@keyframes heroFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes ringPulse {
  0% {
    transform: scale(1);
    opacity: .8;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: .8;
  }
}
